/* ================================
   ROOT VARIABLES
   ================================ */
:root {
    /* Colors */
    --black: #000000;
    --charcoal: #1a1a1a;
    --gray-dark: #333333;
    --gray-medium: #666666;
    --gray-light: #999999;
    --gray-lighter: #cccccc;
    --off-white: #f5f5f5;
    --white: #ffffff;
    --accent: #012E4F;
    --accent-hover: #013a63;
    
    /* Typography */
    --font-primary: 'Mozilla Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-logo: 'Poppins', sans-serif;
    
    /* Spacing (8px base unit) */
    --space-unit: 0.5rem;
    --space-xs: calc(var(--space-unit) * 1);   /* 8px */
    --space-sm: calc(var(--space-unit) * 2);   /* 16px */
    --space-md: calc(var(--space-unit) * 3);   /* 24px */
    --space-lg: calc(var(--space-unit) * 4);   /* 32px */
    --space-xl: calc(var(--space-unit) * 6);   /* 48px */
    --space-2xl: calc(var(--space-unit) * 8);  /* 64px */
    --space-3xl: calc(var(--space-unit) * 12); /* 96px */
    
    /* Semantic spacing */
    --section-padding: var(--space-2xl);
    --section-padding-lg: var(--space-3xl);
    --card-padding: var(--space-lg);
    --card-padding-sm: var(--space-md);
    --grid-gap: var(--space-md);
    --grid-gap-lg: var(--space-lg);
    --text-margin: var(--space-md);
    --nav-gap: var(--space-lg);
    
    /* Layout */
    --nav-height: 72px;
    --container-padding: var(--space-md);
    --container-max: 1600px;
}

/* ================================
   RESET & BASE
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--charcoal);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ================================
   TYPOGRAPHY
   ================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--black);
    margin-bottom: var(--text-margin);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--accent);
    margin-bottom: var(--space-lg);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--space-md);
}

h4 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-dark);
    margin-bottom: var(--text-margin);
}

*:last-child {
    margin-bottom: 0;
}

.text-large {
    font-size: 1.125rem;
    line-height: 1.8;
}

.text-small {
    font-size: 0.875rem;
    letter-spacing: 0.01em;
}

/* ================================
   NAVIGATION
   ================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px) saturate(200%);
    -webkit-backdrop-filter: blur(10px) saturate(200%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    z-index: 100;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px) saturate(200%);
    -webkit-backdrop-filter: blur(15px) saturate(200%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-logo);
    font-size: 1.25rem;
    font-weight: 700;
    font-style: italic;
    letter-spacing: -0.02em;
    color: var(--accent);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--nav-gap);
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray-dark);
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link-button {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--white);
    background: var(--accent);
    padding: var(--space-xs) var(--space-md);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.nav-link-button:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--accent);
    position: absolute;
    left: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle span:first-child {
    top: 8px;
}

.menu-toggle span:nth-child(2) {
    top: 14px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.menu-toggle span:last-child {
    bottom: 8px;
}

/* Hamburger to X animation - with smoother transition */
.menu-toggle.active span:first-child {
    transform: rotate(45deg);
    top: 14px;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0); /* Add scale for smoother fade */
}

.menu-toggle.active span:last-child {
    transform: rotate(-45deg);
    bottom: 14px;
}

/* Optional: Adjust transition timing for smoother animation */
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--accent);
    position: absolute;
    left: 3px;
    transition: all 0.25s ease; /* Slightly faster transition */
    transform-origin: center;
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    padding-bottom: var(--section-padding-lg);
    position: relative;
    background: var(--white);
}

.hero-content {
    padding: var(--space-2xl) 0;
}

.hero-subtitle {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--gray-dark);
    max-width: 650px;
    margin-bottom: var(--space-xl);
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

/* ================================
   BUTTONS
   ================================ */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-text:hover {
    gap: var(--space-sm);
    color: var(--accent-hover);
}

.btn-text::after {
    content: '→';
    display: inline-block;
    transition: transform 0.2s ease;
}

/* ================================
   SECTIONS
   ================================ */
section {
    padding: var(--section-padding) 0;
    position: relative;
    width: 100%;
}

section.section-large {
    padding: var(--section-padding-lg) 0;
}

/* Full-width backgrounds */
.hero,
.value-props,
.how-it-works,
.stats-bar,
.cta,
.logo-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.section-header {
    margin-bottom: var(--space-2xl);
}

