: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;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.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 */
}

.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);
}

.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: 11px;
        gap: 8px;
        flex-direction: column;
        text-align: center;
        margin-bottom: 50px;
    }
    
    .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 */
.main-header {
            background-color: var(--white);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); 
             /*margin-top: 65px;*/
}
        
.header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 5%;
            max-width: 1400px;
            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 {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -2px 5px 15px rgba(31, 60, 95, 0.2);
    z-index: 1000;
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
    padding: 20px 0;
}

.mobile-menu.active {
    right: 0;
}

/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.mobile-menu-header h3 {
    margin: 0;
    color: var(--primary);
}

.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: 0 20px;
    margin: 0;
}

.mobile-links li {
    margin-bottom: 10px;
    opacity: 0;
    transform: translateX(20px);
    animation: slideIn 0.3s forwards;
}

.mobile-links a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
    background-color: rgba(107, 162, 217, 0.1);
}

.mobile-links a:hover {
    background-color: var(--secondary);
    color: var(--white);
}

.mobile-links a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Mobile CTA */
.mobile-cta {
    padding: 20px;
    border-top: 1px solid #eee;
    margin-top: 20px;
}

.mobile-cta-button {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-cta-button:hover {
    background-color: var(--primary);
}

.mobile-cta-button i {
    margin-right: 8px;
}

/* 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 section*/
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
line-height: 1.6;
color: var(--text);
overflow-x: hidden;
}

.hero-section {
position: relative;
min-height: 60vh;
background: linear-gradient(
    135deg, 
    rgba(31, 60, 95, 0.85) 0%,
    rgba(31, 60, 95, 0.75) 40%,
    rgba(107, 162, 217, 0.65) 100%
), url('https://stockcake.com/i/maasai-running-gracefully_1429952_478940');
background-size: cover;
background-position: center;
background-attachment: fixed;
display: flex;
align-items: center;
justify-content: center;
}

.hero-container {
max-width: 1400px;
width: 100%;
padding: 2rem;
display: grid;
grid-template-columns: 1fr;
gap: 2rem;
align-items: start;
}

.hero-content {
z-index: 10;
}

.event-badge {
display: inline-flex;
align-items: center;
gap: 0.5rem;
background: var(--accent);
color: var(--white);
padding: 0.5rem 1.2rem;
border-radius: 50px;
font-size: 0.85rem;
font-weight: 600;
margin-bottom: 1.5rem;
opacity: 0;
animation: slideInDown 0.8s ease-out 0.2s forwards;
}

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

.hero-title {
color: var(--white);
font-size: clamp(2rem, 6vw, 3.5rem);
font-weight: 800;
line-height: 1.1;
margin-bottom: 1rem;
opacity: 0;
animation: slideInUp 1s ease-out 0.4s forwards;
}

.hero-subtitle {
color: rgba(255, 255, 255, 0.9);
font-size: clamp(1rem, 2.5vw, 1.3rem);
font-weight: 400;
margin-bottom: 2rem;
opacity: 0;
animation: slideInUp 1s ease-out 0.6s forwards;
}

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

.countdown-container {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 16px;
padding: 1.5rem;
margin-bottom: 2rem;
opacity: 0;
animation: fadeInScale 1s ease-out 0.8s forwards;
}

@keyframes fadeInScale {
from {
    opacity: 0;
    transform: scale(0.95);
}
to {
    opacity: 1;
    transform: scale(1);
}
}

.countdown-title {
color: var(--white);
font-size: 1rem;
font-weight: 600;
text-align: center;
margin-bottom: 1rem;
}

.countdown-timer {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 0.75rem;
}

.time-unit {
background: linear-gradient(135deg, var(--primary), var(--secondary));
color: var(--white);
padding: 1rem 0.5rem;
border-radius: 12px;
text-align: center;
position: relative;
overflow: hidden;
}

.time-unit::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 2px;
background: var(--neon-yellow);
transform: scaleX(0);
animation: progressBar 60s linear infinite;
}

@keyframes progressBar {
to {
    transform: scaleX(1);
}
}

