/* =====================================================
   GLOBAL EXPRESS MULTILOGISTICS - Optimized Theme
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap" rel="stylesheet');

:root {
    --primary: #1a365d;
    --secondary: #c8102e;
    --white: #ffffff;
    --off-white: #fafafa;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

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

html { scroll-behavior: smooth; }
/* World Map Background Container */
.world-map-bg {
    position: fixed;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    opacity: 0.08;
    pointer-events: none;
    z-index: -1;
    animation: worldMapMove 20s ease-in-out infinite;
    background-size: 80%;
    background-position: center;
    background-repeat: no-repeat;
}

@keyframes worldMapMove {
    0% { transform: scale(1) translate(0, 0); }
    25% { transform: scale(1.02) translate(-20px, -15px); }
    50% { transform: scale(1.04) translate(-30px, 0); }
    75% { transform: scale(1.02) translate(-20px, 15px); }
    100% { transform: scale(1) translate(0, 0); }
}


body {
    font-family: 'Inter', sans-serif;
    color: var(--gray-800);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: all 0.3s; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* =====================================================
   HEADER - Clean White
   ===================================================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 1px 0 var(--gray-200);
    padding: 0 5%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    height: 70px;
}


.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img { height: 55px; width: auto; }
.logo-right-img {
    height: 50px;
    width: auto;
}
.logo span { color: var(--secondary); }

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s;
}

.nav-links a:hover { color: var(--gray-900); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--gray-900); }
/* Remove right spacing and push items to edge */
.nav-links li:last-child {
    margin-right: 0 !important;
    padding-right: 0 !important;
    border-bottom: none;
}

.nav-links li:last-child img {
    height: 60px;
    margin-left: 10px;
    margin-right: 0;
}

/* Remove underline effect on image */
.nav-links li:last-child::after {
    display: none;
}
.nav-cta {
    background: var(--secondary) !important;
    color: var(--white) !important;
    padding: 10px 20px !important;
    border-radius: 4px;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: #a00d24 !important; }




/* No hover underline on logo */
.nav-logo-right a::after,
.nav-logo-right::after {
    display: none !important;
}
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    transition: all 0.3s;
}

/* =====================================================
   HERO - Constant Image Carousel
   ===================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    will-change: opacity;
}

.slide.active { opacity: 1; }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 35%, rgba(255,255,255,0.4) 70%, rgba(255,255,255,0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 20;
    max-width: 600px;
    padding-left: 5%;
}

.hero-badge {
    display: inline-block;
    color: var(--secondary);
    white-space: nowrap;
    font-size: clamp(0.7rem, 2vw, 1rem);
    
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    padding-left: 50px;
}

.hero-badge::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 40px;
    height: 1px;
    background: var(--secondary);
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--gray-900);
}

.hero p {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-btns { display: flex; gap: 15px; flex-wrap: wrap; }

.btn {
    padding: 14px 32px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
    border-radius: 4px;
}

.btn-primary:hover {
    background: #a00d24;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(200,16,46,0.2);
}

.btn-outline {
    background: transparent;
    color: var(--gray-800);
    border: 1px solid var(--gray-300);
    border-radius: 4px;
}

.btn-outline:hover {
    border-color: var(--gray-800);
    background: var(--gray-50);
}

.btn-secondary {
    background: var(--primary);
    color: var(--white);
    border-radius: 4px;
}

.btn-secondary:hover {
    background: #0f2544;
    transform: translateY(-2px);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 5%;
    z-index: 20;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--secondary);
    transform: scale(1.2);
}

/* =====================================================
   SECTIONS
   ===================================================== */
section { padding: 80px 0; }

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

.section-badge {
    display: inline-block;
    color: var(--secondary);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.3rem;
    color: var(--gray-900);
    margin-bottom: 15px;
}

.section-desc {
    color: var(--gray-600);
    font-size: 1.2rem;
}

/* =====================================================
   STATS BAR
   ===================================================== */
