: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;
    }
    
    .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);
            margin-top: 60px;
}
        
.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) {
    .main-header{
        margin-top: 175px;
    }
    
    .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;
    }
}

/* Urban Swaras Membership Page Styles */
:root {
    --primary: #1F3C5F;
    --secondary: #6BA2D9;
    --accent: #F57C51;
    --text: #333333;
    --light-bg: #F5F5F5;
    --white: #FFFFFF;
    --yellow: #FFD700;
    --yellow-light: #FFF5B7;
    --yellow-dark: #DAA520;
    --black: #000000;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.2);
}

* {
    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);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

/* Enhanced Hero Banner with New Color Palette */
.hero-banner {
    position: relative;
    height: 40vh;
    background: linear-gradient(135deg, var(--primary) 0%, #2A4F7A 50%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 3px solid var(--accent);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(107, 162, 217, 0.15) 0%,
        rgba(31, 60, 95, 0.1) 40%,
        transparent 70%
    );
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative; 
    padding: 0 20px;
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--white) 0%, var(--secondary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out, textShimmer 3s ease-in-out infinite;
    letter-spacing: -1px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--white);
    font-weight: bold;
    font-style: italic;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.3s both;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    position: relative;
} 

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textShimmer {
    0%, 100% { 
        filter: brightness(1); 
    }
    50% { 
        filter: brightness(1.2); 
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) scale(1.5);
        opacity: 0.3;
    }
}

@keyframes innerPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.7;
    }
}

/* Dynamic background elements */
.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(245, 124, 81, 0.1) 25%,
        transparent 50%,
        rgba(107, 162, 217, 0.1) 75%,
        transparent 100%
    );
    z-index: 1;
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { 
        opacity: 0;
        transform: translateX(-100%);
    }
    50% { 
        opacity: 1;
        transform: translateX(100%);
    }
}

/* Floating particles effect */
.hero-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, var(--accent), transparent),
        radial-gradient(2px 2px at 40% 70%, var(--secondary), transparent),
        radial-gradient(1px 1px at 90% 40%, var(--white), transparent),
        radial-gradient(1px 1px at 60% 10%, var(--accent), transparent);
    background-repeat: no-repeat;
    background-size: 400px 400px, 300px 300px, 200px 200px, 150px 150px;
    animation: float 20s linear infinite;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}
.running-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.running-icons i {
    position: absolute;
    font-size: 2rem;
    color: var(--accent);
    opacity: 0.6;
}

.runner-1 {
    top: 20%;
    left: -50px;
}

.runner-2 {
    top: 60%;
    left: -50px;
}

.runner-3 {
    top: 80%;
    left: -50px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

 

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

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

/* Welcome Section */
.welcome-section {
    margin-top: -2rem;
    padding-top: 4rem;
}

.content-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    border: 1px solid rgba(255, 215, 0, 0.3);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s ease;
}

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

