/* =========================================
   HIMALAYAN BUILDTECH
   Global Stylesheet
   ========================================= */


/* =========================================
   CSS VARIABLES
   ========================================= */

:root {
    /* NFCCI Brand Colors */
    --primary: #0b3b82;
    --primary-light: #164f9f;

    --accent: #0b3b82;
    --accent-dark: #082f68;

    --white: #ffffff;
    --black: #111111;

    --text: #333333;
    --text-light: #6b7280;

    --bg-light: #f6f8fb;
    --border: #e1e6ed;

    --container: 1200px;

    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.10);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --transition: 0.3s ease;
}


/* =========================================
   RESET
   ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button,
input,
textarea {
    font: inherit;
}


/* =========================================
   GLOBAL CONTAINER
   ========================================= */

.container {
    width: min(90%, var(--container));
    margin: 0 auto;
}


/* =========================================
   TYPOGRAPHY
   ========================================= */

h1,
h2,
h3,
h4 {
    color: var(--primary);
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.4rem;
}

p {
    color: var(--text-light);
}


/* =========================================
   BUTTONS
   ========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 13px 24px;

    border-radius: var(--radius-sm);

    font-weight: 600;

    cursor: pointer;

    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition),
        border-color var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-dark);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}


/* =========================================
   SECTION
   ========================================= */

.section {
    padding: 90px 0;
}

.section-header {
    max-width: 700px;
    margin-bottom: 50px;
}

.section-header.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-label {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--accent);

    font-size: 0.85rem;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-header h2 {
    margin-bottom: 18px;
}


/* =========================================
   HEADER
   ========================================= */

.site-header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(255, 255, 255, 0.96);

    border-bottom: 1px solid transparent;

    transition:
        background var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);

    border-color: var(--border);

    box-shadow: var(--shadow-sm);
}

.navbar {
    height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================
   LOGO
   ========================================= */

.logo {
    display: flex;
    align-items: center;

    gap: 12px;
}

.logo-mark {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    background: var(--primary);
    color: var(--accent);

    border-radius: var(--radius-sm);

    font-weight: 800;
    font-size: 1.1rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    color: var(--primary);

    font-size: 1.05rem;
    font-weight: 800;

    line-height: 1.1;
}

.logo-tagline {
    color: var(--text-light);

    font-size: 0.65rem;

    letter-spacing: 1px;
}

.logo-image {
    display: block;

    width: 250px;
    height: auto;

    max-height: 62px;

    object-fit: contain;
}


/* =========================================
   NAVIGATION
   ========================================= */

.nav-menu {
    display: flex;
    align-items: center;

    gap: 32px;
}

.nav-link {
    position: relative;

    color: var(--primary);

    font-size: 0.95rem;
    font-weight: 600;

    padding: 8px 0;

    transition: color var(--transition);
}

.nav-link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: var(--accent);

    transition: width var(--transition);
}

.nav-link:hover {
    color: var(--accent-dark);
}

.nav-link.active {
    color: var(--accent-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}


/* =========================================
   MOBILE MENU BUTTON
   ========================================= */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    border: none;

    background: var(--bg-light);

    border-radius: var(--radius-sm);

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 22px;
    height: 2px;

    margin: 5px auto;

    background: var(--primary);

    transition: var(--transition);
}


/* =========================================
   FOOTER
   ========================================= */

.site-footer {
    background: var(--primary);
    color: var(--white);

    padding: 70px 0 25px;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1.3fr;

    gap: 50px;

    padding-bottom: 50px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand h3 {
    color: var(--white);

    margin-bottom: 15px;
}

.footer-brand p {
    max-width: 350px;

    color: rgba(255, 255, 255, 0.65);
}

.footer-column h4 {
    color: var(--white);

    margin-bottom: 18px;
}

.footer-links {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.68);

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.footer-links a:hover {
    color: #8fb8f0;

    transform: translateX(3px);
}

.footer-contact {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.65);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-top: 25px;

    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);

    font-size: 0.85rem;
}


/* =========================================
   PAGE HERO
   ========================================= */

.page-hero {
    min-height: 420px;

    display: flex;
    align-items: center;

    padding-top: 78px;

    background:
        linear-gradient(
            rgba(11, 31, 51, 0.88),
            rgba(11, 31, 51, 0.88)
        );

    color: var(--white);
}

.page-hero-content {
    max-width: 750px;
}

.page-hero h1 {
    color: var(--white);

    font-size: clamp(2.5rem, 5vw, 4rem);

    margin-bottom: 20px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.75);

    font-size: 1.1rem;
}


/* =========================================
   CARDS
   ========================================= */

.card {
    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow-md);
}


/* =========================================
   ANIMATION
   ========================================= */

.fade-up {
    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================
   HOME PAGE
   ========================================= */


/* ---------- HERO ---------- */

.home-hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    padding-top: 78px;

    background:
        url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=2200&q=90")
        center / cover no-repeat;

    color: var(--white);
}

.home-hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 20, 34, 0.94) 0%,
            rgba(5, 20, 34, 0.72) 45%,
            rgba(5, 20, 34, 0.35) 100%
        );
}

.home-hero .container {
    position: relative;

    z-index: 2;
}

.home-hero-content {
    max-width: 780px;

    padding-top: 55px;
    padding-bottom: 170px;
}


/* ---------- HERO EYEBROW ---------- */

.hero-eyebrow {
    display: inline-block;

    margin-bottom: 18px;
    padding: 9px 18px;

    color: var(--accent);

    background: rgba(5, 20, 34, 0.55);

    border: 1px solid var(--accent);

    border-radius: 6px;

    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.home-hero h1 {
    color: var(--white);

    max-width: 850px;

    margin-bottom: 25px;

    font-size: clamp(2.6rem, 4vw, 3.6rem);

    line-height: 1.12;
}

.home-hero {
    position: relative;
    min-height: 780px;
    display: flex;
    align-items: center;
    background-image:
        linear-gradient(
            90deg,
            rgba(7, 20, 38, 0.88) 0%,
            rgba(7, 20, 38, 0.65) 45%,
            rgba(7, 20, 38, 0.30) 100%
        ),
        url("../images/hero/boudhanath-aerial.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-buttons {
    display: flex;

    gap: 15px;

    flex-wrap: wrap;

    margin-top: 32px;
}


/* ---------- HERO BOTTOM ---------- */

.hero-bottom {
    position: absolute;

    bottom: 0;
    left: 0;

    width: 100%;

    z-index: 3;

    background: rgba(5, 20, 34, 0.75);

    backdrop-filter: blur(8px);

    border-top:
        1px solid rgba(255, 255, 255, 0.12);
}

.hero-bottom-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);
}

