﻿/* =========================================================
   ECO VISION CONSTRUCTION - CLEAN STYLE.CSS
   Replace your current Static/style.css with this file.
   ========================================================= */

/* =========================
   RESET + BASE
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #0b1d38;
    --navy-dark: #07182f;
    --blue: #2b4fbf;
    --blue-light: #365fd6;
    --gold: #c8a84b;
    --light: #f2f5ff;
    --border: #dde3f7;
    --text: #333333;
    --muted: #555555;
    --white: #ffffff;
    --shadow-soft: 0 16px 38px rgba(11, 29, 56, 0.08);
    --shadow-medium: 0 24px 55px rgba(11, 29, 56, 0.18);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Manrope', 'Outfit', Arial, sans-serif;
    background: #ffffff;
    color: var(--text);
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

main {
    width: 100%;
}

a {
    color: inherit;
}

/* =========================
   NAVBAR
========================= */

.site-header {
    width: 100%;
    background: var(--navy);
    border-bottom: 1px solid rgba(200, 168, 75, 0.18);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    height: 105px;
    padding: 0 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: rgba(11, 29, 56, 0.98);
    backdrop-filter: blur(14px);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s ease;
}

    .nav-logo:hover {
        transform: translateY(-2px);
    }

.site-logo {
    width: 68px;
    height: 68px;
    object-fit: contain;
    display: block;
    background: transparent;
    border: none;
    box-shadow: none;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.28));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.nav-logo:hover .site-logo {
    transform: scale(1.06);
    filter: drop-shadow(0 8px 18px rgba(200, 168, 75, 0.28));
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

    .logo-text strong {
        color: #ffffff;
        font-size: 22px;
        font-weight: 900;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .logo-text span {
        color: var(--gold);
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 3px;
        text-transform: uppercase;
        margin-top: 6px;
    }

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 34px;
}

    .nav-links > a,
    .nav-dropdown > a {
        color: rgba(255, 255, 255, 0.72);
        text-decoration: none;
        font-size: 14px;
        font-weight: 900;
        letter-spacing: 3px;
        text-transform: uppercase;
        position: relative;
        padding: 40px 0;
        transition: color 0.3s ease;
        white-space: nowrap;
    }

        .nav-links > a:hover,
        .nav-dropdown > a:hover,
        .nav-links > a.active,
        .nav-dropdown > a.active {
            color: #ffffff;
        }

        .nav-links > a::after,
        .nav-dropdown > a::after {
            content: "";
            position: absolute;
            left: 50%;
            bottom: 28px;
            width: 0;
            height: 3px;
            background: var(--gold);
            transform: translateX(-50%);
            transition: width 0.3s ease;
        }

        .nav-links > a:hover::after,
        .nav-dropdown > a:hover::after,
        .nav-links > a.active::after,
        .nav-dropdown > a.active::after {
            width: 55%;
        }

.contact-nav {
    background: var(--blue);
    color: #ffffff !important;
    padding: 24px 34px !important;
    box-shadow: 0 18px 45px rgba(43, 79, 191, 0.28);
    transition: background 0.3s ease, transform 0.3s ease;
}

    .contact-nav::after {
        display: none;
    }

    .contact-nav:hover {
        background: var(--blue-light);
        transform: translateY(-2px);
    }

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    min-width: 280px;
    background: linear-gradient(145deg, #0b1d38 0%, #102b57 100%);
    border: 1px solid rgba(200, 168, 75, 0.28);
    border-top: 3px solid var(--gold);
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.38);
    padding: 14px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 3000;
}

    .nav-dropdown:hover .dropdown-menu,
    .dropdown-menu:hover {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }

    .dropdown-menu a {
        display: block;
        position: relative;
        color: rgba(255, 255, 255, 0.72);
        text-decoration: none;
        padding: 16px 18px 16px 42px;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 2.2px;
        text-transform: uppercase;
        white-space: nowrap;
        border: 1px solid transparent;
        transition: color 0.25s ease, background 0.25s ease, border 0.25s ease, padding-left 0.25s ease;
    }

        .dropdown-menu a::before {
            content: "";
            position: absolute;
            left: 18px;
            top: 50%;
            width: 10px;
            height: 2px;
            background: var(--gold);
            transform: translateY(-50%);
            transition: width 0.25s ease;
        }

        .dropdown-menu a::after {
            content: "›";
            position: absolute;
            right: 18px;
            top: 50%;
            transform: translateY(-50%) translateX(-6px);
            color: var(--gold);
            opacity: 0;
            font-size: 18px;
            transition: opacity 0.25s ease, transform 0.25s ease;
        }

        .dropdown-menu a:hover {
            color: #ffffff;
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(200, 168, 75, 0.18);
            padding-left: 50px;
        }

            .dropdown-menu a:hover::before {
                width: 18px;
            }

            .dropdown-menu a:hover::after {
                opacity: 1;
                transform: translateY(-50%) translateX(0);
            }

/* Hide removed back-button experiments */
.navbar-back-btn,
.page-back-wrap,
.page-back-btn,
.back-page-btn {
    display: none !important;
}

/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    color: white;
    padding: 175px 5vw 85px;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 70px;
    align-items: center;
    perspective: 1200px;
    background: radial-gradient(circle at 18% 22%, rgba(200, 168, 75, 0.13), transparent 28%), radial-gradient(circle at 85% 20%, rgba(43, 79, 191, 0.22), transparent 32%), linear-gradient(120deg, #07182f 0%, #0b1d38 48%, #2b4fbf 48%, #315bd1 100%);
}

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(120deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px), linear-gradient(60deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
        background-size: 190px 190px;
        opacity: 0.45;
        pointer-events: none;
    }

    .hero::after {
        content: "";
        position: absolute;
        width: 520px;
        height: 520px;
        right: 8%;
        top: 10%;
        background: radial-gradient(circle, rgba(200, 168, 75, 0.16), transparent 62%);
        filter: blur(30px);
        animation: heroGlowMove 8s ease-in-out infinite alternate;
        pointer-events: none;
    }

@keyframes heroGlowMove {
    from {
        transform: translate(0, 0) scale(1);
        opacity: 0.55;
    }

    to {
        transform: translate(-60px, 40px) scale(1.15);
        opacity: 0.9;
    }
}

.hero > div,
.hero-content,
.hero-stats {
    position: relative;
    z-index: 2;
}

    .hero > div:first-child,
    .hero-stats {
        transition: transform 0.18s ease-out;
    }

.hero-tag {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 12px;
    margin-bottom: 24px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(58px, 6vw, 92px);
    line-height: 0.95;
    margin-bottom: 28px;
    animation: heroTextRise 0.8s ease both;
}

    .hero h1 em {
        color: var(--gold);
    }

.hero p {
    max-width: 640px;
    color: rgba(255, 255, 255, 0.70);
    line-height: 1.8;
    font-size: 17px;
    animation: heroTextRise 0.9s ease both;
}

@keyframes heroTextRise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    margin-top: 42px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary,
.contact-form button {
    background: var(--blue);
    color: white;
    padding: 18px 34px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    font-size: 13px;
    border: none;
    cursor: pointer;
    display: inline-block;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

    .btn-primary:hover,
    .contact-form button:hover {
        background: var(--blue-light);
        transform: translateY(-3px);
        box-shadow: 0 18px 38px rgba(43, 79, 191, 0.24);
    }

.btn-secondary {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    padding: 18px 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

    .btn-secondary:hover {
        color: var(--gold);
        transform: translateY(-3px);
    }

.hero-buttons .btn-primary {
    position: relative;
    overflow: hidden;
}

    .hero-buttons .btn-primary::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.22), transparent);
        transform: translateX(-120%);
        transition: transform 0.6s ease;
    }

    .hero-buttons .btn-primary:hover::after {
        transform: translateX(120%);
    }