.content-card h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.content-card p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.link-highlight {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.link-highlight:hover {
    border-bottom-color: var(--accent);
    color: var(--primary);
}

/* Define CSS Variables for consistent theming */
        :root {
            --primary: #2c3e50; /* Dark Blue/Charcoal */
            --secondary: #6ba2d9; /* Light Blue */
            --secondary-light: #e0eaf6; /* Very Light Blue for backgrounds */
            --accent: #f57c51; /* Orange/Coral - Primary accent */
            --yellow: #ffd700; /* Gold Yellow */
            --yellow-light: #fffacd; /* Light Gold */
            --yellow-dark: #ccaa00; /* Darker Gold */
            --white: #ffffff;
            --light-bg: #f8f9fa; /* Light grey background */
            --text: #4a5568; /* Dark grey for general text */
            --shadow: rgba(0, 0, 0, 0.08); /* Soft shadow */
            --shadow-hover: rgba(0, 0, 0, 0.15); /* Stronger shadow on hover */
        }

        body {
            font-family: 'Inter', sans-serif;
            margin: 0;
            padding: 20px;
            background-color: var(--light-bg);
            color: var(--text);
            line-height: 1.6;
            overflow-x: hidden; /* Prevent horizontal scroll */
        }

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

        .section-title {
            font-size: 2.2rem;
            color: var(--primary);
            text-align: center;
            margin-bottom: 3rem;
            font-weight: 800;
            position: relative;
            padding-bottom: 10px;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background-color: var(--accent);
            border-radius: 2px;
        }

        /* Membership Grid */
        .membership-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Adjusted minmax for better fit */
            gap: 2rem;
            margin-top: 2rem;
            padding: 0 10px; /* Add some padding for smaller screens */
        }

        .membership-card {
            background: var(--white);
            border-radius: 20px;
            padding: 2.5rem;
            box-shadow: 0 10px 30px var(--shadow);
            border: 3px solid transparent;
            transition: all 0.4s ease;
            position: relative;
            transform: translateY(20px);
            opacity: 0;
            display: flex;
            flex-direction: column;
            justify-content: space-between; /* Distribute space */
        }

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

        .membership-card:hover {
            box-shadow: 0 20px 50px var(--shadow-hover);
            border-color: var(--yellow);
        }

        .membership-card.featured {
            border-color: var(--yellow);
            background: linear-gradient(135deg, var(--white) 0%, var(--yellow-light) 100%);
        }

        .featured-badge {
            position: absolute;
            top: -10px;
            right: 20px;
            background: var(--accent);
            color: var(--white);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            animation: bounce 2s infinite;
        }

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

        .card-header {
            text-align: center;
            margin-bottom: 2rem;
        }

        .card-header i {
            font-size: 3rem;
            color: var(--accent);
            margin-bottom: 1rem;
            display: block;
        }

        .card-header h3 {
            font-size: 1.5rem;
            color: var(--primary);
            font-weight: 700;
        }

        .price-display {
            text-align: center;
            margin-bottom: 2rem;
        }

        .price {
            display: block;
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--primary);
            margin-bottom: 0.5rem;
        }

        .price-breakdown {
            font-size: 0.9rem;
            color: var(--text);
            opacity: 0.8;
        }

        .membership-details ul {
            list-style: none;
            margin-bottom: 2rem;
            padding-left: 0; /* Remove default padding */
        }

        .membership-details li {
            padding: 0.5rem 0;
            padding-left: 1.5rem;
            position: relative;
            color: var(--text);
        }

        .membership-details li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--accent);
            font-weight: bold;
        }

        .join-btn {
            width: 100%;
            padding: 1rem 2rem;
            border: none;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-top: auto; /* Push button to the bottom */
        }

        .quarterly-btn {
            background: linear-gradient(45deg, var(--secondary), var(--primary));
            color: var(--white);
        }

        .quarterly-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(107, 162, 217, 0.4);
        }

        .annual-btn {
            background: linear-gradient(45deg, var(--accent), var(--yellow-dark));
            color: var(--white);
        }

        .annual-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(245, 124, 81, 0.4);
        }

        .guest-btn {
            background: linear-gradient(45deg, var(--yellow), var(--yellow-dark));
            color: var(--primary);
        }

        .guest-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(255, 215, 0, 0.4);
        }

        .payment-info h4 {
            color: var(--primary);
            margin-bottom: 1rem;
            font-size: 1.5rem;
        }

        .payment-steps {
            margin-top: 1.5rem;
        }

        .payment-steps h5 {
            color: var(--primary);
            margin-bottom: 1rem;
        }

        .payment-steps ol,
        .payment-steps ul {
            margin-left: 1.5rem;
        }

        .payment-steps li {
            margin-bottom: 0.5rem;
            color: var(--text);
        }

        .form-btn {
            background: var(--accent);
            color: var(--white);
            border: none;
            padding: 1rem 2rem;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            margin-top: 1rem;
            transition: all 0.3s ease;
        }

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

        /* Opt Out Section */
        .warning-card {
            border-left: 5px solid var(--accent);
            background: linear-gradient(135deg, var(--white) 0%, #fff5f5 100%);
        }

        .warning-card h3 {
            color: var(--accent);
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .contact-info {
            background: var(--light-bg);
            padding: 1.5rem;
            border-radius: 10px;
            margin-top: 1rem;
        }

        .email-link {
            color: var(--accent);
            text-decoration: none;
            font-weight: 600;
        }

        .email-link:hover {
            text-decoration: underline;
        }

        /* Enhanced Form Sections */
        .form-section {
            margin: 2rem 0;
            padding: 1.5rem;
            background: linear-gradient(135deg, var(--white) 0%, #f8fafe 100%);
            border-radius: 15px;
            border: 1px solid rgba(107, 162, 217, 0.1);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        }

        .section-title {
            color: var(--primary);
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            border-bottom: 2px solid var(--secondary);
            padding-bottom: 0.5rem;
        }

        .section-title i {
            color: var(--accent);
            font-size: 1.2rem;
        }

        /* Form Group Styling */
        .form-group {
            margin-bottom: 1.5rem;
            position: relative;
        }

        /* Form Label Styling */
        .form-label {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 0.5rem;
            font-size: 1rem;
        }

        .form-label i {
            color: var(--accent);
            font-size: 1.1rem;
        }

        /* Form Input Styling */
        .form-input {
            width: 100%;
            padding: 1rem;
            border: 2px solid #e1e5e9;
            border-radius: 10px;
            font-size: 1rem;
            font-family: inherit;
            color: var(--text);
            background: var(--white);
            transition: all 0.3s ease;
            outline: none;
            box-sizing: border-box;
        }

        .form-input::placeholder {
            color: #9ca3af;
            opacity: 1;
        }

        .form-input:focus {
            border-color: var(--secondary);
            box-shadow: 0 0 0 3px rgba(107, 162, 217, 0.2);
        }

        /* Error State */
        .form-input.error {
            border-color: var(--accent);
            background: rgba(245, 124, 81, 0.05);
        }

        .form-input.error:focus {
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(245, 124, 81, 0.1);
        }

        /* Error Message Styling */
        .error-message {
            color: var(--accent);
            font-size: 0.875rem;
            font-weight: 500;
            margin-top: 0.5rem;
            opacity: 0;
            transform: translateY(-5px);
            transition: all 0.3s ease;
            display: block;
        }

        .form-input.error + .error-message {
            opacity: 1;
            transform: translateY(0);
        }

        /* Form Container */
        #registrationForm {
            background: var(--white);
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }

        /* Mobile Responsive Media Queries - Hero Section */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .hero-banner {
        height: 35vh;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .content-card {
        padding: 2.5rem;
    }
    
    .membership-grid {
        gap: 1.5rem;
    }
    
    .membership-card {
        padding: 2rem;
    }
    
    .running-icons i {
        font-size: 1.8rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .hero-banner {
        height: 30vh;
    }
    
    .hero-content {
        max-width: 600px;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .section-title::after {
        width: 60px;
        height: 3px;
    }
    
    .content-card {
        padding: 2rem;
        border-radius: 15px;
    }
    
    .content-card h2 {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }
    
    .content-card p {
        font-size: 1rem;
    }
    
    .membership-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 5px;
    }
    
    .membership-card {
        padding: 1.8rem;
        border-radius: 15px;
    }
    
    .card-header i {
        font-size: 2.5rem;
    }
    
    .card-header h3 {
        font-size: 1.3rem;
    }
    
    .price {
        font-size: 2.2rem;
    }
    
    .join-btn {
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
    }
    
    .running-icons i {
        font-size: 1.5rem;
        opacity: 0.4;
    }
    
    .form-section {
        padding: 1.2rem;
        margin: 1.5rem 0;
    }
    
    #registrationForm {
        padding: 1.5rem;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .hero-banner {
        height: 25vh;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 0.6rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .section-title::after {
        width: 50px;
        height: 3px;
    }
    
    .welcome-section {
        margin-top: -1rem;
        padding-top: 2rem;
    }
    
    .content-card {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .content-card h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .content-card p {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }
    
    .membership-grid {
        gap: 1.2rem;
        padding: 0;
    }
    
    .membership-card {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .featured-badge {
        top: -8px;
        right: 15px;
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .card-header {
        margin-bottom: 1.5rem;
    }
    
    .card-header i {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }
    
    .card-header h3 {
        font-size: 1.2rem;
    }
    
    .price-display {
        margin-bottom: 1.5rem;
    }
    
    .price {
        font-size: 2rem;
        margin-bottom: 0.3rem;
    }
    
    .price-breakdown {
        font-size: 0.85rem;
    }
    
    .membership-details ul {
        margin-bottom: 1.5rem;
    }
    
    .membership-details li {
        padding: 0.4rem 0;
        padding-left: 1.2rem;
        font-size: 0.9rem;
    }
    
    .join-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
        gap: 0.3rem;
        letter-spacing: 0.5px;
    }
    
    .running-icons {
        display: none;
    }
    
    .form-section {
        padding: 1rem;
        margin: 1rem 0;
        border-radius: 12px;
    }
    
    .section-title {
        font-size: 1rem;
        margin-bottom: 1.2rem;
        gap: 0.3rem;
    }
    
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    .form-label {
        font-size: 0.9rem;
        gap: 0.3rem;
        margin-bottom: 0.4rem;
    }
    
    .form-input {
        padding: 0.8rem;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    
    .form-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        border-radius: 25px;
    }
    
    #registrationForm {
        padding: 1.2rem;
        border-radius: 12px;
    }
    
    .contact-info {
        padding: 1.2rem;
        border-radius: 8px;
    }
    
    .payment-steps ol,
    .payment-steps ul {
        margin-left: 1rem;
    }
}

/* Small mobile phones */
@media (max-width: 320px) {
    .hero-banner {
        height: 22vh;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .content-card {
        padding: 1.2rem;
    }
    
    .content-card h2 {
        font-size: 1.3rem;
    }
    
    .membership-card {
        padding: 1.2rem;
    }
    
    .card-header i {
        font-size: 2rem;
    }
    
    .card-header h3 {
        font-size: 1.1rem;
    }
    
    .price {
        font-size: 1.8rem;
    }
    
    .join-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .featured-badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .form-section {
        padding: 0.8rem;
    }
    
    .form-input {
        padding: 0.7rem;
        font-size: 0.85rem;
    }
    
    #registrationForm {
        padding: 1rem;
    }
}
        /* Emergency Contacts */
        .emergency-contact-group {
            margin-bottom: 1.5rem;
            padding: 1rem;
            background: rgba(245, 124, 81, 0.05);
            border-radius: 10px;
            border-left: 4px solid var(--accent);
        }

        .contact-header {
            color: var(--primary);
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        /* Select Dropdown */
        .form-select {
            appearance: none;
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
            background-position: right 0.5rem center;
            background-repeat: no-repeat;
            background-size: 1.5em 1.5em;
            padding-right: 2.5rem;
        }

        .form-select:focus {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23f57c51' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
        }

        /* Checkbox Styling */
        .checkbox-group {
            display: grid;
            gap: 0.75rem;
        }

        .checkbox-label {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            cursor: pointer;
            padding: 0.75rem;
            border-radius: 8px;
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.7);
            border: 1px solid rgba(107, 162, 217, 0.2);
            color: var(--text); /* Ensure text color is consistent */
        }

        .checkbox-label:hover {
            background: rgba(107, 162, 217, 0.1);
            border-color: var(--secondary);
            transform: translateX(3px);
        }

        .checkbox-input {
            display: none;
        }

        .checkbox-custom {
            width: 20px;
            height: 20px;
            border: 2px solid var(--secondary);
            border-radius: 4px;
            position: relative;
            flex-shrink: 0;
            transition: all 0.3s ease;
            background: var(--white);
        }

        .checkbox-input:checked + .checkbox-custom {
            background: var(--accent);
            border-color: var(--accent);
            transform: scale(1.1);
        }

        .checkbox-input:checked + .checkbox-custom::after {
            content: '✓';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: var(--white);
            font-weight: bold;
            font-size: 14px;
        }

        /* Other Input Group */
        .other-input-group {
            margin-top: 1rem;
            padding: 1rem;
            background: rgba(245, 124, 81, 0.05);
            border-radius: 8px;
            border: 1px dashed var(--accent);
            animation: slideDown 0.3s ease-out;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                max-height: 0;
                padding: 0 1rem;
            }
            to {
                opacity: 1;
                max-height: 100px;
                padding: 1rem;
            }
        }

        /* Terms Section */
        .terms-section {
            background: linear-gradient(135deg, #fff5f0 0%, var(--white) 100%);
            border: 2px solid var(--accent);
        }

        .terms-content {
            position: relative;
        }

        .terms-checkbox {
            align-items: flex-start !important;
            padding: 1rem;
            background: rgba(255, 255, 255, 0.8);
            border-radius: 10px;
            border: 1px solid rgba(245, 124, 81, 0.3);
        }

        .terms-text {
            line-height: 1.6;
            color: var(--text);
            font-size: 0.95rem;
        }

        .terms-link {
            color: var(--accent);
            text-decoration: underline;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .terms-link:hover {
            color: var(--primary);
            text-decoration-thickness: 2px;
        }

        /* Mobile Responsive Media Queries */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .emergency-contact-group {
        padding: 0.875rem;
        margin-bottom: 1.25rem;
    }
    
    .checkbox-label {
        padding: 0.625rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .emergency-contact-group {
        padding: 0.75rem;
        margin-bottom: 1rem;
        border-left-width: 3px;
    }
    
    .contact-header {
        font-size: 0.95rem;
        gap: 0.375rem;
    }
    
    .form-row {
        gap: 0.625rem;
        margin-bottom: 0.875rem;
    }
    
    .checkbox-group {
        gap: 0.625rem;
    }
    
    .checkbox-label {
        padding: 0.625rem 0.5rem;
        gap: 0.625rem;
    }
    
    .checkbox-label:hover {
        transform: translateX(2px);
    }
    
    .checkbox-custom {
        width: 18px;
        height: 18px;
    }
    
    .checkbox-input:checked + .checkbox-custom::after {
        font-size: 12px;
    }
    
    .other-input-group {
        padding: 0.75rem;
        margin-top: 0.75rem;
    }
    
    .terms-section {
        border-width: 1px;
    }
    
    .terms-checkbox {
        padding: 0.75rem;
    }
    
    .terms-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .emergency-contact-group {
        padding: 0.625rem;
        margin-bottom: 0.875rem;
        border-radius: 8px;
    }
    
    .contact-header {
        font-size: 0.9rem;
        gap: 0.25rem;
        margin-bottom: 0.75rem;
    }
    
    .form-row {
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .form-select {
        padding-right: 2rem;
        background-size: 1.25em 1.25em;
        background-position: right 0.375rem center;
    }
    
    .checkbox-group {
        gap: 0.5rem;
    }
    
    .checkbox-label {
        padding: 0.5rem;
        gap: 0.5rem;
        border-radius: 6px;
    }
    
    .checkbox-label:hover {
        transform: translateX(1px);
    }
    
    .checkbox-custom {
        width: 16px;
        height: 16px;
        border-width: 1.5px;
        border-radius: 3px;
    }
    
    .checkbox-input:checked + .checkbox-custom {
        transform: scale(1.05);
    }
    
    .checkbox-input:checked + .checkbox-custom::after {
        font-size: 11px;
    }
    
    .other-input-group {
        padding: 0.625rem;
        margin-top: 0.625rem;
        border-radius: 6px;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            max-height: 0;
            padding: 0 0.625rem;
        }
        to {
            opacity: 1;
            max-height: 80px;
            padding: 0.625rem;
        }
    }
    
    .terms-checkbox {
        padding: 0.625rem;
        border-radius: 8px;
    }
    
    .terms-text {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* Small mobile phones */
@media (max-width: 360px) {
    .emergency-contact-group {
        padding: 0.5rem;
        border-left-width: 2px;
    }
    
    .contact-header {
        font-size: 0.85rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.125rem;
    }
    
    .form-row {
        gap: 0.375rem;
    }
    
    .checkbox-label {
        padding: 0.375rem;
        gap: 0.375rem;
    }
    
    .checkbox-custom {
        width: 14px;
        height: 14px;
        border-width: 1px;
    }
    
    .checkbox-input:checked + .checkbox-custom::after {
        font-size: 10px;
    }
    
    .other-input-group {
        padding: 0.5rem;
    }
    
    .terms-checkbox {
        padding: 0.5rem;
    }
    
    .terms-text {
        font-size: 0.8rem;
    }
}
        /* Animation for form sections */
        .form-section {
            animation: fadeInUp 0.6s ease-out;
        }

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

        /* Focus states for better accessibility */
        .checkbox-input:focus + .checkbox-custom {
            box-shadow: 0 0 0 3px rgba(245, 124, 81, 0.3);
            outline: none;
        }

        .form-select:focus {
            box-shadow: 0 0 0 3px rgba(245, 124, 81, 0.3);
        }

        /* Enhanced submit button area */
        .form-section:last-of-type {
            margin-bottom: 0;
        }

        /* Modal Overlay - Centering and transitions */
        .modal-overlay {
            display: none; /* Hidden by default */
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6); /* Slightly darker overlay */
            z-index: 1000;
            backdrop-filter: blur(4px); /* Stronger blur for better focus */
            /* For centering when active */
            display: flex; /* Changed from 'none' to 'flex' so flex properties apply, then control visibility with opacity/visibility */
            align-items: center;
            justify-content: center;
            opacity: 0; /* Initial state for transition */
            visibility: hidden; /* Initial state for transition */
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        /* Active state for modal overlay */
        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* Modal Content - Size and positioning */
        .modal-content {
            background-color: var(--white);
            padding: 2.5rem; /* Slightly more padding for larger modal */
            border-radius: 25px; /* More rounded corners */
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2); /* Stronger shadow */
            position: relative;
            width: 90%; /* Responsive width */
            /* -- Tweak Modal Width Here -- */
            max-width: 1000px; /* Max width for larger screens (e.g., 600px to 900px) */
            /* -- Tweak Modal Height Here -- */
            max-height: 90vh; /* Max height to prevent overflow on smaller screens (e.g., 80vh to 95vh) */
            overflow-y: auto; /* Enable scrolling for content overflow */
            transform: translateY(20px); /* Initial state for animation */
            opacity: 0; /* Initial state for animation */
            transition: transform 0.3s ease-out, opacity 0.3s ease-out;
            box-sizing: border-box; /* Include padding in width/height calculation */
        }

        /* Active state for modal content */
        .modal-overlay.active .modal-content {
            transform: translateY(0);
            opacity: 1;
        }

        /* Specific styling for the form elements within the modal for better UI/UX */
        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 2px solid var(--secondary-light); /* Lighter border */
            padding-bottom: 1.5rem;
            margin-bottom: 2rem;
        }

        .modal-title {
            color: var(--primary);
            font-size: 1.8rem;
            font-weight: 700;
        }

        .modal-close {
            background: none;
            border: none;
            font-size: 1.8rem;
            color: var(--text);
            cursor: pointer;
            transition: color 0.3s ease, transform 0.3s ease;
            padding: 5px; /* Increase click area */
            border-radius: 50%; /* Make it circular */
        }

        .modal-close:hover {
            color: var(--accent);
            transform: rotate(90deg);
            background-color: rgba(245, 124, 81, 0.1); /* Light background on hover */
        }

        .membership-info {
            background: linear-gradient(90deg, var(--secondary-light) 0%, rgba(107, 162, 217, 0.1) 100%);
            padding: 1.2rem 1.8rem;
            border-radius: 12px;
            margin-bottom: 2rem;
            text-align: center;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }

        .membership-info h3 {
            color: var(--primary);
            font-size: 1.4rem;
            margin-bottom: 0.5rem;
        }

        .membership-info p {
            color: var(--accent);
            font-size: 1.6rem;
            font-weight: 800;
        }

        /* Alert Message */
        .alert-message {
            background: #ffebeb;
            color: var(--accent);
            padding: 1rem 1.5rem;
            border-radius: 10px;
            border: 1px solid var(--accent);
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-weight: 600;
            opacity: 0;
            transform: translateY(-10px);
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .alert-message.show {
            opacity: 1;
            transform: translateY(0);
        }

        .alert-message i {
            font-size: 1.2rem;
        }

        /* Success Message */
        .success-message {
            text-align: center;
            padding: 2.5rem;
            background: linear-gradient(135deg, #e6ffe6 0%, #d4f8d4 100%); /* Greenish gradient */
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0, 128, 0, 0.1);
            color: var(--primary);
            animation: fadeInScale 0.5s ease-out;
            display: none; /* Controlled by JS */
            border: 2px solid #66bb6a; /* Green border */
        }

        .success-message.show {
            display: block;
        }

        .success-message h3 {
            font-size: 1.8rem;
            color: #4CAF50; /* Darker green */
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
        }

        .success-message h3 i {
            font-size: 2.2rem;
            color: #4CAF50;
        }

        .success-message p {
            font-size: 1.1rem;
            margin-bottom: 0.8rem;
            line-height: 1.5;
        }

        .success-message strong {
            color: var(--accent);
        }

        .redirect-info {
            margin-top: 1.5rem;
            font-size: 0.95rem;
            color: var(--text);
        }

        .countdown {
            font-weight: 700;
            color: var(--accent);
            font-size: 1.1em;
        }

        /* Submit Button */
        .submit-btn {
            width: 100%;
            padding: 1.2rem 2rem;
            background: linear-gradient(45deg, var(--accent), var(--yellow-dark));
            color: var(--white);
            border: none;
            border-radius: 50px;
            font-size: 1.2rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            margin-top: 2rem;
            box-shadow: 0 8px 20px rgba(245, 124, 81, 0.3);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .submit-btn:hover:not(:disabled) {
            transform: translateY(-4px);
            box-shadow: 0 12px 25px rgba(245, 124, 81, 0.45);
        }

        .submit-btn:disabled {
            background: #ccc;
            cursor: not-allowed;
            box-shadow: none;
            transform: none;
        }

        .loading-spinner {
            border: 4px solid rgba(255, 255, 255, 0.3);
            border-top: 4px solid var(--white);
            border-radius: 50%;
            width: 20px;
            height: 20px;
            animation: spin 1s linear infinite;
            display: none; /* Hidden by default */
        }

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

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

        /* Mobile Responsive Media Queries */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .emergency-contact-group {
        padding: 0.875rem;
        margin-bottom: 1.25rem;
    }
    
    .checkbox-label {
        padding: 0.625rem;
    }
    
    .modal-content {
        padding: 2rem;
        max-width: 90%;
        border-radius: 22px;
    }
    
    .modal-title {
        font-size: 1.6rem;
    }
    
    .membership-info {
        padding: 1.1rem 1.6rem;
    }
    
    .membership-info h3 {
        font-size: 1.35rem;
    }
    
    .success-message {
        padding: 2.25rem;
    }
    
    .success-message h3 {
        font-size: 1.7rem;
    }
    
    .success-message h3 i {
        font-size: 2.1rem;
    }
    
    .submit-btn {
        padding: 1.15rem 1.85rem;
        font-size: 1.18rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .emergency-contact-group {
        padding: 0.75rem;
        margin-bottom: 1rem;
        border-left-width: 3px;
    }
    
    .contact-header {
        font-size: 0.95rem;
        gap: 0.375rem;
    }
    
    .form-row {
        gap: 0.625rem;
        margin-bottom: 0.875rem;
    }
    
    .checkbox-group {
        gap: 0.625rem;
    }
    
    .checkbox-label {
        padding: 0.625rem 0.5rem;
        gap: 0.625rem;
    }
    
    .checkbox-label:hover {
        transform: translateX(2px);
    }
    
    .checkbox-custom {
        width: 18px;
        height: 18px;
    }
    
    .checkbox-input:checked + .checkbox-custom::after {
        font-size: 12px;
    }
    
    .other-input-group {
        padding: 0.75rem;
        margin-top: 0.75rem;
    }
    
    .terms-section {
        border-width: 1px;
    }
    
    .terms-checkbox {
        padding: 0.75rem;
    }
    
    .terms-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .modal-content {
        padding: 1.75rem;
        max-width: 95%;
        border-radius: 20px;
    }
    
    .modal-header {
        padding-bottom: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .modal-close {
        font-size: 1.6rem;
    }
    
    .membership-info {
        padding: 1rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .membership-info h3 {
        font-size: 1.3rem;
    }
    
    .membership-info p {
        font-size: 1.5rem;
    }
    
    .alert-message {
        padding: 0.875rem 1.25rem;
        gap: 0.625rem;
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
    
    .success-message {
        padding: 2rem;
    }
    
    .success-message h3 {
        font-size: 1.6rem;
    }
    
    .success-message h3 i {
        font-size: 2rem;
    }
    
    .success-message p {
        font-size: 1.05rem;
    }
    
    .redirect-info {
        margin-top: 1.25rem;
    }
    
    .submit-btn {
        padding: 1.1rem 1.75rem;
        font-size: 1.15rem;
        border-radius: 45px;
        margin-top: 1.75rem;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .emergency-contact-group {
        padding: 0.625rem;
        margin-bottom: 0.875rem;
        border-radius: 8px;
    }
    
    .contact-header {
        font-size: 0.9rem;
        gap: 0.25rem;
        margin-bottom: 0.75rem;
    }
    
    .form-row {
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .form-select {
        padding-right: 2rem;
        background-size: 1.25em 1.25em;
        background-position: right 0.375rem center;
    }
    
    .checkbox-group {
        gap: 0.5rem;
    }
    
    .checkbox-label {
        padding: 0.5rem;
        gap: 0.5rem;
        border-radius: 6px;
    }
    
    .checkbox-label:hover {
        transform: translateX(1px);
    }
    
    .checkbox-custom {
        width: 16px;
        height: 16px;
        border-width: 1.5px;
        border-radius: 3px;
    }
    
    .checkbox-input:checked + .checkbox-custom {
        transform: scale(1.05);
    }
    
    .checkbox-input:checked + .checkbox-custom::after {
        font-size: 11px;
    }
    
    .other-input-group {
        padding: 0.625rem;
        margin-top: 0.625rem;
        border-radius: 6px;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            max-height: 0;
            padding: 0 0.625rem;
        }
        to {
            opacity: 1;
            max-height: 80px;
            padding: 0.625rem;
        }
    }
    
    .terms-checkbox {
        padding: 0.625rem;
        border-radius: 8px;
    }
    
    .terms-text {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .modal-content {
        padding: 1.25rem;
        max-width: 95%;
        border-radius: 18px;
    }
    
    .modal-header {
        padding-bottom: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .modal-title {
        font-size: 1.3rem;
    }
    
    .modal-close {
        font-size: 1.5rem;
        padding: 4px;
    }
    
    .membership-info {
        padding: 1rem;
        margin-bottom: 1.25rem;
        border-radius: 10px;
    }
    
    .membership-info h3 {
        font-size: 1.2rem;
    }
    
    .membership-info p {
        font-size: 1.4rem;
    }
    
    .alert-message {
        padding: 0.75rem 1rem;
        gap: 0.5rem;
        font-size: 0.9rem;
        border-radius: 8px;
        margin-bottom: 1rem;
    }
    
    .alert-message i {
        font-size: 1rem;
    }
    
    .success-message {
        padding: 1.75rem;
        border-radius: 12px;
    }
    
    .success-message h3 {
        font-size: 1.5rem;
        gap: 0.625rem;
    }
    
    .success-message h3 i {
        font-size: 1.8rem;
    }
    
    .success-message p {
        font-size: 1rem;
    }
    
    .redirect-info {
        margin-top: 1rem;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        border-radius: 40px;
        gap: 0.625rem;
        margin-top: 1.5rem;
    }
    
    .loading-spinner {
        width: 18px;
        height: 18px;
        border-width: 3px;
    }
}

/* Small mobile phones */
@media (max-width: 360px) {
    .emergency-contact-group {
        padding: 0.5rem;
        border-left-width: 2px;
    }
    
    .contact-header {
        font-size: 0.85rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.125rem;
    }
    
    .form-row {
        gap: 0.375rem;
    }
    
    .checkbox-label {
        padding: 0.375rem;
        gap: 0.375rem;
    }
    
    .checkbox-custom {
        width: 14px;
        height: 14px;
        border-width: 1px;
    }
    
    .checkbox-input:checked + .checkbox-custom::after {
        font-size: 10px;
    }
    
    .other-input-group {
        padding: 0.5rem;
    }
    
    .terms-checkbox {
        padding: 0.5rem;
    }
    
    .terms-text {
        font-size: 0.8rem;
    }
    
    .modal-content {
        padding: 0.5rem;
        max-width: 95%;
        border-radius: 15px;
    }
    
    .modal-header {
        padding-bottom: 0.75rem;
        margin-bottom: 1rem;
        border-bottom-width: 1px;
    }
    
    .modal-title {
        font-size: 1rem;
    }
    
    .modal-close {
        font-size: 1.2rem;
        padding: 3px;
    }
    
    .membership-info {
        padding: 0.75rem;
        margin-bottom: 1rem;
        border-radius: 8px;
    }
    
    .membership-info h3 {
        font-size: 1rem;
    }
    
    .membership-info p {
        font-size: 1.2rem;
    }
    
    .alert-message {
        padding: 0.625rem;
        gap: 0.5rem;
        font-size: 0.8rem;
        border-radius: 6px;
    }
    
    .success-message {
        padding: 1.25rem;
        border-radius: 10px;
    }
    
    .success-message h3 {
        font-size: 1.2rem;
        gap: 0.5rem;
    }
    
    .success-message h3 i {
        font-size: 1.5rem;
    }
    
    .success-message p {
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
        border-radius: 30px;
        gap: 0.5rem;
        letter-spacing: 0.5px;
    }
    
    .loading-spinner {
        width: 16px;
        height: 16px;
        border-width: 3px;
    }
}

/* Reviews Section */
.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 20px;
}

.review-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    border-left: 5px solid var(--yellow);
    position: relative;
    transform: translateX(-20px);
    opacity: 0;
    transition: all 0.6s ease;
}

.reviews-section h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    margin-top: 15px;
}

.opt-out-section h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    margin-top: 15px;
}

.review-card.animate-in {
    transform: translateX(0);
    opacity: 1;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px var(--shadow-hover);
}

.quote-icon {
    font-size: 4rem;
    color: var(--yellow);
    font-family: serif;
    line-height: 1;
    margin-bottom: 1rem;
}

.review-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--text);
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.reviewer-name {
    font-weight: 600;
    color: var(--primary);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
    margin-top: 4rem;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-btn {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Mobile Responsive Media Queries */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .emergency-contact-group {
        padding: 0.875rem;
        margin-bottom: 1.25rem;
    }
    
    .checkbox-label {
        padding: 0.625rem;
    }
    
    .modal-content {
        padding: 2rem;
        max-width: 90%;
        border-radius: 22px;
    }
    
    .modal-title {
        font-size: 1.6rem;
    }
    
    .membership-info {
        padding: 1.1rem 1.6rem;
    }
    
    .membership-info h3 {
        font-size: 1.35rem;
    }
    
    .success-message {
        padding: 2.25rem;
    }
    
    .success-message h3 {
        font-size: 1.7rem;
    }
    
    .success-message h3 i {
        font-size: 2.1rem;
    }
    
    .submit-btn {
        padding: 1.15rem 1.85rem;
        font-size: 1.18rem;
    }
    
    .reviews-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .review-card {
        padding: 2rem;
        margin-bottom: 1rem;
    }
    
    .reviews-section h2,
    .opt-out-section h2 {
        font-size: 1.8rem;
        margin-bottom: 1.25rem;
    }
    
    .quote-icon {
        font-size: 3.5rem;
    }
    
    .review-text {
        font-size: 1.05rem;
        margin-bottom: 1.75rem;
    }
    
    .reviewer-avatar {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .cta-section {
        padding: 3rem 1.5rem;
        margin-top: 3rem;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .cta-content p {
        font-size: 1.15rem;
    }
    
    .cta-btn {
        padding: 1.1rem 2.5rem;
        font-size: 1.15rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .emergency-contact-group {
        padding: 0.75rem;
        margin-bottom: 1rem;
        border-left-width: 3px;
    }
    
    .contact-header {
        font-size: 0.95rem;
        gap: 0.375rem;
    }
    
    .form-row {
        gap: 0.625rem;
        margin-bottom: 0.875rem;
    }
    
    .checkbox-group {
        gap: 0.625rem;
    }
    
    .checkbox-label {
        padding: 0.625rem 0.5rem;
        gap: 0.625rem;
    }
    
    .checkbox-label:hover {
        transform: translateX(2px);
    }
    
    .checkbox-custom {
        width: 18px;
        height: 18px;
    }
    
    .checkbox-input:checked + .checkbox-custom::after {
        font-size: 12px;
    }
    
    .other-input-group {
        padding: 0.75rem;
        margin-top: 0.75rem;
    }
    
    .terms-section {
        border-width: 1px;
    }
    
    .terms-checkbox {
        padding: 0.75rem;
    }
    
    .terms-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .modal-content {
        padding: 1.75rem;
        max-width: 95%;
        border-radius: 20px;
    }
    
    .modal-header {
        padding-bottom: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .modal-close {
        font-size: 1.6rem;
    }
    
    .membership-info {
        padding: 1rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .membership-info h3 {
        font-size: 1.3rem;
    }
    
    .membership-info p {
        font-size: 1.5rem;
    }
    
    .alert-message {
        padding: 0.875rem 1.25rem;
        gap: 0.625rem;
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
    
    .success-message {
        padding: 2rem;
    }
    
    .success-message h3 {
        font-size: 1.6rem;
    }
    
    .success-message h3 i {
        font-size: 2rem;
    }
    
    .success-message p {
        font-size: 1.05rem;
    }
    
    .redirect-info {
        margin-top: 1.25rem;
    }
    
    .submit-btn {
        padding: 1.1rem 1.75rem;
        font-size: 1.15rem;
        border-radius: 45px;
        margin-top: 1.75rem;
    }
    
    .reviews-container {
        gap: 1.25rem;
        margin-top: 1.25rem;
    }
    
    .review-card {
        padding: 1.75rem;
        border-radius: 15px;
        border-left-width: 4px;
    }
    
    .reviews-section h2,
    .opt-out-section h2 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .quote-icon {
        font-size: 3rem;
        margin-bottom: 0.75rem;
    }
    
    .review-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .reviewer {
        gap: 0.75rem;
    }
    
    .reviewer-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .cta-section {
        padding: 2.5rem 1.25rem;
        margin-top: 2.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
        margin-bottom: 0.875rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
        margin-bottom: 1.75rem;
    }
    
    .cta-btn {
        padding: 1rem 2.25rem;
        font-size: 1.1rem;
        border-radius: 40px;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .emergency-contact-group {
        padding: 0.625rem;
        margin-bottom: 0.875rem;
        border-radius: 8px;
    }
    
    .contact-header {
        font-size: 0.9rem;
        gap: 0.25rem;
        margin-bottom: 0.75rem;
    }
    
    .form-row {
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .form-select {
        padding-right: 2rem;
        background-size: 1.25em 1.25em;
        background-position: right 0.375rem center;
    }
    
    .checkbox-group {
        gap: 0.5rem;
    }
    
    .checkbox-label {
        padding: 0.5rem;
        gap: 0.5rem;
        border-radius: 6px;
    }
    
    .checkbox-label:hover {
        transform: translateX(1px);
    }
    
    .checkbox-custom {
        width: 16px;
        height: 16px;
        border-width: 1.5px;
        border-radius: 3px;
    }
    
    .checkbox-input:checked + .checkbox-custom {
        transform: scale(1.05);
    }
    
    .checkbox-input:checked + .checkbox-custom::after {
        font-size: 11px;
    }
    
    .other-input-group {
        padding: 0.625rem;
        margin-top: 0.625rem;
        border-radius: 6px;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            max-height: 0;
            padding: 0 0.625rem;
        }
        to {
            opacity: 1;
            max-height: 80px;
            padding: 0.625rem;
        }
    }
    
    .terms-checkbox {
        padding: 0.625rem;
        border-radius: 8px;
    }
    
    .terms-text {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .modal-content {
        padding: 1.25rem;
        max-width: 95%;
        border-radius: 18px;
    }
    
    .modal-header {
        padding-bottom: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .modal-title {
        font-size: 1.3rem;
    }
    
    .modal-close {
        font-size: 1.5rem;
        padding: 4px;
    }
    
    .membership-info {
        padding: 1rem;
        margin-bottom: 1.25rem;
        border-radius: 10px;
    }
    
    .membership-info h3 {
        font-size: 1.2rem;
    }
    
    .membership-info p {
        font-size: 1.4rem;
    }
    
    .alert-message {
        padding: 0.75rem 1rem;
        gap: 0.5rem;
        font-size: 0.9rem;
        border-radius: 8px;
        margin-bottom: 1rem;
    }
    
    .alert-message i {
        font-size: 1rem;
    }
    
    .success-message {
        padding: 1.75rem;
        border-radius: 12px;
    }
    
    .success-message h3 {
        font-size: 1.5rem;
        gap: 0.625rem;
    }
    
    .success-message h3 i {
        font-size: 1.8rem;
    }
    
    .success-message p {
        font-size: 1rem;
    }
    
    .redirect-info {
        margin-top: 1rem;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        border-radius: 40px;
        gap: 0.625rem;
        margin-top: 1.5rem;
    }
    
    .loading-spinner {
        width: 18px;
        height: 18px;
        border-width: 3px;
    }
    
    .reviews-container {
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .review-card {
        padding: 1.5rem;
        border-radius: 12px;
        border-left-width: 3px;
    }
    
    .reviews-section h2,
    .opt-out-section h2 {
        font-size: 1.4rem;
        margin-bottom: 0.875rem;
        margin-top: 10px;
    }
    
    .quote-icon {
        font-size: 2.5rem;
        margin-bottom: 0.625rem;
    }
    
    .review-text {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
        line-height: 1.5;
    }
    
    .reviewer {
        gap: 0.625rem;
    }
    
    .reviewer-avatar {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .reviewer-name {
        font-size: 0.9rem;
    }
    
    .cta-section {
        padding: 2rem 1rem;
        margin-top: 2rem;
    }
    
    .cta-content h2 {
        font-size: 1.7rem;
        margin-bottom: 0.75rem;
        line-height: 1.2;
    }
    
    .cta-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }
    
    .cta-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        border-radius: 35px;
    }
}

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