/* ==========================================================================
   1. BRAND VARIABLES & RESET
   ========================================================================== */
:root {
    --primary-navy: #0e2a47;      /* Dominant deep corporate blue */
    --primary-navy-dark: #081d33;
    --accent-green: #2e7d32;      /* Engineering green from logo */
    --accent-green-hover: #256628;
    --accent-cyan: #0088cc;       /* Secondary electric blue */
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --transition-fast: 0.25s ease;
    --container-width: 1200px;
}

/* Phase 3.1: Smooth scroll & anchor offset */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    overflow-x: hidden;
    width: 100%;
}

/* Phase 3.1: Accessible focus ring for keyboard navigation */
:focus-visible {
    outline: 2px solid var(--accent-green);
    outline-offset: 3px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   2. TOP CONTACT BAR
   ========================================================================== */
.top-bar {
    background-color: var(--primary-navy-dark);
    color: #cbd5e1;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-info,
.top-bar-links {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.top-icon {
    color: #4ade80;
    flex-shrink: 0;
}

.top-bar a {
    color: #cbd5e1;
    transition: color var(--transition-fast);
}

.top-bar a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ==========================================================================
   3. MAIN NAVIGATION BAR
   ========================================================================== */
.main-header {
    background-color: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.main-header.scrolled {
    box-shadow: 0 4px 20px rgba(14, 42, 71, 0.08);
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.brand-title {
    display: flex;
    flex-direction: column;
}

.brand-title .company-name {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--primary-navy);
}

.brand-title .company-tagline {
    font-size: 0.75rem;
    color: var(--accent-green);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
    padding: 6px 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-green);
    transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-green);
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

.header-cta {
    background-color: var(--accent-green);
    color: var(--bg-white);
    padding: 10px 22px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.header-cta:hover {
    background-color: var(--accent-green-hover);
    color: var(--bg-white);
}

.mobile-cta-wrapper {
    display: none;
}

/* ==========================================================================
   MOBILE NAVIGATION TOGGLE (Hamburger + Drawer)
   ========================================================================== */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    width: 48px;
    height: 48px;
    padding: 10px;
    cursor: pointer;
    position: relative;
    z-index: 1100;
}

.hamburger-box {
    width: 28px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-navy);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Transform hamburger to 'X' when active */
.nav-toggle.is-active .hamburger-line:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.nav-toggle.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* ==========================================================================
   4. BUTTONS & SHARED UI
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.btn-primary {
    background-color: var(--accent-green);
    color: var(--bg-white);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.2);
}

.btn-primary:hover {
    background-color: var(--accent-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.3);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
}

.btn-secondary:hover {
    background-color: var(--primary-navy);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(14, 42, 71, 0.15);
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #eff6ff 100%);
    min-height: calc(100vh - 125px); /* Fills full viewport below header */
    display: flex;
    align-items: center;
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}
.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 48px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(14, 42, 71, 0.06);
    color: var(--primary-navy);
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 18px;
    border: 1px solid rgba(14, 42, 71, 0.08);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-title {
    font-size: 2.75rem;
    line-height: 1.2;
    color: var(--primary-navy-dark);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 18px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.hero-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.meta-icon {
    color: var(--accent-green);
    flex-shrink: 0;
}

/* Hero Image & Floating Tag */
.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(14, 42, 71, 0.14);
}

.hero-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    border: 1px solid rgba(14, 42, 71, 0.1);
}

.hero-card-floating {
    position: absolute;
    bottom: -18px;
    left: -18px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 14px 18px;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-green);
}

.floating-icon {
    color: var(--accent-green);
    background: #ecfdf5;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-text strong {
    display: block;
    color: var(--primary-navy);
    font-size: 14px;
}

.floating-text span {
    font-size: 12px;
    color: var(--text-muted);
}

/* ==========================================================================
   MOBILE RESPONSIVE POLISH & VIEWPORT STABILIZATION
   ========================================================================== */