.hero-stats {
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.045);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.12);
}

.stat-box {
    position: relative;
    overflow: hidden;
    padding: 38px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

    .stat-box:last-child {
        border-bottom: none;
    }

    .stat-box::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(11, 29, 56, 0.45), rgba(200, 168, 75, 0.12));
        opacity: 0;
        transition: opacity 0.35s ease;
    }

    .stat-box::after {
        content: "";
        position: absolute;
        left: 0;
        top: 22%;
        width: 4px;
        height: 56%;
        background: var(--gold);
        transform: scaleY(0);
        transition: transform 0.35s ease;
    }

    .stat-box:hover {
        transform: translateX(10px);
        background: rgba(255, 255, 255, 0.075);
        box-shadow: inset 0 0 0 1px rgba(200, 168, 75, 0.18);
    }

        .stat-box:hover::before {
            opacity: 1;
        }

        .stat-box:hover::after {
            transform: scaleY(1);
        }

.stat-number,
.stat-label {
    position: relative;
    z-index: 1;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    color: white;
    line-height: 1;
    transition: transform 0.3s ease, color 0.3s ease;
}

    .stat-number span {
        color: var(--gold);
    }

.stat-box:hover .stat-number {
    transform: translateX(8px) scale(1.04);
}

.stat-label {
    color: rgba(255, 255, 255, 0.50);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 12px;
    margin-top: 8px;
}

.hero-scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 28px;
    width: 28px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-radius: 30px;
    transform: translateX(-50%);
    z-index: 5;
}

    .hero-scroll-indicator span {
        position: absolute;
        left: 50%;
        top: 9px;
        width: 6px;
        height: 6px;
        background: var(--gold);
        border-radius: 50%;
        transform: translateX(-50%);
        animation: scrollDotMove 1.6s ease-in-out infinite;
    }

@keyframes scrollDotMove {
    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }

    40% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 18px);
    }
}

.hero-particle {
    position: absolute;
    width: 7px;
    height: 7px;
    background: rgba(200, 168, 75, 0.55);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    animation: particleFloat 6s ease-in-out infinite alternate;
}

    .hero-particle.p1 {
        top: 22%;
        left: 38%;
    }

    .hero-particle.p2 {
        top: 70%;
        left: 52%;
        animation-delay: 1s;
    }

    .hero-particle.p3 {
        top: 34%;
        right: 14%;
        animation-delay: 1.8s;
    }

@keyframes particleFloat {
    from {
        transform: translateY(0);
        opacity: 0.35;
    }

    to {
        transform: translateY(-28px);
        opacity: 0.9;
    }
}

/* =========================
   GENERAL SECTIONS
========================= */

.section {
    padding: 110px 5vw;
}

.section-light {
    background: white;
}

.section-blue {
    background: var(--light);
}

.section-title-small {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 12px;
    margin-bottom: 16px;
    font-weight: 800;
}

.section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(42px, 4vw, 58px);
    color: var(--navy);
    margin-bottom: 28px;
}

.section p {
    max-width: 850px;
    line-height: 1.9;
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 18px;
}

/* =========================
   PAGE HEADER
========================= */

.page-header {
    position: relative;
    overflow: hidden;
    padding: 180px 5vw 110px;
    min-height: 430px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: radial-gradient(circle at 18% 25%, rgba(200, 168, 75, 0.13), transparent 28%), radial-gradient(circle at 85% 30%, rgba(43, 79, 191, 0.20), transparent 30%), linear-gradient(135deg, #07182f 0%, #0b1d38 55%, #102b57 100%);
    color: #ffffff;
    border-bottom: 1px solid rgba(200, 168, 75, 0.22);
}

    .page-header::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(120deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px), linear-gradient(60deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
        background-size: 180px 180px;
        opacity: 0.38;
        pointer-events: none;
    }

    .page-header::after {
        content: "";
        position: absolute;
        width: 520px;
        height: 520px;
        right: -140px;
        top: -160px;
        background: radial-gradient(circle, rgba(200, 168, 75, 0.16), transparent 62%);
        filter: blur(30px);
        animation: pageHeaderGlow 8s ease-in-out infinite alternate;
        pointer-events: none;
    }

@keyframes pageHeaderGlow {
    from {
        transform: translate(0, 0) scale(1);
        opacity: 0.55;
    }

    to {
        transform: translate(-55px, 45px) scale(1.15);
        opacity: 0.9;
    }
}

.page-header h1,
.page-header p {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(54px, 6vw, 88px);
    line-height: 1.05;
    color: #ffffff;
    margin-bottom: 26px;
    max-width: 950px;
    letter-spacing: -1px;
    animation: pageTitleRise 0.8s ease both;
}

    .page-header h1::after {
        content: "";
        display: block;
        width: 90px;
        height: 3px;
        background: var(--gold);
        margin-top: 24px;
    }

.page-header p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 18px;
    line-height: 1.9;
    animation: pageTitleRise 0.95s ease both;
}

@keyframes pageTitleRise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   HOMEPAGE ABOUT
========================= */

.about-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 70px;
    align-items: center;
}

    .about-grid > div:first-child {
        position: relative;
        padding: 40px 0;
    }

        .about-grid > div:first-child::before {
            content: "";
            position: absolute;
            left: -5vw;
            top: 0;
            width: 6px;
            height: 100%;
            background: linear-gradient(to bottom, var(--gold), transparent);
        }

    .about-grid p {
        max-width: 760px;
        font-size: 17px;
        line-height: 1.9;
        color: #3f4656;
    }

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 45px;
    border: 1px solid var(--border);
    background: #ffffff;
    box-shadow: 0 22px 55px rgba(11, 29, 56, 0.08);
}

.about-card {
    min-height: 145px;
    padding: 34px;
    background: var(--light);
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

    .about-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, #0b1d38, #2b4fbf);
        opacity: 0;
        transition: opacity 0.35s ease;
        z-index: 0;
    }

    .about-card strong,
    .about-card span {
        position: relative;
        z-index: 1;
    }

    .about-card strong {
        display: block;
        font-family: 'Playfair Display', serif;
        font-size: 48px;
        color: var(--navy);
        margin-bottom: 8px;
        transition: color 0.35s ease, transform 0.35s ease;
    }

    .about-card span {
        color: #54608a;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-size: 12px;
        font-weight: 800;
        transition: color 0.35s ease;
    }

    .about-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 22px 50px rgba(11, 29, 56, 0.16);
    }

        .about-card:hover::before {
            opacity: 1;
        }

        .about-card:hover strong {
            color: #ffffff;
            transform: translateY(-4px);
        }

        .about-card:hover span {
            color: var(--gold);
        }

.about-image {
    position: relative;
    height: 620px;
    background: var(--navy);
    box-shadow: 0 30px 80px rgba(11, 29, 56, 0.22);
    overflow: hidden;
}

    .about-image::before {
        content: "";
        position: absolute;
        inset: 18px;
        border: 1px solid rgba(200, 168, 75, 0.45);
        z-index: 2;
        pointer-events: none;
    }

    .about-image::after {
        content: "Eco Vision Construction";
        position: absolute;
        left: 34px;
        bottom: 34px;
        background: rgba(11, 29, 56, 0.88);
        color: #ffffff;
        padding: 14px 22px;
        font-size: 12px;
        font-weight: 900;
        letter-spacing: 2px;
        text-transform: uppercase;
        border-left: 4px solid var(--gold);
        z-index: 3;
    }

    .about-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        filter: brightness(0.88) contrast(1.05);
        transition: transform 0.6s ease, filter 0.6s ease;
    }

    .about-image:hover img {
        transform: scale(1.07);
        filter: brightness(0.78) contrast(1.1);
    }

/* =========================
   PARTNERS
========================= */

