
:root {
    /* SSS-inspired palette: charcoal, restrained crimson and warm security gold */
    --navy: #242326;
    --navy-deep: #171619;
    --gold: #d2a52a;
    --gold-light: #e8c96f;
    --red: #8c2633;
    --red-hover: #a33440;
    --ink: #29272a;
    --muted: #6c6870;
    --paper: #f6f4f0;
    --white: #fff;
    --line: #e7e3df;
    --radius: 5px;
    --max: 1180px;
}

/* =========================================
   GLOBAL STYLES
========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "DM Sans", sans-serif;
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(var(--max), calc(100% - 48px));
    margin-inline: auto;
}

/* =========================================
   TOP BAR
========================================= */

.topbar {
    background: var(--navy-deep);
    color: #dce2eb;
    font-size: 12px;
}

.topbar-inner {
    min-height: 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.topbar a {
    color: var(--gold-light);
}

/* =========================================
   HEADER AND NAVIGATION
========================================= */

header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(36, 35, 38, 0.09);
    backdrop-filter: blur(12px);
}

.nav {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
    gap: 12px;
}

.brand-logo {
    display: block;
    width: 82px;
    height: 72px;
    object-fit: contain;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    white-space: nowrap;
}

.brand-name {
    color: var(--navy-deep);
    font: 800 13px/1.2 Manrope, sans-serif;
    letter-spacing: 0.055em;
}

.brand-tag {
    margin-top: 5px;
    color: var(--red);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.brand-tag span {
    padding: 0 4px;
    color: var(--gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 27px;
    font-size: 13px;
    font-weight: 600;
    color: #344052;
}

.nav-links a:hover {
    color: var(--red);
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    color: var(--navy);
    font-size: 25px;
    cursor: pointer;
}

/* =========================================
   BUTTONS
========================================= */

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 3px;
    background: var(--red);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: 0.2s ease;
    cursor: pointer;
}

.button:hover {
    background: var(--red-hover);
    transform: translateY(-1px);
}

.button-outline {
    border-color: rgba(255, 255, 255, 0.55);
    background: transparent;
    color: white;
}

.button-outline:hover {
    background: white;
    color: var(--red);
}

/* =========================================
   HERO SECTION
========================================= */

.hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
    background: var(--navy-deep);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(23, 22, 25, 0.96) 0%,
            rgba(23, 22, 25, 0.84) 46%,
            rgba(23, 22, 25, 0.28) 100%
        ),
        url("../image/main-bg-image.png") center / cover;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 5px;
    background: var(--red);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
    padding: 100px 0 112px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 32px;
    height: 1px;
    background: var(--gold);
}

h1,
h2,
h3 {
    margin: 0;
    font-family: Manrope, sans-serif;
    line-height: 1.14;
}

h1 {
    max-width: 700px;
    margin-top: 22px;
    font-size: clamp(42px, 6vw, 70px);
    font-weight: 800;
    letter-spacing: -0.045em;
}

h1 span {
    color: var(--gold-light);
}

.hero p {
    max-width: 570px;
    margin: 24px 0 32px;
    color: #d7deea;
    font-size: 16px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

/* =========================================
   TRUST STRIP
========================================= */

.trust-strip {
    background: var(--paper);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.trust-item {
    padding: 28px 34px;
    border-right: 1px solid #deded9;
}

.trust-item:last-child {
    border: 0;
}

.trust-item strong {
    display: block;
    color: var(--navy);
    font: 800 28px Manrope, sans-serif;
    letter-spacing: -0.04em;
}

.trust-item span {
    color: var(--muted);
    font-size: 12px;
}

/* =========================================
   GENERAL SECTIONS
========================================= */

section {
    padding: 100px 0;
}

.section-head {
    max-width: 680px;
    margin-bottom: 42px;
}

.section-head h2 {
    margin-top: 14px;
    color: var(--navy);
    font-size: clamp(31px, 4vw, 46px);
    letter-spacing: -0.04em;
}

.section-head p {
    margin: 17px 0 0;
    color: var(--muted);
}

/* =========================================
   INTRODUCTION SECTION
========================================= */

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.intro-photo {
    min-height: 440px;
    position: relative;
    background: url("../image/who-we-are.png") center / cover;
}

.intro-photo::after {
    content: "";
    position: absolute;
    right: -16px;
    bottom: -16px;
    width: 42%;
    height: 42%;
    border-right: 5px solid var(--gold);
    border-bottom: 5px solid var(--gold);
}

.intro-copy h2 {
    margin: 15px 0 20px;
    color: var(--navy);
    font-size: clamp(32px, 4vw, 45px);
    letter-spacing: -0.04em;
}

.intro-copy p {
    color: var(--muted);
}

.text-link {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    margin-top: 15px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
}

.text-link span {
    color: var(--red);
    font-size: 20px;
}

/* =========================================
   SERVICES SECTION
========================================= */

.services {
    background: var(--paper);
}

/* Five service cards on desktop */
.service-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.service-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 35px rgba(36, 35, 38, 0.09);
}

.service-image {
    height: 190px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Individual service thumbnails */

.service-card:nth-child(1) .service-image {
    background-image: url("../image/uniformed_security.png");
}

.service-card:nth-child(2) .service-image {
    background-image: url("../image/armored_vehicle.png");
}

.service-card:nth-child(3) .service-image {
    background-image: url("../image/digital-security.png");
}

.service-card:nth-child(4) .service-image {
    background-image: url("../image/k-9.png");
}

.service-card:nth-child(5) .service-image {
    background-image: url("../image/consultation.png");
}

/* Service card content */

.service-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px 22px 26px;
}

.service-body h3 {
    color: var(--navy);
    font-size: 18px;
}

.service-body p {
    flex: 1;
    min-height: 72px;
    color: var(--muted);
    font-size: 13px;
}

.service-body a {
    align-self: flex-start;
    margin-top: 12px;
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: color 0.2s ease;
}

.service-body a:hover {
    color: var(--red-hover);
}

/* =========================================
   FEATURE BAND
========================================= */

.feature-band {
    padding: 76px 0;
    background: var(--navy);
    color: white;
}

.feature-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
}