@media (max-width: 900px) {
    /* 1. Hero Section Layout Fix */
    .hero-section {
        min-height: auto;
        padding: 40px 0 48px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-title {
        font-size: 1.95rem;
        line-height: 1.22;
        letter-spacing: -0.3px;
        margin-bottom: 14px;
    }

    .hero-subtitle {
        font-size: 0.98rem;
        line-height: 1.55;
        margin-bottom: 22px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-bottom: 22px;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
        padding: 13px 20px;
    }

    .hero-meta {
        flex-direction: column;
        gap: 10px;
    }

    /* 2. Hero Visual & Floating Tag Containment */
    .hero-img {
        height: 260px;
    }

    .hero-card-floating {
        position: static;
        margin-top: 12px;
        width: 100%;
        box-shadow: 0 4px 14px rgba(14, 42, 71, 0.06);
    }

    /* 3. Section Padding & Headings Scaling */
    .services-section,
    .about-section,
    .leadership-section,
    .projects-section,
    .faq-section,
    .contact-section {
        padding: 56px 0;
    }

    .section-title {
        font-size: 1.75rem;
        line-height: 1.25;
    }

    .contact-title {
        font-size: 1.75rem;
    }

    /* 4. WhatsApp Widget Mobile Placement */
    .whatsapp-float {
        bottom: 20px;
        right: 18px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}

/* ==========================================================================
   6. TRUST & KEY METRICS BAR (COMPACT)
   ========================================================================== */
.trust-bar {
    background: radial-gradient(ellipse at top, #133a63 0%, var(--primary-navy-dark) 85%);
    padding: 28px 0; /* Reduced from 56px for a sleek height */
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 3px solid var(--accent-green);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.metric-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 14px 18px; /* Slimmer inner padding */
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.metric-card:hover {
    transform: translateY(-3px);
    border-color: rgba(74, 222, 128, 0.4);
    background: rgba(255, 255, 255, 0.07);
}

.metric-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px; /* Compact spacing */
}

.metric-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(74, 222, 128, 0.12);
    color: #4ade80;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(74, 222, 128, 0.25);
    flex-shrink: 0;
}

.metric-number {
    font-size: 1.85rem; /* Scaled down proportionally */
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.5px;
    font-variant-numeric: tabular-nums;
}

.metric-label {
    font-size: 13px;
    font-weight: 700;
    color: #4ade80;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.metric-desc {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.4;
}

@media (max-width: 992px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 580px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   7. SERVICES SECTION (STRICT 1200PX FRAMED 2-COLUMN GRID)
   ========================================================================== */
.services-section {
    padding: 80px 0;
    background-color: #f8fafc;
    width: 100%;
}

.services-section .container {
    max-width: 1200px; /* Locks max width */
    margin: 0 auto;    /* Keeps centered with healthy left/right margins */
    padding: 0 24px;
}

.section-header {
    margin-bottom: 44px;
}

.text-center {
    text-align: center;
}

.section-badge {
    display: inline-block;
    color: var(--accent-green);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    background: #e8f5e9;
    padding: 4px 14px;
    border-radius: 50px;
    border: 1px solid rgba(46, 125, 50, 0.2);
}

.section-title {
    font-size: 2.25rem;
    color: var(--primary-navy-dark);
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 2-column grid firmly contained */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 16px rgba(14, 42, 71, 0.04);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2e7d32, #4ade80, #0088cc);
    opacity: 0;
    transition: opacity var(--transition-fast);
    z-index: 10;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(14, 42, 71, 0.08);
    border-color: rgba(74, 222, 128, 0.5);
}

.service-card:hover::before {
    opacity: 1;
}

/* Fixed, Clean Photo Frame */
.service-image-box {
    position: relative;
    height: 240px; /* Clean, fixed-frame height */
    width: 100%;
    overflow: hidden;
    background-color: #0b1f36;
}

.service-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image-box img {
    transform: scale(1.04);
}

.service-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 42, 71, 0) 30%, rgba(14, 42, 71, 0.6) 100%);
}

.service-index {
    position: absolute;
    bottom: 10px;
    left: 16px;
    font-size: 1.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1;
    font-family: monospace;
}

.service-category-pill {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(14, 42, 71, 0.85);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Card Content Area */
.service-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.service-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: #ecfdf5;
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #d1fae5;
}

.service-subhead {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-green);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.2;
}