/* =====================================================
   STATS BAR - With Number Animation
   ===================================================== */
   .stats-bar {
    background: var(--primary);
    padding: 50px 0;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    color: var(--white);
}

.stat-item h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.stat-item p {
    font-size: 0.95rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-item.animate h3 {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delay */
.stat-item:nth-child(1).animate h3 { transition-delay: 0s; }
.stat-item:nth-child(2).animate h3 { transition-delay: 0.15s; }
.stat-item:nth-child(3).animate h3 { transition-delay: 0.3s; }
.stat-item:nth-child(4).animate h3 { transition-delay: 0.45s; }

/* Pulse effect on numbers */
@keyframes countPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.stat-item.animate h3 {
    animation: countPulse 0.5s ease-out 0.6s;
}
/* =====================================================
   ABOUT HOME
   ===================================================== */
.about-home {
    background: var(--white);
}

.about-home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-home-content .section-badge { text-align: left; }
.about-home-content .section-title { text-align: left; }

.about-home-content p {
    color: var(--gray-600);
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-features {
    margin: 25px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-800);
    font-weight: 700;
    font-size: 1.2rem;
    padding: 8px 0;
}

.check-icon {
    color: var(--secondary);
    font-weight: bold;
}

.about-home-img {
    position: relative;
}

.about-home-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.experience-float {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--secondary);
    color: var(--white);
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(200,16,46,0.3);
}

.experience-float h3 {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.9;
}

.experience-float p {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
}

/* =====================================================
   SERVICES HOME - With Horizontal Swipe on Mobile
   ===================================================== */
.services-home {
    background: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    transition: all 0.4s;
    border: 1px solid var(--gray-100);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-img {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(transparent, rgba(0,0,0,0.3));
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    font-size: 1.1rem;
    color: var(--gray-900);
    margin-bottom: 8px;
    font-weight: 600;
}

.service-content p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* =====================================================
   TIMELINE HOME
   ===================================================== */
.timeline-home {
    background: var(--white);
    overflow: hidden;
}

.timeline-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 0;
}

.timeline-track {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gray-200);
    transform: translateY(-50%);
    border-radius: 2px;
    overflow: hidden;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
    transition: width 1.5s ease;
}