.section-subtitle {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

/* ================================
   VALUE PROPOSITION
   ================================ */
.value-props {
    background: var(--off-white);
}

.comparison-visual {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--grid-gap-lg);
    align-items: center;
    margin-bottom: var(--space-2xl);
}

.traditional-way, 
.passthru-way {
    background: var(--white);
    padding: var(--card-padding);
    text-align: center;
    position: relative;
}

.traditional-way {
    opacity: 0.8;
}

.way-label {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}

.traditional-way .way-label {
    color: var(--gray-medium);
}

.passthru-way .way-label {
    color: var(--accent);
}

.flow-diagram {
    padding: var(--space-md) 0;
    margin: var(--space-md) 0;
}

.flow-step {
    padding: var(--space-sm);
    margin: var(--space-xs) 0;
    background: var(--off-white);
    font-size: 0.9375rem;
}

.flow-step.unknown {
    background: #fff5e6;
    color: #996600;
    border: 1px dashed var(--gray-lighter);
}

.flow-step.verified {
    background: #e6f4ea;
    color: #0d652d;
    border: 1px solid #34a853;
}

.vs-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent);
    padding: var(--space-md);
}

.comparison-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap-lg);
}

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

/* ================================
   OFFERINGS
   ================================ */
.offerings {
    background: var(--white);
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--grid-gap);
    margin-top: var(--space-2xl);
}

.offering-card {
    background: var(--white);
    padding: var(--card-padding);
    border: 1px solid var(--gray-lighter);
}

