:root {
            --primary: #1F3C5F;
            --secondary: #6BA2D9;
            --accent: #F57C51;
            --text: #333333;
            --light-bg: #F5F5F5;
            --white: #FFFFFF;
}
        
* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
        
/* Color Palette */
:root {
    --primary: #1F3C5F;
    --secondary: #6BA2D9;
    --accent: #F57C51;
    --text: #333333;
    --light-bg: #F5F5F5;
    --white: #FFFFFF;
    --neon-yellow: #FFFF00;
    
    /* Native Social Media Colors */
    --strava-orange: #FC4C02;
    --instagram-gradient: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    --facebook-blue: #1877F2;
    --garmin-blue: #007CC3;
}

.top-bar {
    background-color: var(--neon-yellow);
    color: var(--text);
    padding: 8px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    flex-wrap: wrap;
    gap: 10px; 
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

 .events-dropdown {
position: relative;
flex: 1;
min-width: 200px;
}

.dropdown-toggle {
background: linear-gradient(to right, var(--primary), var(--secondary));
color: var(--white);
border: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
font-size: 14px;
padding: 8px 16px;
border-radius: 25px;
transition: all 0.3s ease;
box-shadow: 0 2px 8px rgba(31, 60, 95, 0.3);
}

.dropdown-toggle:hover {
background: linear-gradient(to right, var(--secondary), var(--accent));
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(31, 60, 95, 0.4);
}

.dropdown-toggle span {
font-weight: bold;
}

.dropdown-toggle i {
transition: transform 0.3s ease;
}

.events-dropdown.active .dropdown-toggle i {
transform: rotate(180deg);
}

.dropdown-menu {
display: none;
position: absolute;
top: 100%;
left: 0;
background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
box-shadow: 0 8px 25px rgba(31, 60, 95, 0.2);
border-radius: 12px;
padding: 20px;
max-width: 350px;
z-index: 1000;
margin-top: 32px;
border: 2px solid var(--secondary);
opacity: 0;
transform: translateY(-10px);
transition: opacity 0.3s ease, transform 0.3s ease;
}

.events-dropdown.active .dropdown-menu {
display: block;
opacity: 1;
transform: translateY(0);
}

.event-item {
display: flex;
justify-content: space-between;
align-items: flex-start;
padding: 15px;
border-radius: 8px;
margin-bottom: 12px;
transition: all 0.3s ease;
background: var(--white);
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
border-left: 4px solid var(--primary);
}

.event-item:hover {
transform: translateX(5px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
border-left: 4px solid var(--accent);
}

.event-item:last-child {
margin-bottom: 0;
}

.event-details {
flex: 1;
margin-right: 15px;
}

.event-title {
font-weight: bold;
color: var(--primary);
display: block;
margin-bottom: 5px;
font-size: 15px;
}

.event-register-btn {
background: linear-gradient(135deg, var(--primary), var(--secondary));
color: var(--white);
border: none;
padding: 8px 16px;
border-radius: 20px;
font-size: 12px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
text-decoration: none;
white-space: nowrap;
box-shadow: 0 2px 8px rgba(31, 60, 95, 0.3);
}

.event-register-btn:hover {
background: linear-gradient(135deg, var(--secondary), var(--accent));
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(31, 60, 95, 0.4);
}

/* Content for demonstration */
        .content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        .content h1 {
            color: var(--primary);
            margin-bottom: 20px;
        }
        
        .content p {
            line-height: 1.6;
            margin-bottom: 15px;
        }

        /* Responsive adjustments */
        @media (max-width: 991px) {
            .events-dropdown {
                min-width: auto;
                order: 1;
                width: 100%;
                margin-bottom: 10px;
                margin-left: 0px;
                margin-top: 20px;
            }
            
            .dropdown-toggle {
                justify-content: center;
                width: 100%; 
            }
            
            .dropdown-menu {
                left: 50%;
                transform: translateX(-50%) ;
                min-width: 90%;
                max-width: 400px;
            }
            
            .events-dropdown.active .dropdown-menu {
                transform: translateX(-50%) translateY(0);
            }
        }

        @media (max-width: 575px) {
            .event-item {
                flex-direction: column;
                text-align: center;
            }
            
            .event-details {
                margin-right: 0;
                margin-bottom: 10px;
            }
            
            .btn-text-short {
                display: inline;
            }
            
            .btn-text-full {
                display: none;
            }
        }

.next-event {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 300px;
}

.next-event span {
    font-weight: bold;
    margin-right: 10px;
    color: var(--primary);
}

.contact-social {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.phone {
    display: flex;
    align-items: center;
    color: var(--text);
}

.phone i {
    margin-right: 5px;
    color: var(--primary);
}

.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icons a {
    transition: transform 0.3s ease, filter 0.3s ease;
    text-decoration: none;
    font-size: 18px;
}

.social-icons a:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

/* Native Social Media Colors */
.strava-icon {
    color: var(--strava-orange) !important;
}

.instagram-icon {
    background: var(--instagram-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.facebook-icon {
    color: var(--facebook-blue) !important;
}

.garmin-icon {
    color: var(--garmin-blue) !important;
}

/* Register Button */ 
.register-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(31, 60, 95, 0.2);
    white-space: nowrap;
    text-decoration: none; /* 👈 Remove underline for anchor elements */
    margin-right: 20px;
}

.register-btn:hover {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31, 60, 95, 0.3);
    text-decoration: none;
}

.register-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(31, 60, 95, 0.2);
}

 

.member-btn {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(31, 60, 95, 0.2);
    white-space: nowrap;
    text-decoration: none; /* 👈 Remove underline for anchor elements */
}
.member-btn:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31, 60, 95, 0.3);
    text-decoration: none;
}
.member-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(31, 60, 95, 0.2);
}

/* Responsive Text Control */
.btn-text-full {
    display: inline;
}

.btn-text-short {
    display: none;
}