.timeline-items {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.timeline-item {
    flex: 1;
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-marker {
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 3px solid var(--gray-300);
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
    z-index: 3;
    transition: all 0.3s;
}

.timeline-item.animate .timeline-marker {
    border-color: var(--secondary);
    background: var(--secondary);
    box-shadow: 0 0 0 6px rgba(200,16,46,0.2);
}

.timeline-content {
    background: var(--white);
    padding: 20px 15px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    margin-top: 15px;
    border: 1px solid var(--gray-100);
}

.timeline-content span {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 5px;
}

.timeline-content h4 {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.timeline-content p {
    font-size: 0.8rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* =====================================================
   PARTNERS
   ===================================================== */
.partners-section {
    background: var(--gray-50);
    padding: 60px 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.partner-item {
    background: var(--white);
    padding: 20px 15px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
}

.partner-item:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    transform: translateY(-3px);
}

/* =====================================================
   LICENSES SECTION
   ===================================================== */
   .licenses-section {
    background: var(--white);
    padding: 80px 0;
}

.licenses-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.license-item {
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.license-item:hover {
    border-color: var(--secondary);
    background: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.license-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, #2d4a7c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.license-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--white);
}

.license-item h4 {
    font-size: 0.95rem;
    color: var(--gray-900);
    margin-bottom: 5px;
}

.license-item p {
    font-size: 0.8rem;
    color: var(--gray-600);
}

/* License Modal */
.license-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.license-modal.active {
    display: flex;
}

.license-modal-content {
    background: var(--white);
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow: auto;
    position: relative;
}

.license-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.license-modal-img {
    width: 100%;
    padding: 20px;
}

.license-modal-img img {
    width: 100%;
    border-radius: 8px;
}

.license-modal-info {
    padding: 0 20px 20px;
    text-align: center;
}

.license-modal-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.license-modal-info p {
    color: var(--gray-600);
}


/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
    background: var(--primary);
    padding: 60px 0;
    margin-bottom: 40px;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
    flex-wrap: wrap;
    gap: 20px;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 5px;
}

.cta-content p { opacity: 0.8; }

.cta-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border-radius: 4px;
}

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 4px;
}

.btn-outline-white:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
}

/* =====================================================
   FOOTER
   ===================================================== */
   footer {
    background: linear-gradient(135deg, #a01025 0%, #152a4a 50%, #0a1120 100%);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo { display: inline-block; margin-bottom: 15px; color: var(--white); }
.footer-brand p { color: var(--gray-300); font-size: 0.9rem; line-height: 1.7; }

.footer-certifications {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.footer-certifications span {
    background: rgba(255,255,255,0.1);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--gray-300);
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a, .footer-links li { color: var(--gray-300); font-size: 0.9rem; }
.footer-links a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    text-align: center;
    color: var(--gray-300);
    font-size: 0.85rem;
}

/* =====================================================
   FLOATING BUTTONS
   ===================================================== */
.floating-btns {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.3s;
}

.float-btn svg { width: 24px; height: 24px; fill: var(--white); }
.float-btn.whatsapp { background: #25D366; }
.float-btn.phone { background: var(--secondary); }
.float-btn:hover { transform: scale(1.1); }

/* =====================================================
   PAGE HEADER
   ===================================================== */
.page-header {
    background: var(--gray-50);
    padding: 140px 0 60px;
    border-bottom: 1px solid var(--gray-200);
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.page-header p { color: var(--gray-600); }

/* =====================================================
   FORMS
   ===================================================== */
.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--gray-800);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s;
    background: var(--white);
}

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

/* =====================================================
   MOBILE SWIPE CAROUSEL
   ===================================================== */
.swipe-container {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 15px;
}

.swipe-container::-webkit-scrollbar {
    display: none;
}

.swipe-track {
    display: flex;
    gap: 15px;
}

.swipe-track > * {
    scroll-snap-align: start;
    flex-shrink: 0;
}

/* =====================================================
   RESPONSIVE - TABLET
   ===================================================== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .partners-grid { grid-template-columns: repeat(3, 1fr); }
    .licenses-grid { grid-template-columns: repeat(3, 1fr); }
    .nav-links { gap: 1rem; }
    .nav-links a { font-size: 0.8rem; }
}

/* =====================================================
   RESPONSIVE - MOBILE
   ===================================================== */
@media (max-width: 768px) {
    section { padding: 60px 0; }
    
    .mobile-menu-btn { display: flex; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        transition: right 0.3s;
        box-shadow: -5px 0 30px rgba(0,0,0,0.1);
        gap: 0;
        overflow-y: auto;
    }
    
    .nav-links.active { right: 0; }
    .nav-links li { width: 100%; border-bottom: 1px solid var(--gray-100); }
    .nav-links a { display: block; padding: 15px 0; color: var(--gray-800); font-size: 1rem; }
    .nav-cta { margin-top: 20px; text-align: center; }
    
    /* Hero Mobile */
    .hero { min-height: 100vh; min-height: 100svh; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    .hero-content { padding: 0 20px; max-width: 100%; }
    .hero-btns { flex-direction: column; }
    .hero-btns .btn { width: 100%; }
    .hero-badge { font-size: 0.7rem; letter-spacing: 1px; }
    .slider-dots { bottom: 100px; left: 50%; transform: translateX(-50%); }
    
    /* Section Headers */
    .section-title {
        font-size: 2.8rem; /* was 2.2rem */
    }
    .section-header { margin-bottom: 30px; }
    
    /* Stats */
    .stats-bar { padding: 40px 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .stat-item h3 { font-size: 2rem; }
    .stat-item p { font-size: 0.8rem; }
    
    /* About Home */
    .about-home-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-home-img img { height: 300px; }
    .experience-float { bottom: -15px; left: 50%; transform: translateX(-50%); }
    
    /* Services - Horizontal Swipe */
    .services-home .services-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        padding-bottom: 15px;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .services-home .services-grid::-webkit-scrollbar { display: none; }
    .services-home .services-grid { scrollbar-width: none; }
    
    .services-home .service-card {
        flex: 0 0 280px;
        scroll-snap-align: start;
    }
    
    /* Timeline Mobile */
    .timeline-wrapper { padding: 30px 0; }
    .timeline-track { display: none; }
    .timeline-items { 
        flex-direction: column; 
        gap: 20px;
    }
    .timeline-item { 
        text-align: left; 
        padding-left: 50px;
        opacity: 1;
        transform: none;
    }
    .timeline-marker { 
        position: absolute; 
        left: 0; 
        top: 0; 
        margin: 0;
        border-color: var(--secondary);
        background: var(--secondary);
    }
    .timeline-content { margin-top: 0; }
    .timeline-track-progress {
        transition: width 2.5s ease-in-out; /* was likely 1s or faster */
    }
    
    /* For mobile vertical timeline */
    @media (max-width: 768px) {
        .timeline-track-progress {
            transition: height 2.5s ease-in-out;
        }
    }
    
    /* Partners Mobile - Swipe */
    .partners-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        padding-bottom: 10px;
        margin: 30px -20px 0;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .partners-grid::-webkit-scrollbar { display: none; }
    .partners-grid { scrollbar-width: none; }
    
    .partner-item {
        flex: 0 0 150px;
        scroll-snap-align: start;
    }
    
    /* Licenses Mobile */
    .licenses-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        padding-bottom: 15px;
        margin: 40px -20px 0;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .licenses-grid::-webkit-scrollbar { display: none; }
    .licenses-grid { scrollbar-width: none; }
    
    .license-item {
        flex: 0 0 200px;
        scroll-snap-align: start;
    }
    
    /* CTA */
    .cta-content { 
        flex-direction: column; 
        text-align: center; 
    }
    .cta-btns { justify-content: center; width: 100%; }
    .cta-btns .btn { flex: 1; min-width: 140px; }
    
    /* Footer */
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .footer-certifications { justify-content: center; }
    
    /* Floating Buttons */
    .floating-btns { bottom: 15px; right: 15px; }
    .float-btn { width: 45px; height: 45px; }
    .float-btn svg { width: 20px; height: 20px; }
}

/* =====================================================
   SMALL MOBILE
   ===================================================== */
@media (max-width: 400px) {
    .hero h1 { font-size: 1.9rem; }
    .section-title { font-size: 1.6rem; }
    .stat-item h3 { font-size: 1.8rem; }
    
    .services-home .service-card { flex: 0 0 260px; }
    .license-item { flex: 0 0 180px; }
}
.section-title {
    font-size: 2.8rem; /* was 2.2rem */
}

h1 { font-size: 4rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 1.8rem; }

@media (max-width: 768px) {
    .section-title { font-size: 2rem; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
}
/* =====================================================
   NAV FIXES - Add at end of styles.css
   ===================================================== */

/* Remove all right spacing from nav */
header {
    padding: 0 20px 0 5% !important;
}

nav {
    max-width: 100% !important;
    margin: 0 !important;
    padding-right: 0 !important;
}

.nav-links {
    margin-right: 0 !important;
    padding-right: 0 !important;
}

/* AEO Logo in navbar */
.nav-logo-right {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-bottom: none !important;
    display: flex;
    align-items: center;
}

.nav-logo-right img {
    height: 30px !important;
    width: auto;
    margin: 0 !important;
}

/* Hide AEO logo on mobile */
@media (max-width: 768px) {
    .nav-logo-right {
        display: none !important;
    }
}
/* Logo on right side of header-logo */

/* Increase all paragraph text */
p {
    font-size: 1.2rem !important;
    line-height: 1.8;
}

.section-desc {
    font-size: 1.1rem;
}

/* Specific sections */
.about-home-content p,
.about-intro-text p,
.service-content p,
.leader-info p {
    font-size: 1.05rem;
}

.timeline-desc {
    font-size: 0.85rem !important;
}

.footer-links a, 
.footer-links li,
.footer-brand p {
    font-size: 0.95rem;
}

/* =====================================================
   LARGE SCREEN EXPANSION
   ===================================================== */

/* Increase container max-width for larger screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: 1500px;
    }
}

@media (min-width: 1920px) {
    .container {
        max-width: 1700px;
    }
}

/* Expand grids on larger screens */
@media (min-width: 1400px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .licenses-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .partners-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .stats-grid {
        gap: 60px;
    }
    
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    }
}

@media (min-width: 1600px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }
    
    .licenses-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 30px;
    }
    
    .license-item {
        padding: 35px 25px;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
}

@media (min-width: 1920px) {
    .services-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .licenses-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 40px;
    }
    
    .stats-grid {
        gap: 80px;
    }
    
    .stat-item h3 {
        font-size: 4rem;
    }
}
/* Full-width sections on large screens */
@media (min-width: 1400px) {
    .licenses-section .container,
    .partners-section .container,
    .stats-bar .container {
        max-width: 95%;
    }
}

/* =====================================================
   MOBILE SWIPE - ALL CARDS HORIZONTAL SCROLL
   ===================================================== */
@media (max-width: 768px) {
    /* Generic swipe container styles */
    .swipe-mobile {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        padding-bottom: 15px;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
        scrollbar-width: none;
    }
    
    .swipe-mobile::-webkit-scrollbar { display: none; }
    
    .swipe-mobile > * {
        flex: 0 0 280px;
        scroll-snap-align: start;
    }

    /* Licenses Pyramid - Swipable */
    .licenses-pyramid {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        padding: 20px;
        margin: 0 -20px;
        scrollbar-width: none;
    }
    
    .licenses-pyramid::-webkit-scrollbar { display: none; }
    
    .pyramid-row {
        display: contents;
    }
    
    .license-logo {
        flex: 0 0 180px;
        scroll-snap-align: start;
        min-width: 180px;
    }

    /* Gallery Grid - Swipable */
    /* Gallery Grid - 2 columns on mobile */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
    
    .gallery-item {
        height: 180px;
    }
    
    .gallery-item.featured {
        grid-column: span 1;
        grid-row: span 1;
    }

    /* Management Grid - Swipable */
    .management-grid {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        padding-bottom: 15px;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
        scrollbar-width: none;
    }
    
    .management-grid::-webkit-scrollbar { display: none; }
    
    .mgmt-card {
        flex: 0 0 200px;
        scroll-snap-align: start;
    }

    /* Branches Grid - Swipable */
    .branches-grid {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        padding-bottom: 15px;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
        scrollbar-width: none;
    }
    
    .branches-grid::-webkit-scrollbar { display: none; }
    
    .branch-card {
        flex: 0 0 160px;
        scroll-snap-align: start;
    }

    /* Leadership Roles Grid - Swipable */
    .roles-grid {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        padding-bottom: 15px;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
        scrollbar-width: none;
    }
    
    .roles-grid::-webkit-scrollbar { display: none; }
    
    .role-card {
        flex: 0 0 300px;
        scroll-snap-align: start;
    }
    
    .role-card.full-width {
        flex: 0 0 300px;
    }

    /* Values Grid - Swipable */
    .values-grid {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        padding-bottom: 15px;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
        scrollbar-width: none;
    }
    
    .values-grid::-webkit-scrollbar { display: none; }
    
    .value-card {
        flex: 0 0 280px;
        scroll-snap-align: start;
    }

    /* Scope Grid - Swipable */
    .scope-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        padding-bottom: 15px;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
        scrollbar-width: none;
    }
    
    .scope-grid::-webkit-scrollbar { display: none; }
    
    .scope-item {
        flex: 0 0 200px !important;
        width: 200px !important;
        scroll-snap-align: start;
    }

    /* Features Grid - Swipable */
    .features-grid {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 20px;
        padding-bottom: 15px;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
        scrollbar-width: none;
    }
    
    .features-grid::-webkit-scrollbar { display: none; }
    
    .feature-item {
        flex: 0 0 150px;
        scroll-snap-align: start;
    }

    /* Leadership Grid (Founders) - Swipable */
    .leadership-grid {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 20px;
        padding-bottom: 15px;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
        scrollbar-width: none;
        max-width: none;
    }
    
    .leadership-grid::-webkit-scrollbar { display: none; }
    
    .leader-card {
        flex: 0 0 300px;
        scroll-snap-align: start;
    }

    /* Track Grid - Swipable */
    .track-grid {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 20px;
        padding-bottom: 15px;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
        scrollbar-width: none;
    }
    
    .track-grid::-webkit-scrollbar { display: none; }
    
    .track-card {
        flex: 0 0 300px;
        scroll-snap-align: start;
    }

    /* Services Grid Page - Swipable */
    .services-grid-page {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 20px;
        padding-bottom: 15px;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
        scrollbar-width: none;
    }
    
    .services-grid-page::-webkit-scrollbar { display: none; }
    
    .service-box {
        flex: 0 0 300px;
        scroll-snap-align: start;
    }

    /* =====================================================
       FOOTER - SIMPLIFIED FOR MOBILE
       ===================================================== */
    footer {
        padding: 40px 0 20px;
    }
    
    .footer-grid {
        display: flex !important;
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    /* Hide extra footer columns on mobile - show only brand and contact */
    .footer-links:nth-child(2),
    .footer-links:nth-child(3) {
        display: none;
    }
    
    .footer-brand {
        order: 1;
    }
    
    .footer-brand .logo img {
        height: 50px;
    }
    
    .footer-brand p {
        font-size: 0.85rem;
        margin: 10px 0;
    }
    
    .footer-certifications {
        justify-content: center;
        gap: 8px;
    }
    
    .footer-certifications span {
        font-size: 0.7rem;
        padding: 4px 10px;
    }
    
    /* Show contact info */
    .footer-links:nth-child(4) {
        display: block;
        order: 2;
    }
    
    .footer-links h4 {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }
    
    .footer-links li {
        margin-bottom: 5px;
        font-size: 0.85rem;
    }
    
    .footer-bottom {
        padding-top: 15px;
        font-size: 0.75rem;
    }

    /* Swipe indicator hint */
    .swipe-hint {
        display: block;
        text-align: center;
        font-size: 0.75rem;
        color: var(--gray-400);
        margin-top: 10px;
    }
    
    .swipe-hint::before {
        content: '← Swipe →';
    }
}

/* Hide swipe hint on desktop */
@media (min-width: 769px) {
    .swipe-hint {
        display: none;
    }
}

@media (max-width: 768px) {
    /* Why Join Grid - Swipable */
    .why-join-grid {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        padding-bottom: 15px;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
        scrollbar-width: none;
    }
    
    .why-join-grid::-webkit-scrollbar { display: none; }
    
    .why-card {
        flex: 0 0 260px;
        scroll-snap-align: start;
    }
}

@media (max-width: 768px) {
    /* Culture section - stack on mobile */
    .culture-grid {
        display: flex !important;
        flex-direction: column;
        gap: 30px;
    }
    
    /* Culture Images - Swipable */
    .culture-images {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        padding-bottom: 15px;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
        scrollbar-width: none;
    }
    
    .culture-images::-webkit-scrollbar { display: none; }
    
    .culture-img {
        flex: 0 0 250px;
        scroll-snap-align: start;
        height: 180px;
    }
    
    .culture-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 12px;
    }
}

.footer-brand {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.footer-brand .logo {
    display: block;
    margin: 0 auto 20px;
}



.footer-brand p {
    text-align: center;
}

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

.footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-links {
    padding-left: 30px;
    padding-top:40px;
}
