:root {
  --International-Orange-500: #fd5b04;
  --Black: #000000;
  --Dark-Teal: #005f63; /* Extracted from image logo approximately */
  --White: #ffffff;
  --Gray-Text: #4b5563;
  --Light-Gray-Bg: #f9fafb;
  --Pearl-Bush-50: #FDFCFB;
  --Container-MaxWidth: 1280px;
  --Firefly-500: #507184;
  --Firefly-600: #3B5664;
  --Firefly-700: #283C46;
  --Viridian-500: #348070;

  /* Font Families */
  --font-primary: "Grift", sans-serif;
  --font-body: "Grift", sans-serif;
}

@font-face {
    font-family: 'Grift';
    src: url('assets/fonts/Grift-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Grift';
    src: url('assets/fonts/Grift-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--Black);
    background-color: var(--Light-Gray-Bg);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Smart padding for max-width constraint */
    padding: 1.5rem max(5%, (100% - var(--Container-MaxWidth)) / 2);
    background-color: transparent;
    position: fixed; /* Fixed to stay on top while scrolling */
    width: 100%;
    top: 0;
    z-index: 1000; /* Increased z-index to stay above everything */
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled,
    .navbar.mobile-menu-open {
        background-color: var(--White);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

.logo {
    display: flex;
    align-items: center;
    width: 60px; /* Adjust based on logo needs */
}

.logo img {
    width: 100%;
    height: auto;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

/* Inactive Options */
.nav-links a {
    color: var(--Black); /* default to black per request */
    text-align: center;
    font-family: 'Grift', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    text-decoration: none;
    transition: color 0.3s;
}

/* Active Option */
.nav-links a.active, .nav-links a:hover {
    color: var(--International-Orange-500);
    font-weight: 500;
}

/* Contact Button in Navbar */
.btn-contact-nav {
    display: inline-flex;
    padding: 0.5rem 1.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 4px; /* Minimal radius */
    background: var(--White);
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.05); /* Soft shadow */
    
    /* Text Styles */
    color: var(--Black);
    text-align: center;
    font-family: 'Grift', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px; /* 112.5% */
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-contact-nav:hover {
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
    color: var(--International-Orange-500);
}

/* Navbar Top (Logo + Burger Row) - Only active on mobile */
.navbar-top {
    display: contents; /* On desktop, children flow as if navbar-top doesn't exist */
}

/* Burger Menu - Hidden on Desktop */
.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--Black);
}

/* Mobile Contact Button - Hidden on Desktop */
.btn-contact-nav-mobile {
    display: none;
}

/* Main Padding Reset */
main {
    padding-top: 0;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    /* Updated background image and gradient if needed, assuming transparency in PNG or overlay needed */
    background: linear-gradient(180deg, rgba(253, 252, 251, 0) 80%, #FDFCFB 100%),
                linear-gradient(90deg, #FDFCFB 40%, rgba(253, 252, 251, 0) 100%),
                url('assets/images/hero-bg.png');
    background-size: cover;
    background-position: center; /* Adjusted for centered hero image */
    background-repeat: no-repeat;
    /* Smart padding for max-width constraint */
    padding: 0 max(5%, (100% - var(--Container-MaxWidth)) / 2);
}

.hero-content {
    max-width: 600px;
    z-index: 2;
    padding-top: 80px;
}

.hero-subtitle {
    color: var(--International-Orange-500);
    font-size: 14px;
    font-weight: 500;
    font-style: normal;
    line-height: 14px; /* 100% */
    letter-spacing: 0.14px;
    display: block;
    margin-bottom: 1.5rem;
    font-family: 'Grift', sans-serif;
    text-transform: none; /* Reset if previously uppercase */
}

.hero h1 {
    font-family: 'Grift', sans-serif;
    font-size: 34px;
    font-style: normal;
    font-weight: 300;
    line-height: 36px; /* 105.882% */
    margin-bottom: 2rem;
    color: var(--Black);
}

.hero p {
    font-family: 'Grift', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px; /* 133.333% */
    color: var(--Black);
    margin-bottom: 2.5rem;
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background-color: var(--Dark-Teal);
    color: var(--White);
    border: none;
    padding: 10px 24px;
    font-size: 16px;
    font-weight: 400;
    line-height: 18px; /* 112.5% */
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Grift', sans-serif;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #004a4d;
}

.btn-secondary {
    background-color: transparent;
    color: var(--Firefly-500);
    border: 1px solid #D1D5DB; /* Keep border or remove? Assumed kept */
    padding: 10px 24px;
    font-size: 16px;
    font-weight: 400;
    line-height: 18px; /* 112.5% */
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Grift', sans-serif;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: var(--Firefly-500);
    opacity: 0.8;
}

/* Section Divider */
.section-divider {
    text-align: center;
    padding: 60px 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px; /* Space between lines and text */
}

.section-divider h2 {
    color: var(--Viridian-500);
    font-size: 20px;
    font-weight: 500;
    font-family: 'Grift', sans-serif;
    line-height: 24px; /* 120% */
    letter-spacing: 0.2px;
    text-transform: uppercase;
    background: transparent;
    padding: 0;
    margin: 0;
}

.section-divider::before, .section-divider::after {
    content: '';
    width: 75px;
    height: 1px;
    background-color: #CEE3F0;
    display: block;
}

/* Responsive Design - Mobile First Priority */
@media (max-width: 768px) {
    /* NAVBAR - Hamburger Menu */
    .navbar {
        padding: 0;
        flex-direction: column;
        align-items: stretch;
        background-color: transparent;
        position: fixed;
        top: 0;
        z-index: 100;
        box-shadow: none;
    }

    .navbar.scrolled,
    .navbar.mobile-menu-open {
        padding: 0;
        background-color: var(--White);
    }

    .navbar-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 1rem 5%;
    }

    .burger-menu {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--Black);
    }

    .burger-menu svg {
        width: 28px;
        height: 28px;
    }

    .nav-links {
        display: flex; /* Always flex, but hidden via height/opacity */
        flex-direction: column;
        gap: 0;
        margin: 0;
        width: 100%;
        background: var(--White);
        padding: 0;
        
        /* Animation properties */
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: all 0.4s ease-in-out;
        transform: translateY(-10px);
        pointer-events: none; /* Prevent clicks when closed */
    }

    .nav-links.nav-open {
        /* display: flex;  <-- No need to toggle display */
        margin-top: 1rem;
        border-top: 1px solid #eee;
        padding-top: 1rem;
        
        /* Animation open state */
        max-height: 500px; /* Large enough value */
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links a {
        text-align: center;
        width: 100%;
        display: block;
        padding: 14px 0;
        font-size: 18px;
        border-bottom: 1px solid #f5f5f5;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .btn-contact-nav {
        display: none; /* Hide desktop contact button */
    }

    .btn-contact-nav-mobile {
        display: flex !important; /* Flex for centering text */
        justify-content: center;
        align-items: center;
        width: fit-content !important;
        min-width: 200px; /* Ensure minimum width for breathing room */
        align-self: center;
        background: var(--International-Orange-500);
        color: white !important;
        padding: 14px 40px; /* Increased padding */
        border-radius: 4px;
        margin-top: 20px;
        margin-bottom: 25px;
        font-family: 'Grift', sans-serif;
        font-size: 16px;
        font-weight: 400;
        line-height: 1;
        text-decoration: none;
        box-shadow: 0 4px 6px -1px rgba(253, 91, 4, 0.2);
        border-bottom: none !important;
    }

    /* HERO - Clean & Readable */
    .hero {
        min-height: auto;
        padding: 6rem 5% 4rem; /* Increased top padding to account for fixed navbar */
        text-align: center;
        /* Heavy overlay to fade image to ~10% visibility for text readability */
        background: linear-gradient(rgba(249, 250, 251, 0.9), rgba(249, 250, 251, 0.95)),
                    url('assets/images/hero-bg.png');
        background-size: cover;
        background-position: center;
    }

    .hero-content {
        padding-top: 0;
        margin-bottom: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 28px;
        line-height: 1.25;
        margin-bottom: 1.5rem;
    }

    .hero p {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons button,
    .hero-buttons a {
        width: 100%;
        justify-content: center;
        padding: 14px 20px; /* Match mobile contact button padding */
        height: auto;
        font-size: 18px; /* Match mobile contact button font size */
        font-weight: 500; /* Match mobile contact button font weight */
        border-radius: 6px; /* Match mobile contact button border radius */
    }

    .hero-buttons .btn-secondary {
        background-color: var(--White);
        border-color: #D1D5DB;
        color: var(--Firefly-500);
    }

    /* SECTION DIVIDER */
    .section-divider {
        padding: 30px 5%;
    }

    .section-divider h2 {
        font-size: 16px;
    }

    .section-divider::before,
    .section-divider::after {
        width: 40px;
    }

    /* WHO WE ARE - Strategic Ally */
    .strategic-ally {
        flex-direction: column;
        padding: 40px 5%;
        gap: 30px;
    }

    .ally-image-container {
        width: 100%;
    }

    .video-content {
        max-height: 280px;
        border-radius: 12px;
    }

    .ally-content {
        text-align: center;
    }

    .ally-content h2 {
        font-size: 26px;
        line-height: 1.3;
        text-align: center;
    }
    
    .orange-line {
        margin: 0 auto 1.5rem;
    }

    .ally-content p {
        font-size: 16px;
        line-height: 1.6;
        text-align: left;
    }

    .ally-content .quote {
        font-size: 15px;
        text-align: center;
    }

    /* WHAT WE DO - Services */
    .what-we-do {
        padding: 0 5% 50px;
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 2rem;
    }

    .services-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 50px;
        padding-top: 30px;
    }
    
    .service-card {
        margin: 0;
        padding: 35px 25px 25px;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    }

    .card-icon {
        left: 20px;
        top: -25px;
        width: 50px;
        height: 50px;
    }

    .service-card h4 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .service-card ul li {
        font-size: 15px;
    }

    /* SERVICES CTA */
    .services-footer {
        margin-top: 50px;
    }

    .services-cta-card {
        padding: 35px 20px;
        border-radius: 16px;
    }

    .services-cta-card p {
        font-size: 18px;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .btn-primary-solid {
        width: 100%;
        padding: 16px 24px;
        font-size: 16px;
        text-align: center;
    }

    /* COVERAGE */
    .coverage {
        padding: 0 5% 50px;
    }

    .coverage-text {
        font-size: 16px;
    }

    .map-placeholder {
        height: 220px;
        border-radius: 12px;
    }

    /* FINAL CTA */
    .final-cta {
        padding: 50px 5%;
    }

    .final-cta-title {
        font-size: 24px;
        line-height: 1.3;
    }

    .final-cta p {
        font-size: 16px;
    }

    .contact-info {
        flex-direction: column;
        gap: 12px;
    }

    .contact-info a {
        font-size: 15px;
    }
}


/* Strategic Ally Section */
.strategic-ally {
    display: flex;
    /* Smart padding for max-width constraint */
    padding: 60px max(5%, (100% - var(--Container-MaxWidth)) / 2);
    gap: 60px;
    align-items: center;
    /* Remove explicit width/margins as padding handles centering */
    width: 100%;
}

.ally-image-container {
    flex: 1;
}

.video-content {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    object-fit: cover;
    max-height: 500px; /* Limit height if needed to match design proportions */
}

.ally-content {
    flex: 1;
}

.ally-content h2 {
    font-size: 34px;
    font-weight: 300;
    line-height: 36px; /* 105.882% */
    margin-bottom: 1.5rem;
    color: var(--Black);
    font-family: 'Grift', sans-serif;
}

.orange-line {
    width: 40px;
    height: 1px;
    background-color: var(--International-Orange-500);
    margin-bottom: 2rem;
}

.ally-content p {
    color: var(--Black);
    font-size: 18px;
    font-weight: 300;
    line-height: 24px; /* 133.333% */
    margin-bottom: 1.5rem;
    font-family: 'Grift', sans-serif;
}

.ally-content strong {
    color: var(--Black);
    font-weight: 500;
    font-family: 'Grift', sans-serif;
}

.ally-content .quote {
    font-style: italic;
    font-weight: 300;
    font-size: 16px;
    line-height: 20px; /* 125% */
    margin-top: 2rem;
    color: var(--Firefly-600);
    font-family: 'Grift', sans-serif;
}

.ally-content > :last-child {
    margin-bottom: 0;
}

/* What We Do Section */
.what-we-do {
    padding: 0 max(5%, (100% - var(--Container-MaxWidth)) / 2) 80px;
}

.section-title {
    color: var(--Black);
    text-align: center;
    font-size: 34px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    margin-bottom: 3rem;
    font-family: 'Grift', sans-serif;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2x2 Layout */
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: var(--White);
    padding: 30px;
    border-radius: 8px; /* Optional card style */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Add subtle shadow if desired: box-shadow: 0 4px 12px rgba(0,0,0,0.05); */
    position: relative; /* Context for floating icon */
    margin-top: 20px; /* Space for the floating icon */
    margin-left: 20px; /* Space for the floating icon */
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.card-icon {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 50px;
    height: 50px;
    background-color: var(--International-Orange-500);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--White);
    box-shadow: 0 4px 10px rgba(253, 91, 4, 0.3);
    z-index: 10;
}

.service-card h4 {
    color: var(--Black);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 1rem;
    font-family: 'Grift', sans-serif;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 0.5rem;
    color: var(--Gray-Text);
    font-size: 16px;
    line-height: 1.5;
    font-family: var(--font-body);
    transition: transform 0.2s ease;
    cursor: default;
    width: fit-content;
}

.service-card ul li:hover {
    transform: translateX(5px);
}

.service-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--International-Orange-500);
}

.services-footer {
    text-align: center;
    margin-top: 60px;
}

.services-cta-card {
    background-color: var(--Firefly-700, #283C46);
    padding: 60px 40px;
    border-radius: 12px;
    position: relative; /* Context for absolute video */
    overflow: hidden; /* Crop video */
    /* No shadow as requested */
}

.cta-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.05; /* 10% Opacity */
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2; /* Ensure text is above video */
}

.services-cta-card p {
    color: var(--White);
    font-size: 26px; /* Text large */
    font-family: 'Grift', sans-serif;
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary-solid {
    display: inline-block;
    background-color: var(--International-Orange-500);
    color: var(--White);
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    font-family: 'Grift', sans-serif;
    padding: 16px 40px;
    border-radius: 4px; /* Slightly rounded or 0 if preferred */
    transition: all 0.3s ease;
    border: none;
}

.btn-primary-solid:hover {
    background-color: #e54e00; /* Darker orange */
    transform: translateY(-2px);
}

/* Coverage Section */
.coverage {
    padding: 0 max(5%, (100% - var(--Container-MaxWidth)) / 2) 80px;
    text-align: center;
}

.coverage-text {
    max-width: 1000px;
    margin: 0 auto 40px;
    color: var(--Gray-Text);
    font-size: 18px;
    line-height: 1.6;
    font-family: var(--font-body);
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background-color: #f0f0f0;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--Gray-Text);
    border: 1px dashed #ccc;
}

/* Final CTA */
.final-cta {
    padding: 80px max(5%, (100% - var(--Container-MaxWidth)) / 2);
    background-color: var(--Light-Gray-Bg);
}

.final-cta-card {
    background: var(--Firefly-700, #283C46); /* Fallback color */
    border-radius: 20px;
    padding: 100px 40px;
    text-align: center;
    color: var(--White);
    position: relative;
    overflow: hidden; /* Important for containing the video */
}

.final-cta-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.final-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--Dark-Teal);
    opacity: 0.85; /* Strong overlay to match brand style */
    z-index: 1;
}

.final-cta-content {
    position: relative;
    z-index: 2; /* Ensure content stays above video and overlay */
    max-width: 1000px; /* Increased from 700px to allow inner elements to expand */
    width: 100%;
    margin: 0 auto;
}

.final-cta-title {
    font-size: 34px; /* Matches section-title size */
    font-weight: 300; /* Light weight as requested */
    margin-bottom: 24px;
    font-family: 'Grift', sans-serif;
    color: var(--White);
    line-height: 1.1;
}

.final-cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    line-height: 1.6;
    font-family: 'Grift', sans-serif; /* Changed to Grift */
    font-weight: 300; /* Light weight consistent with Grift usage */
    max-width: 1000px; /* Significantly increased width */
    width: 100%; /* Ensure it takes available space up to max-width */
    margin-left: auto;
    margin-right: auto;
}

.final-cta-actions {
    margin-bottom: 0;
}

.btn-primary.btn-orange {
    background-color: var(--International-Orange-500);
    color: var(--White);
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 500; /* Adjusted weight for Grift */
    font-family: 'Grift', sans-serif; /* Changed to Grift */
    text-transform: none; /* Removed uppercase if not needed, or keep based on pref */
    letter-spacing: 0.5px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary.btn-orange:hover {
    background-color: #d94a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(253, 91, 4, 0.3);
}

@media (max-width: 768px) {
    .final-cta-card {
        padding: 60px 20px;
    }
    
    .final-cta-title {
        font-size: 32px;
    }
}

/* Footer */
.site-footer {
    background-color: var(--Firefly-700);
    color: var(--White);
    padding: 30px max(5%, (100% - var(--Container-MaxWidth)) / 2);
    margin-top: 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left p {
    font-size: 14px;
    font-family: 'Grift', sans-serif;
    font-weight: 300;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.footer-right {
    display: flex;
    gap: 30px;
}

.footer-right a {
    color: var(--White);
    text-decoration: none;
    font-family: 'Grift', sans-serif;
    font-weight: 300;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.footer-right a:hover {
    color: var(--International-Orange-500);
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-right {
        flex-direction: column;
        gap: 15px;
    }
}