.time-value {
font-size: 1.8rem;
font-weight: 800;
line-height: 1;
transition: transform 0.3s ease;
}

.time-label {
font-size: 0.75rem;
text-transform: uppercase;
font-weight: 500;
margin-top: 0.25rem;
opacity: 0.9;
}

.cta-button {
display: inline-block;
background: transparent;
color: var(--neon-yellow);
border: 2px solid var(--neon-yellow);
padding: 1rem 2.5rem;
font-size: 1.1rem;
font-weight: 700;
text-decoration: none;
border-radius: 50px;
position: relative;
overflow: hidden;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
opacity: 0;
animation: slideInUp 1s ease-out 1s forwards;
}

.cta-button::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: var(--neon-yellow);
transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
z-index: -1;
}

.cta-button:hover {
color: var(--primary);
border-color: var(--neon-yellow);
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(255, 255, 0, 0.2);
}

.cta-button:hover::before {
left: 0;
}

.cta-button:active {
transform: translateY(0) scale(0.98);
}

.registration-section {
background: var(--white);
border-radius: 20px;
padding: 2rem;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
opacity: 0;
animation: slideInRight 1s ease-out 1.2s forwards;
}

@keyframes slideInRight {
from {
    opacity: 0;
    transform: translateX(30px);
}
to {
    opacity: 1;
    transform: translateX(0);
}
}

.registration-title {
color: var(--primary);
font-size: 1.5rem;
font-weight: 700;
text-align: center;
margin-bottom: 1.5rem;
}

.luma-embed {
border-radius: 12px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.luma-embed iframe {
width: 100%;
height: 450px;
border: none;
}

.event-details {
background: rgba(255, 255, 255, 0.95);
border-radius: 16px;
padding: 1.5rem;
margin-top: 2rem;
opacity: 0;
animation: fadeIn 1s ease-out 1.4s forwards;
}

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

.details-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1rem;
}

.detail-item {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.75rem;
background: var(--light-bg);
border-radius: 12px;
transition: transform 0.2s ease;
}

.detail-item:hover {
transform: translateY(-2px);
}

.detail-icon {
font-size: 1.2rem;
color: var(--accent);
min-width: 24px;
}

.detail-content {
flex: 1;
}

.detail-label {
font-size: 0.8rem;
color: var(--text);
opacity: 0.7;
text-transform: uppercase;
font-weight: 500;
}

.detail-value {
font-size: 0.95rem;
font-weight: 600;
color: var(--primary);
}

/* Responsive Design */
@media (min-width: 768px) {
.hero-section {
    min-height: 80vh;
}

.hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.countdown-timer {
    gap: 1rem;
}

.time-unit {
    padding: 1.25rem 1rem;
}

.time-value {
    font-size: 2.2rem;
}

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

@media (max-width: 767px) {
.hero-section {
    background-attachment: scroll;
}

.hero-container {
    padding: 1.5rem;
}

.countdown-timer {
    gap: 0.5rem;
}

.time-unit {
    padding: 0.75rem 0.25rem;
}

.time-value {
    font-size: 1.4rem;
}

.registration-section {
    padding: 1.5rem;
}

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

@media (max-width: 480px) {
.cta-button {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.registration-section {
    padding: 1rem;
}

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

/* Loading state for embed */
.embed-loading {
display: flex;
align-items: center;
justify-content: center;
height: 450px;
background: var(--light-bg);
border-radius: 12px;
}

.spinner {
width: 32px;
height: 32px;
border: 3px solid var(--light-bg);
border-left: 3px solid var(--accent);
border-radius: 50%;
animation: spin 1s linear infinite;
}

@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

/* Performance optimizations */
.hero-section {
will-change: transform;
}

.time-value {
will-change: transform;
}

/* Quick info/facts */
.facts-section {
    background: var(--white);
    padding: 3rem 0;
    position: relative; 
}

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    color: var(--primary);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.8;
}

.facts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.fact-card {
    background: var(--white);
    border: 1px solid rgba(31, 60, 95, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.fact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.fact-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--accent);
}

.fact-card:hover::before {
    transform: scaleY(1);
}

.fact-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.fact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent), var(--strava-orange));
    border-radius: 12px;
    font-size: 1.4rem;
    color: var(--white);
    flex-shrink: 0;
}