.partners-section {
    position: relative;
    background: radial-gradient(circle at 12% 20%, rgba(200, 168, 75, 0.12), transparent 28%), radial-gradient(circle at 85% 15%, rgba(43, 79, 191, 0.13), transparent 30%), linear-gradient(135deg, #eef3ff 0%, #ffffff 48%, #edf3ff 100%);
    overflow: hidden;
}

    .partners-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(120deg, rgba(11, 29, 56, 0.035) 1px, transparent 1px), linear-gradient(60deg, rgba(11, 29, 56, 0.025) 1px, transparent 1px);
        background-size: 160px 160px;
        opacity: 0.7;
        pointer-events: none;
    }

    .partners-section > * {
        position: relative;
        z-index: 1;
    }

.partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: none;
    gap: 18px;
    margin-top: 55px;
}

.partner-box {
    min-height: 150px;
    background: linear-gradient(135deg, #ffffff 0%, #f6f8ff 100%);
    border: 1px solid rgba(221, 227, 247, 0.95);
    border-left: 4px solid rgba(200, 168, 75, 0.65);
    box-shadow: 0 14px 34px rgba(11, 29, 56, 0.06);
    color: var(--navy) !important;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    text-decoration: none;
    font-weight: 800;
    transition: transform 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
}

    .partner-box::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 20% 20%, rgba(200, 168, 75, 0.18), transparent 35%), linear-gradient(135deg, #0b1d38 0%, #2b4fbf 100%);
        opacity: 0;
        transition: opacity 0.35s ease;
        z-index: -1;
    }

    .partner-box::after {
        content: "View";
        position: absolute;
        right: 18px;
        bottom: 16px;
        font-size: 11px;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: var(--gold);
        opacity: 0;
        transform: translateY(8px);
        transition: opacity 0.35s ease, transform 0.35s ease;
    }

    .partner-box:hover {
        transform: translateY(-10px) scale(1.015);
        color: #ffffff !important;
        box-shadow: 0 26px 60px rgba(11, 29, 56, 0.22);
    }

        .partner-box:hover::before {
            opacity: 1;
        }

        .partner-box:hover::after {
            opacity: 1;
            transform: translateY(0);
        }

/* =========================
   CARDS
========================= */

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 42px;
}

.content-card {
    background: var(--light);
    padding: 35px;
    border-left: 4px solid var(--gold);
}

    .content-card h3 {
        color: var(--navy);
        margin-bottom: 12px;
        font-size: 24px;
    }

    .content-card p {
        color: var(--muted);
        line-height: 1.7;
        margin-bottom: 0;
    }

    .card-link,
    .content-card.card-link {
        text-decoration: none;
        display: block;
        position: relative;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .content-card.card-link::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, #0b1d38, #2b4fbf);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 0;
        }

        .content-card.card-link h3,
        .content-card.card-link p {
            position: relative;
            z-index: 1;
            transition: color 0.3s ease, transform 0.3s ease;
        }

        .content-card.card-link:hover {
            transform: translateY(-8px);
            box-shadow: 0 22px 50px rgba(11, 29, 56, 0.18);
        }

            .content-card.card-link:hover::before {
                opacity: 1;
            }

            .content-card.card-link:hover h3 {
                color: #ffffff;
                transform: translateY(-3px);
            }

            .content-card.card-link:hover p {
                color: rgba(255, 255, 255, 0.75);
            }

/* =========================
   FORMS + CONTACT
========================= */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 50px;
    align-items: start;
}

.contact-form,
.contact-form-box,
.contact-info-box {
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: 0 18px 45px rgba(11, 29, 56, 0.08);
}

.contact-form {
    max-width: 760px;
    padding: 42px;
}

.contact-form-box,
.contact-info-box {
    padding: 45px;
}

    .contact-form-box h2,
    .contact-info-box h2 {
        font-family: 'Playfair Display', serif;
        font-size: 42px;
        color: var(--navy);
        margin-bottom: 28px;
    }

.contact-form div {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    color: var(--navy);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border);
    font-family: inherit;
    font-size: 15px;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-detail-card {
    background: var(--light);
    border-left: 5px solid var(--gold);
    padding: 28px;
    margin-bottom: 28px;
}

    .contact-detail-card h3 {
        color: var(--navy);
        font-size: 22px;
        margin-bottom: 18px;
    }

    .contact-detail-card p {
        color: #4d5568;
        line-height: 1.8;
        margin-bottom: 18px;
    }

    .contact-detail-card a {
        color: var(--blue);
        font-weight: 700;
        text-decoration: none;
    }

        .contact-detail-card a:hover {
            color: var(--gold);
        }

.map-box {
    height: 360px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 16px 38px rgba(11, 29, 56, 0.10);
    background: var(--navy);
}

    .map-box iframe {
        display: block;
        filter: grayscale(15%) contrast(1.05);
    }

.map-link-btn {
    display: inline-block;
    margin-top: 8px;
    background: var(--navy);
    color: #ffffff !important;
    padding: 14px 22px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    font-size: 12px;
    font-weight: 900;
    border-left: 4px solid var(--gold);
    transition: background 0.3s ease, transform 0.3s ease;
}

    .map-link-btn:hover {
        background: var(--blue);
        transform: translateY(-4px);
    }

/* Flash messages */
.message-box {
    max-width: 760px;
    margin-bottom: 24px;
}

.alert {
    padding: 16px 20px;
    margin-bottom: 16px;
    font-weight: 600;
    border-left: 5px solid;
}

    .alert.success {
        background: #e8f5e9;
        color: #1b5e20;
        border-color: #2e7d32;
    }

    .alert.error {
        background: #ffebee;
        color: #b71c1c;
        border-color: #c62828;
    }

/* =========================
   PROJECTS
========================= */

.project-filter-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 55px;
}

.project-filter-links {
    justify-content: flex-start;
    gap: 14px;
    margin-bottom: 60px;
    padding: 14px;
    background: rgba(242, 245, 255, 0.75);
    border: 1px solid #dde3f7;
    width: fit-content;
    max-width: 100%;
    margin-left: 0;
    margin-right: auto;
    box-shadow: 0 18px 45px rgba(11, 29, 56, 0.06);
}

        .project-filter-links a::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, #0b1d38, #2b4fbf);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: -1;
        }

        .project-filter-links a::after {
            content: "";
            position: absolute;
            left: 50%;
            bottom: 0;
            width: 0;
            height: 4px;
            background: var(--gold);
            transform: translateX(-50%);
            transition: width 0.3s ease;
        }

        .project-filter-links a span {
            position: relative;
            z-index: 1;
            font-size: 12px;
            font-weight: 900;
            letter-spacing: 2.4px;
            text-transform: uppercase;
        }

        .project-filter-links a:hover {
            transform: translateY(-7px);
            box-shadow: 0 22px 50px rgba(11, 29, 56, 0.22);
        }

            .project-filter-links a:hover::before {
                opacity: 1;
            }

            .project-filter-links a:hover::after {
                width: 100%;
            }

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

.project-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card-dynamic {
    background: #ffffff;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .project-card-dynamic:hover {
        transform: translateY(-8px);
        box-shadow: 0 22px 50px rgba(11, 29, 56, 0.16);
    }

.project-image-wrap,
.project-image-placeholder {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #eef3ff;
}

    .project-image-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.45s ease, filter 0.45s ease;
    }

.project-card-dynamic:hover .project-image-wrap img {
    transform: scale(1.05);
    filter: brightness(0.92);
}

.project-image-placeholder {
    background: linear-gradient(135deg, #0b1d38, #2b4fbf);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
}

.project-card-content {
    padding: 26px;
}

.project-status {
    display: inline-block;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 12px;
}

.project-card-content h3 {
    color: var(--navy);
    font-size: 23px;
    margin-bottom: 14px;
}

.project-card-content p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 10px;
    font-size: 15px;
}