.service-heading {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-navy-dark);
    line-height: 1.25;
}

.service-summary {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 16px;
}

/* Capability Chips/Tags - Snug Pill Sizing */
.service-capabilities {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start; /* Prevents rows from stretching vertically */
    align-items: center;       /* Keeps pills hugging their text */
    gap: 6px;
    margin-bottom: 20px;
    flex-grow: 1;              /* Maintains even card heights across the grid */
}

.cap-tag {
    display: inline-flex;
    align-items: center;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-navy);
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 5px 10px;
    border-radius: 4px;
    height: fit-content;       /* Locks tag height strictly to the text */
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.service-card:hover .cap-tag {
    border-color: #cbd5e1;
    background-color: #e2e8f0;
}

/* Action CTA */
.service-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 11px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-navy);
    transition: all var(--transition-fast);
    margin-top: auto;
}

.cta-arrow {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #e2e8f0;
    color: var(--primary-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.service-cta-btn:hover {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
    color: #ffffff;
}

.service-cta-btn:hover .cta-arrow {
    background-color: #ffffff;
    color: var(--accent-green);
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .service-image-box {
        height: 220px;
    }
}

/* ==========================================================================
   8. ABOUT US & CORPORATE VALUES
   ========================================================================== */
.about-section {
    padding: 88px 0;
    background-color: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 52px;
    align-items: center;
    margin-bottom: 64px;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: 12px;
}

.about-img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(14, 42, 71, 0.12);
    display: block;
    border: 1px solid var(--border-color);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -16px;
    background-color: var(--primary-navy);
    color: var(--bg-white);
    padding: 16px 22px;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    border-bottom: 4px solid var(--accent-green);
    text-align: center;
}

.exp-years {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: #4ade80;
    line-height: 1;
    margin-bottom: 2px;
}

.exp-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #cbd5e1;
    font-weight: 600;
}

.about-lead {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1.6;
    margin-bottom: 12px;
}

.about-desc {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 24px;
}

/* Mission & Vision Cards */
.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.mv-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    background-color: #f8fafc;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--accent-green);
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.mv-card:hover {
    background-color: #ffffff;
    transform: translateX(4px);
    box-shadow: 0 4px 14px rgba(14, 42, 71, 0.05);
}

.mv-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: #ecfdf5;
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #d1fae5;
    margin-top: 2px;
}

.mv-details {
    flex-grow: 1;
}

.mv-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 4px;
}

.mv-text {
    font-size: 13.5px;
    color: var(--text-dark);
    line-height: 1.5;
}

/* Values Grid */
.values-wrapper {
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 32px;
}

.values-header {
    margin-bottom: 32px;
}

.values-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-navy-dark);
    margin-bottom: 6px;
}

.values-subtitle {
    font-size: 13.5px;
    color: var(--text-muted);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.value-item {
    background-color: var(--bg-white);
    padding: 20px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.value-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent-green);
    box-shadow: 0 8px 20px rgba(14, 42, 71, 0.06);
}

.value-bullet {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    color: var(--accent-green);
    font-family: monospace;
    margin-bottom: 8px;
    background: #ecfdf5;
    padding: 2px 8px;
    border-radius: 4px;
}

.value-name {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 6px;
}