/* Large Desktop - 1200px and up */
@media (min-width: 1200px) {
    .top-bar {
        padding: 10px 8%;
        font-size: 15px;
    }
    
    .contact-social {
        gap: 25px;
    }
    
    .social-icons {
        gap: 18px;
    }
    
    .social-icons a {
        font-size: 20px;
    }
    
    .register-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Desktop - 992px to 1199px */
@media (max-width: 1199px) and (min-width: 992px) {
    .top-bar {
        padding: 8px 6%;
    }
    
    .contact-social {
        gap: 18px;
    }
    
    .social-icons {
        gap: 12px;
    }
}

/* Tablet - 768px to 991px */
@media (max-width: 991px) and (min-width: 768px) {
    .top-bar {
        padding: 8px 4%;
        font-size: 13px;
        gap: 15px;
    }
    
    .next-event {
        min-width: 250px;
        flex: 1;
    }
    
    .contact-social {
        gap: 15px;
        justify-content: flex-end;
    }
    
    .social-icons {
        gap: 10px;
    }
    
    .social-icons a {
        font-size: 16px;
    }
    
    .register-btn {
        padding: 7px 14px;
        font-size: 12px;
    }
}

/* Large Mobile - 576px to 767px */
@media (max-width: 767px) and (min-width: 576px) {
    .top-bar {
        padding: 10px 3%;
        font-size: 13px;
        gap: 12px;
        flex-direction: column;
        align-items: stretch;
    }
    
    .next-event {
        min-width: auto;
        justify-content: center;
        text-align: center;
        order: 1;
    }
    
    .contact-social {
        order: 2;
        justify-content: center;
        gap: 20px;
        margin-top: 5px;
    }
    
    .phone {
        order: 1;
    }
    
    .social-icons {
        order: 2;
        gap: 15px;
    }
    
    .register-btn {
        order: 3;
        padding: 8px 16px;
        font-size: 12px;
        align-self: center;
    }
}

/* Small Mobile - 480px to 575px */
@media (max-width: 575px) and (min-width: 480px) {
    .top-bar {
        padding: 12px 4%;
        font-size: 12px;
        gap: 10px;
        flex-direction: column;
    }
    
    .next-event {
        min-width: auto;
        justify-content: center;
        text-align: center;
    }
    
    .next-event span {
        margin-right: 8px;
    }
    
    .contact-social {
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .phone {
        margin-bottom: 8px;
        justify-content: center;
    }
    
    .social-icons {
        gap: 12px;
        justify-content: center;
    }
    
    .social-icons a {
        font-size: 16px;
    }
    
    .register-btn {
        padding: 8px 14px;
        font-size: 11px;
        margin-top: 5px;
        align-self: center;
    }
    
    .btn-text-short {
        display: inline;
    }
    
    .btn-text-full {
        display: none;
    }
}

/* Extra Small Mobile - up to 479px */
@media (max-width: 479px) {
    .top-bar {
        padding: 10px 3%;
        font-size: 15px;
        gap: 8px;
        flex-direction: column;
        text-align: center; 
    }
    
    .next-event {
        min-width: auto;
        flex-direction: column;
        gap: 5px;
    }
    
    .next-event span {
        margin-right: 0;
        margin-bottom: 3px;
    }
    
    .contact-social {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .phone {
        justify-content: center;
        font-size: 11px;
    }
    
    .phone i {
        margin-right: 4px;
    }
    
    .social-icons {
        gap: 15px;
        justify-content: center;
    }
    
    .social-icons a {
        font-size: 18px;
        padding: 8px;
        min-width: 40px;
        min-height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .register-btn {
        padding: 10px 16px;
        font-size: 11px;
        margin-top: 5px;
        width: fit-content;
        align-self: center;
    }
    
    .btn-text-short {
        display: inline;
    }
    
    .btn-text-full {
        display: none;
    }
}

        
/* Main Header */
header {
            background-color: var(--white);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);  
}
        
.header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 5%; 
            margin: 0 auto;
}
        
.logo {
            height: 100px;
}
        
.nav-links {
            display: flex;
            list-style: none;
}
        
.nav-links li {
            margin-left: 30px;
            position: relative;
}
        
.nav-links a {
            text-decoration: none;
            color: var(--primary);
            font-weight: 600;
            transition: color 0.3s;
            padding: 5px 0;
}
        
.nav-links a:hover {
            color: var(--accent);
}
        
.nav-links li.active a {
            color: var(--accent);
}
        
.nav-links li.active::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: var(--accent);
}

/* Cart Link Special Styling */
.cart-item .nav-link {
    position: relative;
    padding: 12px;
    border-radius: 50%;
    background: var(--light-bg);
    transition: all 0.3s ease;
}

.cart-item .nav-link:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}
 

.cta-button {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: var(--white);
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(107, 162, 217, 0.4);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(107, 162, 217, 0.5);
    background: linear-gradient(135deg, var(--accent), var(--secondary));
}

.cta-button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(107, 162, 217, 0.3);
}

.cta-button i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: scale(1.1);
}

.cta-button span {
    font-weight: 700;
    position: relative;
    z-index: 1;
}
        
/* Mobile Menu Styles */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 3.8rem;
    padding: 10px;
    z-index: 1001;
    transition: all 0.3s ease;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 50px;
    margin-right: 60px;
}

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

.hamburger.active {
    color: var(--accent);
}

/* Hamburger Lines */
.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: currentColor;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(31, 60, 95, 0.45); /* tinted with --primary */
    backdrop-filter: blur(4px);
    z-index: 1200; /* sit above page content */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Compact, elevated mobile menu using core colors */
.mobile-menu {
    position: fixed;
    top: 80px;                       /* leave space for top bar */
    right: -320px;
    width: 280px;                    /* slightly narrower */
    height: calc(100vh - 100px);     /* shorter than full height */
    margin-top: 12px;
    background: linear-gradient(180deg, var(--white) 0%, rgba(107,162,217,0.03) 100%);
    border-left: 1px solid rgba(31,60,95,0.06);
    border-radius: 12px 0 0 12px;
    box-shadow: 0 20px 45px rgba(31, 60, 95, 0.18);
    z-index: 1250;                   /* ensure it floats above other sections */
    transition: right 0.28s cubic-bezier(.2,.9,.2,1), opacity 0.28s;
    overflow-y: auto;
    padding: 14px 0;
    -webkit-overflow-scrolling: touch;
    opacity: 0.98;
}

.mobile-menu.active {
    right: 12px; /* visible state offset from edge */
}

/* Mobile header inside menu */
.mobile-menu-header {
    padding: 0 18px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.close-menu {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}

.close-menu:hover {
    color: var(--accent);
}

/* Mobile Links */
.mobile-links {
    list-style: none;
    padding: 8px 12px;
    margin: 0;
}

.mobile-links li {
    margin-bottom: 8px;
    opacity: 1;
    transform: none;
    animation: none; /* keep subtle by default */
}

.mobile-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.22s ease, color 0.22s ease, transform 0.12s ease, box-shadow 0.18s ease;
    background: transparent;
}


.mobile-links a:hover,
.mobile-links li.active a {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: var(--white);
    transform: translateX(-4px);
    box-shadow: 0 6px 18px rgba(31, 60, 95, 0.12);
}

/* CTA button inside menu */
.mobile-cta {
    padding: 16px;
    border-top: 1px solid rgba(31,60,95,0.04);
    margin-top: 8px;
}

.mobile-cta-button {
    width: calc(100% - 28px);
    margin: 0 14px;
    padding: 12px 14px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: var(--white);
    border-radius: 8px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.mobile-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(31,60,95,0.14);
}

/* Disable scrolling when menu is open */
.no-scroll {
    overflow: hidden;
}

/* Animations */
@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Staggered animation for menu items */
.mobile-links li:nth-child(1) { animation-delay: 0.1s; }
.mobile-links li:nth-child(2) { animation-delay: 0.15s; }
.mobile-links li:nth-child(3) { animation-delay: 0.2s; }
.mobile-links li:nth-child(4) { animation-delay: 0.25s; }
.mobile-links li:nth-child(5) { animation-delay: 0.3s; }
.mobile-links li:nth-child(6) { animation-delay: 0.35s; }
.mobile-links li:nth-child(7) { animation-delay: 0.4s; }

 /* Mobile Devices (320px - 480px) */
@media screen and (max-width: 480px) { 
    
    .header-container {
        padding: 10px 3%;
        flex-wrap: wrap;
    }
    
    .logo {
        height: 60px;
        flex-shrink: 0;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 20px 0;
        margin-left: 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        padding: 15px 20px;
        display: block;
        text-align: center;
    }
    
    .hamburger {
        display: flex;
        margin-right: 20px;
        font-size: 2.5rem;
    }
    
    .nav-links li.active::after {
        bottom: 10px;
        width: 80%;
        left: 10%;
    }
}

/* Small Tablets (481px - 768px) */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .header-container {
        padding: 12px 4%;
    }
    
    .logo {
        height: 70px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 350px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
        margin-left: 0;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 12px 20px;
        display: block;
        text-align: center;
    }
    
    .hamburger {
        display: flex;
        margin-right: 40px;
        font-size: 3rem;
    }
}