.fact-title {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
}

.fact-content {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.5;
}

.fact-content strong {
    color: var(--primary);
    font-weight: 600;
}

.fact-content .highlight {
    color: var(--accent);
    font-weight: 600;
}

.fact-list {
    list-style: none;
    padding: 0;
}

.fact-list li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1rem;
}

.fact-list li::before {
    content: '•';
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.contact-highlight {
    background: var(--light-bg);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    margin-top: 0.5rem;
    border: 2px solid var(--accent);
}

.contact-highlight a {
    color: var(--primary);
    text-decoration: none;
}

.contact-highlight a:hover {
    color: var(--accent);
}

/* Special styling for specific cards */
.distances-card .fact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.distance-item {
    background: var(--light-bg);
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(31, 60, 95, 0.1);
}

.distance-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.distance-label {
    font-size: 0.85rem;
    color: var(--text);
    opacity: 0.7;
}

.times-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.time-item {
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(31, 60, 95, 0.1);
}

.time-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
    margin-bottom: 0.25rem;
}

.time-location {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
}

/* Responsive Design */
@media (min-width: 768px) {
    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .facts-container {
        padding: 0 2.5rem;
    }

    .fact-card {
        padding: 2rem;
    }
}

@media (min-width: 1024px) {
    .facts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

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

@media (min-width: 1200px) {
    .facts-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Animation for cards appearing on scroll */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fact-card {
    animation: slideInUp 0.6s ease-out;
}

.fact-card:nth-child(1) { animation-delay: 0.1s; }
.fact-card:nth-child(2) { animation-delay: 0.2s; }
.fact-card:nth-child(3) { animation-delay: 0.3s; }
.fact-card:nth-child(4) { animation-delay: 0.4s; }
.fact-card:nth-child(5) { animation-delay: 0.5s; }
.fact-card:nth-child(6) { animation-delay: 0.6s; }
.fact-card:nth-child(7) { animation-delay: 0.7s; }

/* Mobile sticky bar option (commented out by default) */
/*
@media (max-width: 767px) {
    .facts-section {
        position: sticky;
        top: 0;
        z-index: 100;
        background: var(--white);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
}
*/

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .fact-card,
    .fact-card:hover {
        transition: none;
        animation: none;
    }
}

/* Focus states for accessibility */
.fact-card:focus-within {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* why us */
.why-race-section {
background: linear-gradient(135deg, 
    rgba(245, 245, 245, 1) 0%, 
    rgba(255, 255, 255, 0.9) 50%, 
    rgba(245, 245, 245, 1) 100%
);
padding: 5rem 0;
position: relative;
overflow: hidden;
}

.why-race-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23F57C51" fill-opacity="0.03"><circle cx="30" cy="30" r="2"/></g></g></svg>');
opacity: 0.5;
}

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

.section-header {
text-align: center;
margin-bottom: 4rem;
opacity: 0;
animation: slideInDown 1s ease-out 0.2s forwards;
}

@keyframes slideInDown {
from {
    opacity: 0;
    transform: translateY(-30px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}

.section-title {
color: var(--primary);
font-size: clamp(2rem, 5vw, 3rem);
font-weight: 800;
margin-bottom: 1rem;
position: relative;
display: inline-block;
}

.section-title::after {
content: '';
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 60px;
height: 4px;
background: linear-gradient(90deg, var(--accent), var(--strava-orange));
border-radius: 2px;
}

.section-subtitle {
color: var(--text);
font-size: clamp(1rem, 2.5vw, 1.3rem);
font-weight: 400;
max-width: 600px;
margin: 0 auto;
opacity: 0.8;
}

.why-grid {
display: grid;
grid-template-columns: 1fr;
gap: 2rem;
}

.why-card {
background: var(--white);
border-radius: 16px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
padding: 2.5rem;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
text-align: left;
position: relative;
overflow: hidden;
opacity: 0;
transform: translateY(30px);
border: 1px solid rgba(31, 60, 95, 0.06);
}

.why-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 4px;
background: linear-gradient(90deg, var(--accent), var(--secondary));
transform: scaleX(0);
transition: transform 0.4s ease;
}

.why-card:hover {
transform: translateY(-8px);
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
border-color: var(--accent);
}

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

.why-card.animate-in {
opacity: 1;
transform: translateY(0);
}

.card-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 64px;
height: 64px;
background: linear-gradient(135deg, var(--accent), var(--strava-orange));
border-radius: 16px;
font-size: 1.8rem;
margin-bottom: 1.5rem;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}

.card-icon::after {
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;
}

.why-card:hover .card-icon {
transform: rotate(5deg) scale(1.1);
}

.why-card:hover .card-icon::after {
left: 100%;
}

.card-title {
color: var(--primary);
font-size: 1.4rem;
font-weight: 700;
margin-bottom: 1rem;
line-height: 1.3;
}

.card-description {
color: var(--text);
font-size: 1.05rem;
line-height: 1.7;
font-weight: 400;
}

.card-accent {
color: var(--accent);
font-weight: 600;
}

/* Special styling for each card */
.why-card:nth-child(1) {
animation: slideInUp 0.8s ease-out 0.3s forwards;
}

.why-card:nth-child(2) {
animation: slideInUp 0.8s ease-out 0.4s forwards;
}

.why-card:nth-child(3) {
animation: slideInUp 0.8s ease-out 0.5s forwards;
}

.why-card:nth-child(4) {
animation: slideInUp 0.8s ease-out 0.6s forwards;
}

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

/* Responsive Design */
@media (min-width: 768px) {
.why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.why-container {
    padding: 0 3rem;
}

.why-card {
    padding: 3rem;
}

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

@media (min-width: 1024px) {
.why-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.why-card {
    padding: 2.5rem;
}

.card-title {
    font-size: 1.3rem;
}

.card-description {
    font-size: 1rem;
}
}

@media (min-width: 1200px) {
.why-grid {
    gap: 2.5rem;
}

.why-card {
    padding: 3rem;
}
}

/* Mobile-specific optimizations */
@media (max-width: 767px) {
.why-race-section {
    padding: 3rem 0;
}

.why-container {
    padding: 0 1.5rem;
}

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

.why-card {
    padding: 2rem;
    margin-bottom: 0.5rem;
}

.card-icon {
    width: 56px;
    height: 56px;
    font-size: 1.6rem;
}

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

.card-description {
    font-size: 1rem;
}
}

/* Intersection Observer Animation Classes */
.fade-in {
opacity: 0;
transform: translateY(20px);
transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
.why-card,
.why-card:hover,
.card-icon,
.section-header {
    transition: none;
    animation: none;
    transform: none;
}

.why-card {
    opacity: 1;
}
}

/* Focus states */
.why-card:focus-within {
outline: 2px solid var(--accent);
outline-offset: 4px;
}

/* Print styles */
@media print {
.why-race-section {
    background: white;
    box-shadow: none;
}

.why-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
}
}

/* partners */
.carousel-section {
padding: 80px 0;
background: linear-gradient(135deg, var(--white) 0%, var(--light-bg) 100%);
position: relative;
overflow: hidden;
}

.carousel-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: radial-gradient(circle at 20% 80%, rgba(107, 162, 217, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(245, 124, 81, 0.1) 0%, transparent 50%);
pointer-events: none;
}

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

.section-header {
text-align: center;
margin-bottom: 60px;
}

.section-title {
font-size: 3rem;
font-weight: bold;
color: var(--primary);
margin-bottom: 15px;
position: relative;
display: inline-block;
}

.section-title::after {
content: '';
position: absolute;
bottom: -8px;
left: 50%;
transform: translateX(-50%);
width: 60px;
height: 3px;
background: linear-gradient(90deg, var(--accent), var(--secondary));
border-radius: 2px;
}

.section-subtitle {
font-size: 1.1rem;
color: var(--text);
opacity: 0.8;
max-width: 500px;
margin: 0 auto;
}

.carousel-container {
position: relative;
margin: 40px 0;
background: var(--white);
border-radius: 20px;
padding: 40px 0;
box-shadow: 0 10px 30px rgba(31, 60, 95, 0.1);
overflow: hidden;
}

.carousel-track {
display: flex;
width: calc(200px * 9); /* 3 logos × 3 repetitions × 200px width */
animation: scroll 20s linear infinite;
will-change: transform;
}

.carousel-track:hover {
animation-play-state: paused;
}

@keyframes scroll {
0% {
    transform: translateX(0);
}
100% {
    transform: translateX(calc(-200px * 3)); /* Move by width of 3 logos */
}
}

.logo-item {
flex: 0 0 200px;
height: 120px;
display: flex;
align-items: center;
justify-content: center;
margin: 0 20px;
position: relative;
transition: all 0.3s ease;
cursor: pointer;
}

.logo-wrapper {
width: 160px;
height: 80px;
background: var(--white);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
transition: all 0.3s ease;
position: relative;
overflow: hidden;
border: 2px solid transparent;
}

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

.logo-item:hover .logo-wrapper::before {
left: 100%;
}

.logo-item:hover .logo-wrapper {
transform: translateY(-5px) scale(1.05);
box-shadow: 0 15px 30px rgba(31, 60, 95, 0.15);
border-color: var(--secondary);
}

.logo-img {
max-width: 140px;
max-height: 60px;
object-fit: contain;
transition: all 0.3s ease;
}

.logo-item:hover .logo-img {
transform: scale(1.1);
}

/* Placeholder styling for demo logos */
.logo-placeholder {
font-weight: bold;
color: var(--primary);
text-align: center;
font-size: 0.9rem;
line-height: 1.2;
}

.controls {
display: flex;
justify-content: center;
align-items: center;
gap: 20px;
margin-top: 30px;
}

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

.control-btn:hover {
background: var(--secondary);
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(31, 60, 95, 0.3);
}

.control-btn:active {
transform: translateY(0);
}

.speed-indicator {
display: flex;
align-items: center;
gap: 10px;
font-size: 0.9rem;
color: var(--text);
}

.speed-dots {
display: flex;
gap: 4px;
}

.speed-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--light-bg);
transition: all 0.3s ease;
}

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