.project-view-more,
.project-mini-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--blue);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    font-size: 12px;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 4px;
    text-decoration: none;
}

    .project-card-link:hover .project-view-more,
    .project-mini-link:hover {
        color: var(--gold);
    }

.project-gallery-preview {
    display: none !important;
}

/* Project carousel */
.project-carousel-wrapper {
    display: grid;
    grid-template-columns: 70px 1fr 70px;
    align-items: center;
    gap: 24px;
    position: relative;
}

    .project-carousel-wrapper .project-carousel {
        grid-column: 2;
    }

.project-carousel {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 10px 0 35px;
    justify-content: center;
}

    .project-carousel::-webkit-scrollbar {
        display: none;
    }

    .project-carousel .project-card-link {
        flex: 0 0 360px;
        max-width: 360px;
    }

    .project-carousel .project-card-dynamic {
        width: 100%;
    }

.project-arrow {
    position: static !important;
    transform: none !important;
    width: 58px;
    height: 58px;
    border: none;
    background: var(--navy);
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    cursor: pointer;
    justify-self: center;
    align-self: center;
    box-shadow: 0 14px 34px rgba(11, 29, 56, 0.25);
    transition: background 0.3s ease, transform 0.3s ease;
    border-bottom: 4px solid var(--gold);
}

    .project-arrow:hover {
        background: var(--blue);
        transform: scale(1.08) !important;
    }

.project-arrow-left {
    grid-column: 1;
}

.project-arrow-right {
    grid-column: 3;
}

/* Project details */
.project-details-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr;
    gap: 45px;
    align-items: start;
}

.project-details-main-image {
    height: 430px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(11, 29, 56, 0.12);
    margin-bottom: 28px;
    background: #eef3ff;
}

    .project-details-main-image img,
    .project-details-gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        cursor: pointer;
        transition: transform 0.45s ease, filter 0.45s ease;
    }

    .project-details-main-image:hover img {
        transform: scale(1.04);
        filter: brightness(0.9);
    }

.project-details-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.project-details-gallery-item {
    height: 180px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #eef3ff;
    cursor: pointer;
}

    .project-details-gallery-item:hover img {
        transform: scale(1.08);
        filter: brightness(0.88);
    }

.project-details-sidebar {
    background: #ffffff;
    border: 1px solid var(--border);
    border-left: 5px solid var(--gold);
    box-shadow: 0 18px 45px rgba(11, 29, 56, 0.08);
    padding: 34px;
    position: sticky;
    top: 130px;
}

    .project-details-sidebar h2 {
        font-family: 'Playfair Display', serif;
        font-size: 38px;
        color: var(--navy);
        margin: 14px 0 24px;
    }

    .project-details-sidebar p {
        color: var(--muted);
        line-height: 1.8;
        margin-bottom: 20px;
    }

.project-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(7, 24, 47, 0.92);
    align-items: center;
    justify-content: center;
    padding: 40px;
}

    .project-lightbox img {
        max-width: 90%;
        max-height: 85vh;
        object-fit: contain;
        box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
        border: 1px solid rgba(200, 168, 75, 0.35);
    }

    .project-lightbox span {
        position: absolute;
        top: 25px;
        right: 38px;
        color: #ffffff;
        font-size: 48px;
        cursor: pointer;
        transition: color 0.3s ease;
    }

        .project-lightbox span:hover {
            color: var(--gold);
        }

/* =========================
   MEDIA CENTER
========================= */

.media-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}

.media-gallery-card {
    background: #ffffff;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(11, 29, 56, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .media-gallery-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 22px 48px rgba(11, 29, 56, 0.16);
    }

.media-image-wrap {
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: #eef3ff;
}

    .media-image-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.45s ease, filter 0.45s ease;
    }

.media-gallery-card:hover .media-image-wrap img {
    transform: scale(1.06);
    filter: brightness(0.9);
}

.media-card-content {
    padding: 20px;
}

    .media-card-content h3 {
        color: var(--navy);
        font-size: 20px;
        margin-bottom: 10px;
    }

    .media-card-content p {
        color: var(--muted);
        line-height: 1.6;
        font-size: 14px;
    }

/* =========================
   ADMIN
========================= */

.admin-delete-btn {
    display: inline-block;
    background: #b91c1c;
    color: #ffffff !important;
    padding: 16px 30px;
    margin-left: 10px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 900;
    border: 1px solid rgba(185, 28, 28, 0.35);
    box-shadow: 0 12px 28px rgba(185, 28, 28, 0.18);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

    .admin-delete-btn:hover {
        background: #7f1d1d;
        transform: translateY(-4px);
        box-shadow: 0 18px 40px rgba(185, 28, 28, 0.25);
    }

.content-card .btn-primary,
.content-card .admin-delete-btn {
    margin-top: 12px;
}

.admin-gallery-section {
    margin-top: 70px;
}

    .admin-gallery-section h2 {
        font-family: 'Playfair Display', serif;
        font-size: 42px;
        color: var(--navy);
        margin-bottom: 28px;
    }

.admin-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.admin-gallery-card {
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    padding: 18px;
}

    .admin-gallery-card img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        display: block;
        margin-bottom: 16px;
    }

    .admin-gallery-card .admin-delete-btn {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }

/* =========================
   EXPERTISE PAGE
========================= */

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 45px;
}

.expertise-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border);
    border-left: 5px solid var(--gold);
    padding: 34px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

    .expertise-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, #0b1d38, #2b4fbf);
        opacity: 0;
        transition: opacity 0.35s ease;
        z-index: 0;
    }

    .expertise-card span,
    .expertise-card h3,
    .expertise-card p {
        position: relative;
        z-index: 1;
    }

    .expertise-card span {
        display: inline-block;
        color: var(--gold);
        font-size: 13px;
        font-weight: 900;
        letter-spacing: 2px;
        margin-bottom: 18px;
    }

    .expertise-card h3 {
        color: var(--navy);
        font-size: 24px;
        margin-bottom: 16px;
        transition: color 0.35s ease;
    }

    .expertise-card p {
        color: var(--muted);
        line-height: 1.75;
        transition: color 0.35s ease;
    }

    .expertise-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-medium);
    }

        .expertise-card:hover::before {
            opacity: 1;
        }

        .expertise-card:hover h3 {
            color: #ffffff;
        }

        .expertise-card:hover p {
            color: rgba(255, 255, 255, 0.75);
        }

.expertise-highlight-section {
    background: radial-gradient(circle at 20% 20%, rgba(200, 168, 75, 0.12), transparent 28%), linear-gradient(135deg, #07182f 0%, #0b1d38 55%, #2b4fbf 100%) !important;
    color: #ffffff !important;
}

.expertise-highlight-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.expertise-highlight-section .section-title-small {
    color: var(--gold) !important;
}

.expertise-highlight-section h2 {
    color: #ffffff !important;
}

.expertise-highlight-section p {
    color: rgba(255, 255, 255, 0.78) !important;
    line-height: 1.85;
    max-width: 760px;
}

.expertise-points {
    display: grid;
    gap: 18px;
}

    .expertise-points div {
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-left: 5px solid var(--gold);
        padding: 28px;
        transition: transform 0.3s ease, background 0.3s ease;
    }

        .expertise-points div:hover {
            transform: translateX(8px);
            background: rgba(255, 255, 255, 0.11) !important;
        }

    .expertise-points strong {
        display: block;
        color: #ffffff !important;
        font-family: 'Playfair Display', serif;
        font-size: 46px;
        margin-bottom: 8px;
    }

    .expertise-points span {
        color: var(--gold) !important;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-size: 12px;
        font-weight: 800;
    }

.service-list-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.service-list-card {
    background: var(--light);
    border: 1px solid var(--border);
    padding: 30px;
    transition: transform 0.3s ease, background 0.3s ease;
}

    .service-list-card:hover {
        transform: translateY(-8px);
        background: #ffffff;
    }

    .service-list-card h3 {
        color: var(--navy);
        font-size: 22px;
        margin-bottom: 12px;
    }

    .service-list-card p {
        color: var(--muted);
        line-height: 1.7;
    }

/* =========================
   BACKGROUND PAGE
========================= */

.background-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.75fr;
    gap: 55px;
    align-items: start;
}

    .background-intro-grid h2 {
        max-width: 900px;
    }

    .background-intro-grid p {
        color: var(--muted);
        line-height: 1.85;
        margin-bottom: 22px;
        max-width: 900px;
    }