.value-text {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-img {
        height: 340px;
    }
    .experience-badge {
        right: 12px;
        bottom: -12px;
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
    .values-wrapper {
        padding: 24px 16px;
    }
}

/* ==========================================================================
   9. BOARD OF DIRECTORS & LEADERSHIP (CORPORATE MINIMALIST)
   ========================================================================== */
.leadership-section {
    padding: 88px 0;
    background-color: #f8fafc;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.leader-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    padding: 32px 22px 28px;
    box-shadow: 0 4px 16px rgba(14, 42, 71, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.leader-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(14, 42, 71, 0.08);
    border-color: rgba(46, 125, 50, 0.4);
}

/* Monogram Insignia */
.leader-avatar {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, #0e2a47 0%, #081d33 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border: 2px solid rgba(74, 222, 128, 0.35);
    box-shadow: 0 6px 16px rgba(14, 42, 71, 0.15);
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.leader-card:hover .leader-avatar {
    border-color: #4ade80;
    transform: scale(1.05);
}

.avatar-initials {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    font-family: inherit;
}

/* Info Hierarchy */
.leader-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    width: 100%;
}

.leader-role {
    font-size: 11px;
    font-weight: 800;
    color: var(--accent-green);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.leader-name {
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--primary-navy-dark);
    line-height: 1.25;
    margin-bottom: 8px;
}

.leader-discipline {
    font-size: 11.5px;
    color: var(--text-muted);
    font-weight: 600;
    background-color: #f1f5f9;
    padding: 3px 10px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    margin-bottom: 16px;
    display: inline-block;
}

.leader-rule {
    width: 32px;
    height: 2px;
    background-color: #e2e8f0;
    margin-bottom: 16px;
}

.leader-bio {
    font-size: 13px;
    color: var(--text-dark);
    line-height: 1.6;
    margin-top: auto;
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .leadership-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .leadership-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   10. PROJECTS & FIELD GALLERY
   ========================================================================== */
.projects-section {
    padding: 88px 0;
    background-color: var(--bg-white);
}

.project-filter-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: #f8fafc;
    color: var(--primary-navy);
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.filter-btn:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
    color: var(--primary-navy-dark);
}

.filter-btn.active {
    background-color: var(--accent-green);
    color: var(--bg-white);
    border-color: var(--accent-green);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.2);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 14px rgba(14, 42, 71, 0.04);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(14, 42, 71, 0.08);
    border-color: rgba(46, 125, 50, 0.4);
}

.project-card.is-hidden {
    display: none;
}

/* Image Container */
.project-img-box {
    position: relative;
    height: 210px;
    overflow: hidden;
    background-color: #0b1f36;
}

.project-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img-box img {
    transform: scale(1.05);
}

.project-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 42, 71, 0) 40%, rgba(14, 42, 71, 0.6) 100%);
}

.project-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: rgba(14, 42, 71, 0.88);
    backdrop-filter: blur(4px);
    color: var(--bg-white);
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Project Info */
.project-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 8px;
    line-height: 1.35;
}

.project-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 16px;
    flex-grow: 1;
}

.project-meta-item {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-green);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.meta-pin-icon {
    flex-shrink: 0;
    color: var(--accent-green);
}

@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .project-filter-controls {
        gap: 8px;
    }
    .filter-btn {
        padding: 7px 14px;
        font-size: 12.5px;
    }
    .project-img-box {
        height: 190px;
    }
}

/* ==========================================================================
   11. CONTACT & INQUIRY SECTION
   ========================================================================== */
/* Submit Button Loading Spinner */
.btn-spinner {
    animation: btnSpin 0.85s linear infinite;
}

@keyframes btnSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
   .contact-section {
    padding: 88px 0;
    background-color: #f8fafc;
    border-top: 1px solid var(--border-color);
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
    align-items: start;
}

.contact-title {
    font-size: 2.15rem;
    font-weight: 800;
    color: var(--primary-navy-dark);
    margin: 8px 0 14px;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.contact-description {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 28px;
}

.contact-cards-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.info-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    background-color: var(--bg-white);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(14, 42, 71, 0.03);
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.info-card:hover {
    transform: translateY(-2px);
    border-color: rgba(46, 125, 50, 0.4);
    box-shadow: 0 8px 20px rgba(14, 42, 71, 0.06);
}

.info-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background-color: #ecfdf5;
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #d1fae5;
    margin-top: 2px;
}

.info-details h4 {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 2px;
}

.info-details p {
    font-size: 13.5px;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.45;
}

.info-details span {
    font-size: 12px;
    color: var(--text-muted);
    display: block;
    margin-top: 3px;
}

.info-details a {
    color: var(--primary-navy);
    transition: color var(--transition-fast);
}

.info-details a:hover {
    color: var(--accent-green);
    text-decoration: underline;
}

/* Form Panel */
.contact-form-panel {
    background-color: var(--bg-white);
    padding: 36px 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(14, 42, 71, 0.05);
}

.form-header {
    margin-bottom: 22px;
}