.hero-bottom-grid > div {
    display: flex;

    align-items: center;

    gap: 15px;

    padding: 22px 30px;

    border-right:
        1px solid rgba(255, 255, 255, 0.12);
}

.hero-bottom-grid > div:last-child {
    border-right: none;
}

.hero-bottom strong {
    color: var(--accent);

    font-size: 1.8rem;
}

.hero-bottom span {
    color: rgba(255, 255, 255, 0.72);

    font-size: 0.85rem;
}


/* ---------- INTRO ---------- */

.intro-section {
    background: var(--white);
}

.intro-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}

.intro-image {
    position: relative;
}

.intro-image img {
    width: 100%;

    height: 580px;

    object-fit: cover;

    border-radius: var(--radius-lg);
}

.experience-badge {
    position: absolute;

    right: -25px;
    bottom: 35px;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 20px 25px;

    background: var(--accent);

    color: var(--white);

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-md);
}

.experience-badge strong {
    font-size: 2.2rem;
}

.experience-badge span {
    font-size: 0.8rem;

    line-height: 1.3;
}

.intro-content h2 {
    margin-bottom: 22px;

    font-size: clamp(2rem, 3.2vw, 2.8rem);

    line-height: 1.15;
}

.highlight {
    color: var(--accent);
}

.intro-content > p {
    margin-bottom: 16px;
}

.intro-features {
    display: grid;

    gap: 20px;

    margin: 30px 0;
}

.intro-feature {
    display: flex;

    gap: 15px;
}

.feature-icon {
    flex-shrink: 0;

    width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

    background: rgba(217, 154, 43, 0.12);

    color: var(--accent);

    border-radius: 50%;

    font-weight: 700;
}

.intro-feature h4 {
    margin-bottom: 4px;
}

.intro-feature p {
    font-size: 0.9rem;
}

.text-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--primary);

    font-weight: 700;

    transition:
        gap var(--transition),
        color var(--transition);
}

.text-link:hover {
    gap: 14px;

    color: var(--accent-dark);
}


/* ---------- SERVICES ---------- */

.services-section {
    background: var(--bg-light);
}

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.service-card {
    position: relative;

    padding: 35px 28px;

    overflow: hidden;
}

.service-number {
    position: absolute;

    top: 20px;
    right: 20px;

    color: #dfe3e8;

    font-size: 0.8rem;

    font-weight: 700;
}

.service-icon {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    margin-bottom: 25px;

    background: rgba(217, 154, 43, 0.12);

    color: var(--accent);

    border-radius: 50%;

    font-size: 1.5rem;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 25px;

    font-size: 0.92rem;
}

.service-link {
    display: inline-flex;

    gap: 8px;

    color: var(--primary);

    font-size: 0.85rem;

    font-weight: 700;

    transition:
        gap var(--transition),
        color var(--transition);
}

.service-link:hover {
    gap: 14px;

    color: var(--accent-dark);
}


/* ---------- STATS ---------- */

.stats-section {
    padding: 70px 0;
    background: var(--primary);
}

.stats-grid {
    
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat-item {
    text-align: center;

    padding: 20px 25px;

    border-right:
        1px solid rgba(255, 255, 255, 0.18);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item strong {
    display: block;

    color: var(--white);

    font-size: clamp(2.8rem, 4vw, 3.6rem);

    font-weight: 800;

    line-height: 1;

    margin-bottom: 18px;
}

.stat-item span {
    color: rgba(255, 255, 255, 0.88);

    font-size: 1rem;

    font-weight: 500;
}

/* ---------- PROJECTS ---------- */

.projects-section {
    background: var(--white);
}

.projects-grid {
    display: grid;

    grid-template-columns:
        1.4fr 1fr;

    grid-template-rows:
        280px 280px;

    gap: 20px;
}

.project-card {
    position: relative;

    overflow: hidden;

    border-radius: var(--radius-md);
}

.project-large {
    grid-row: span 2;
}

.project-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.project-card:hover img {
    transform: scale(1.06);
}

.project-overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 35px 25px 25px;

    background:
        linear-gradient(
            transparent,
            rgba(0, 0, 0, 0.82)
        );

    color: var(--white);
}

.project-overlay span {
    color: #ffffff;

    font-size: 0.75rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;

    text-shadow:
        0 2px 5px rgba(0, 0, 0, 0.7);
}

.project-overlay h3 {
    color: var(--white);

    margin-top: 6px;
}

.projects-button {
    text-align: center;

    margin-top: 40px;
}


/* ---------- WHY CHOOSE US ---------- */

.why-section {
    background: var(--bg-light);
}

.why-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    align-items: center;
}

.why-content h2 {
    margin-bottom: 22px;

    font-size: clamp(2rem, 3.2vw, 2.8rem);

    line-height: 1.15;
}

.why-content > p {
    margin-bottom: 35px;
}

.why-list {
    display: flex;

    flex-direction: column;

    gap: 25px;
}

.why-item {
    display: flex;

    gap: 18px;
}

.why-number {
    flex-shrink: 0;

    color: var(--accent);

    font-size: 0.8rem;

    font-weight: 800;
}

.why-item h3 {
    font-size: 1.1rem;

    margin-bottom: 5px;
}

.why-item p {
    font-size: 0.9rem;
}

.why-image {
    position: relative;
}

.why-image img {
    width: 100%;

    height: 560px;

    object-fit: cover;

    border-radius: var(--radius-lg);
}

.why-image-card {
    position: absolute;

    left: -25px;
    bottom: 30px;

    display: flex;

    flex-direction: column;

    padding: 20px 25px;

    background: var(--white);

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-md);
}

.why-image-card strong {
    color: var(--primary);

    font-size: 1.1rem;
}

.why-image-card span {
    color: var(--text-light);

    font-size: 0.75rem;

    margin-top: 4px;
}


/* ---------- CTA ---------- */

.cta-section {
    padding: 100px 0;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-light)
        );

    text-align: center;
}

.cta-content {
    max-width: 700px;

    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);

    margin-bottom: 18px;
}

.cta-content p {
    max-width: 550px;

    margin: 0 auto 30px;

    color: rgba(255, 255, 255, 0.7);
}

.cta-content .section-label {
    margin-bottom: 15px;
    color: #a9c9f2;
}


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1000px) {

    .services-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .intro-grid,
    .why-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .intro-image img,
    .why-image img {
        height: 500px;
    }

    .experience-badge {
        right: 20px;
    }
}