.background-summary-card {
    background: radial-gradient(circle at 20% 20%, rgba(200, 168, 75, 0.12), transparent 28%), linear-gradient(135deg, #0b1d38, #2b4fbf);
    color: #ffffff;
    padding: 38px;
    border-left: 5px solid var(--gold);
    box-shadow: 0 24px 60px rgba(11, 29, 56, 0.2);
}

    .background-summary-card h3 {
        color: #ffffff;
        font-size: 26px;
        margin-bottom: 28px;
    }

    .background-summary-card div {
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        padding: 20px 0;
    }

    .background-summary-card strong {
        display: block;
        font-family: 'Playfair Display', serif;
        font-size: 42px;
        color: #ffffff;
        margin-bottom: 6px;
    }

    .background-summary-card span {
        color: var(--gold);
        text-transform: uppercase;
        letter-spacing: 1.8px;
        font-size: 12px;
        font-weight: 800;
    }

.background-timeline-section {
    background: radial-gradient(circle at 20% 20%, rgba(200, 168, 75, 0.12), transparent 28%), linear-gradient(135deg, #07182f 0%, #0b1d38 55%, #2b4fbf 100%) !important;
}

    .background-timeline-section h2 {
        color: #ffffff;
    }

.background-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 45px;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.timeline-item {
    position: relative;
    padding: 34px;
    min-height: 260px;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    transition: background 0.35s ease, transform 0.35s ease;
}

    .timeline-item:last-child {
        border-right: none;
    }

    .timeline-item::before {
        content: "";
        position: absolute;
        left: 34px;
        top: 0;
        width: 4px;
        height: 42px;
        background: var(--gold);
    }

    .timeline-item span {
        display: inline-block;
        color: var(--gold);
        text-transform: uppercase;
        letter-spacing: 2px;
        font-size: 12px;
        font-weight: 900;
        margin-bottom: 24px;
    }

    .timeline-item h3 {
        color: #ffffff;
        font-size: 22px;
        margin-bottom: 16px;
    }

    .timeline-item p {
        color: rgba(255, 255, 255, 0.72);
        line-height: 1.75;
    }

    .timeline-item:hover {
        background: rgba(255, 255, 255, 0.08);
        transform: translateY(-8px);
    }

.background-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 42px;
}

.background-card {
    position: relative;
    overflow: hidden;
    background: var(--light);
    border: 1px solid var(--border);
    border-left: 5px solid var(--gold);
    padding: 34px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

    .background-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, #0b1d38, #2b4fbf);
        opacity: 0;
        transition: opacity 0.35s ease;
        z-index: 0;
    }

    .background-card span,
    .background-card h3,
    .background-card p {
        position: relative;
        z-index: 1;
    }

    .background-card span {
        display: inline-block;
        color: var(--gold);
        font-size: 13px;
        font-weight: 900;
        letter-spacing: 2px;
        margin-bottom: 18px;
    }

    .background-card h3 {
        color: var(--navy);
        font-size: 24px;
        margin-bottom: 14px;
        transition: color 0.35s ease;
    }

    .background-card p {
        color: var(--muted);
        line-height: 1.75;
        transition: color 0.35s ease;
    }

    .background-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-medium);
    }

        .background-card:hover::before {
            opacity: 1;
        }

        .background-card:hover h3 {
            color: #ffffff;
        }

        .background-card:hover p {
            color: rgba(255, 255, 255, 0.75);
        }

/* =========================
   DOCUMENT / ACHIEVEMENT PAGES
========================= */

.document-hero,
.inner-hero {
    min-height: 470px;
    padding: 180px 5vw 90px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 85% 20%, rgba(200, 168, 75, 0.18), transparent 30%), linear-gradient(135deg, #0b1d38 0%, #102b57 48%, #2b4fbf 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

    .document-hero::before,
    .inner-hero::before {
        content: "";
        position: absolute;
        width: 520px;
        height: 520px;
        right: -160px;
        top: -140px;
        background: rgba(200, 168, 75, 0.15);
        border-radius: 50%;
        filter: blur(45px);
    }

    .document-hero::after,
    .inner-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(120deg, rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(60deg, rgba(255,255,255,0.04) 1px, transparent 1px);
        background-size: 180px 180px;
        opacity: 0.35;
    }

    .document-hero > div,
    .inner-hero-content {
        position: relative;
        z-index: 1;
        max-width: 900px;
    }

    .document-hero h1,
    .inner-hero h1 {
        font-family: 'Playfair Display', serif;
        font-size: clamp(48px, 5vw, 72px);
        line-height: 1.05;
        margin-bottom: 24px;
    }

    .document-hero p,
    .inner-hero p {
        max-width: 760px;
        color: rgba(255,255,255,0.72);
        font-size: 18px;
        line-height: 1.9;
    }

.document-section,
.mission-vision-section {
    padding: 110px 5vw;
    background: radial-gradient(circle at 15% 20%, rgba(43, 79, 191, 0.10), transparent 30%), radial-gradient(circle at 85% 80%, rgba(200, 168, 75, 0.12), transparent 32%), #ffffff;
}

.document-intro,
.mv-intro-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 60px;
}

    .document-intro h2,
    .mv-intro-grid h2 {
        font-family: 'Playfair Display', serif;
        font-size: clamp(40px, 4vw, 54px);
        line-height: 1.1;
        color: var(--navy);
    }

    .document-intro p,
    .mv-intro-grid p {
        color: #4d5568;
        line-height: 1.9;
    }

.document-grid,
.mv-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.document-card,
.mv-card {
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .document-card:hover,
    .mv-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-medium);
    }

.document-image {
    height: 260px;
    background: #eef3ff;
    overflow: hidden;
}

    .document-image img,
    .document-main-preview img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.45s ease, filter 0.45s ease;
    }

.document-card:hover .document-image img,
.document-main-preview:hover img {
    transform: scale(1.06);
    filter: brightness(0.92);
}

.placeholder-document {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 28px;
    color: var(--gold);
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(11, 29, 56, 0.96), rgba(43, 79, 191, 0.92));
}

.document-info {
    padding: 28px;
}

    .document-info span,
    .document-details-panel span {
        display: block;
        color: var(--gold);
        font-size: 12px;
        letter-spacing: 2.5px;
        text-transform: uppercase;
        font-weight: 800;
        margin-bottom: 12px;
    }

    .document-info h3 {
        color: var(--navy);
        font-size: 24px;
        margin-bottom: 12px;
    }

    .document-info p {
        color: var(--muted);
        line-height: 1.7;
    }

.document-feature-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: stretch;
}

.document-main-preview {
    min-height: 620px;
    background: #eef3ff;
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(11, 29, 56, 0.14);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .document-main-preview:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-medium);
    }