.feature-inner h2 {
    max-width: 690px;
    font-size: clamp(30px, 4vw, 44px);
    letter-spacing: -0.04em;
}

.feature-inner p {
    max-width: 640px;
    margin-bottom: 0;
    color: #c6cfdb;
}

/* =========================================
   CAREERS SECTION
========================================= */

.careers {
    background: white;
}

.careers-box {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    background: var(--paper);
}

.careers-copy {
    padding: 55px;
}

.careers-copy h2 {
    margin: 14px 0;
    color: var(--navy);
    font-size: 38px;
}

.careers-copy p {
    color: var(--muted);
}

.careers-image {
    min-height: 340px;
    background:
        url("https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=1000&q=85")
        center / cover;
}

/* =========================================
   CONTACT SECTION
========================================= */

.contact-band {
    padding: 68px 0;
    background: var(--red);
}

.contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.contact-inner h2 {
    color: #fff;
    font-size: clamp(28px, 4vw, 40px);
}

.contact-inner p {
    margin: 8px 0 0;
    color: #f3e8e8;
}

/* =========================================
   RESPONSIVE LAYOUT
========================================= */

/* Smaller desktop and laptops */
@media (max-width: 1100px) {
    .service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .nav {
        gap: 18px;
    }

    .nav-links {
        gap: 18px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    section {
        padding: 75px 0;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .intro-photo {
        min-height: 350px;
    }

    .careers-box {
        grid-template-columns: 1fr;
    }

    .careers-image {
        min-height: 280px;
    }

    .feature-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 24px 20px;
        background: white;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 12px 20px rgba(0, 0, 0, 0.06);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 12px 0;
    }
}

/* Mobile phones */
@media (max-width: 520px) {
    .container {
        width: min(var(--max), calc(100% - 32px));
    }

    section {
        padding: 60px 0;
    }

    .nav {
        min-height: 72px;
    }

    .brand-logo {
        width: 62px;
        height: 60px;
    }

    .brand-name {
        font-size: 11px;
    }

    .brand-tag {
        font-size: 9px;
    }

    .hero {
        min-height: 540px;
    }

    .hero-content {
        padding: 75px 0 85px;
    }

    h1 {
        font-size: clamp(38px, 10vw, 48px);
    }

    .hero p {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .button {
        width: 100%;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-item {
        padding: 20px 10px;
        border-right: 0;
        border-bottom: 1px solid #deded9;
    }

    .trust-item:last-child {
        border-bottom: 0;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-image {
        height: 220px;
    }

    .service-body p {
        min-height: auto;
    }

    .careers-copy {
        padding: 32px 24px;
    }

    .careers-copy h2 {
        font-size: 30px;
    }
}


/* =========================================
   FOOTER
========================================= */

.sss-footer {
    background: var(--navy-deep);
    color: #d5d3d5;
    font-size: 13px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr 1fr;
    gap: 55px;
    padding-top: 70px;
    padding-bottom: 65px;
}

/* Footer branding */

.footer-brand {
    max-width: 330px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 68px;
    height: 68px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-logo span {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-logo strong {
    color: var(--white);
    font-family: Manrope, sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.4;
}

.footer-logo small {
    color: var(--gold-light);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.footer-brand > p {
    max-width: 310px;
    margin: 0;
    color: #aaa7ac;
    font-size: 13px;
    line-height: 1.8;
}

/* Footer navigation columns */

.footer-column h3 {
    position: relative;
    margin: 5px 0 25px;
    padding-bottom: 13px;
    color: var(--white);
    font-family: Manrope, sans-serif;
    font-size: 14px;
    font-weight: 800;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column li {
    margin: 0;
    padding: 0;
}

.footer-column a {
    display: inline-block;
    color: #aaa7ac;
    font-size: 13px;
    line-height: 1.6;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--gold-light);
}

/* Contact details */

.footer-contact-item {
    margin-bottom: 18px;
}

.footer-contact-label {
    display: block;
    margin-bottom: 5px;
    color: var(--gold-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-contact-item p {
    margin: 0;
    color: #aaa7ac;
    font-size: 13px;
    line-height: 1.7;
}

.footer-contact-item a {
    overflow-wrap: anywhere;
}

/* Copyright bar */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.15);
}

.footer-bottom-inner {
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: #89868c;
    font-size: 11px;
}

.footer-bottom .footer-tagline {
    color: var(--gold-light);
    font-weight: 600;
}

/* =========================================
   FOOTER RESPONSIVE STYLES
========================================= */

@media (max-width: 900px) {
    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px;
    }

    .footer-brand {
        max-width: 100%;
    }
}

@media (max-width: 520px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 35px 22px;
        padding-top: 50px;
        padding-bottom: 45px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-logo img {
        width: 60px;
        height: 60px;
    }

    .footer-logo strong {
        font-size: 11px;
    }

    .footer-column h3 {
        font-size: 13px;
    }

    .footer-column a,
    .footer-contact-item p {
        font-size: 12px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 6px;
        padding-top: 16px;
        padding-bottom: 16px;
    }
}

@media (max-width: 360px) {
    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }
}