/* =========================================
   TABLET / MOBILE NAVIGATION
   ========================================= */

@media (max-width: 900px) {

    .nav-menu {
        position: absolute;

        top: 78px;
        left: 0;

        width: 100%;

        display: none;

        flex-direction: column;

        align-items: flex-start;

        gap: 0;

        padding: 25px;

        background: var(--white);

        border-top: 1px solid var(--border);

        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        width: 100%;

        padding: 12px 0;
    }

    .menu-toggle {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 700px) {

    /* ---------- GENERAL ---------- */

    .section {
        padding: 65px 0;
    }


    /* ---------- NAVIGATION ---------- */

    .navbar {
        height: 70px;
    }

    .nav-menu {
        top: 70px;
    }


    /* =====================================
        HOME HERO – RESPONSIVE FIX
        ===================================== */

        .home-hero {
            min-height: 680px;
            align-items: center;
        }

        .home-hero-content {
            max-width: 850px;
            padding-top: 20px;
            padding-bottom: 120px;
        }

        /* ---------- HERO HEADING ---------- */

        .home-hero h1 {
            max-width: 850px;
            margin-bottom: 22px;

            font-size: clamp(3rem, 5vw, 5.2rem);
            line-height: 1.08;
        }

        /* ---------- HERO DESCRIPTION ---------- */

        .home-hero-content > p {
            max-width: 720px;

            margin-bottom: 32px;

            color: #ffffff;

            font-size: 1.12rem;
            line-height: 1.75;
            font-weight: 500;

            text-shadow:
                0 2px 10px rgba(0, 0, 0, 0.9);
        }

        /* ---------- EYEBROW ---------- */

        .hero-eyebrow {
            margin-bottom: 20px;
        }

        /* ---------- HERO BUTTONS ---------- */

        .hero-buttons {
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 16px;
        }

        .hero-buttons .btn {
            width: auto;
        }

        /* =====================================
        HERO BOTTOM
        ===================================== */

        .hero-bottom {
            position: absolute;
        }

        .hero-bottom-grid {
            grid-template-columns: repeat(3, 1fr);
        }

        .hero-bottom-grid > div {
            flex-direction: row;
            align-items: center;
            text-align: left;

            gap: 14px;
            padding: 18px 25px;
        }

        .hero-bottom-grid > div:last-child {
            border-right: none;
        }

        .hero-bottom strong {
            font-size: 1.35rem;
        }

        .hero-bottom span {
            font-size: 0.9rem;
        }

        /* =====================================
        SERVICES
        ===================================== */

        .services-grid {
            grid-template-columns: repeat(3, 1fr);
        }

        /* =====================================
        STATS
        ===================================== */

        .stats-grid {
            grid-template-columns: repeat(4, 1fr);
        }

        .stat-item {
            padding: 30px 15px;
        }

        .stat-item strong {
            font-size: 2.6rem;
        }

        .stat-item span {
            font-size: 0.9rem;
        }


        /* =====================================
        TABLET
        ===================================== */

        @media (max-width: 900px) {

            .home-hero {
                min-height: 650px;
            }

            .home-hero h1 {
                font-size: clamp(2.8rem, 6vw, 4.5rem);
            }

            .hero-bottom-grid > div {
                padding: 16px 15px;
            }

            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }


        /* =====================================
        MOBILE
        ===================================== */

        @media (max-width: 768px) {

            .home-hero {
                min-height: auto;
                padding-top: 110px;
            }

            .home-hero-content {
                padding-top: 0;
                padding-bottom: 60px;
            }

            .home-hero h1 {
                font-size: clamp(2.5rem, 10vw, 3.8rem);
                line-height: 1.12;
            }

            .home-hero-content > p {
                font-size: 1rem;
                line-height: 1.7;
            }

            .hero-buttons {
                flex-direction: column;
                align-items: stretch;
            }

            .hero-buttons .btn {
                width: 100%;
            }

            .hero-bottom {
                position: relative;
            }

            .hero-bottom-grid {
                grid-template-columns: 1fr;
            }

            .hero-bottom-grid > div {
                flex-direction: row;
                text-align: left;

                padding: 16px 20px;

                border-right: none;
                border-bottom:
                    1px solid rgba(255, 255, 255, 0.12);
            }

            .hero-bottom-grid > div:last-child {
                border-bottom: none;
            }

            .services-grid {
                grid-template-columns: 1fr;
            }

            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .stat-item {
                padding: 25px 10px;

                border-right: none;
                border-bottom:
                    1px solid rgba(255, 255, 255, 0.12);
            }

            .stat-item:nth-child(3),
            .stat-item:nth-child(4) {
                border-bottom: none;
            }

            .stat-item strong {
                font-size: 2.4rem;
            }

            .stat-item span {
                font-size: 0.85rem;
            }
        }


    /* ---------- PROJECTS ---------- */

    .projects-grid {
        grid-template-columns: 1fr;

        grid-template-rows:
            300px 250px 250px;
    }

    .project-large {
        grid-row: auto;
    }


    /* ---------- IMAGES ---------- */

    .intro-image img,
    .why-image img {
        height: 400px;
    }

    .experience-badge {
        right: 10px;

        bottom: 20px;
    }

    .why-image-card {
        left: 15px;

        bottom: 20px;
    }


    /* ---------- FOOTER ---------- */

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;
    }
}


/* =========================================
   SMALL MOBILE
   ========================================= */

@media (max-width: 500px) {

    .home-hero {
        min-height: 780px;
    }

    .home-hero h1 {
        font-size: 2.45rem;
    }

    .hero-bottom strong {
        font-size: 1.2rem;
    }

    .hero-bottom span {
        font-size: 0.6rem;
    }

    .experience-badge {
        padding: 15px 18px;
    }

    .experience-badge strong {
        font-size: 1.8rem;
    }

    .why-image-card {
        padding: 16px 18px;
    }
}


/* =========================================
   VERY SMALL MOBILE
   ========================================= */

@media (max-width: 380px) {

    .home-hero h1 {
        font-size: 2.2rem;
    }

    .hero-bottom-grid > div {
        padding-left: 2px;
        padding-right: 2px;
    }

    .hero-bottom strong {
        font-size: 1.05rem;
    }

    .hero-bottom span {
        font-size: 0.55rem;
    }
}

/* =========================================
   ABOUT PAGE
   ========================================= */