.partnership-cta {
text-align: center;
margin-top: 50px;
padding: 40px;
background: linear-gradient(135deg, var(--primary), var(--secondary));
border-radius: 15px;
color: var(--white);
position: relative;
overflow: hidden;
}

.partnership-cta::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" fill="none"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
animation: float 15s linear infinite;
}

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

.cta-content {
position: relative;
z-index: 2;
}

.cta-title {
font-size: 2rem;
font-weight: bold;
margin-bottom: 15px;
}

.cta-text {
font-size: 1.1rem;
margin-bottom: 25px;
opacity: 0.9;
}

.cta-button {
background: var(--accent);
color: var(--white);
padding: 15px 30px;
border: none;
border-radius: 50px;
font-size: 1.1rem;
font-weight: bold;
cursor: pointer;
transition: all 0.3s ease;
text-decoration: none;
display: inline-block;
}

.cta-button:hover {
background: var(--neon-yellow);
color: var(--primary);
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(245, 124, 81, 0.3);
}

.stats-row {
display: flex;
justify-content: space-around;
margin-top: 40px;
padding: 30px;
background: rgba(255, 255, 255, 0.1);
border-radius: 10px;
backdrop-filter: blur(10px);
}

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

.stat-number {
font-size: 2rem;
font-weight: bold;
color: var(--neon-yellow);
display: block;
}

.stat-label {
font-size: 0.9rem;
opacity: 0.8;
}

@media (max-width: 768px) {
.section-title {
    font-size: 2.2rem;
}

.carousel-track {
    width: calc(180px * 9);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-180px * 3));
    }
}

.logo-item {
    flex: 0 0 180px;
}

.logo-wrapper {
    width: 140px;
    height: 70px;
}

.logo-img {
    max-width: 120px;
    max-height: 50px;
}

.stats-row {
    flex-direction: column;
    gap: 20px;
}

.cta-title {
    font-size: 1.6rem;
}
}

 /* 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;
    }
}