/* Large Tablets (769px - 1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .header-container {
        padding: 15px 4%;
    }
    
    .logo {
        height: 80px;
    }
    
    .nav-links li {
        margin-left: 20px;
    }
    
    .nav-links a {
        font-size: 0.95rem;
    }
    
    .hamburger {
        display: none;
    }
}

/* Small Desktops (1025px - 1200px) */
@media screen and (min-width: 1025px) and (max-width: 1200px) {
    .header-container {
        padding: 15px 4%;
    }
    
    .logo {
        height: 90px;
    }
    
    .nav-links li {
        margin-left: 25px;
    }
}

/* Extra Small Mobile (max-width: 320px) */
@media screen and (max-width: 320px) {
    .header-container {
        padding: 8px 2%;
    }
    
    .logo {
        height: 50px;
    }
    
    .hamburger {
        margin-right: 10px;
        font-size: 2.2rem;
        width: 25px;
        height: 40px;
    }
    
    .hamburger-line {
        width: 20px;
        height: 2px;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 12px 15px;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
}

/* Landscape Mobile Orientation */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .nav-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: center;
        padding: 20px;
    }
    
    .nav-links li {
        margin: 10px 15px;
    }
    
    .nav-links a {
        padding: 8px 12px;
        font-size: 1rem;
    }
}

.hero {
            display: flex;
            align-items: center;
            justify-content: space-between; 
            padding: 10px 9%;
            background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
            position: relative;
            overflow: hidden;
}

.hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23E0E0E0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)" opacity="0.3"/></svg>');
            z-index: 0;
}

.hero-content {
            flex: 1;
            max-width: 650px;
            padding-right: 40px;
            position: relative;
            z-index: 2;
}


.hero-image img {
            width: 100%;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(31, 60, 95, 0.15);
            transition: transform 0.3s ease; 
}

.hero-image img:hover {
            transform: translateY(-10px);
}



/* Hero Image Carousel Styles */
.hero-image {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    max-width: 650px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Navigation Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* Dots Navigation */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background: #fff;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-image {
        height: 300px;
        border-radius: 8px;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    .carousel-dots {
        bottom: 15px;
        gap: 8px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .hero-image {
        height: 250px;
        border-radius: 6px;
    }
    
    .carousel-nav {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .carousel-prev {
        left: 8px;
    }
    
    .carousel-next {
        right: 8px;
    }
    
    .carousel-dots {
        bottom: 12px;
        gap: 6px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
}

h1 {
            font-size: 3.5rem;
            color: var(--primary);
            margin-bottom: 15px;
            line-height: 1.2;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
}

.tagline {
            font-size: 1.3rem;
            color: var(--accent);
            margin-bottom: 20px;
            font-weight: 600;
}

.main-description {
            color: var(--text);
            font-size: 1.1rem;
            line-height: 1.6;
            margin-bottom: 25px;
}

.expandable-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease-in-out;
            opacity: 0;
}

.expandable-content.expanded {
            max-height: 500px;
            opacity: 1;
            margin-bottom: 25px;
}

.expandable-content p {
            color: var(--text);
            font-size: 1rem;
            line-height: 1.6;
            margin-bottom: 15px;
}

.read-more-btn {
            background: none;
            border: none;
            color: var(--secondary);
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            margin-bottom: 30px;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
            padding: 8px 0;
}

.read-more-btn:hover {
            color: var(--accent);
            transform: translateX(5px);
}

.read-more-btn .arrow {
            transition: transform 0.3s ease;
}

.read-more-btn.expanded .arrow {
            transform: rotate(180deg);
}

.cta-buttons {
            display: flex;
            gap: 20px;
            margin-bottom: 40px;
}

.btn {
            padding: 15px 30px;
            border-radius: 50px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-block;
            position: relative;
            overflow: hidden;
}

.btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.5s;
}

.btn:hover::before {
            left: 100%;
}

.primary {
            background: linear-gradient(135deg, var(--accent), #ff6b35);
            color: var(--white);
            border: 2px solid transparent;
            box-shadow: 0 8px 25px rgba(245, 124, 81, 0.3);
}

.primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 35px rgba(245, 124, 81, 0.4);
}

.secondary {
            background: transparent;
            color: var(--primary);
            border: 2px solid var(--primary);
            backdrop-filter: blur(10px);
}

.secondary:hover {
            background: var(--primary);
            color: var(--white);
            transform: translateY(-3px);
}

.achievements {
            display: flex;
            gap: 40px; 
            border-top: 2px solid rgba(107, 162, 217, 0.2);
}

.achievement-item {
            text-align: center;
            position: relative;
}

.achievement-item::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 30px;
            height: 3px;
            background: linear-gradient(90deg, var(--secondary), var(--accent));
            border-radius: 2px;
            opacity: 0;
            transition: opacity 0.3s ease;
}

.achievement-item:hover::after {
            opacity: 1;
}

.number {
            font-size: 2.5rem;
            font-weight: 700;
            background: linear-gradient(135deg, var(--accent), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            display: block;
            transition: all 0.3s ease;
}

.number:hover {
            transform: scale(1.1);
}

.label {
            font-size: 0.95rem;
            color: var(--primary);
            font-weight: 500;
            margin-top: 5px;
}

.floating-elements {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            pointer-events: none;
            z-index: 1;
}

.floating-icon {
            position: absolute;
            font-size: 2rem;
            opacity: 0.1;
            animation: float 6s ease-in-out infinite;
}

        .floating-icon:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
        .floating-icon:nth-child(2) { top: 20%; right: 15%; animation-delay: 2s; }
        .floating-icon:nth-child(3) { bottom: 30%; left: 5%; animation-delay: 4s; }
        .floating-icon:nth-child(4) { bottom: 10%; right: 10%; animation-delay: 1s; }

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

.scroll-indicator {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            color: var(--secondary);
            font-size: 0.9rem;
            animation: bounce 2s infinite;
}

@keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
            40% { transform: translateX(-50%) translateY(-10px); }
            60% { transform: translateX(-50%) translateY(-5px); }
}

/* Mobile Devices (320px - 480px) */
@media screen and (max-width: 480px) {
    .hero {
        flex-direction: column;
        padding: 30px 4%;
        text-align: center;
        min-height: auto;
    }
    
    .hero-content {
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 30px;
        order: 2;
    }
    
    .hero-image {
        max-width: 100%;
        margin-bottom: 20px;
        order: 1;
    }
    
    .hero-image img {
        border-radius: 15px;
        box-shadow: 0 15px 40px rgba(31, 60, 95, 0.2);
    }
    
    h1 {
        font-size: 2.2rem;
        margin-bottom: 12px;
        line-height: 1.3;
    }
    
    .tagline {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .main-description {
        font-size: 1rem;
        margin-bottom: 20px;
        text-align: left;
    }
    
    .expandable-content p {
        font-size: 0.95rem;
        text-align: left;
    }
    
    .read-more-btn {
        margin-bottom: 25px;
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 30px;
        align-items: center;
    }
    
    .btn {
        padding: 12px 25px;
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .achievements {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
        padding-top: 20px;
    }
    
    .achievement-item {
        min-width: 80px;
    }
    
    .number {
        font-size: 2rem;
    }
    
    .label {
        font-size: 0.85rem;
    }
    
    .floating-icon {
        font-size: 1.5rem;
        opacity: 0.05;
    }
    
    .scroll-indicator {
        bottom: 20px;
        font-size: 0.8rem;
    }
}

/* Small Tablets (481px - 768px) */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding: 40px 5%;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 40px;
        order: 2;
    }
    
    .hero-image {
        max-width: 400px;
        margin: 0 auto 30px;
        order: 1;
    }
    
    h1 {
        font-size: 2.8rem;
        margin-bottom: 15px;
    }
    
    .tagline {
        font-size: 1.2rem;
        margin-bottom: 18px;
    }
    
    .main-description {
        font-size: 1.05rem;
        margin-bottom: 22px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }
    
    .expandable-content p {
        text-align: left;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 15px;
    }
    
    .read-more-btn {
        justify-content: center;
        margin-bottom: 28px;
    }
    
    .cta-buttons {
        gap: 18px;
        margin-bottom: 35px;
        justify-content: center;
    }
    
    .btn {
        padding: 14px 28px;
    }
    
    .achievements {
        gap: 30px;
        justify-content: center;
        padding-top: 25px;
    }
    
    .number {
        font-size: 2.2rem;
    }
    
    .label {
        font-size: 0.9rem;
    }
    
    .floating-icon {
        font-size: 1.8rem;
        opacity: 0.08;
    }
}