.form-header h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-navy-dark);
    margin-bottom: 4px;
}

.form-header p {
    font-size: 13px;
    color: var(--text-muted);
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary-navy);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    font-size: 13.5px;
    font-family: inherit;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: #ffffff;
    color: var(--text-dark);
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.12);
}

.form-error {
    font-size: 11px;
    color: #dc2626;
    display: none;
}

.form-submit-btn {
    width: 100%;
    border: none;
    padding: 13px;
    font-size: 14.5px;
    margin-top: 4px;
}

.form-feedback {
    margin-top: 10px;
    padding: 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    display: none;
}

.form-feedback.success {
    display: block;
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-feedback.error {
    display: block;
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-form-panel {
        padding: 24px 18px;
    }
}
/* Contact Map Viewport */
.contact-map-wrapper {
    margin-top: 48px;
    background-color: var(--bg-white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 24px rgba(14, 42, 71, 0.05);
    overflow: hidden;
}

.map-card-header {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    background-color: #ffffff;
    flex-wrap: wrap;
    gap: 14px;
}

.map-header-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.map-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #ecfdf5;
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #d1fae5;
}

.map-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary-navy-dark);
    line-height: 1.25;
}

.map-card-subtitle {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-top: 2px;
}

.map-directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    color: var(--primary-navy);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 700;
    transition: all var(--transition-fast);
}

.map-directions-btn:hover {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
    color: #ffffff;
    transform: translateY(-2px);
}

.map-frame-box {
    width: 100%;
    height: 340px;
    background-color: #0b1f36;
    position: relative;
}

.map-frame-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 768px) {
    .map-card-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
    }

    .map-directions-btn {
        width: 100%;
        justify-content: center;
    }

    .map-frame-box {
        height: 260px;
    }
}

/* ==========================================================================
   12. GLOBAL FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--primary-navy-dark);
    color: #cbd5e1;
    padding-top: 54px; /* Reduced from 80px */
    border-top: 3px solid var(--accent-green);
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1.1fr 1.3fr;
    gap: 32px;
    padding-bottom: 36px; /* Tightened from 60px */
}

.footer-brand {
    margin-bottom: 14px;
}

.footer-brand-name {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--bg-white);
    letter-spacing: 0.5px;
}

.footer-brand-sub {
    font-size: 0.75rem;
    color: #4ade80;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    display: block;
}

.footer-summary {
    font-size: 13px;
    line-height: 1.65;
    color: #94a3b8;
    margin-bottom: 18px;
}

.footer-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #4ade80;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.footer-heading {
    font-size: 14px;
    font-weight: 800;
    color: var(--bg-white);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
}

.footer-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: var(--accent-green);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-links li a {
    font-size: 13px;
    color: #94a3b8;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links li a:hover {
    color: #4ade80;
    padding-left: 4px;
}

.footer-address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.45;
}

.footer-icon {
    color: #4ade80;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item a {
    color: #94a3b8;
    transition: color var(--transition-fast);
}

.footer-contact-item a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12.5px;
    color: #64748b;
}

.copyright-text {
    color: #94a3b8;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-legal-links a {
    color: #94a3b8;
    transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
    color: #ffffff;
}

.legal-dot {
    color: #475569;
}

@media (max-width: 1024px) {
    .footer-top-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom-flex {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   MOBILE NAVIGATION & ACCESSIBILITY ENHANCEMENTS (Phase 3.2)
   ========================================================================== */
@media (max-width: 900px) {
    .top-bar {
        display: none;
    }

    .desktop-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 80px;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: calc(100vh - 80px);
        background-color: var(--bg-white);
        padding: 24px 20px;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.12);
        gap: 6px;
        transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1050;
        overflow-y: auto;
    }

    .nav-menu.is-active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 12px 14px;
        min-height: 44px;
        font-size: 15px;
        border-radius: 6px;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:active,
    .nav-link.active {
        background-color: #f1f5f9;
        color: var(--accent-green);
    }

    .mobile-cta-wrapper {
        display: block;
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid var(--border-color);
    }

    .nav-mobile-cta {
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 14px;
    }

    .menu-backdrop {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100vw;
        height: calc(100vh - 80px);
        background-color: rgba(14, 42, 71, 0.5);
        backdrop-filter: blur(2px);
        z-index: 1040;
    }

    .menu-backdrop.is-active {
        display: block;
    }
}
/* Floating WhatsApp CTA */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
    color: #ffffff;
}

