:root {
    /* Colors */
    --navy: #1a365d;
    --navy-dark: #0f2744;
    --navy-light: #2c5282;
    --orange: #dd6b20;
    --orange-light: #ed8936;
    --cream: #faf9f6;
    --white: #ffffff;
    --gray: #4a5568;
    --gray-light: #a0aec0;
    --black: #000000;

    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-padding: clamp(1.5rem, 5vw, 4rem);
    --section-gap: clamp(6rem, 10vw, 12rem);

    /* Fluid Spacing Utilities */
    --space-xs: clamp(0.5rem, 1vw, 1rem);
    --space-sm: clamp(1rem, 2vw, 1.5rem);
    --space-md: clamp(1.5rem, 3vw, 2.5rem);
    --space-lg: clamp(3rem, 6vw, 5rem);
    --space-xl: clamp(4rem, 8vw, 8rem);
    --space-2xl: clamp(6rem, 10vw, 12rem);

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s var(--ease-out-expo);
    --transition-med: 0.4s var(--ease-out-expo);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--navy);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Utilities --- */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.uppercase {
    text-transform: uppercase;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.hidden {
    display: none;
}

/* --- Fluid Utility Classes --- */
.gap-xs {
    gap: var(--space-xs);
}

.gap-sm {
    gap: var(--space-sm);
}

.gap-md {
    gap: var(--space-md);
}

.gap-lg {
    gap: var(--space-lg);
}

.gap-xl {
    gap: var(--space-xl);
}

.gap-2xl {
    gap: var(--space-2xl);
}

/* 11-inch display optimizations */
@media (min-width: 1025px) and (max-width: 1366px) {
    .hero {
        padding-top: 70px;
        min-height: 65vh;
    }

    .hero-centered-content {
        padding-top: 3rem;
    }

    .hero-actions {
        margin-bottom: 4rem;
    }

    .section-eyebrow {
        font-size: 0.75rem;
        letter-spacing: 0.3em;
    }

    .container {
        padding: 0 2rem;
    }

    /* Services optimization */
    .service-item {
        padding: 2rem 1.5rem;
    }

    .service-num {
        font-size: 1.5rem;
    }

    /* Values section */
    .value-item {
        grid-template-columns: 60px 1fr 50px;
        padding: 2rem 1.5rem;
    }

    .value-number {
        font-size: 1.8rem;
    }

    /* Partners section */
    .partners-marquee-content img {
        max-height: 80px;
    }

    /* Contact section */
    .contact-info,
    .contact-form-wrapper {
        padding: 4rem 2.5rem;
    }

    /* Footer optimization */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    /* Better spacing for 11-inch displays */
    section {
        padding: clamp(4rem, 8vh, 8rem) 0;
    }

    /* Navigation optimization */
    .nav {
        padding: 0.9rem 2rem;
    }

    .nav-logo img {
        height: 46px;
    }

    .nav.scrolled .nav-logo img {
        height: 40px;
    }

    /* Hero specific optimizations */
    .hero-home {
        min-height: 65vh;
    }

    .hero-centered-content {
        padding-top: 3rem;
    }

    .hero-eyebrow {
        font-size: 0.76rem;
        margin-bottom: 1.8rem;
    }

    .hero-title {
        margin-bottom: 2rem;
    }

    .hero-desc {
        margin-bottom: 3rem;
    }
}

.pt-xl {
    padding-top: var(--space-xl);
}

.pb-xl {
    padding-bottom: var(--space-xl);
}

.py-xl {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
}

.my-md {
    margin-top: var(--space-md);
    margin-bottom: var(--space-md);
}

.mt-lg {
    margin-top: var(--space-lg);
}

.mt-xl {
    margin-top: var(--space-xl);
}

.mb-sm {
    margin-bottom: var(--space-sm);
}

.mb-md {
    margin-bottom: var(--space-md);
}

.mb-lg {
    margin-bottom: var(--space-lg);
}

.mb-xl {
    margin-bottom: var(--space-xl);
}

.min-h-hero {
    min-height: clamp(280px, 45vh, 420px);
}

.h-fluid {
    height: clamp(400px, 60vh, 700px);
}

.h-fluid-sm {
    height: clamp(300px, 50vh, 600px);
}

.grid-responsive {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* --- Grain Overlay --- */
.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9990;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s var(--ease-out-expo);
    border-bottom: 1px solid rgba(26, 54, 93, 0.08);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.75rem var(--container-padding);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.nav-logo {
    padding: 4px 8px;
    background: transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.02);
}

.nav-logo img {
    height: 48px;
    width: auto;
    display: block;
}

.nav.scrolled .nav-logo {
    padding: 6px 10px;
}

.nav.scrolled .nav-logo img {
    height: 42px;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--dark-blue);
    text-decoration: none !important;
    font-size: 0.813rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    position: relative;
    padding: 0.5rem 0;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--orange);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: all 0.4s var(--ease-out-expo);
    transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1.5rem;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
}

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--navy-dark);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--ease-out-expo);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-nav-links a {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.5s var(--ease-out-expo);
}