/* Large Tablets (769px - 1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .hero {
        padding: 50px 6%;
    }
    
    .hero-content {
        max-width: 500px;
        padding-right: 30px;
    }
    
    .hero-image {
        max-width: 450px;
    }
    
    h1 {
        font-size: 3rem;
        margin-bottom: 14px;
    }
    
    .tagline {
        font-size: 1.25rem;
        margin-bottom: 18px;
    }
    
    .main-description {
        font-size: 1.05rem;
        margin-bottom: 22px;
    }
    
    .cta-buttons {
        gap: 18px;
        margin-bottom: 35px;
    }
    
    .btn {
        padding: 14px 28px;
    }
    
    .achievements {
        gap: 35px;
        padding-top: 25px;
    }
    
    .number {
        font-size: 2.3rem;
    }
}

/* Small Desktops (1025px - 1200px) */
@media screen and (min-width: 1025px) and (max-width: 1200px) {
    .hero {
        padding: 60px 7%;
    }
    
    .hero-content {
        max-width: 580px;
        padding-right: 35px;
    }
    
    .hero-image {
        max-width: 500px;
    }
    
    h1 {
        font-size: 3.2rem;
    }
    
    .achievements {
        gap: 38px;
    }
}

/* Extra Small Mobile (max-width: 320px) */
@media screen and (max-width: 320px) {
    .hero {
        padding: 25px 3%;
    }
    
    h1 {
        font-size: 1.9rem;
        margin-bottom: 10px;
    }
    
    .tagline {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .main-description {
        font-size: 0.95rem;
        margin-bottom: 18px;
    }
    
    .expandable-content p {
        font-size: 0.9rem;
    }
    
    .cta-buttons {
        gap: 12px;
        margin-bottom: 25px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .achievements {
        gap: 15px;
        padding-top: 15px;
    }
    
    .number {
        font-size: 1.8rem;
    }
    
    .label {
        font-size: 0.8rem;
    }
    
    .floating-icon {
        font-size: 1.2rem;
        opacity: 0.03;
    }
    
    .scroll-indicator {
        bottom: 15px;
        font-size: 0.75rem;
    }
}

/* Landscape Mobile Orientation */
@media screen and (max-height: 500px) and (orientation: landscape) and (max-width: 900px) {
    .hero {
        flex-direction: row;
        padding: 20px 4%;
        min-height: 400px;
    }
    
    .hero-content {
        max-width: 50%;
        padding-right: 20px;
        order: 1;
    }
    
    .hero-image {
        max-width: 45%;
        order: 2;
    }
    
    h1 {
        font-size: 2rem;
        margin-bottom: 8px;
        line-height: 1.2;
    }
    
    .tagline {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .main-description {
        font-size: 0.9rem;
        margin-bottom: 15px;
        line-height: 1.4;
    }
    
    .expandable-content.expanded {
        max-height: 150px;
    }
    
    .read-more-btn {
        margin-bottom: 15px;
        font-size: 0.9rem;
    }
    
    .cta-buttons {
        gap: 10px;
        margin-bottom: 20px;
        flex-wrap: wrap;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .achievements {
        gap: 15px;
        padding-top: 15px;
    }
    
    .number {
        font-size: 1.5rem;
    }
    
    .label {
        font-size: 0.75rem;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .floating-icon {
        display: none;
    }
}

/* High DPI/Retina Displays */
@media screen and (-webkit-min-device-pixel-ratio: 2), 
       screen and (min-resolution: 192dpi) {
    .hero-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Simple Our Story Section Styles */
:root {
    --primary: #1F3C5F;
    --secondary: #6BA2D9;
    --accent: #F57C51;
    --text: #333333;
    --light-bg: #F5F5F5;
    --white: #FFFFFF;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
}

.our-story {
    padding: 4rem 0;
    background: var(--white);
    position: relative;
}

.our-story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* Story Header */
.story-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--secondary) 100%);
    margin: 0 auto;
    border-radius: 2px;
    animation: expand 1.5s ease-out;
}

@keyframes expand {
    0% { width: 0; }
    100% { width: 80px; }
}

/* Story Content */
.story-content {
    max-width: 800px;
    margin: 0 auto 3rem;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(31, 60, 95, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.story-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(31, 60, 95, 0.15);
    border-color: var(--secondary);
}

.story-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.story-paragraph:nth-child(1) { animation-delay: 0.2s; }
.story-paragraph:nth-child(2) { animation-delay: 0.4s; }
.story-paragraph:nth-child(3) { animation-delay: 0.6s; }
.story-paragraph:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.story-paragraph:last-child {
    margin-bottom: 0;
}

.story-paragraph em {
    color: var(--accent);
    font-weight: 600;
    font-style: normal;
}

/* Horizontal Timeline */
.timeline-container {
    position: relative;
    max-width: 900px; 
    padding: 2rem 0;
    margin-top: 6rem;
    padding-left: 14rem;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 25%;
    right: 2%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
    border-radius: 2px;
    transform: translateY(-50%);
    animation: drawLine 2s ease-out;
}

@keyframes drawLine {
    0% { width: 0; }
    100% { width: 90%; }
}

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

.timeline-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: popIn 0.6s ease-out forwards;
}

.timeline-point:nth-child(1) { animation-delay: 0.5s; }
.timeline-point:nth-child(2) { animation-delay: 0.7s; }
.timeline-point:nth-child(3) { animation-delay: 0.9s; }
.timeline-point:nth-child(4) { animation-delay: 1.1s; }
.timeline-point:nth-child(5) { animation-delay: 1.3s; }
.timeline-point:nth-child(6) { animation-delay: 1.5s; }

@keyframes popIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.point-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 3px solid var(--accent);
    border-radius: 50%;
    margin-bottom: 0.5rem;
    box-shadow: 0 5px 15px rgba(245, 124, 81, 0.3);
    transition: all 0.3s ease;
}

.timeline-point:hover .point-icon {
    transform: scale(1.2);
    background: var(--accent);
    box-shadow: 0 8px 25px rgba(245, 124, 81, 0.4);
}

.timeline-point:hover .point-icon i {
    color: var(--white);
}

.point-icon i {
    font-size: 1.2rem;
    color: var(--accent);
    transition: color 0.3s ease;
}

.point-year,
.point-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(31, 60, 95, 0.1);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.timeline-point:hover .point-year,
.timeline-point:hover .point-label {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
}

/* Tooltip */
.timeline-point::before {
    content: attr(data-title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 10;
}

.timeline-point::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--primary);
    opacity: 0;
    transition: all 0.3s ease;
}

.timeline-point:hover::before,
.timeline-point:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

/* Mobile Devices (320px - 480px) */
@media screen and (max-width: 480px) {
    .our-story {
        padding: 2.5rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .story-header {
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .title-underline {
        width: 60px;
        height: 3px;
    }
    
    @keyframes expand {
        0% { width: 0; }
        100% { width: 60px; }
    }
    
    .story-content {
        padding: 1.5rem;
        margin-bottom: 2rem;
        border-radius: 12px;
    }
    
    .story-paragraph {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
    }
    
    /* Convert horizontal timeline to vertical for mobile */
    .timeline-container {
        display: none;
    }
    
    .timeline-line {
        top: 0;
        left: 25px;
        right: auto;
        bottom: 0;
        width: 4px;
        height: 90%;
        background: linear-gradient(180deg, var(--secondary) 0%, var(--accent) 100%);
        transform: translateX(-50%);
        animation: drawLineVertical 2s ease-out;
    }
    
    @keyframes drawLineVertical {
        0% { height: 0; }
        100% { height: 90%; }
    }
    
    .timeline-items {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        padding-left: 60px;
    }
    
    .timeline-point {
        flex-direction: row;
        align-items: center;
        width: 100%;
        position: relative;
    }
    
    .timeline-point::before {
        bottom: auto;
        top: 50%;
        left: -80px;
        transform: translateY(-50%);
        white-space: normal;
        max-width: 150px;
        text-align: center;
    }
    
    .timeline-point::after {
        bottom: auto;
        top: 50%;
        left: -25px;
        transform: translateY(-50%) rotate(90deg);
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
        border-left: 5px solid var(--primary);
        border-right: none;
    }
    
    .point-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0;
        margin-right: 1rem;
        position: absolute;
        left: -75px;
        top: 50%;
        transform: translateY(-50%);
        border-width: 2px;
    }
    
    .point-icon i {
        font-size: 1rem;
    }
    
    .point-year,
    .point-label {
        font-size: 0.8rem;
        padding: 0.25rem 0.6rem;
        margin-bottom: 0.3rem;
    }
    
    .point-year {
        order: 1;
    }
    
    .point-label {
        order: 2;
    }
}

/* Small Tablets (481px - 768px) */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .our-story {
        padding: 3rem 0;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .story-header {
        margin-bottom: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 0.9rem;
    }
    
    .title-underline {
        width: 70px;
    }
    
    @keyframes expand {
        0% { width: 0; }
        100% { width: 70px; }
    }
    
    .story-content {
        padding: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .story-paragraph {
        font-size: 1.05rem;
        line-height: 1.7;
        margin-bottom: 1.3rem;
    }
    
    /* Hybrid timeline - still vertical but more compact */
    .timeline-container {
        display: none;
    }
    
    .timeline-line {
        top: 0;
        left: 50px;
        width: 4px;
        height: 85%;
        background: linear-gradient(180deg, var(--secondary) 0%, var(--accent) 100%);
        transform: translateX(-50%);
        animation: drawLineVertical 2s ease-out;
    }
    
    .timeline-items {
        flex-direction: column;
        align-items: flex-start;
        gap: 2.5rem;
        padding-left: 100px;
    }
    
    .timeline-point {
        flex-direction: row;
        align-items: center;
        width: 100%;
    }
    
    .point-icon {
        width: 45px;
        height: 45px;
        margin-right: 1.5rem;
        position: absolute;
        left: -125px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .point-icon i {
        font-size: 1.1rem;
    }
    
    .point-year,
    .point-label {
        font-size: 0.85rem;
        padding: 0.3rem 0.7rem;
        margin-bottom: 0.4rem;
    }
    
    .timeline-point::before {
        left: -180px;
        top: 50%;
        transform: translateY(-50%);
        max-width: 120px;
    }
    
    .timeline-point::after {
        left: -50px;
        top: 50%;
        transform: translateY(-50%) rotate(90deg);
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
        border-left: 5px solid var(--primary);
        border-right: none;
    }
}

/* Large Tablets (769px - 1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .our-story {
        padding: 3.5rem 0;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
    
    .story-content {
        padding: 2.2rem;
        margin-bottom: 2.8rem;
    }
    
    .timeline-container {
        display: none;
    }
    
    .timeline-line {
        left: 20%;
        right: 5%;
    }
    
    .timeline-items {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .timeline-point {
        flex-direction: column;
        flex: 1;
        min-width: 120px;
    }
    
    .point-icon {
        width: 45px;
        height: 45px;
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
    
    .point-year,
    .point-label {
        font-size: 0.85rem;
    }
    
    .timeline-point::before,
    .timeline-point::after {
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
    }
    
    .timeline-point::after {
        transform: translateX(-50%) translateY(-5px);
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 5px solid var(--primary);
        border-bottom: none;
    }
}

/* Small Desktops (1025px - 1200px) */
@media screen and (min-width: 1025px) and (max-width: 1200px) {
    .timeline-container {
        display: none;
    }
    
    .timeline-line {
        left: 22%;
        right: 3%;
    }
    
    .timeline-point {
        min-width: 100px;
    }
    
    .point-year,
    .point-label {
        font-size: 0.88rem;
    }
}

/* Extra Small Mobile (max-width: 320px) */
@media screen and (max-width: 320px) {
    .our-story {
        padding: 2rem 0;
    }
    
    .container {
        padding: 0 0.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 0.6rem;
    }
    
    .title-underline {
        width: 50px;
        height: 2px;
    }
    
    .story-content {
        padding: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .story-paragraph {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    .timeline-container {
        display: none;
    }
    
    .timeline-items {
        gap: 1.5rem;
        padding-left: 50px;
    }
    
    .point-icon {
        width: 35px;
        height: 35px;
        left: -65px;
    }
    
    .point-icon i {
        font-size: 0.9rem;
    }
    
    .point-year,
    .point-label {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }
    
    .timeline-point::before {
        left: -110px;
        max-width: 100px;
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
}

/* Landscape Mobile Orientation */
@media screen and (max-height: 500px) and (orientation: landscape) and (max-width: 900px) {
    .our-story {
        padding: 1.5rem 0;
    }
    
    .story-header {
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .story-content {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .story-paragraph {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    .timeline-container {
        display: none;
    }
    
    /* Return to horizontal layout for landscape */
    .timeline-line {
        top: 50%;
        left: 5%;
        right: 5%;
        width: 90%;
        height: 4px;
        background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
        transform: translateY(-50%);
        animation: drawLine 2s ease-out;
    }
    
    .timeline-items {
        flex-direction: row;
        justify-content: space-between;
        gap: 0.5rem;
        padding-left: 0;
    }
    
    .timeline-point {
        flex-direction: column;
        align-items: center;
        flex: 1;
        min-width: 60px;
    }
    
    .point-icon {
        width: 30px;
        height: 30px;
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin-bottom: 0.3rem;
        margin-right: 0;
    }
    
    .point-icon i {
        font-size: 0.8rem;
    }
    
    .point-year,
    .point-label {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
        margin-bottom: 0.2rem;
    }
    
    .timeline-point::before {
        display: none;
    }
    
    .timeline-point::after {
        display: none;
    }
}
:root {
--primary: #1F3C5F;
--secondary: #6BA2D9;
--accent: #F57C51;
--text: #333333;
--light-bg: #F5F5F5;
--white: #FFFFFF;
}

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

body {
font-family: 'Arial', sans-serif;
background: var(--light-bg);
padding: 2rem 0;
}

.reviews-section {
padding: 4rem 0;
background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
}

.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
}

.section-title {
text-align: center;
color: var(--primary);
font-size: 2.5rem;
margin-bottom: 3rem;
font-weight: 700;
position: relative;
}

.section-title::after {
content: '';
display: block;
width: 80px;
height: 4px;
background: linear-gradient(90deg, var(--accent), var(--secondary));
margin: 1rem auto;
border-radius: 2px;
}

.slider-container {
position: relative;
max-width: 800px;
margin: 0 auto;
background: var(--white);
border-radius: 20px;
box-shadow: 0 20px 40px rgba(31, 60, 95, 0.1);
overflow: hidden;
}

.slider-wrapper {
display: flex;
transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
}

.slide {
min-width: 100%;
padding: 3rem 2rem;
text-align: center;
opacity: 0;
transform: translateX(20px);
transition: all 0.6s ease;
}

.slide.active {
opacity: 1;
transform: translateX(0);
}

.slide-content {
max-width: 600px;
margin: 0 auto;
}

.runner-icon {
font-size: 3rem;
color: var(--accent);
margin-bottom: 1.5rem;
animation: bounce 2s infinite;
}

@keyframes bounce {
0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
}
40% {
    transform: translateY(-10px);
}
60% {
    transform: translateY(-5px);
}
}

.testimonial {
font-size: 1.2rem;
line-height: 1.8;
color: var(--text);
font-style: italic;
margin-bottom: 2rem;
position: relative;
padding: 0 2rem;
}

.testimonial::before {
content: '"';
font-size: 4rem;
color: var(--secondary);
position: absolute;
top: -1rem;
left: 0;
font-family: 'Georgia', serif;
}

.testimonial::after {
content: '"';
font-size: 4rem;
color: var(--secondary);
position: absolute;
bottom: -2rem;
right: 0;
font-family: 'Georgia', serif;
}

.author h4 {
color: var(--primary);
font-size: 1.3rem;
font-weight: 600;
position: relative;
}

.author h4::before {
content: '—';
margin-right: 0.5rem;
color: var(--accent);
}

.slider-controls {
position: absolute;
width: 100%;
display: flex;
justify-content: space-between;
padding: 0 1rem;
pointer-events: none;
z-index: 10;
margin-bottom: 50px;
}

.control-btn {
width: 50px;
height: 50px;
border: none;
border-radius: 50%;
background: var(--white);
color: var(--primary);
font-size: 1.2rem;
cursor: pointer;
pointer-events: all;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(31, 60, 95, 0.2);
display: flex;
align-items: center;
justify-content: center;
transform: translateY(-50%);
}

.control-btn:hover {
background: var(--primary);
color: var(--white);
transform: translateY(-50%) scale(1.1);
box-shadow: 0 6px 20px rgba(31, 60, 95, 0.3);
}

.control-btn:active {
transform: translateY(-50%) scale(0.95);
}

.control-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
transform: translateY(-50%) scale(1);
}

.control-btn:disabled:hover {
background: var(--white);
color: var(--primary);
}

.pause-btn {
position: absolute;
bottom: 1rem;
left: 50%; 
width: 40px;
height: 40px;
font-size: 1rem;
}

.slide-indicators {
display: flex;
justify-content: center;
gap: 0.8rem;
padding: 2rem 0 1.5rem;
background: var(--white);
}

.indicator {
width: 12px;
height: 12px;
border-radius: 50%;
background: rgba(31, 60, 95, 0.3);
cursor: pointer;
transition: all 0.3s ease;
position: relative;
}

.indicator:hover {
background: var(--secondary); 
}

.indicator.active {
background: var(--accent);
transform: scale(1.3);
}

.indicator.active::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 20px;
height: 20px;
border: 2px solid var(--accent);
border-radius: 50%;
opacity: 0.5;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
.container {
    padding: 0 1rem;
}

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

.slide {
    padding: 2rem 1.5rem;
}

.testimonial {
    font-size: 1.1rem;
    padding: 0 1rem;
}

.control-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

.runner-icon {
    font-size: 2.5rem;
}
}

/* Smooth loading animation */
.reviews-section {
animation: none !important;
}

@keyframes fadeInUp {
from {
    opacity: 0;
    transform: translateY(30px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}
 /* Color Palette */
:root {
    --primary: #1F3C5F;
    --secondary: #6BA2D9;
    --accent: #F57C51;
    --text: #333333;
    --light-bg: #F5F5F5;
    --white: #FFFFFF;
    --neon-yellow: #FFFF00;
    
    /* Native Social Media Colors */
    --strava-orange: #FC4C02;
    --instagram-gradient: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    --facebook-blue: #1877F2;
    --garmin-blue: #007CC3;
}

/* Footer Styles */
.site-footer {
    background-color: var(--neon-yellow);
    color: var(--text);
    padding: 60px 5% 30px;
    font-size: 0.95rem;
    position: relative;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-column {
    margin-bottom: 30px;
}

.footer-heading {
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    border-radius: 2px;
}

.footer-about {
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--text);
    font-weight: 500;
}

.footer-social {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-social a {
    background-color: var(--white);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 18px;
    text-decoration: none;
}

.footer-social a:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Native Social Media Colors */
.footer-social .facebook-icon {
    color: var(--facebook-blue) !important;
}

.footer-social .facebook-icon:hover {
    background-color: var(--facebook-blue);
    color: var(--white) !important;
}
 
.footer-social .strava-icon {
    color: var(--strava-orange) !important;
}

.footer-social .strava-icon:hover {
    background-color: var(--strava-orange);
    color: var(--white) !important;
}

.footer-social .garmin-icon {
    color: var(--garmin-blue) !important;
}

.footer-social .garmin-icon:hover {
    background-color: var(--garmin-blue);
    color: var(--white) !important;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 500;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--text);
    font-weight: 500;
}

.footer-contact i {
    margin-right: 12px;
    color: var(--primary);
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.newsletter-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.newsletter-form input {
    padding: 14px 16px;
    border: none;
    font-size: 0.9rem;
    outline: none;
    background-color: var(--white);
    color: var(--text);
    border-radius: 6px;
    min-width: 0;
}

.newsletter-form input::placeholder {
    color: #999;
}

.newsletter-form button {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border: none;
    padding: 14px 24px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border-radius: 6px;
    white-space: nowrap;
    min-width: 120px;
}

.newsletter-form button:hover {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    transform: translateX(-2px);
}

.footer-notes {
    font-size: 0.85rem;
    color: var(--text);
    opacity: 0.8;
    font-weight: 500;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 2px solid rgba(31, 60, 95, 0.2);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text);
    font-weight: 500;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.legal-links a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: var(--accent);
    transition: width 0.3s ease;
}

.legal-links a:hover {
    color: var(--primary);
}

.legal-links a:hover::before {
    width: 100%;
}

/* Footer Media Queries */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .site-footer {
        padding: 50px 4% 25px;
    }
    
    .footer-container {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 35px;
    }
    
    .footer-column {
        margin-bottom: 25px;
    }
    
    .footer-heading {
        font-size: 1.2rem;
        margin-bottom: 18px;
    }
    
    .newsletter-form {
        grid-template-columns: 1fr auto;
        margin-bottom: 12px;
    }
    
    .newsletter-form button {
        min-width: 100px;
        padding: 14px 20px;
    }
}

/* Medium tablets */
@media (max-width: 768px) {
    .site-footer {
        padding: 45px 3% 20px;
        font-size: 0.9rem;
    }
    
    .footer-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }
    
    .footer-column {
        margin-bottom: 20px;
    }
    
    .footer-heading {
        font-size: 1.1rem;
        margin-bottom: 15px;
        padding-bottom: 8px;
    }
    
    .footer-heading::after {
        width: 40px;
        height: 2px;
    }
    
    .footer-about {
        margin-bottom: 15px;
        line-height: 1.6;
    }
    
    .footer-social {
        gap: 12px;
    }
    
    .footer-social a {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    
    .footer-links li {
        margin-bottom: 10px;
    }
    
    .footer-contact li {
        margin-bottom: 12px;
    }
    
    .footer-contact i {
        margin-right: 10px;
        width: 18px;
        font-size: 14px;
    }
    
    .newsletter-form {
        gap: 6px;
        margin-bottom: 12px;
    }
    
    .newsletter-form input {
        padding: 12px 14px;
        font-size: 0.85rem;
    }
    
    .newsletter-form button {
        padding: 12px 18px;
        font-size: 0.85rem;
        min-width: 90px;
    }
    
    .footer-notes {
        font-size: 0.8rem;
    }
    
    .footer-bottom {
        padding-top: 25px;
        font-size: 0.8rem;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .legal-links {
        gap: 15px;
    }
}

/* Small tablets and large phones */
@media (max-width: 640px) {
    .site-footer {
        padding: 40px 3% 18px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-column {
        margin-bottom: 15px;
        text-align: center;
    }
    
    .footer-heading {
        font-size: 1rem;
        margin-bottom: 12px;
        text-align: center;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
        width: 35px;
    }
    
    .footer-about {
        text-align: center;
        margin-bottom: 12px;
    }
    
    .footer-social {
        justify-content: center;
        gap: 10px;
    }
    
    .footer-social a {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-links li {
        margin-bottom: 8px;
    }
    
    .footer-contact {
        text-align: left;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .footer-contact li {
        margin-bottom: 10px;
        justify-content: flex-start;
    }
    
    .newsletter-form {
        grid-template-columns: 1fr;
        gap: 8px;
        max-width: 300px;
        margin: 0 auto 10px;
    }
    
    .newsletter-form input {
        padding: 12px 14px;
        text-align: center;
    }
    
    .newsletter-form button {
        padding: 12px 16px;
        min-width: auto;
        width: 100%;
    }
    
    .footer-bottom {
        padding-top: 20px;
        gap: 12px;
    }
    
    .legal-links {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .site-footer {
        padding: 35px 4% 15px;
        font-size: 0.85rem;
    }
    
    .footer-container {
        gap: 20px;
    }
    
    .footer-column {
        margin-bottom: 12px;
    }
    
    .footer-heading {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }
    
    .footer-heading::after {
        width: 30px;
        height: 2px;
    }
    
    .footer-about {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 10px;
    }
    
    .footer-social {
        gap: 8px;
    }
    
    .footer-social a {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
    
    .footer-links {
        font-size: 0.85rem;
    }
    
    .footer-links li {
        margin-bottom: 6px;
    }
    
    .footer-contact {
        font-size: 0.85rem;
        max-width: 280px;
    }
    
    .footer-contact li {
        margin-bottom: 8px;
    }
    
    .footer-contact i {
        margin-right: 8px;
        width: 16px;
        font-size: 13px;
    }
    
    .newsletter-form {
        max-width: 280px;
        margin-bottom: 8px;
    }
    
    .newsletter-form input {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    
    .newsletter-form button {
        padding: 10px 14px;
        font-size: 0.8rem;
    }
    
    .footer-notes {
        font-size: 0.75rem;
        text-align: center;
    }
    
    .footer-bottom {
        padding-top: 18px;
        font-size: 0.75rem;
        gap: 10px;
    }
    
    .legal-links {
        gap: 10px;
    }
    
    .legal-links a {
        font-size: 0.75rem;
    }
}

/* Extra small phones */
@media (max-width: 360px) {
    .site-footer {
        padding: 30px 3% 12px;
    }
    
    .footer-container {
        gap: 18px;
    }
    
    .footer-heading {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .footer-heading::after {
        width: 25px;
    }
    
    .footer-about {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    
    .footer-social {
        gap: 6px;
    }
    
    .footer-social a {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    
    .footer-links {
        font-size: 0.8rem;
    }
    
    .footer-contact {
        font-size: 0.8rem;
        max-width: 260px;
    }
    
    .footer-contact i {
        margin-right: 6px;
        width: 14px;
        font-size: 12px;
    }
    
    .newsletter-form {
        max-width: 260px;
        gap: 6px;
    }
    
    .newsletter-form input {
        padding: 9px 10px;
        font-size: 0.75rem;
    }
    
    .newsletter-form button {
        padding: 9px 12px;
        font-size: 0.75rem;
    }
    
    .footer-bottom {
        padding-top: 15px;
        font-size: 0.7rem;
        gap: 8px;
    }
    
    .legal-links {
        gap: 8px;
        flex-direction: column;
        align-items: center;
    }
    
    .legal-links a {
        font-size: 0.7rem;
    }
}

/* Landscape orientation adjustments for small screens */
@media (max-width: 640px) and (orientation: landscape) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-column {
        text-align: left;
    }
    
    .footer-heading {
        text-align: left;
    }
    
    .footer-heading::after {
        left: 0;
        transform: none;
    }
    
    .footer-about {
        text-align: left;
    }
    
    .footer-social {
        justify-content: flex-start;
    }
    
    .footer-links {
        text-align: left;
    }
    
    .newsletter-form {
        margin: 0 0 10px 0;
    }
}

/* Enhanced animations for better UX */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-column {
    animation: fadeInUp 0.6s ease-out;
}

.footer-column:nth-child(1) { animation-delay: 0.1s; }
.footer-column:nth-child(2) { animation-delay: 0.2s; }
.footer-column:nth-child(3) { animation-delay: 0.3s; }
.footer-column:nth-child(4) { animation-delay: 0.4s; }

/* Enhanced animations for better UX */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-column {
    animation: fadeInUp 0.6s ease-out;
}

.footer-column:nth-child(1) { animation-delay: 0.1s; }
.footer-column:nth-child(2) { animation-delay: 0.2s; }
.footer-column:nth-child(3) { animation-delay: 0.3s; }
.footer-column:nth-child(4) { animation-delay: 0.4s; }

/* Footer Media Queries */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .site-footer {
        padding: 50px 4% 25px;
    }
    
    .footer-container {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 35px;
    }
    
    .footer-column {
        margin-bottom: 25px;
    }
    
    .footer-heading {
        font-size: 1.2rem;
        margin-bottom: 18px;
    }
    
    .newsletter-form {
        grid-template-columns: 1fr auto;
        margin-bottom: 12px;
    }
    
    .newsletter-form button {
        min-width: 100px;
        padding: 14px 20px;
    }
}

/* Medium tablets */
@media (max-width: 768px) {
    .site-footer {
        padding: 45px 3% 20px;
        font-size: 0.9rem;
    }
    
    .footer-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }
    
    .footer-column {
        margin-bottom: 20px;
    }
    
    .footer-heading {
        font-size: 1.1rem;
        margin-bottom: 15px;
        padding-bottom: 8px;
    }
    
    .footer-heading::after {
        width: 40px;
        height: 2px;
    }
    
    .footer-about {
        margin-bottom: 15px;
        line-height: 1.6;
    }
    
    .footer-social {
        gap: 12px;
    }
    
    .footer-social a {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    
    .footer-links li {
        margin-bottom: 10px;
    }
    
    .footer-contact li {
        margin-bottom: 12px;
    }
    
    .footer-contact i {
        margin-right: 10px;
        width: 18px;
        font-size: 14px;
    }
    
    .newsletter-form {
        gap: 6px;
        margin-bottom: 12px;
    }
    
    .newsletter-form input {
        padding: 12px 14px;
        font-size: 0.85rem;
    }
    
    .newsletter-form button {
        padding: 12px 18px;
        font-size: 0.85rem;
        min-width: 90px;
    }
    
    .footer-notes {
        font-size: 0.8rem;
    }
    
    .footer-bottom {
        padding-top: 25px;
        font-size: 0.8rem;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .legal-links {
        gap: 15px;
    }
}

/* Small tablets and large phones */
@media (max-width: 640px) {
    .site-footer {
        padding: 40px 3% 18px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-column {
        margin-bottom: 15px;
        text-align: center;
        animation: fadeInUp 0.5s ease-out;
    }
    
    /* Adjusted animation delays for single column layout */
    .footer-column:nth-child(1) { animation-delay: 0.1s; }
    .footer-column:nth-child(2) { animation-delay: 0.15s; }
    .footer-column:nth-child(3) { animation-delay: 0.2s; }
    .footer-column:nth-child(4) { animation-delay: 0.25s; }
    
    .footer-heading {
        font-size: 1rem;
        margin-bottom: 12px;
        text-align: center;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
        width: 35px;
    }
    
    .footer-about {
        text-align: center;
        margin-bottom: 12px;
    }
    
    .footer-social {
        justify-content: center;
        gap: 10px;
    }
    
    .footer-social a {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-links li {
        margin-bottom: 8px;
    }
    
    .footer-contact {
        text-align: left;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .footer-contact li {
        margin-bottom: 10px;
        justify-content: flex-start;
    }
    
    .newsletter-form {
        grid-template-columns: 1fr;
        gap: 8px;
        max-width: 300px;
        margin: 0 auto 10px;
    }
    
    .newsletter-form input {
        padding: 12px 14px;
        text-align: center;
    }
    
    .newsletter-form button {
        padding: 12px 16px;
        min-width: auto;
        width: 100%;
    }
    
    .footer-bottom {
        padding-top: 20px;
        gap: 12px;
    }
    
    .legal-links {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .site-footer {
        padding: 35px 4% 15px;
        font-size: 0.85rem;
    }
    
    .footer-container {
        gap: 20px;
    }
    
    .footer-column {
        margin-bottom: 12px;
        animation: fadeInUp 0.4s ease-out;
    }
    
    /* Faster animations for mobile */
    .footer-column:nth-child(1) { animation-delay: 0.05s; }
    .footer-column:nth-child(2) { animation-delay: 0.1s; }
    .footer-column:nth-child(3) { animation-delay: 0.15s; }
    .footer-column:nth-child(4) { animation-delay: 0.2s; }
    
    .footer-heading {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }
    
    .footer-heading::after {
        width: 30px;
        height: 2px;
    }
    
    .footer-about {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 10px;
    }
    
    .footer-social {
        gap: 8px;
    }
    
    .footer-social a {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
    
    .footer-links {
        font-size: 0.85rem;
    }
    
    .footer-links li {
        margin-bottom: 6px;
    }
    
    .footer-contact {
        font-size: 0.85rem;
        max-width: 280px;
    }
    
    .footer-contact li {
        margin-bottom: 8px;
    }
    
    .footer-contact i {
        margin-right: 8px;
        width: 16px;
        font-size: 13px;
    }
    
    .newsletter-form {
        max-width: 280px;
        margin-bottom: 8px;
    }
    
    .newsletter-form input {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    
    .newsletter-form button {
        padding: 10px 14px;
        font-size: 0.8rem;
    }
    
    .footer-notes {
        font-size: 0.75rem;
        text-align: center;
    }
    
    .footer-bottom {
        padding-top: 18px;
        font-size: 0.75rem;
        gap: 10px;
    }
    
    .legal-links {
        gap: 10px;
    }
    
    .legal-links a {
        font-size: 0.75rem;
    }
}

/* Extra small phones */
@media (max-width: 360px) {
    .site-footer {
        padding: 30px 3% 12px;
    }
    
    .footer-container {
        gap: 18px;
    }
    
    .footer-column {
        animation: fadeInUp 0.3s ease-out;
    }
    
    /* Very fast animations for small screens */
    .footer-column:nth-child(1) { animation-delay: 0.03s; }
    .footer-column:nth-child(2) { animation-delay: 0.06s; }
    .footer-column:nth-child(3) { animation-delay: 0.09s; }
    .footer-column:nth-child(4) { animation-delay: 0.12s; }
    
    .footer-heading {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .footer-heading::after {
        width: 25px;
    }
    
    .footer-about {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    
    .footer-social {
        gap: 6px;
    }
    
    .footer-social a {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    
    .footer-links {
        font-size: 0.8rem;
    }
    
    .footer-contact {
        font-size: 0.8rem;
        max-width: 260px;
    }
    
    .footer-contact i {
        margin-right: 6px;
        width: 14px;
        font-size: 12px;
    }
    
    .newsletter-form {
        max-width: 260px;
        gap: 6px;
    }
    
    .newsletter-form input {
        padding: 9px 10px;
        font-size: 0.75rem;
    }
    
    .newsletter-form button {
        padding: 9px 12px;
        font-size: 0.75rem;
    }
    
    .footer-bottom {
        padding-top: 15px;
        font-size: 0.7rem;
        gap: 8px;
    }
    
    .legal-links {
        gap: 8px;
        flex-direction: column;
        align-items: center;
    }
    
    .legal-links a {
        font-size: 0.7rem;
    }
}

/* Landscape orientation adjustments for small screens */
@media (max-width: 640px) and (orientation: landscape) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-column {
        text-align: left;
        animation: fadeInUp 0.4s ease-out;
    }
    
    /* Adjusted delays for 2-column landscape layout */
    .footer-column:nth-child(1) { animation-delay: 0.1s; }
    .footer-column:nth-child(2) { animation-delay: 0.1s; }
    .footer-column:nth-child(3) { animation-delay: 0.2s; }
    .footer-column:nth-child(4) { animation-delay: 0.2s; }
    
    .footer-heading {
        text-align: left;
    }
    
    .footer-heading::after {
        left: 0;
        transform: none;
    }
    
    .footer-about {
        text-align: left;
    }
    
    .footer-social {
        justify-content: flex-start;
    }
    
    .footer-links {
        text-align: left;
    }
    
    .newsletter-form {
        margin: 0 0 10px 0;
    }
}


/* Fix: avoid reviews colliding with previous "Our Journey" timeline */
.timeline-container {
    position: relative;
    z-index: 2; /* timeline above decorative backgrounds */
}

.our-story,
.reviews-section {
    position: relative;
    z-index: 1; /* normal stacking */
}

.reviews-section::before {
    /* If there's a decorative absolute background, ensure it stays behind */
    z-index: 0;
    pointer-events: none;
}

/* Add breathing room so sections don't visually overlap while scrolling */
.our-story { padding-bottom: 40px; }
.reviews-section {
    margin-top: 48px; /* increase if still too tight on small screens */
    padding-top: 24px;
}

/* Prevent fixed header from covering section anchors when jumping/scrolling */
html {
    scroll-padding-top: 88px; /* set this to your header height (adjust as needed) */
}
/* ...existing code... */