/* ---------- ABOUT HERO ---------- */

.about-hero {
    background:
        linear-gradient(
            rgba(11, 31, 51, 0.82),
            rgba(11, 31, 51, 0.82)
        ),
        url("../images/gallery/nfcci-joint-delegation-paris.jpg");
}


/* ---------- STORY ---------- */

.about-story {
    background: var(--white);
}

.about-story-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}

.about-story-image {
    position: relative;
}

.about-story-image img {
    width: 100%;

    height: 570px;

    object-fit: cover;

    border-radius: var(--radius-lg);
}

.about-story-badge {
    position: absolute;

    right: -25px;
    bottom: 35px;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 20px 25px;

    background: var(--accent);

    color: var(--white);

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-md);
}

.about-story-badge strong {
    font-size: 2.2rem;
}

.about-story-badge span {
    font-size: 0.8rem;

    line-height: 1.3;
}

.about-story-content h2 {
    margin-bottom: 25px;
}

.about-story-content p {
    margin-bottom: 17px;
}


/* ---------- MISSION / VISION ---------- */

.mission-section {
    background: var(--bg-light);
}

.mission-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 25px;
}

.mission-card {
    padding: 50px 45px;

    border-radius: var(--radius-lg);
}

.vision-card {
    background: var(--white);

    border: 1px solid var(--border);

    box-shadow: var(--shadow-sm);
}

.mission-card-dark {
    background: var(--primary);
}

.mission-icon {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    margin-bottom: 30px;

    background: rgba(217, 154, 43, 0.12);

    color: var(--accent);

    border-radius: 50%;

    font-size: 1.5rem;
}

.mission-card h2 {
    margin-bottom: 20px;
}

.mission-card-dark h2 {
    color: var(--white);
}

.mission-card p {
    font-size: 0.95rem;
}

.mission-card-dark p {
    color: rgba(255, 255, 255, 0.68);
}


/* ---------- VALUES ---------- */

.values-section {
    background: var(--white);
}

.values-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.value-card {
    position: relative;

    padding: 35px;

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow-md);
}

.value-number {
    display: block;

    margin-bottom: 20px;

    color: var(--accent);

    font-size: 0.75rem;

    font-weight: 800;

    letter-spacing: 1px;
}

.value-card h3 {
    margin-bottom: 12px;
}

.value-card p {
    font-size: 0.9rem;
}


/* ---------- JOURNEY ---------- */

.journey-section {
    background: var(--bg-light);
}

.timeline {
    position: relative;

    max-width: 850px;

    margin: 0 auto;

    padding-left: 100px;
}

.timeline::before {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;
    left: 34px;

    width: 1px;

    background: var(--border);
}

.timeline-item {
    position: relative;

    display: grid;

    grid-template-columns: 90px 1fr;

    gap: 30px;

    padding-bottom: 45px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-year {
    position: relative;

    color: var(--accent);

    font-size: 0.85rem;

    font-weight: 800;
}

.timeline-year::before {
    content: "";

    position: absolute;

    left: -72px;
    top: 3px;

    width: 10px;
    height: 10px;

    background: var(--accent);

    border: 4px solid var(--bg-light);

    border-radius: 50%;

    box-sizing: content-box;
}

.timeline-content {
    padding-bottom: 10px;
}

.timeline-content h3 {
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.9rem;
}


/* ---------- COMMITMENT ---------- */

.commitment-section {
    background: var(--white);
}

.commitment-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}

.commitment-image img {
    width: 100%;

    height: 500px;

    object-fit: cover;

    border-radius: var(--radius-lg);
}

.commitment-content h2 {
    margin-bottom: 25px;
}

.commitment-content p {
    margin-bottom: 17px;
}

.commitment-content .btn {
    margin-top: 15px;
}


/* =========================================
   ABOUT RESPONSIVE
   ========================================= */

@media (max-width: 900px) {

    .about-story-grid,
    .commitment-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .about-story-image img {
        height: 500px;
    }

    .commitment-image img {
        height: 450px;
    }
}


@media (max-width: 600px) {

    .values-grid {
        grid-template-columns: 1fr;
    }

    .about-story-image img {
        height: 400px;
    }

    .about-story-badge {
        right: 10px;
        bottom: 20px;
    }

    .mission-card {
        padding: 35px 25px;
    }

    .timeline {
        padding-left: 60px;
    }

    .timeline::before {
        left: 19px;
    }

    .timeline-item {
        grid-template-columns: 1fr;

        gap: 8px;
    }

    .timeline-year::before {
        left: -45px;
    }

    .commitment-image img {
        height: 380px;
    }
}

/* =========================================
   SERVICES PAGE
   ========================================= */


/* ---------- SERVICES HERO ---------- */

.services-hero {
    background:
        linear-gradient(
            rgba(11, 31, 51, 0.84),
            rgba(11, 31, 51, 0.84)
        ),
        url("../images/gallery/nfcci-joint-delegation-paris.jpg");
}


/* ---------- INTRO ---------- */

.services-intro {
    padding-bottom: 50px;
}


/* ---------- SERVICE DETAIL ---------- */

.service-detail {
    padding: 90px 0;

    background: var(--white);
}

.service-detail-alt {
    background: var(--bg-light);
}

.service-detail-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}

.service-detail-grid.reverse {
    direction: rtl;
}

.service-detail-grid.reverse
.service-detail-content {
    direction: ltr;
}

.service-detail-image {
    position: relative;
}

.service-detail-image img {
    width: 100%;

    height: 500px;

    object-fit: cover;

    border-radius: var(--radius-lg);
}

.service-image-number {
    position: absolute;

    left: 25px;
    bottom: 25px;

    width: 55px;
    height: 55px;

    display: grid;
    place-items: center;

    background: var(--accent);

    color: var(--white);

    border-radius: 50%;

    font-size: 0.9rem;

    font-weight: 800;
}

.service-detail-content h2 {
    margin-bottom: 25px;
}

.service-detail-content > p {
    margin-bottom: 17px;

    font-size: 0.95rem;
}

.service-points {
    display: grid;

    gap: 12px;

    margin-top: 28px;
}

.service-points li {
    display: flex;

    align-items: center;

    gap: 12px;

    color: var(--primary);

    font-size: 0.9rem;

    font-weight: 600;
}

.service-points li span {
    width: 23px;
    height: 23px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    background: rgba(217, 154, 43, 0.12);

    color: var(--accent);

    border-radius: 50%;

    font-size: 0.75rem;

    font-weight: 800;
}