.offering-label {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.offering-features {
    list-style: none;
    margin-bottom: var(--space-lg);
}

.offering-features li {
    padding: var(--space-sm) 0;
    font-size: 0.9375rem;
    color: var(--gray-dark);
    border-bottom: 1px solid var(--off-white);
}

.offering-features li:last-child {
    border-bottom: none;
}

/* ================================
   HOW IT WORKS
   ================================ */
.how-it-works {
    background: var(--off-white);
}

.process-tabs {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.tab-button {
    padding: var(--space-sm) var(--space-lg);
    background: transparent;
    border: 1px solid var(--gray-lighter);
    color: var(--gray-dark);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-button:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.tab-button.active {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap-lg);
}

.process-item {
    background: var(--white);
    padding: var(--card-padding);
    text-align: center;
}

.process-number {
    font-size: 2rem;
    font-weight: 200;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

/* ================================
   PARTNERS
   ================================ */
.partners {
    background: var(--white);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.partner-category {
    margin-bottom: var(--space-2xl);
}

.partner-category:last-child {
    margin-bottom: 0;
}

.partner-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background: transparent;
}

.partner-item {
    background: var(--white);
    padding: var(--card-padding-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.partner-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--black);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.partner-item:hover::before {
    opacity: 0.03;
}

.partner-logo {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-xs);
    position: relative;
    z-index: 1;
}

.partner-logo svg,
.partner-logo img {
    max-width: 90%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-item:hover .partner-logo svg,
.partner-item:hover .partner-logo img {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-logo.carrier-logo img {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-item:hover .partner-logo.carrier-logo img {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-subtitle {
    font-size: 0.875rem;
    color: var(--gray-medium);
    text-align: center;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.partner-subtitle strong {
    display: block;
    color: var(--gray-dark);
    font-weight: 500;
}

/* ================================
   CAPACITY MAP
   ================================ */
.capacity-map {
    background: var(--white);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.map-container {
    position: relative;
    margin-top: var(--space-2xl);
}

#map {
    width: 100%;
    height: 600px;
    background: var(--off-white);
    border: 1px solid var(--gray-lighter);
    position: relative;
    z-index: 1;
}

.map-legend {
    position: absolute;
    bottom: var(--space-lg);
    right: var(--space-lg);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--space-md);
    border: 1px solid var(--gray-lighter);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.map-legend h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.legend-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    color: var(--gray-dark);
}

.legend-dot {
    display: inline-block;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.7;
    border: 2px solid var(--white);
    box-shadow: 0 2px 8px rgba(1, 46, 79, 0.3);
}

.legend-dot.large {
    width: 20px;
    height: 20px;
}

.legend-dot.medium {
    width: 16px;
    height: 16px;
}

.legend-dot.small {
    width: 12px;
    height: 12px;
}

/* Custom marker styles */
.leaflet-marker-icon.capacity-marker {
    background: var(--accent);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(1, 46, 79, 0.4);
}

.leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.leaflet-popup-content {
    margin: var(--space-sm);
    font-family: var(--font-primary);
}

.popup-content h4 {
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.popup-content p {
    font-size: 0.875rem;
    color: var(--gray-dark);
    margin: 0;
}

.popup-content .truck-count {
    font-weight: 600;
    color: var(--black);
}

/* ================================
   STATS BAR
   ================================ */
.stats-bar {
    background: var(--accent);
    color: var(--white);
    padding: var(--space-2xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap-lg);
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ================================
   CTA SECTION
   ================================ */
.cta {
    background: var(--off-white);
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--grid-gap-lg);
    margin-top: var(--space-2xl);
}

.cta-card {
    background: var(--white);
    padding: var(--card-padding);
    border: 1px solid var(--gray-lighter);
    transition: all 0.3s ease;
}

.cta-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(1, 46, 79, 0.1);
}

.cta-badge {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.cta-features {
    list-style: none;
    margin-bottom: var(--space-lg);
}

.cta-features li {
    padding: var(--space-xs) 0;
    font-size: 0.9375rem;
    color: var(--gray-dark);
}

/* ================================
   MODALS
   ================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
    padding: var(--space-lg) 0;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    padding: var(--space-xl);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin: auto;
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-medium);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    color: var(--black);
    transform: rotate(90deg);
}

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

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--space-xs);
    color: var(--gray-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-sm);
    border: 1px solid var(--gray-lighter);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.modal-form .btn-primary {
    width: 100%;
    margin-top: var(--space-sm);
}

.form-success {
    background: #e6f4ea;
    color: #0d652d;
    padding: var(--space-md);
    text-align: center;
    margin-top: var(--space-md);
}

.form-error {
    background: #fce8e6;
    color: #d93025;
    padding: var(--space-md);
    text-align: center;
    margin-top: var(--space-md);
}

/* ================================
   FOOTER
   ================================ */
footer {
    background: var(--accent);
    padding: var(--section-padding) 0 0 0;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: 40vw 1fr 1fr 1.5fr;
    gap: var(--space-xl);
    align-items: start;
    padding-bottom: var(--space-xl);
    position: relative;
    z-index: 2;
}

/* Logo Column */
.footer-logo-column {
    width: 200px;
}

.footer-logo {
    width: 200px;
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    transition: transform 0.3s ease;
    padding-top: 0;
    margin-top: 0;
    filter: brightness(0) invert(1);
}

.footer-logo:hover {
    transform: translateY(-2px);
}

.footer-logo img {
    max-width: 100%;
    max-height: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Column Headers */
.nav-column h4,
.connect-column h4,
.leadership-column h4 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-sm);
    color: var(--white);
    padding-bottom: 0;
}

/* Company Column */
.nav-column ul {
    list-style: none;
}

.nav-column li {
    margin-bottom: 12px;
}

.nav-column li:last-child {
    margin-bottom: 0;
}

.nav-column a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    position: relative;
    display: inline-block;
}

.nav-column a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: width 0.2s ease;
}

.nav-column a:hover {
    color: var(--white);
}

.nav-column a:hover::before {
    width: 100%;
}

/* Connect Column */
.connect-column ul {
    list-style: none;
}

.connect-column li {
    margin-bottom: 12px;
}

.connect-column li:last-child {
    margin-bottom: 0;
}

.connect-column a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.connect-column a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.social-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    transition: all 0.2s ease;
}

.connect-column a:hover .social-icon {
    background: var(--white);
    color: var(--accent);
}

/* Footer CTA */
.footer-cta {
    margin-top: var(--space-sm);
}

.btn-footer-primary {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background: var(--white);
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-footer-primary:hover {
    background: var(--off-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Leadership Column */
.leadership-info p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
}

.leadership-companies {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.company-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    font-size: 0.875rem;
    color: var(--white);
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.company-badge:hover {
    background: var(--white);
    color: var(--accent);
    border-color: var(--white);
    transform: translateX(4px);
}

.footer-bottom {
    padding: var(--space-md) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    position: relative;
    z-index: 2;
}

.footer-brand {
    text-align: center;
    font-family: var(--font-logo);
    font-size: clamp(10rem, 18vw, 25rem);
    font-weight: 900;
    font-style: italic;
    letter-spacing: -0.02em;
    line-height: 0.7;
    color: var(--white);
    opacity: 0.05;
    text-transform: uppercase;
    user-select: none;
    pointer-events: none;
    padding-top: var(--space-lg);
    padding-bottom: 0;
    margin-bottom: -2rem;
}

/* ================================
   ANIMATIONS
   ================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger {
    transition-delay: 0.1s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   PARTNERSHIP BANNER
   ================================ */
.partnership-banner {
    background: var(--accent);
    padding: var(--space-sm) 0;
    position: relative;
    z-index: 101;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.partnership-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.banner-icon img {
    max-width: 50px;
    height: auto;
    filter: brightness(0) invert(1);
}

.banner-text {
    font-size: 0.9375rem;
    color: var(--white);
}

.banner-text strong {
    font-weight: 600;
    color: var(--white);
}

.banner-text p {
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.close-banner {
    background: transparent;
    border: none;
    font-size: 1.75rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 0 var(--space-xs);
    transition: color 0.2s ease;
}

.close-banner:hover {
    color: var(--white);
}

nav {
    transition: top 0.3s ease-in-out;
}

.mobile-banner-text {
    display: none;
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 992px) {
    :root {
        --space-unit: 0.375rem; /* Scale down for mobile */
        --container-padding: var(--space-sm);
    }
    
    /* Mobile Navigation */
    .nav-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: calc(var(--nav-height) + 10px);
        right: -100%;
        width: 250px;
        max-height: calc(100vh - var(--nav-height) - 20px);
        background: rgba(255, 255, 255, 0.99);
        -webkit-backdrop-filter: blur(15px) saturate(200%);
        backdrop-filter: blur(15px) saturate(200%);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.5);
        border-radius: 8px;
        z-index: 100;
        transition: right 0.3s ease;
        overflow-y: auto;
        padding: 0;
        gap: 0; /* Remove gap in mobile */
    }

    .nav-menu.active {
        right: 10px;
    }

    /* Style all nav links for mobile */
    .nav-link,
    .nav-link-button {
        display: block;
        width: 100%;
        padding: 14px var(--space-md);
        font-size: 0.875rem;
        text-align: left;
        transition: background-color 0.2s ease;
        text-decoration: none;
    }

    /* Hover states */
    .nav-link:hover {
        background: var(--off-white);
        color: var(--accent);
    }

    /* Special styling for the button */
    .nav-link-button {
        text-align: center;
        background: var(--accent);
        color: var(--white);
        border-bottom: none;
        margin-top: var(--space-xs);
    }

    .nav-link-button:hover {
        background: var(--accent-hover);
        color: var(--white);
    }

    .menu-toggle {
        display: block;
    }
    
    /* Mobile Typography */
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 1.125rem;
    }

    /* Mobile Hero */
    .hero {
        min-height: auto;
        padding-top: calc(var(--nav-height) + var(--space-lg));
        padding-bottom: var(--space-2xl);
    }

    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    /* Mobile Grid Layouts */
    .offerings-grid,
    .process-grid,
    .cta-grid,
    .comparison-benefits,
    .comparison-visual {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .process-tabs {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partner-item {
        min-height: 120px;
    }

    .partner-subtitle {
        font-size: 0.8125rem;
    }

    .vs-divider {
        padding: var(--space-md) 0;
    }

    /* Mobile Modal */
    .modal-content {
        padding: var(--space-lg);
        width: 95%;
    }

    /* Mobile Footer */
    footer {
        padding: var(--section-padding) 0 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        padding-bottom: var(--space-lg);
        text-align: left;
    }
    
    .footer-logo-column {
        margin: 0;
    }
    
    .footer-logo {
        width: 120px;
        height: 120px;
        justify-content: flex-start;
    }
    
    .nav-column h4,
    .connect-column h4,
    .leadership-column h4 {
        text-align: left;
    }
   
    .nav-column a::before {
        display: none;
    }
   
    .connect-column a {
        justify-content: flex-start;
    }
   
    .company-badge {
        justify-content: flex-start;
    }
   
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        align-items: flex-start;
        text-align: left;
        padding: var(--space-md) 0;
    }
   
    .footer-brand {
        font-size: clamp(4rem, 12.5vw, 15rem);
        padding-top: var(--space-lg);
        margin-bottom: -0.5rem;
    }      
    
    /* Mobile Map */
    #map {
        height: 400px;
    }

    .map-legend {
        position: static;
        margin-top: var(--space-md);
        right: auto;
        bottom: auto;
    }

   /* Mobile Banner */
   .desktop-banner-text {
        display: none;
    }
    .mobile-banner-text {
        display: block;
    }
}