.mobile-menu.active .mobile-nav-links a {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-links a:hover {
    color: var(--orange);
}

.mobile-menu-close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* --- Hero Section --- */
.hero {
    min-height: 80vh;
    background: var(--navy-dark);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 100px;
}

.hero-home {
    background: 
        radial-gradient(circle at 70% 30%, rgba(221, 107, 32, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 10% 80%, rgba(44, 82, 130, 0.15) 0%, transparent 40%),
        #0f2744;
}

.hero-home::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
    pointer-events: none;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-text-content {
    max-width: 720px;
}

.hero-eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--orange-light);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-eyebrow .dot {
    width: 6px;
    height: 6px;
    background: var(--orange);
    border-radius: 50%;
    display: inline-block;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5.5vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
}

.line-wrapper {
    display: block;
    overflow: hidden;
    margin-bottom: -0.1em;
}

.line {
    display: block;
    transform: translateY(110%);
}

.hero-desc {
    font-size: clamp(1.125rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 3.5rem;
    max-width: 600px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(221, 107, 32, 0.2));
}

.hero-floating-stats {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 20;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: float-card 6s ease-in-out infinite;
}

.stat-card:nth-child(2) {
    animation-delay: -2s;
    margin-left: -3rem;
}

.stat-card:nth-child(3) {
    animation-delay: -4s;
    margin-left: 2rem;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--orange-light);
    margin-bottom: 0.25rem;
    background: none;
    -webkit-text-fill-color: initial;
}

.stat-card .stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    z-index: 10;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--orange);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

/* --- Subpage Hero --- */
.hero-subpage {
    min-height: 50vh;
    padding-top: 200px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, #0f2744 0%, #1a365d 100%);
    text-align: center;
}

.hero-subpage .hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 0;
}

.hero-subpage-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero-subpage .hero-eyebrow {
    justify-content: center;
}

.hero-subpage::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2v-4h4v-2H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-eyebrow {
        justify-content: center;
    }

    .hero-floating-stats {
        position: static;
        flex-direction: row;
        margin-top: 2rem;
        justify-content: center;
        gap: 1rem;
    }

    .stat-card:nth-child(2) {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding-bottom: 5rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .hero-floating-stats {
        flex-wrap: wrap;
    }
}


/* Responsive */
@media (max-width: 768px) {
    .hero-actions {
        margin-bottom: 3rem;
    }
}

/* --- Marquee --- */
.marquee {
    background: var(--orange);
    padding: 1rem 0;
    overflow: hidden;
    position: relative;
    z-index: 20;
}

.marquee-content {
    display: flex;
    /* Animation handled by JS for infinite loop, but fallback here */
    width: max-content;
}

.marquee-text {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--white);
    padding: 0 3rem;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.marquee-text::after {
    content: '•';
    color: var(--navy);
}