/* ---------- APPROACH ---------- */

.approach-section {
    background: var(--white);
}

.approach-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.approach-item {
    padding: 35px 28px;

    border-top:
        3px solid var(--accent);

    background: var(--bg-light);
}

.approach-number {
    margin-bottom: 25px;

    color: var(--accent);

    font-size: 0.8rem;

    font-weight: 800;

    letter-spacing: 1px;
}

.approach-item h3 {
    margin-bottom: 12px;
}

.approach-item p {
    font-size: 0.9rem;
}


/* ---------- SERVICE CTA ---------- */

.service-cta {
    padding: 70px 0;

    background: var(--primary);
}

.service-cta-content {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;
}

.service-cta-content h2 {
    color: var(--white);

    margin-top: 8px;
}


/* =========================================
   SERVICES RESPONSIVE
   ========================================= */

@media (max-width: 900px) {

    .service-detail-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .service-detail-grid.reverse {
        direction: ltr;
    }

    .approach-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .service-detail-image img {
        height: 450px;
    }

}


@media (max-width: 600px) {

    .service-detail {
        padding: 65px 0;
    }

    .approach-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-image img {
        height: 380px;
    }

    .service-cta-content {
        flex-direction: column;

        align-items: flex-start;

        gap: 25px;
    }

}


/* =========================================
   GALLERY PAGE
   ========================================= */


/* ---------- GALLERY HERO ---------- */

.gallery-hero {
    background:
        linear-gradient(
            rgba(11, 31, 51, 0.84),
            rgba(11, 31, 51, 0.84)
        ),
        url("../images/gallery/nfcci-joint-delegation-paris.jpg");
}


/* ---------- GALLERY INTRO ---------- */

.gallery-intro {
    background: var(--white);
}


/* ---------- FILTERS ---------- */

.gallery-filters {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 45px;
}

.gallery-filter {
    padding: 10px 20px;

    border: 1px solid var(--border);

    border-radius: 30px;

    background: var(--white);

    color: var(--text);

    font-size: 0.85rem;

    font-weight: 600;

    cursor: pointer;

    transition:
        background var(--transition),
        color var(--transition),
        border-color var(--transition);
}

.gallery-filter:hover {
    border-color: var(--accent);

    color: var(--accent-dark);
}

.gallery-filter.active {
    border-color: var(--primary);

    background: var(--primary);

    color: var(--white);
}


/* ---------- GALLERY GRID ---------- */

.gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    grid-auto-rows: 260px;

    gap: 18px;
}

.gallery-item {
    position: relative;

    overflow: hidden;

    border-radius: var(--radius-md);

    cursor: pointer;

    background: var(--bg-light);
}

.gallery-item.gallery-large {
    grid-column: span 2;

    grid-row: span 2;
}

.gallery-item.gallery-tall {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 50px 22px 22px;

    background:
        linear-gradient(
            transparent,
            rgba(0, 0, 0, 0.82)
        );

    color: var(--white);

    transform: translateY(4px);

    transition:
        transform var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay span {
    color: var(--accent);

    font-size: 0.7rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.gallery-overlay h3 {
    color: var(--white);

    font-size: 1.05rem;

    margin-top: 5px;
}


/* ---------- HIDDEN GALLERY ITEMS ---------- */

.gallery-item.hidden {
    display: none;
}


/* ---------- GALLERY STORY ---------- */

.gallery-story {
    padding: 100px 0;

    background: var(--bg-light);
}

.gallery-story-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}

.gallery-story-content h2 {
    margin-bottom: 25px;
}

.gallery-story-content p {
    margin-bottom: 16px;
}

.gallery-story-image img {
    width: 100%;

    height: 500px;

    object-fit: cover;

    border-radius: var(--radius-lg);
}

.gallery-story-note {
    display: flex;

    flex-direction: column;

    gap: 4px;

    margin-top: 30px;

    padding: 18px 20px;

    border-left:
        3px solid var(--accent);

    background: var(--white);
}

.gallery-story-note strong {
    color: var(--primary);

    font-size: 0.95rem;
}

.gallery-story-note span {
    color: var(--text-light);

    font-size: 0.8rem;
}


/* =========================================
   LIGHTBOX
   ========================================= */

.lightbox {
    position: fixed;

    inset: 0;

    z-index: 2000;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 40px;

    background:
        rgba(3, 12, 20, 0.94);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity var(--transition),
        visibility var(--transition);
}

.lightbox.active {
    opacity: 1;

    visibility: visible;
}

.lightbox-content {
    max-width: 1100px;

    max-height: 90vh;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 15px;
}

.lightbox-content img {
    max-width: 100%;

    max-height: 78vh;

    object-fit: contain;

    border-radius: var(--radius-sm);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4);
}

.lightbox-caption {
    color: var(--white);

    font-size: 0.9rem;

    text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;

    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255, 255, 255, 0.2);

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);

    color: var(--white);

    cursor: pointer;

    transition:
        background var(--transition),
        border-color var(--transition);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--accent);

    border-color: var(--accent);
}

.lightbox-close {
    top: 25px;

    right: 30px;

    font-size: 1.8rem;

    line-height: 1;
}

.lightbox-prev {
    left: 30px;

    top: 50%;

    transform: translateY(-50%);

    font-size: 2rem;
}

.lightbox-next {
    right: 30px;

    top: 50%;

    transform: translateY(-50%);

    font-size: 2rem;
}


/* =========================================
   GALLERY RESPONSIVE
   ========================================= */

@media (max-width: 900px) {

    .gallery-grid {
        grid-template-columns:
            repeat(2, 1fr);

        grid-auto-rows: 240px;
    }

    .gallery-item.gallery-large {
        grid-column: span 2;
    }

    .gallery-story-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .gallery-story-image img {
        height: 450px;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }
}


@media (max-width: 600px) {

    .gallery-filters {
        justify-content: flex-start;

        overflow-x: auto;

        flex-wrap: nowrap;

        padding-bottom: 8px;
    }

    .gallery-filter {
        flex-shrink: 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;

        grid-auto-rows: 260px;
    }

    .gallery-item.gallery-large,
    .gallery-item.gallery-tall {
        grid-column: auto;

        grid-row: auto;
    }

    .gallery-story {
        padding: 65px 0;
    }

    .gallery-story-image img {
        height: 380px;
    }

    .lightbox {
        padding: 20px;
    }

    .lightbox-close {
        top: 15px;

        right: 15px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;

        top: 50%;
        bottom: auto;

        transform: translateY(-50%);

        font-size: 1.6rem;

        z-index: 10;
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }

    .lightbox-content img {
        max-height: 70vh;
    }
}