.document-details-panel {
    background: linear-gradient(135deg, #0b1d38 0%, #162f66 45%, #2b4fbf 100%);
    padding: 56px;
    border-left: 6px solid var(--gold);
    box-shadow: 0 26px 65px rgba(11, 29, 56, 0.24);
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

    .document-details-panel h3 {
        font-family: 'Playfair Display', serif;
        font-size: 48px;
        line-height: 1.1;
        color: #ffffff;
        margin-bottom: 24px;
    }

    .document-details-panel > p {
        color: rgba(255,255,255,0.78);
        font-size: 17px;
        line-height: 1.9;
        margin-bottom: 38px;
    }

.detail-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

    .detail-list div {
        background: rgba(255, 255, 255, 0.94);
        padding: 26px;
        border-left: 4px solid var(--gold);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .detail-list div:hover {
            transform: translateY(-7px);
            box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
        }

    .detail-list strong {
        display: block;
        color: var(--navy);
        font-size: 13px;
        letter-spacing: 2.2px;
        text-transform: uppercase;
        font-weight: 900;
        margin-bottom: 12px;
    }

    .detail-list p {
        color: #3f4658;
        margin: 0;
        font-size: 17px;
        line-height: 1.6;
    }

/* Mission / Vision cards */
.mv-quote-card {
    background: linear-gradient(135deg, rgba(11, 29, 56, 0.96), rgba(43, 79, 191, 0.92));
    color: white;
    padding: 48px;
    box-shadow: 0 24px 55px rgba(11, 29, 56, 0.22);
    border: 1px solid rgba(200, 168, 75, 0.32);
}

    .mv-quote-card span {
        display: block;
        color: var(--gold);
        text-transform: uppercase;
        letter-spacing: 3px;
        font-size: 12px;
        font-weight: 800;
        margin-bottom: 20px;
    }

    .mv-quote-card h3 {
        font-family: 'Playfair Display', serif;
        font-size: 34px;
        line-height: 1.18;
        margin-bottom: 18px;
    }

    .mv-quote-card p {
        color: rgba(255,255,255,0.68);
        line-height: 1.8;
    }

.mv-card {
    padding: 38px;
    min-height: 260px;
    background: var(--light);
}

    .mv-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, #0b1d38, #2b4fbf);
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 0;
    }

    .mv-card:hover::before {
        opacity: 1;
    }

    .mv-icon,
    .mv-card h3,
    .mv-card p {
        position: relative;
        z-index: 1;
    }

.mv-icon {
    width: 54px;
    height: 54px;
    background: #ffffff;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 24px;
    border-left: 4px solid var(--gold);
}

.mv-card h3 {
    color: var(--navy);
    font-size: 23px;
    margin-bottom: 14px;
    transition: color 0.3s ease;
}

.mv-card p {
    color: var(--muted);
    line-height: 1.75;
    transition: color 0.3s ease;
}

.mv-card:hover h3 {
    color: #ffffff;
}

.mv-card:hover p {
    color: rgba(255,255,255,0.72);
}

/* =========================
   FOOTER
========================= */

.footer {
    background: radial-gradient(circle at 10% 20%, rgba(200, 168, 75, 0.08), transparent 28%), linear-gradient(135deg, #081a33 0%, #0b1d38 55%, #102b57 100%);
    color: #ffffff;
    padding: 70px 5vw 55px;
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.9fr 1fr;
    gap: 55px;
    align-items: start;
    border-top: 1px solid rgba(200, 168, 75, 0.25);
    position: relative;
}

    .footer::before {
        content: "";
        position: absolute;
        top: 0;
        left: 5vw;
        width: 120px;
        height: 4px;
        background: var(--gold);
    }

.footer-col {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.footer h3 {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    color: #ffffff;
    margin-bottom: 18px;
}

.footer h4 {
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 22px;
    position: relative;
}

    .footer h4::after {
        content: "";
        display: block;
        width: 38px;
        height: 2px;
        background: var(--gold);
        margin-top: 12px;
    }

.footer p {
    color: rgba(255, 255, 255, 0.58);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-brand p {
    max-width: 440px;
}

.footer-link-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .footer-link-list a {
        width: fit-content;
        color: rgba(255, 255, 255, 0.62);
        text-decoration: none;
        font-size: 15px;
        font-weight: 600;
        transition: color 0.3s ease, transform 0.3s ease;
    }

        .footer-link-list a:hover {
            color: var(--gold);
            transform: translateX(6px);
        }

.footer-company {
    border-left: 3px solid var(--gold);
    padding-left: 24px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1200px) {
    .nav-links {
        gap: 22px;
    }

        .nav-links > a,
        .nav-dropdown > a {
            font-size: 12px;
            letter-spacing: 2px;
        }

    .contact-nav {
        padding: 20px 26px !important;
    }
}

@media (max-width: 1000px) {
    .navbar {
        height: auto;
        padding: 22px 5vw;
        flex-wrap: wrap;
    }

    .nav-links {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 20px;
    }

        .nav-links > a,
        .nav-dropdown > a {
            padding: 14px 0;
        }

    .contact-nav {
        padding: 16px 24px !important;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 190px;
    }

    .about-grid,
    .contact-layout,
    .project-details-layout,
    .expertise-highlight-grid,
    .background-intro-grid,
    .document-feature-grid,
    .document-intro,
    .mv-intro-grid {
        grid-template-columns: 1fr;
    }

    .card-grid,
    .project-grid,
    .expertise-grid,
    .background-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partner-grid,
    .document-grid,
    .mv-card-grid,
    .service-list-grid,
    .media-gallery-grid,
    .admin-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .background-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer {
        grid-template-columns: 1fr 1fr;
        gap: 45px;
    }

    .about-image {
        height: 480px;
    }

    .project-details-sidebar {
        position: static;
    }
}

@media (max-width: 700px) {
    .page-header {
        padding: 150px 6vw 80px;
        min-height: 360px;
    }

        .page-header p {
            font-size: 16px;
        }

    .hero h1 {
        font-size: 56px;
    }

    .hero {
        padding-top: 180px;
    }

    .about-stats,
    .card-grid,
    .project-grid,
    .expertise-grid,
    .background-card-grid,
    .partner-grid,
    .document-grid,
    .mv-card-grid,
    .service-list-grid,
    .media-gallery-grid,
    .admin-gallery-grid,
    .background-timeline,
    .detail-list {
        grid-template-columns: 1fr;
    }

    .project-carousel-wrapper {
        grid-template-columns: 1fr;
    }

    .project-arrow {
        display: none;
    }

    .project-carousel {
        grid-column: 1;
        overflow-x: auto;
        justify-content: flex-start;
    }

        .project-carousel .project-card-link {
            flex: 0 0 300px;
            max-width: 300px;
        }

    .project-details-main-image {
        height: 280px;
    }

    .project-details-gallery {
        grid-template-columns: 1fr;
    }

    .project-details-gallery-item {
        height: 220px;
    }

    .footer {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-company {
        border-left: none;
        padding-left: 0;
    }

    .about-image {
        height: 360px;
    }

    .contact-form-box,
    .contact-info-box,
    .contact-form {
        padding: 30px;
    }
}

/* =========================
   PROJECT CARDS SAME SIZE FIX
========================= */

.project-grid {
    align-items: stretch;
}

.project-card-link {
    height: 100%;
}

.project-card-dynamic {
    height: 100%;
    min-height: 410px;
    display: flex;
    flex-direction: column;
}

.project-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

    .project-card-content h3 {
        min-height: 60px;
    }

    .project-card-content p {
        margin-bottom: 12px;
    }

.project-view-more {
    margin-top: auto;
    width: fit-content;
}

/* For the main projects overview page without images */
.project-grid-simple .project-card-dynamic {
    min-height: 440px;
}

.project-grid-simple .project-card-content {
    min-height: 100%;
}

/* Make boxes wider and more balanced on overview page */
.project-grid-simple {
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    max-width: 1180px;
}

@media (max-width: 1000px) {
    .project-grid-simple {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .project-grid-simple {
        grid-template-columns: 1fr;
    }

    .project-card-dynamic {
        min-height: auto;
    }
}

/* =========================
   PROJECT OVERVIEW PAGE PREMIUM UPGRADE
========================= */

/* Overall project overview section */
.section-light:has(.project-overview-text) {
    background: radial-gradient(circle at 12% 18%, rgba(200, 168, 75, 0.08), transparent 28%), radial-gradient(circle at 90% 25%, rgba(43, 79, 191, 0.08), transparent 30%), linear-gradient(135deg, #ffffff 0%, #f7f9ff 100%);
}

/* Filter buttons container */
.project-filter-links {
    justify-content: center;
    margin-bottom: 75px;
}

    /* Filter buttons nicer */
    .project-filter-links a {
        min-width: 210px;
        padding: 22px 34px;
        background: linear-gradient(135deg, #0b1d38 0%, #102b57 100%);
        border: 1px solid rgba(200, 168, 75, 0.32);
        box-shadow: 0 18px 42px rgba(11, 29, 56, 0.16);
    }

        .project-filter-links a:hover {
            transform: translateY(-8px);
            box-shadow: 0 26px 60px rgba(11, 29, 56, 0.24);
        }

/* Overview heading area */
.project-overview-text {
    max-width: 1050px;
    margin-bottom: 48px;
    position: relative;
    padding-left: 28px;
}

    .project-overview-text::before {
        content: "";
        position: absolute;
        left: 0;
        top: 8px;
        width: 5px;
        height: 100%;
        background: linear-gradient(to bottom, #c8a84b, transparent);
    }

    .project-overview-text h2 {
        max-width: 980px;
        line-height: 1.05;
    }

    .project-overview-text p {
        max-width: 900px;
        font-size: 17px;
        color: #4d5568;
    }

/* Project cards area */
.project-grid-simple {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 360px));
    gap: 34px;
    align-items: stretch;
    max-width: 1180px;
}

    /* Make each card premium */
    .project-grid-simple .project-card-dynamic {
        min-height: 430px;
        height: 100%;
        background: linear-gradient(135deg, #ffffff 0%, #f7f9ff 100%);
        border: 1px solid rgba(221, 227, 247, 0.95);
        border-left: 5px solid #c8a84b;
        box-shadow: 0 20px 55px rgba(11, 29, 56, 0.08);
        position: relative;
        overflow: hidden;
    }

        /* Blue hover overlay */
        .project-grid-simple .project-card-dynamic::before {
            content: "";
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at 20% 20%, rgba(200, 168, 75, 0.16), transparent 34%), linear-gradient(135deg, #0b1d38 0%, #2b4fbf 100%);
            opacity: 0;
            transition: opacity 0.35s ease;
            z-index: 0;
        }

        .project-grid-simple .project-card-dynamic:hover {
            transform: translateY(-12px);
            box-shadow: 0 30px 70px rgba(11, 29, 56, 0.22);
        }

            .project-grid-simple .project-card-dynamic:hover::before {
                opacity: 1;
            }

    /* Keep content above hover overlay */
    .project-grid-simple .project-card-content {
        position: relative;
        z-index: 1;
        height: 100%;
        display: flex;
        flex-direction: column;
        padding: 34px;
    }

    /* Status badge */
    .project-grid-simple .project-status {
        width: fit-content;
        background: rgba(200, 168, 75, 0.12);
        border: 1px solid rgba(200, 168, 75, 0.32);
        padding: 8px 12px;
        margin-bottom: 22px;
    }

    /* Better card title */
    .project-grid-simple .project-card-content h3 {
        font-size: 28px;
        line-height: 1.15;
        min-height: 70px;
        margin-bottom: 24px;
    }

    /* Card text */
    .project-grid-simple .project-card-content p {
        font-size: 15.5px;
        line-height: 1.75;
        color: #4d5568;
    }

    /* View details button */
    .project-grid-simple .project-view-more {
        margin-top: auto;
        background: transparent;
        width: fit-content;
        color: #2b4fbf;
        border-bottom: 2px solid #c8a84b;
        padding-bottom: 6px;
    }

    /* Hover text colors */
    .project-grid-simple .project-card-dynamic:hover .project-status {
        color: #c8a84b;
        background: rgba(255, 255, 255, 0.08);
    }

    .project-grid-simple .project-card-dynamic:hover h3 {
        color: #ffffff;
    }

    .project-grid-simple .project-card-dynamic:hover p {
        color: rgba(255, 255, 255, 0.76);
    }

    .project-grid-simple .project-card-dynamic:hover .project-view-more {
        color: #c8a84b;
        letter-spacing: 2px;
    }

    /* Small arrow effect */
    .project-grid-simple .project-view-more::after {
        content: "  →";
        opacity: 0;
        transform: translateX(-6px);
        display: inline-block;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .project-grid-simple .project-card-dynamic:hover .project-view-more::after {
        opacity: 1;
        transform: translateX(4px);
    }

/* Responsive */
@media (max-width: 1000px) {
    .project-grid-simple {
        grid-template-columns: repeat(2, minmax(260px, 1fr));
    }

    .project-filter-links {
        justify-content: flex-start;
    }
}

@media (max-width: 650px) {
    .project-grid-simple {
        grid-template-columns: 1fr;
    }

    .project-filter-links a {
        width: 100%;
    }

    .project-overview-text {
        padding-left: 18px;
    }

    .project-grid-simple .project-card-dynamic {
        min-height: 380px;
    }
}
/* =========================
   CLASSIER NAVBAR SIZE TUNING
========================= */

.navbar {
    height: 92px;
    padding: 0 5vw;
}

.site-logo {
    width: 58px;
    height: 58px;
}

.logo-text strong {
    font-size: 18px;
    letter-spacing: 0.8px;
}

.logo-text span {
    font-size: 12px;
    letter-spacing: 2.4px;
    margin-top: 5px;
}

.nav-links {
    gap: 28px;
}

    .nav-links > a,
    .nav-dropdown > a {
        font-size: 12px;
        letter-spacing: 2.2px;
        padding: 34px 0;
    }

        .nav-links > a::after,
        .nav-dropdown > a::after {
            bottom: 24px;
            height: 2px;
        }

.contact-nav {
    padding: 20px 30px !important;
    font-size: 12px !important;
    letter-spacing: 2.2px !important;
}

/* Slightly cleaner dropdown */
.dropdown-menu {
    min-width: 250px;
}

    .dropdown-menu a {
        font-size: 11px;
        letter-spacing: 1.8px;
        padding: 14px 18px 14px 38px;
    }

/* Better spacing on medium screens */
@media (max-width: 1200px) {
    .logo-text strong {
        font-size: 16px;
    }

    .logo-text span {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .nav-links {
        gap: 20px;
    }

        .nav-links > a,
        .nav-dropdown > a {
            font-size: 11px;
            letter-spacing: 1.8px;
        }

    .contact-nav {
        padding: 18px 24px !important;
    }
}
/* =========================
   NAVBAR LOGO TEXT FONT UPGRADE
========================= */

.logo-text strong {
    font-family: 'Inter', sans-serif;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: none;
    color: #ffffff;
}

.logo-text span {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c8a84b;
}
/* =========================
   MEDIA CENTER - 4 UP + 4 DOWN
========================= */

.media-page-section {
    padding-left: 3vw;
    padding-right: 3vw;
}

/* arrows + media area */
.media-carousel-wrapper {
    display: grid;
    grid-template-columns: 55px 1fr 55px;
    gap: 22px;
    align-items: center;
    max-width: 100%;
}

/* 4 columns, 2 rows per view */
.media-carousel {
    display: grid;
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 72px) / 4);
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 12px 0 42px;
}

    .media-carousel::-webkit-scrollbar {
        display: none;
    }

    /* card size */
    .media-carousel .media-gallery-card {
        width: 100%;
        max-width: none;
        min-width: 0;
        background: #ffffff;
        border: 1px solid #dde3f7;
        box-shadow: 0 14px 34px rgba(11, 29, 56, 0.08);
        overflow: hidden;
        transition: transform 0.35s ease, box-shadow 0.35s ease;
    }

        .media-carousel .media-gallery-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 24px 55px rgba(11, 29, 56, 0.18);
        }

    /* image size */
    .media-carousel .media-image-wrap {
        width: 100%;
        height: 180px;
        background: #eef3ff;
        overflow: hidden;
    }

        .media-carousel .media-image-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.45s ease, filter 0.45s ease;
        }

    .media-carousel .media-gallery-card:hover img {
        transform: scale(1.06);
        filter: brightness(0.9);
    }

    /* project name */
    .media-carousel .media-card-content {
        padding: 16px 18px;
        border-left: 4px solid #c8a84b;
    }

        .media-carousel .media-card-content h3 {
            font-size: 15px;
            line-height: 1.3;
            letter-spacing: 0.3px;
            margin: 0;
            color: #0b1d38;
        }

/* arrows */
.media-arrow {
    width: 50px;
    height: 50px;
    border: none;
    background: #0b1d38;
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(11, 29, 56, 0.25);
    border-bottom: 4px solid #c8a84b;
    transition: background 0.3s ease, transform 0.3s ease;
}

    .media-arrow:hover {
        background: #2b4fbf;
        transform: scale(1.08);
    }

/* tablets: 2 columns x 2 rows */
@media (max-width: 1000px) {
    .media-carousel {
        grid-auto-columns: calc((100% - 24px) / 2);
    }

        .media-carousel .media-image-wrap {
            height: 190px;
        }
}

/* mobile */
@media (max-width: 650px) {
    .media-carousel-wrapper {
        grid-template-columns: 1fr;
    }

    .media-arrow {
        display: none;
    }

    .media-carousel {
        grid-template-rows: none;
        grid-auto-flow: column;
        grid-auto-columns: 85%;
    }

        .media-carousel .media-image-wrap {
            height: 210px;
        }
}
/* =========================
   MEDIA HEADING STACK FIX
========================= */

.media-section-heading {
    display: block !important;
    max-width: 900px;
    margin-bottom: 48px;
}

    .media-section-heading p {
        max-width: 720px;
        margin-top: 22px;
        margin-bottom: 0;
        font-size: 17px;
        line-height: 1.8;
        color: #4d5568;
    }
/* =========================
   MEDIA PAGE MORE CARDS FIT
========================= */

.media-page-section {
    padding-left: 3vw;
    padding-right: 3vw;
}

/* make carousel use more page width */
.media-carousel-wrapper {
    grid-template-columns: 50px 1fr 50px;
    gap: 18px;
    max-width: 100%;
}

/* smaller cards so more fit */
.media-carousel .media-gallery-card {
    flex: 0 0 300px;
    max-width: 300px;
}

/* reduce image height slightly */
.media-carousel .media-image-wrap {
    height: 210px;
}

/* smaller project name */
.media-carousel .media-card-content {
    padding: 18px 20px;
    border-left: 4px solid #c8a84b;
}

    .media-carousel .media-card-content h3 {
        font-size: 16px;
        line-height: 1.3;
        letter-spacing: 0.3px;
    }

/* smaller arrows */
.media-arrow {
    width: 48px;
    height: 48px;
    font-size: 24px;
}

/* allow more horizontal space */
.media-carousel {
    gap: 22px;
    padding-bottom: 35px;
}

/* on large screens, fit even more nicely */
@media (min-width: 1400px) {
    .media-carousel .media-gallery-card {
        flex: 0 0 285px;
        max-width: 285px;
    }

    .media-carousel .media-image-wrap {
        height: 200px;
    }
}

/* =========================
   GLOBAL PAGE HEADER SIZE REDUCE
========================= */

.page-header {
    padding: 135px 5vw 70px;
    min-height: 310px;
}

    .page-header h1 {
        font-size: clamp(42px, 4.8vw, 66px);
        margin-bottom: 18px;
    }

        .page-header h1::after {
            width: 75px;
            margin-top: 18px;
        }

    .page-header p {
        font-size: 16px;
        line-height: 1.75;
        max-width: 720px;
    }

/* Also reduce inner/document headers if used on other pages */
.document-hero,
.inner-hero {
    min-height: 340px;
    padding: 135px 5vw 70px;
}

    .document-hero h1,
    .inner-hero h1 {
        font-size: clamp(42px, 4.8vw, 66px);
        margin-bottom: 18px;
    }

    .document-hero p,
    .inner-hero p {
        font-size: 16px;
        line-height: 1.75;
    }

/* Mobile */
@media (max-width: 700px) {
    .page-header {
        padding: 125px 6vw 60px;
        min-height: 300px;
    }

        .page-header h1 {
            font-size: 44px;
        }
}
/* =========================
   STANDARD PROJECT FILTER TABS
========================= */

.project-filter-links {
    justify-content: center;
    gap: 14px;
    margin-bottom: 60px;
    padding: 14px;
    background: rgba(242, 245, 255, 0.75);
    border: 1px solid #dde3f7;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 18px 45px rgba(11, 29, 56, 0.06);
}

    .project-filter-links a {
        min-width: 150px;
        padding: 15px 24px;
        background: #ffffff;
        color: #0b1d38;
        border: 1px solid #dde3f7;
        box-shadow: none;
    }

        .project-filter-links a span {
            font-size: 11px;
            letter-spacing: 2px;
            color: #0b1d38;
        }

        .project-filter-links a::before {
            background: linear-gradient(135deg, #0b1d38, #2b4fbf);
        }

        .project-filter-links a:hover {
            transform: translateY(-4px);
            box-shadow: 0 14px 32px rgba(11, 29, 56, 0.14);
        }

            .project-filter-links a:hover span {
                color: #ffffff;
            }

        .project-filter-links a::after {
            height: 3px;
        }

        /* optional active-looking style when on project pages */
        .project-filter-links a:hover,
        .project-filter-links a:focus {
            outline: none;
        }

/* Mobile */
@media (max-width: 700px) {
    .project-filter-links {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

        .project-filter-links a {
            min-width: 0;
            width: 100%;
        }
}
/* =========================
   PROJECT FILTER CLEAN FINAL
========================= */

.project-filter-links {
    display: flex;
    justify-content: flex-start !important;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 1180px;
    margin: 0 0 55px 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

    .project-filter-links a {
        min-width: 145px;
        padding: 15px 24px;
        background: #0b1d38 !important;
        color: #ffffff !important;
        border: 1px solid rgba(200, 168, 75, 0.25) !important;
        box-shadow: 0 12px 28px rgba(11, 29, 56, 0.12) !important;
        text-align: center;
        text-decoration: none;
        position: relative;
        overflow: hidden;
        transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    }

        .project-filter-links a span {
            color: #ffffff !important;
            font-size: 11px;
            font-weight: 900;
            letter-spacing: 2px;
            text-transform: uppercase;
        }

        .project-filter-links a::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, #2b4fbf, #0b1d38);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 0;
        }

        .project-filter-links a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 3px;
            background: #c8a84b;
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.3s ease;
        }

        .project-filter-links a span {
            position: relative;
            z-index: 1;
        }

        .project-filter-links a:hover {
            transform: translateY(-4px);
            box-shadow: 0 18px 40px rgba(11, 29, 56, 0.18) !important;
        }

            .project-filter-links a:hover::before {
                opacity: 1;
            }

            .project-filter-links a:hover::after {
                transform: scaleX(1);
            }

@media (max-width: 700px) {
    .project-filter-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

        .project-filter-links a {
            min-width: 0;
            width: 100%;
        }
}