/* --- Section Styles --- */
section {
    position: relative;
    padding: var(--section-gap) 0;
}

.about {
    padding-top: clamp(3rem, 5vw, 5rem);
}

.bg-texture {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a365d' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2v-4h4v-2H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.bg-dark-texture {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2v-4h4v-2H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.section-header {
    margin-bottom: 4rem;
}

.section-eyebrow {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--orange);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-eyebrow::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--orange);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--navy);
    max-width: 800px;
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 8rem;
    align-items: center;
    padding: 6rem 0;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray);
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-highlight {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--navy);
    font-weight: 600;
    padding: 2rem;
    border-left: 3px solid var(--orange);
    margin: 2rem 0;
    background: rgba(221, 107, 32, 0.05);
}

.about-image {
    position: relative;
    height: var(--space-xl);
    min-height: clamp(350px, 50vh, 600px);
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    overflow: hidden;
    border-radius: 8px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem;
    background: linear-gradient(to top, rgba(15, 39, 68, 0.9), transparent);
    color: var(--white);
}

/* --- Leadership Section --- */
.leadership-section {
    padding-top: clamp(4rem, 7vw, 7rem);
}

.leadership-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(420px, 1.05fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}

.leadership-photo-wrap {
    position: relative;
}

.leadership-photo-wrap::after {
    content: '';
    position: absolute;
    inset: -14px 24px 24px -14px;
    border: 1px solid rgba(26, 54, 93, 0.2);
    border-radius: 28px;
    pointer-events: none;
}

.leadership-photo-frame {
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(140deg, rgba(26, 54, 93, 0.1), rgba(26, 54, 93, 0.02));
    border: 1px solid rgba(26, 54, 93, 0.12);
    box-shadow: 0 24px 40px rgba(15, 39, 68, 0.12);
}

.leadership-photo {
    width: 100%;
    height: 100%;
    min-height: clamp(380px, 54vh, 620px);
    object-fit: cover;
    object-position: center top;
    display: block;
}

.leadership-name {
    margin-bottom: 0.75rem;
    font-size: clamp(2.2rem, 5.2vw, 4.25rem);
}

.leadership-role {
    color: var(--orange);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.leadership-credentials {
    list-style: none;
    display: grid;
    gap: 0.65rem;
    margin: 0 0 2rem;
    padding: 0;
}

.leadership-credentials li {
    font-size: 0.98rem;
    line-height: 1.45;
    color: rgba(26, 54, 93, 0.78);
    padding: 0.55rem 0.9rem;
    border: 1px solid rgba(26, 54, 93, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(2px);
}

.leadership-quote {
    margin: 0 0 2rem;
    padding: 1.1rem 1.25rem 1.1rem 1.4rem;
    border-left: 4px solid var(--orange);
    color: rgba(26, 54, 93, 0.82);
    font-size: 1.2rem;
    line-height: 1.7;
    font-style: italic;
    background: linear-gradient(90deg, rgba(221, 107, 32, 0.07), rgba(221, 107, 32, 0));
    border-radius: 0 12px 12px 0;
}

.leadership-cta {
    margin: 0;
    font-size: 1.25rem;
    color: var(--navy);
}

.leadership-cta strong {
    color: var(--orange);
}

/* --- Services Section --- */
.services {
    background: var(--navy);
    color: var(--white);
}

.services .section-title {
    color: var(--white);
}

.services .section-eyebrow {
    color: var(--orange-light);
}

.services .section-eyebrow::before {
    background: var(--orange-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);
    /* Border effect */
    margin-top: 4rem;
}

.services-page-section {
    position: relative;
    overflow: hidden;
}

.services-page-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.32;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(26, 54, 93, 0.1) 1px, transparent 0),
        linear-gradient(135deg, rgba(26, 54, 93, 0.05), rgba(26, 54, 93, 0));
    background-size: 18px 18px, 100% 100%;
}

.services-page-section > * {
    position: relative;
    z-index: 1;
}

.partners-section {
    padding-bottom: 2rem;
}

