:root {
    --navy: #0a376f;
    --navy-2: #082d5b;
    --ink: #14243b;
    --muted: #68788f;
    --line: #dbe5f0;
    --soft: #f4f8fc;
    --white: #fff;
    --accent: #31b8f3;
    --shadow: 0 20px 50px rgba(8, 45, 91, .10)
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.65
}

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

.container {
    width: min(1160px, 92%);
    margin-inline: auto
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04)
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none
}

.brand img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06)
}

.brand-text {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 20px;
    font-weight: 800;
    font-family: Inter, sans-serif;
    letter-spacing: 0.02em;
    line-height: 1
}

.brand-techno {
    color: #00a651
}

.brand-mak {
    color: #ed1c24
}

.brand-defense {
    color: #0f3899
}

.site-header a,
.site-header button {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.site-header a:focus,
.site-header a:focus-visible,
.site-header button:focus,
.site-header button:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-nav a {
    padding: 24px 4px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    transition: .2s;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
    user-select: none;
}

.main-nav a:hover {
    color: #007bff;
}

.main-nav a:focus,
.main-nav a:focus-visible,
.main-nav a:active {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    color: #007bff;
}

.main-nav a.active {
    color: #007bff;
    font-weight: 700;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #007bff;
    border-radius: 2px 2px 0 0;
}

.dropdown-arrow {
    font-size: 9px;
    margin-left: 2px;
    display: inline-block;
    vertical-align: middle;
    opacity: 0.8
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    color: #333;
    font-size: 28px;
    cursor: pointer
}

.footer-brand .brand-sub {
    color: #9fb2c8
}

.hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 25, 48, 0.78) 0%, rgba(8, 25, 48, 0.45) 50%, rgba(8, 25, 48, 0) 80%);
    pointer-events: none
}

.hero-content {
    position: relative;
    color: #fff;
    padding: 110px 0 110px 30px;
    max-width: 820px
}

.hero-text {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8)
}

.eyebrow,
.section-kicker {
    font-size: 12px;
    letter-spacing: .18em;
    font-weight: 800
}

.eyebrow {
    color: #83d9fb
}

.hero h1 {
    font-size: clamp(28px, 3.6vw, 52px);
    line-height: 1.1;
    letter-spacing: -.02em;
    margin: 14px 0 18px;
    font-weight: 800
}

.hero h1 span {
    color: #8bddfb
}

.hero p {
    font-size: 16px;
    max-width: 520px;
    color: #e4edf7;
    line-height: 1.6
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 34px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: .2s
}

.btn-primary {
    background: #25afea;
    color: #fff
}

.btn-primary:hover {
    background: #1194cc
}

.btn-outline {
    border-color: rgba(255, 255, 255, .5);
    color: #fff;
    background: transparent
}

.btn-outline:hover {
    background: rgba(255, 255, 255, .10)
}

.btn-dark {
    background: var(--navy);
    color: #fff
}

.btn-dark:hover {
    background: var(--navy-2)
}

.btn-light {
    background: #fff;
    color: var(--navy)
}

.section {
    padding: 92px 0
}

.section-white {
    background: #fff
}

.section-soft {
    background: var(--soft)
}

.section-kicker {
    display: inline-block;
    color: #0b4f90;
    margin-bottom: 10px
}

.page-hero .section-kicker {
    color: #83d9fb;
}

.section-kicker.light {
    color: #9dddf6
}

.section-heading {
    max-width: 760px;
    text-align: center;
    margin: 0 auto 42px
}

.section-heading.left {
    text-align: left;
    margin-left: 0
}

.section-heading h2,
.section>.container h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
    letter-spacing: -.035em;
    color: var(--navy);
    margin-bottom: 14px
}

.section-heading p {
    color: var(--muted);
    font-size: 16px
}

.split {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 64px;
    align-items: center
}

.split>div>p {
    color: var(--muted);
    margin: 0 0 14px
}

.image-card {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #eef4f9
}

.image-card img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover
}

.image-card.tall img {
    min-height: 470px
}

.text-link,
.inline-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--navy);
    font-weight: 700;
    margin-top: 12px
}

.text-link span {
    color: #16aee6
}

.inline-link {
    display: inline;
    text-decoration: underline;
    text-underline-offset: 3px
}