/* =========================================
   CONTACT PAGE
   ========================================= */


/* ---------- CONTACT HERO ---------- */

.contact-hero {
    background:
        linear-gradient(
            rgba(11, 31, 51, 0.84),
            rgba(11, 31, 51, 0.84)
        ),
        url("https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=2200&q=85")
        center / cover no-repeat;
}


/* ---------- CONTACT SECTION ---------- */

.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;

    grid-template-columns: 0.85fr 1.15fr;

    gap: 80px;

    align-items: start;
}

.contact-info {
    padding-top: 10px;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-intro {
    max-width: 500px;

    margin-bottom: 40px;
}

.contact-item {
    display: flex;

    align-items: flex-start;

    gap: 16px;

    margin-bottom: 25px;
}

.contact-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    background: rgba(217, 154, 43, 0.12);

    color: var(--accent);

    border-radius: 50%;

    font-size: 0.85rem;

    font-weight: 800;
}

.contact-item h3 {
    font-size: 1rem;

    margin-bottom: 3px;
}

.contact-item p {
    font-size: 0.9rem;
}


/* ---------- CONTACT FORM ---------- */

.contact-form-wrapper {
    padding: 45px;

    background: var(--bg-light);

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);
}

.contact-form-header {
    margin-bottom: 30px;
}

.contact-form-header h2 {
    margin-bottom: 12px;
}

.contact-form-header p {
    font-size: 0.9rem;
}

.contact-form {
    display: grid;

    gap: 20px;
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;
}

.form-group {
    display: flex;

    flex-direction: column;

    gap: 7px;
}

.form-group label {
    color: var(--primary);

    font-size: 0.82rem;

    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 13px 15px;

    border: 1px solid var(--border);

    border-radius: var(--radius-sm);

    background: var(--white);

    color: var(--text);

    outline: none;

    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);

    box-shadow:
        0 0 0 3px rgba(217, 154, 43, 0.12);
}

.form-group textarea {
    resize: vertical;

    min-height: 140px;
}

.form-submit {
    width: fit-content;

    border: none;
}

.form-status {
    display: none;

    margin-top: -5px;

    font-size: 0.85rem;

    font-weight: 600;
}

.form-status.success {
    display: block;

    color: #26734d;
}


/* ---------- LOCATION ---------- */

.location-section {
    padding: 90px 0;

    background: var(--bg-light);
}

.location-grid {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 70px;

    align-items: center;
}

.location-content h2 {
    margin-bottom: 20px;
}

.location-content > p {
    max-width: 500px;

    margin-bottom: 25px;
}

.location-details {
    display: flex;

    flex-direction: column;

    gap: 6px;

    padding-left: 18px;

    border-left:
        3px solid var(--accent);
}

.location-details strong {
    color: var(--primary);
}

.location-details span {
    color: var(--text-light);

    font-size: 0.9rem;
}


/* ---------- MAP ---------- */

.map-placeholder {
    min-height: 420px;

    display: grid;

    place-items: center;

    padding: 40px;

    border-radius: var(--radius-lg);

    background:
        linear-gradient(
            135deg,
            #dfe6e9,
            #f1f3f4
        );

    position: relative;

    overflow: hidden;
}

.map-placeholder::before {
    content: "";

    position: absolute;

    inset: 0;

    opacity: 0.35;

    background-image:
        linear-gradient(
            45deg,
            transparent 45%,
            rgba(11, 31, 51, 0.08) 46%,
            rgba(11, 31, 51, 0.08) 47%,
            transparent 48%
        );

    background-size: 45px 45px;
}

.map-content {
    position: relative;

    z-index: 1;

    max-width: 350px;

    text-align: center;
}

.map-pin {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    margin: 0 auto 18px;

    background: var(--accent);

    color: var(--white);

    border-radius: 50%;

    font-size: 1.3rem;

    font-weight: 800;

    box-shadow:
        0 10px 25px rgba(217, 154, 43, 0.25);
}

.map-content h3 {
    margin-bottom: 5px;
}

.map-content p {
    margin-bottom: 20px;
}

.map-button {
    border-color: var(--primary);

    background: var(--primary);

    color: var(--white);
}

.map-button:hover {
    background: var(--accent);

    border-color: var(--accent);

    color: var(--white);
}


/* ---------- HELP ---------- */

.contact-help {
    background: var(--white);
}

.help-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.help-card {
    padding: 30px;

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.help-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow-md);
}

.help-number {
    display: block;

    margin-bottom: 20px;

    color: var(--accent);

    font-size: 0.75rem;

    font-weight: 800;

    letter-spacing: 1px;
}

.help-card h3 {
    margin-bottom: 10px;
}

.help-card p {
    font-size: 0.88rem;
}


/* =========================================
   CONTACT RESPONSIVE
   ========================================= */

@media (max-width: 1000px) {

    .contact-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .location-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .help-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .contact-form-wrapper {
        padding: 28px 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .location-section {
        padding: 65px 0;
    }

    .map-placeholder {
        min-height: 350px;
    }

    .help-grid {
        grid-template-columns: 1fr;
    }

    .form-submit {
        width: 100%;
    }

}


/* =========================================
   GLOBAL POLISH
   ========================================= */

.site-header {
    backdrop-filter: blur(10px);
}

.nav-link {
    transition:
        color 0.25s ease,
        opacity 0.25s ease;
}

.nav-link:hover {
    opacity: 0.85;
}


/* =========================================
   MOBILE MENU ANIMATION
   ========================================= */

@media (max-width: 900px) {

    .nav-menu {
        opacity: 0;
        transform: translateY(-10px);

        transition:
            opacity 0.25s ease,
            transform 0.25s ease;
    }

    .nav-menu.active {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================
   BUTTON POLISH
   ========================================= */

.btn {
    position: relative;

    overflow: hidden;
}

.btn::after {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 80%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.18),
            transparent
        );

    transform: skewX(-20deg);

    transition: left 0.6s ease;
}

.btn:hover::after {
    left: 140%;
}


/* =========================================
   IMAGE POLISH
   ========================================= */

.intro-image img,
.about-story-image img,
.commitment-image img,
.service-detail-image img,
.gallery-story-image img,
.why-image img {
    transition:
        transform 0.6s ease;
}

.intro-image:hover img,
.about-story-image:hover img,
.commitment-image:hover img,
.service-detail-image:hover img,
.gallery-story-image:hover img,
.why-image:hover img {
    transform: scale(1.025);
}


/* =========================================
   PAGE HERO POLISH
   ========================================= */

.page-hero {
    position: relative;

    overflow: hidden;
}

.page-hero-content {
    position: relative;

    z-index: 2;
}

.page-hero h1 {
    letter-spacing: -1px;
}

.page-hero p {
    max-width: 650px;
}


/* =========================================
   EYEBROW POLISH
   ========================================= */

.hero-eyebrow {
    text-transform: uppercase;

    white-space: nowrap;
}

/* =========================================
   SECTION HEADING POLISH
   ========================================= */

.section-header h2,
.intro-content h2,
.about-story-content h2,
.commitment-content h2,
.service-detail-content h2,
.gallery-story-content h2,
.contact-info h2,
.contact-form-header h2 {
    letter-spacing: -0.5px;
}

/* =========================================
   HERO STAT POLISH
   ========================================= */

.hero-bottom-grid > div {
    min-height: 90px;
}

.hero-bottom strong {
    line-height: 1;
}

.hero-bottom span {
    line-height: 1.3;
}

/* =========================================
   GALLERY POLISH
   ========================================= */

.gallery-item {
    isolation: isolate;
}

.gallery-item::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 45%,
            rgba(5, 20, 34, 0.15),
            rgba(5, 20, 34, 0.45)
        );

    opacity: 0;

    transition:
        opacity 0.4s ease;

    pointer-events: none;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-overlay {
    z-index: 2;
}