.partners-marquee-container {
    margin-top: 4rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.partners-marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 0;
}

.partners-marquee-content {
    display: flex;
    min-width: 100%;
    gap: clamp(0.75rem, 1.6vw, 1.5rem);
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

.partners-marquee-content img {
    width: 100%;
    height: auto;
    max-height: 130px;
    max-width: 100%;
    flex: 0 0 auto;
    object-fit: contain;
    filter: saturate(1.08) contrast(1.03);
    opacity: 1;
    transition: all 0.4s ease;
}

.row-1 .partners-marquee-content img {
    flex-basis: calc((100% - (8 * clamp(0.75rem, 1.6vw, 1.5rem))) / 9);
}

.row-2 .partners-marquee-content img {
    flex-basis: calc((100% - (7 * clamp(0.75rem, 1.6vw, 1.5rem))) / 8);
}

.partners-marquee-content img:hover {
    filter: saturate(1.18) contrast(1.08);
    opacity: 1;
    transform: scale(1.05);
}

.row-1 .partners-marquee-content {
    animation: partnersSlideLeft 30s linear infinite;
}

.row-2 .partners-marquee-content {
    animation: partnersSlideRight 35s linear infinite;
}

@keyframes partnersSlideLeft {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

@keyframes partnersSlideRight {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

.service-card {
    background: var(--navy);
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    transition: background 0.4s;
    cursor: pointer;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out-expo);
}

.service-card:hover {
    background: var(--navy-dark);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 1.25rem;
    transition: all 0.4s;
}

.service-icon svg,
.contact-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
    display: block;
}

.service-card:hover .service-icon {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
    transform: rotate(360deg);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.service-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

.service-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.2);
}

/* --- Values Section --- */
.values {
    background: var(--cream);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.values-list {
    margin-top: 4rem;
}

.value-item {
    border-top: 1px solid rgba(26, 54, 93, 0.1);
    padding: 2rem 0;
    display: grid;
    grid-template-columns: 80px 1fr 60px;
    align-items: center;
    gap: 2rem;
    cursor: pointer;
    transition: all 0.4s;
    position: relative;
}

.value-item:last-child {
    border-bottom: 1px solid rgba(26, 54, 93, 0.1);
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--navy);
    transition: width 0.6s var(--ease-out-expo);
    z-index: 0;
}

.value-item:hover::before {
    width: 100%;
}

.value-item:hover {
    padding-left: 2rem;
}

.value-item:hover .value-number,
.value-item:hover .value-title,
.value-item:hover .value-icon {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.value-number {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    color: var(--orange);
    font-weight: 600;
}

.value-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--navy);
}

.value-icon {
    font-size: 1.5rem;
    color: var(--gray-light);
    text-align: right;
}

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
}

.contact-info {
    padding: var(--container-padding);
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-details {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all 0.4s;
}

.contact-item:hover .contact-icon {
    background: var(--orange);
    color: var(--white);
    transform: rotateY(360deg);
}

.contact-text h4 {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-light);
    margin-bottom: 0.25rem;
}

.contact-text p {
    font-size: 1.125rem;
    color: var(--navy);
    font-weight: 500;
}

.contact-form-wrapper {
    background: var(--navy);
    padding: var(--container-padding);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--orange) 0%, transparent 70%);
    opacity: 0.1;
    pointer-events: none;
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.75rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 0;
    color: var(--white);
    font-size: 1.125rem;
    font-family: inherit;
    transition: border-color 0.4s;
    outline: none;
    border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-bottom-color: var(--orange);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: var(--orange);
    color: var(--white);
    border: none;
    padding: 1.25rem 3rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--white);
    transition: left 0.4s var(--ease-out-expo);
    z-index: 0;
}

.submit-btn:hover::before {
    left: 0;
}

.submit-btn:hover {
    color: var(--navy);
}

.submit-btn span {
    position: relative;
    z-index: 1;
}

footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: 6rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1.2fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.brand-col .footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(15, 39, 68, 0.12);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    mix-blend-mode: normal;
}

.brand-col .footer-logo img {
    height: 100%;
    width: auto;
    mix-blend-mode: normal;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--orange);
    border-color: var(--orange);
    transform: translateY(-3px);
}

.social-links a svg {
    width: 18px;
    height: 18px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--orange);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--orange);
    padding-left: 5px;
}

.footer-contact-info {
    list-style: none;
}

.footer-contact-info li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact-info i {
    width: 20px;
    height: 20px;
    color: var(--orange);
    flex-shrink: 0;
}

.footer-contact-info a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-info a:hover {
    color: var(--orange);
}

.newsletter-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 4px;
}

.newsletter-form input {
    background: transparent;
    border: none;
    padding: 0.75rem 1rem;
    color: var(--white);
    flex: 1;
    outline: none;
}

.newsletter-form button {
    background: var(--orange);
    color: var(--white);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--orange-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.loader {
    position: fixed;
    inset: 0;
    background: var(--navy);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
}

.loader.bg-dark-texture {
    background-color: var(--navy);
}

.loader-logo {
    height: auto;
    object-fit: contain;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    border-radius: 999px;
}

.loader-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: var(--orange);
}

@keyframes loaderPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }
}

/* --- Modern Services Layout --- */
.services-list {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 4rem;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.service-item:nth-child(even) {
    border-left: 1px solid rgba(26, 54, 93, 0.1);
    padding-left: 3rem;
}

.service-item:nth-last-child(2) {
    border-bottom: 1px solid rgba(26, 54, 93, 0.1);
}

.services-list .service-item:last-child,
.services-list .service-item:nth-last-child(2) {
    border-bottom: 1px solid rgba(26, 54, 93, 0.1);
}

.service-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 3rem;
    padding: 3rem 0;
    border-top: 1px solid rgba(26, 54, 93, 0.1);
    align-items: center;
    transition: background-color 0.25s ease, border-color 0.25s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.service-item:hover {
    background-color: rgba(26, 54, 93, 0.03);
    border-top-color: rgba(26, 54, 93, 0.22);
}

.service-item:last-child {
    border-bottom: 1px solid rgba(26, 54, 93, 0.1);
}

.services-list .coming-soon-preview,
.services-list .coming-soon-service {
    grid-column: 1 / -1;
    border-left: none !important;
    padding-left: 0 !important;
}

.services-list .coming-soon-preview .service-info > div,
.services-list .coming-soon-service .service-info > div {
    flex-wrap: wrap;
    row-gap: 0.5rem;
}

.custom-solution-section {
    padding-top: clamp(3.5rem, 7vw, 6.5rem);
    padding-bottom: clamp(4rem, 8vw, 7rem);
}

.service-num {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--orange);
}

.service-info h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.service-info p {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 800px;
}

.service-arrow {
    font-size: 2rem;
    color: var(--gray-light);
    transition: none;
}

/* Coming Soon Badge Animation */
@keyframes badgePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(221, 107, 32, 0.4);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(221, 107, 32, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(221, 107, 32, 0);
    }
}

.coming-soon-service span,
.coming-soon-preview span {
    animation: badgePulse 2s infinite;
}

/* --- Small 11-inch tablets and hybrid devices (1024px - 1100px) */
@media (max-width: 1100px) {
    .nav-links {
        gap: 1.2rem;
    }

    .nav-links a {
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
    }

    .container {
        max-width: 100%;
        padding: 0 1.5rem;
    }
}

/* --- Responsive --- */
/* 11-inch displays and small laptops (1280px - 1366px) */
@media (max-width: 1366px) {
    .container {
        max-width: 1200px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 5vw, 5rem);
    }

    .hero-desc {
        max-width: 650px;
        font-size: clamp(1rem, 1.8vw, 1.15rem);
    }

    .about-grid {
        grid-template-columns: 1fr 0.9fr;
        gap: 3rem;
    }

    .about-text {
        font-size: 1.05rem;
        line-height: 1.7;
    }

    .service-item {
        grid-template-columns: 50px 1fr 30px;
        gap: 1.5rem;
    }

    .section-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }
}