.cards {
    display: grid;
    gap: 22px
}

.cards-3 {
    grid-template-columns: repeat(3, 1fr)
}

.cards-2 {
    grid-template-columns: repeat(2, 1fr)
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 35px rgba(14, 47, 84, .05)
}

.card-number {
    font-size: 12px;
    letter-spacing: .1em;
    color: #1aa9df;
    font-weight: 800;
    margin-bottom: 34px
}

.card h3 {
    font-size: 23px;
    color: var(--navy);
    margin-bottom: 10px
}

.card p {
    color: var(--muted);
    font-size: 15px
}

.center-action {
    text-align: center;
    margin-top: 34px
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 25px
}

.service-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 14px
}

.service-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #eaf7fd;
    color: #1199d0;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 12px;
    flex: none
}

.service-item h3 {
    color: var(--navy);
    margin-bottom: 4px
}

.service-item p {
    color: var(--muted);
    font-size: 14px
}

.cta-section {
    background: linear-gradient(135deg, #082d5b, #0b4f90);
    padding: 70px 0;
    color: #fff
}

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

.cta-inner h2 {
    font-size: clamp(28px, 4vw, 44px);
    max-width: 760px;
    line-height: 1.14;
    letter-spacing: -.03em;
    margin-top: 6px
}

.page-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 120px 0 100px;
    border-bottom: none;
    color: #ffffff;
    z-index: 1;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 27, 59, 0.85) 0%, rgba(5, 27, 59, 0.45) 45%, transparent 85%);
    z-index: -1;
}

.page-hero h1 {
    font-size: clamp(42px, 6vw, 64px);
    line-height: 1.05;
    color: #ffffff;
    letter-spacing: -.04em;
    margin-bottom: 13px
}

.page-hero p {
    max-width: 700px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px
}

/* Page-Specific Hero Backgrounds */
.page-hero {
    animation: bgZoom 15s ease-in-out infinite alternate;
}

@keyframes bgZoom {
    0% {
        background-size: 100% auto;
    }

    100% {
        background-size: 110% auto;
    }
}

.hero-home {
    background-image: url('../assets/Hero%20Image.jpeg');
    background-color: #0d325d;
}

.hero-about {
    background-image: url('../assets/special%20transport.jpeg');
    background-color: #0d325d;
    background-position: center;
}

.hero-products {
    background-image: url('../assets/products_hero_bg.jpg');
    background-color: #0d325d;
    background-position: center;
}

.hero-services {
    background-image: url('../assets/special%20purpose%20vehicle.jpeg');
    background-color: #0d325d;
    background-position: center;
}

.hero-contact {
    background-image: url('../../assets/images/products/Defense.png');
    background-color: #0d325d;
}

.narrow {
    max-width: 870px
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.product-card {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(14, 47, 84, .05)
}

.product-image {
    height: 220px;
    position: relative;
    background: #e8eef3
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.product-image span {
    position: absolute;
    left: 16px;
    top: 16px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .92);
    color: var(--navy);
    font-size: 12px;
    font-weight: 800;
    border-radius: 8px
}

.product-body {
    padding: 24px
}

.product-body h3 {
    color: var(--navy);
    font-size: 21px;
    margin-bottom: 7px
}

.product-body p {
    color: var(--muted);
    font-size: 14px
}

.card-feature ul {
    margin-top: 18px;
    padding-left: 18px;
    color: var(--muted)
}

.card-feature li {
    margin: 4px 0
}

.capability-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 28px
}

.capability-list div {
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff
}

.capability-list strong {
    display: block;
    color: var(--navy);
    margin-bottom: 4px
}

.capability-list span {
    color: var(--muted);
    font-size: 14px
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px
}

.contact-info h2,
.contact-form-wrap h2 {
    font-size: clamp(30px, 4vw, 44px);
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 28px
}

.contact-block {
    padding: 18px 0;
    border-top: 1px solid var(--line)
}

.contact-block h3 {
    color: var(--navy);
    font-size: 15px;
    margin-bottom: 6px
}

.contact-block p {
    color: var(--muted);
    font-size: 15px
}

.contact-block a:hover {
    color: #0d9ed8
}