/* =========================================
   FORM POLISH
   ========================================= */

.form-group input,
.form-group select,
.form-group textarea {
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #cfd4da;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

/* =========================================
   TEXT SELECTION
   ========================================= */

::selection {
    background: var(--accent);
    color: var(--white);
}

/* =========================================
   MOBILE POLISH
   ========================================= */

@media (max-width: 600px) {

    .section-header {
        margin-bottom: 35px;
    }

    .section-header h2 {
        margin-bottom: 14px;
    }

    .page-hero {
        min-height: 380px;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }

    .page-hero p {
        font-size: 1rem;
    }

    .hero-eyebrow {
        font-size: 0.65rem;

        letter-spacing: 1.2px;
    }

}

/* =========================================
   SCROLL TO TOP
   ========================================= */

.scroll-top {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    border: none;

    border-radius: 50%;

    background: var(--primary);

    color: var(--white);

    font-size: 1.1rem;

    cursor: pointer;

    z-index: 900;

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px);

    transition:
        opacity var(--transition),
        visibility var(--transition),
        transform var(--transition),
        background var(--transition);
}

.scroll-top.visible {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--accent);

    transform: translateY(-3px);
}

@media (max-width: 600px) {

    .scroll-top {
        right: 15px;
        bottom: 15px;

        width: 42px;
        height: 42px;
    }

}

/* =========================================
   GALLERY TEXT HIERARCHY
   ========================================= */

.gallery-overlay span,
.gallery-item span {
    display: inline-block;

    margin-bottom: 6px;
    padding: 3px 8px;

    color: #8fb8f0 !important;

    background: rgba(5, 20, 34, 0.80);

    border-radius: 4px;

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 1.5px;
    text-transform: uppercase;

    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.7);
}


.gallery-overlay h3,
.gallery-item h3 {
    color: #e6edf5 !important;

    font-size: 1.4rem;
    font-weight: 700;

    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.75);
}


.gallery-overlay {
    background:
        linear-gradient(
            to top,
            rgba(5, 20, 34, 0.90) 0%,
            rgba(5, 20, 34, 0.55) 45%,
            transparent 100%
        ) !important;
}


/* =========================================
   PROJECT / ENGAGEMENT TEXT CONTRAST
   ========================================= */

.project-overlay span {
    color: #1f5fbf !important;

    text-shadow:
        0 2px 5px rgba(0, 0, 0, 0.85);
}

.project-overlay h3 {
    color: #ffffff !important;

    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.9);
}

/* =========================================
   ENGAGEMENT CARDS — SAME STYLE AS GALLERY
   ========================================= */

.project-overlay {
    background:
        linear-gradient(
            to top,
            rgba(5, 20, 34, 0.90) 0%,
            rgba(5, 20, 34, 0.55) 45%,
            transparent 100%
        ) !important;
}

.project-overlay span {
    display: inline-block;

    padding: 7px 12px;

    background: rgba(5, 20, 34, 0.88);

    border-radius: 6px;

    color: #4da3ff !important;

    font-size: 0.75rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1.5px;

    text-shadow:
        0 2px 5px rgba(0, 0, 0, 0.85);
}

.project-overlay h3 {
    color: #ffffff !important;

    margin-top: 10px;

    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.9);
}

.home-hero {
    position: relative;
    overflow: hidden;
}

.hero-background-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
}

/* =====================================
   FINAL HOME HERO OVERRIDE
   KEEP THIS AT THE VERY END OF CSS
===================================== */

/* =====================================
   DESKTOP HERO
===================================== */

.home-hero {
    min-height: 620px !important;
}

/* HERO CONTENT */

.home-hero-content {
    padding-top: 20px !important;
    padding-bottom: 60px !important;
}

/* HERO TITLE */

.home-hero h1 {
    max-width: 760px !important;

    font-size: clamp(2.6rem, 4vw, 4.2rem) !important;
    line-height: 1.12 !important;

    margin-bottom: 18px !important;

    letter-spacing: -0.5px !important;
}

/* HERO DESCRIPTION */

.home-hero p,
.home-hero-content p {
    max-width: 700px !important;

    color: #ffffff !important;

    font-size: 1.05rem !important;
    font-weight: 500 !important;
    line-height: 1.7 !important;

    opacity: 1 !important;

    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.95) !important;
}

/* BUTTONS */

.home-hero .hero-buttons {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 16px !important;
}

.home-hero .hero-buttons .btn {
    width: auto !important;
}


/* =====================================
   REMOVE HERO BOTTOM SECTION
===================================== */

.hero-bottom {
    display: none !important;
}


/* =====================================
   MOBILE ONLY
===================================== */