/* Tablets and small laptops */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .leadership-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .leadership-photo-wrap {
        max-width: 680px;
        width: 100%;
        margin: 0 auto;
    }

    .about-image {
        height: 400px;
        order: -1;
    }

    .value-item {
        grid-template-columns: 50px 1fr 40px;
    }

    .value-title {
        font-size: 1.25rem;
    }

    .contact-info {
        padding: 4rem 2rem;
    }

    .contact-form-wrapper {
        padding: 4rem 2rem;
    }
}

@media (max-width: 900px) {
    /* Switch to mobile navigation */
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: inline-flex;
    }

    .services-list {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .service-item:nth-child(even) {
        border-left: none;
        padding-left: 0;
    }

    .hero-floating-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .hero-actions {
        margin-bottom: 4rem;
    }
}

.loader-brand {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo {
    height: 50px;
    width: auto;
}

@media (max-width: 768px) {
    :root {
        --section-gap: 4rem;
    }

    .nav {
        padding: 0.75rem var(--container-padding);
    }

    .nav-logo img {
        height: 40px;
    }

    .hero {
        align-items: flex-start;
        padding-top: 70px;
    }

    .hero-eyebrow {
        font-size: 0.72rem;
        letter-spacing: 0.14em;
        margin-bottom: 1.25rem;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .hero-eyebrow::before {
        width: 36px;
    }

    section {
        padding: var(--section-gap) 0;
    }

    .hero-title {
        font-size: clamp(2.2rem, 10vw, 2.8rem);
        margin-bottom: 1.25rem;
    }

    .hero-desc {
        font-size: 1rem;
        margin-bottom: 1.75rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .leadership-name {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .leadership-photo {
        min-height: 330px;
    }

    .leadership-quote,
    .leadership-cta {
        font-size: 1.08rem;
    }

    .stat-number {
        font-size: clamp(2rem, 9vw, 2.6rem);
    }

    .stat-label {
        letter-spacing: 0.08em;
    }

    .service-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 2rem 0;
    }

    .service-arrow {
        display: none;
    }

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

    /* Partners Mobile View */
    .partners-marquee-container {
        margin-top: 2rem;
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .partners-marquee {
        display: block;
        width: 100%;
        overflow: visible;
        margin: 0;
        gap: 0;
    }

    .partners-marquee-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        width: 100%;
        min-width: auto;
        animation: none !important;
        justify-items: center;
        padding: 1rem 0;
    }

    .partners-marquee.row-2 {
        display: block;
    }

    .partners-marquee-content img {
        width: 100%;
        height: auto;
        max-height: 120px;
        flex: 0 0 auto;
        filter: grayscale(0);
        /* Show colors on mobile as it's harder to hover */
        opacity: 0.9;
        max-width: 100%;
        object-fit: contain;
    }

    /* Ensure first row content is only original logos, hide the duplicate clones */
    .partners-marquee-content:nth-child(2),
    .partners-marquee-content:last-child {
        display: none;
    }

    .about-grid {
        gap: 3rem;
    }

    .about-image {
        height: 350px !important;
        box-shadow: 15px 15px 0px var(--orange) !important;
    }
}

.toast-root {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    pointer-events: none;
}

.toast {
    min-width: 240px;
    max-width: min(90vw, 420px);
    padding: 0.85rem 1rem;
    border-radius: 10px;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.35;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-success {
    background: linear-gradient(135deg, #0f9f4d, #22c55e);
}

.toast-error {
    background: linear-gradient(135deg, #b91c1c, #ef4444);
}

@media (max-width: 768px) {
    .toast-root {
        right: 0.75rem;
        left: 0.75rem;
        bottom: 0.75rem;
    }

    .toast {
        max-width: 100%;
        min-width: 0;
    }
}