.contact-form {
    display: grid;
    gap: 15px
}

.contact-form label {
    font-size: 13px;
    font-weight: 700;
    color: #394b60
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-top: 7px;
    padding: 13px 14px;
    border: 1px solid #cedae7;
    border-radius: 8px;
    font: inherit;
    outline: 0;
    background: #fff
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #4abce9;
    box-shadow: 0 0 0 3px rgba(74, 188, 233, .10)
}

.map-box {
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow)
}

.map-box iframe {
    border: 0;
    width: 100%;
    height: 100%
}

.site-footer {
    background: #f8f9fa;
    color: #475569;
    padding: 60px 0 20px;
    font-family: 'Inter', sans-serif;
    margin-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px
}

.footer-about h2 {
    color: #0b2a59;
    font-size: 16px;
    margin-bottom: 15px;
    margin-top: 0;
    font-weight: 800
}

.footer-about p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 25px;
    line-height: 1.6;
    max-width: 340px
}

.footer-brand {
    margin-top: 15px;
    display: inline-block
}

.footer-brand .brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    text-decoration: none
}

.footer-brand .brand img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06)
}

.footer-brand .brand-text {
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 5px
}

.footer-links h3,
.footer-social h3 {
    color: #0b2a59;
    font-size: 16px;
    margin-bottom: 20px;
    margin-top: 0;
    font-weight: 800
}

.footer-links-grid {
    display: flex;
    gap: 50px
}

.footer-links-grid ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.footer-links-grid ul li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px
}

.footer-links-grid ul li::before {
    content: '>';
    color: #0d6efd;
    font-size: 16px;
    font-weight: bold;
    margin-right: 2px
}

.footer-links-grid ul li a {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
    font-weight: 500
}

.footer-links-grid ul li a:hover {
    color: #0d6efd
}

.socials {
    display: flex;
    gap: 12px;
    margin-bottom: 25px
}

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #0d6efd;
    color: #fff;
    border-radius: 50%;
    transition: 0.3s;
    text-decoration: none;
    font-size: 16px
}

.socials a:hover {
    background: #0b5ed7
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    font-size: 14px;
    color: #64748b;
    margin: 0
}

.copyright-brand {
    color: #0d6efd
}

@media(max-width:900px) {
    .header-inner {
        position: relative;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: calc(100% + 6px);
        right: 0;
        left: auto;
        width: 220px;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
        padding: 10px;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        z-index: 1000;
        height: auto;
        transform: none;
    }

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

    .main-nav a {
        width: 100%;
        padding: 10px 14px;
        font-size: 15px;
        font-weight: 600;
        border-radius: 8px;
        outline: none !important;
        border: none !important;
        box-shadow: none !important;
    }

    .main-nav a:hover {
        background: #f1f5f9;
    }

    .main-nav a.active::after {
        display: none !important;
        content: none !important;
    }

    .hero {
        min-height: 610px
    }

    .split,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 38px
    }

    .cards-3,
    .product-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .footer-container {
        grid-template-columns: 1fr
    }

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

@media(max-width:620px) {
    .header-inner {
        min-height: 70px
    }

    .brand img {
        width: 46px;
        height: 46px
    }

    .hero {
        min-height: 590px
    }

    .hero-content {
        padding: 85px 0
    }

    .hero p {
        font-size: 16px
    }

    .section {
        padding: 72px 0
    }

    .cards-2,
    .cards-3,
    .product-grid,
    .service-grid,
    .capability-list {
        grid-template-columns: 1fr
    }

    .page-hero {
        padding: 78px 0 65px
    }

    .footer-container {
        gap: 30px
    }

    .image-card img {
        min-height: 280px
    }
}
/* ===== MOBILE FIX: header must fit small phones ===== */
@media(max-width:480px) {
    .header-inner {
        gap: 10px
    }

    .brand {
        gap: 8px;
        min-width: 0
    }

    .brand img {
        width: 40px;
        height: 40px;
        flex-shrink: 0
    }

    .brand-text {
        font-size: 16px;
        gap: 4px;
        white-space: nowrap
    }

    .menu-toggle {
        flex-shrink: 0
    }
}

@media(max-width:340px) {
    .brand-text {
        font-size: 14px
    }
}