@media (max-width: 768px) {

    .home-hero {
        min-height: auto !important;
        padding-top: 110px !important;
        padding-bottom: 40px !important;
    }

    .home-hero-content {
        padding-bottom: 40px !important;
    }

    .home-hero h1 {
        max-width: 100% !important;

        font-size: clamp(2.2rem, 9vw, 3.2rem) !important;
        line-height: 1.15 !important;

        margin-bottom: 16px !important;
    }

    .home-hero p,
    .home-hero-content p {
        font-size: 1rem !important;
        line-height: 1.65 !important;
    }

    .home-hero .hero-buttons {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .home-hero .hero-buttons .btn {
        width: 100% !important;
    }
}

/* =====================================
   CONTACT PAGE - LOCATION CARD
===================================== */

.map-placeholder {
    min-height: 430px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 50px 40px;

    background:
        linear-gradient(
            135deg,
            rgba(245, 247, 250, 0.96),
            rgba(225, 232, 240, 0.96)
        );

    border: 1px solid rgba(30, 62, 105, 0.12);

    border-radius: 20px;

    position: relative;
    overflow: hidden;
}


/* SUBTLE BACKGROUND PATTERN */

.map-placeholder::before {
    content: "";

    position: absolute;

    width: 200%;
    height: 200%;

    top: -50%;
    left: -50%;

    background:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 38px,
            rgba(30, 62, 105, 0.04) 39px,
            rgba(30, 62, 105, 0.04) 40px
        );

    pointer-events: none;
}


.map-content {
    position: relative;
    z-index: 1;

    text-align: center;

    max-width: 440px;
}


/* LOCATION ICON */

.map-pin {
    width: 74px;
    height: 74px;

    margin: 0 auto 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 32px;

    background: #234a7d;

    border-radius: 50%;

    box-shadow:
        0 15px 35px rgba(35, 74, 125, 0.2);
}


/* LOCATION LABEL */

.map-label {
    display: inline-block;

    margin-bottom: 12px;

    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 2px;

    color: #234a7d;
}


/* TITLE */

.map-content h3 {
    margin-bottom: 14px;

    font-size: 2rem;

    color: #1d3557;
}


/* ADDRESS */

.map-content p {
    margin-bottom: 30px;

    font-size: 1.05rem;
    line-height: 1.8;

    color: #5f6b78;
}


/* GOOGLE MAPS BUTTON */

.map-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;
    gap: 20px;

    padding: 17px 26px;

    background: #234a7d;

    color: #ffffff;

    text-decoration: none;

    font-weight: 600;

    border-radius: 10px;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}


.map-button:hover {
    background: #17385f;

    transform: translateY(-3px);

    box-shadow:
        0 12px 25px rgba(35, 74, 125, 0.25);
}


.map-arrow {
    font-size: 1.3rem;

    transition: transform 0.25s ease;
}


.map-button:hover .map-arrow {
    transform: translateX(5px);
}


/* MOBILE */

@media (max-width: 768px) {

    .map-placeholder {
        min-height: 380px;

        padding: 40px 25px;
    }


    .map-content h3 {
        font-size: 1.7rem;
    }


    .map-button {
        width: 100%;

        gap: 12px;

        padding: 16px 20px;
    }

}

/* =====================================
   ABOUT - ADDITIONAL HISTORICAL PHOTOS
===================================== */

.about-history-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.about-history-images img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}


/* MOBILE */

@media (max-width: 768px) {

    .about-history-images {
        grid-template-columns: 1fr;
    }

    .about-history-images img {
        height: 260px;
    }

}

/* =====================================
   ABOUT PAGE - COMPANY STORY
===================================== */

.about-story-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 70px;
    align-items: start;
}


/* LEFT SIDE PHOTOS */

.about-story-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.about-image-item {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 14px;
}

.about-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* RIGHT SIDE CONTENT */

.about-story-content {
    padding-top: 0;
}

.about-story-content .section-label {
    display: inline-block;
    margin-bottom: 14px;
}

.about-story-content h2 {
    margin-top: 0;
    margin-bottom: 24px;
}

.about-story-content p {
    margin-bottom: 18px;
}


/* TABLET */

@media (max-width: 900px) {

    .about-story-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-story-images {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-image-item {
        height: 220px;
    }

}


/* MOBILE */

@media (max-width: 650px) {

    .about-story-images {
        grid-template-columns: 1fr;
    }

    .about-image-item {
        height: 260px;
    }

}


/* =====================================
   ABOUT STORY
===================================== */

.about-story-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
}

.about-story-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-story-content h2 {
    margin-top: 16px;
}

.about-story-content p {
    margin-bottom: 18px;
}

.about-story-images {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.about-image-item {
    margin: 0;
    width: 100%;
}

.about-image-item img {
    width: 100%;
    height: 280px;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.about-image-item figcaption {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}


/* =====================================
   TABLET
===================================== */

@media (max-width: 900px) {

    .about-story-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-image-item img {
        height: 350px;
    }

}


/* =====================================
   MOBILE
===================================== */

@media (max-width: 600px) {

    .about-story-layout {
        gap: 35px;
    }

    .about-image-item img {
        height: 240px;
    }

}

/* =====================================
   EVOLUTION OF NFCCI
===================================== */

.nfcci-evolution {
    padding: 110px 0;
    background: #f6f8fb;
}


.evolution-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.4fr;
    gap: 100px;
    align-items: start;
}


/* LEFT SIDE */

.evolution-heading {
    position: sticky;
    top: 130px;
}


.evolution-heading h2 {
    margin-top: 18px;
    margin-bottom: 28px;

    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.2;

    color: #244a7c;
}


.evolution-line {
    width: 70px;
    height: 4px;

    background: #244a7c;

    border-radius: 10px;
}


/* RIGHT SIDE CONTENT */

.evolution-content {
    max-width: 760px;
}


.evolution-content p {
    margin: 0;
    padding: 0 0 30px;

    font-size: 1rem;
    line-height: 1.9;

    color: #526174;
}


.evolution-content p:not(:last-child) {
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(36, 74, 124, 0.12);
}


/* =====================================
   TABLET
===================================== */

@media (max-width: 1024px) {

    .nfcci-evolution {
        padding: 85px 0;
    }

    .evolution-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .evolution-heading {
        position: static;
    }

    .evolution-content {
        max-width: 100%;
    }

}


/* =====================================
   MOBILE
===================================== */

@media (max-width: 640px) {

    .nfcci-evolution {
        padding: 65px 0;
    }

    .evolution-layout {
        gap: 35px;
    }

    .evolution-heading h2 {
        font-size: 2rem;
    }

    .evolution-content p {
        font-size: 0.95rem;
        line-height: 1.8;

        padding-bottom: 25px;
    }

    .evolution-content p:not(:last-child) {
        margin-bottom: 25px;
    }

}