.whatsapp-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: wa-pulse 2s infinite ease-out;
}

@keyframes wa-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.whatsapp-tooltip {
    position: absolute;
    right: 68px;
    background-color: var(--primary-navy-dark);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateX(10px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent var(--primary-navy-dark);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}
/* ==========================================================================
   13. ADVANCED VISUAL ANIMATIONS & LIGHTBOX (PHASES 1-4)
   ========================================================================== */

/* Phase 4: Header Scroll Progress Bar */
.scroll-progress-track {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 1001;
    overflow: hidden;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #2e7d32 0%, #4ade80 60%, #0088cc 100%);
    transition: width 0.08s linear;
}

/* Phase 1: Cinematic Card Scroll Reveals */
.reveal-card {
    opacity: 0;
    transform: translateY(32px) scale(0.98);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-card.is-revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Phase 3: 3D Parallax Tilt */
.js-tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

/* Phase 2: Project Photo Zoom & Prompt */
.js-lightbox-trigger {
    cursor: pointer;
}

.project-zoom-prompt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: rgba(14, 42, 71, 0.9);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.project-card:hover .project-zoom-prompt {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Phase 2: High-End Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.lightbox-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 29, 51, 0.92);
    backdrop-filter: blur(10px);
}

.lightbox-dialog {
    position: relative;
    max-width: 820px;
    width: 100%;
    background: #0e2a47;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    z-index: 10001;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.is-active .lightbox-dialog {
    transform: scale(1) translateY(0);
}

.lightbox-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
    background: var(--accent-green);
    transform: scale(1.08);
}

.lightbox-media {
    width: 100%;
    max-height: 480px;
    overflow: hidden;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: contain;
    display: block;
}

.lightbox-caption {
    padding: 22px 28px;
    background: #0e2a47;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-badge {
    display: inline-block;
    background: var(--accent-green);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 3px 9px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.lightbox-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}

.lightbox-desc {
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.5;
}
/* ==========================================================================
   14. FAQ & COMPLIANCE ACCORDION
   ========================================================================== */
.faq-section {
    padding: 88px 0;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
}

.faq-accordion {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.faq-item.is-open {
    border-color: rgba(46, 125, 50, 0.4);
    box-shadow: 0 6px 20px rgba(14, 42, 71, 0.05);
    background-color: #ffffff;
}

.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    gap: 16px;
    transition: background-color var(--transition-fast);
}

.faq-trigger:hover {
    background-color: rgba(241, 245, 249, 0.7);
}

.faq-question {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1.4;
}

.faq-item.is-open .faq-question {
    color: var(--accent-green);
}

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #e2e8f0;
    color: var(--primary-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color var(--transition-fast), color var(--transition-fast);
}

.faq-item.is-open .faq-icon {
    transform: rotate(180deg);
    background-color: var(--accent-green);
    color: #ffffff;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
    padding: 0 24px;
}

.faq-item.is-open .faq-content {
    padding: 0 24px 22px 24px;
}

.faq-answer {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.65;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
}

@media (max-width: 600px) {
    .faq-trigger {
        padding: 16px 18px;
    }
    .faq-question {
        font-size: 0.95rem;
    }
    .faq-content {
        padding: 0 18px;
    }
    .faq-item.is-open .faq-content {
        padding: 0 18px 18px 18px;
    }
}
/* Core Web Vitals: Aspect Ratio Fallbacks & Layout Stability */
.hero-image-wrapper {
    aspect-ratio: 600 / 420;
    width: 100%;
}

.about-image-wrapper {
    aspect-ratio: 540 / 460;
    width: 100%;
}

.service-image-box {
    aspect-ratio: 560 / 240;
    width: 100%;
}

.project-img-box {
    aspect-ratio: 380 / 210;
    width: 100%;
}

/* Optimize smooth image scaling */
img {
    content-visibility: auto;
}