/* CSS Custom Properties */
:root {
    --primary-gold: #F0A500;
    --dark-gold: #CF7500;
    --background: #F4F4F4;
    --black: #1A1C20;
    --white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
    --gradient: linear-gradient(135deg, #F0A500, #CF7500);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-mobile: 0 2px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
    --border-radius-mobile: 16px;
    --font-family: 'Heebo', sans-serif;
    
    /* Mobile Typography Scale */
    --text-xs: clamp(0.75rem, 2vw, 0.875rem);
    --text-sm: clamp(0.875rem, 2.5vw, 1rem);
    --text-base: clamp(1rem, 3vw, 1.125rem);
    --text-lg: clamp(1.125rem, 3.5vw, 1.25rem);
    --text-xl: clamp(1.25rem, 4vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 5vw, 2rem);
    --text-3xl: clamp(1.875rem, 6vw, 2.5rem);
    --text-4xl: clamp(2.25rem, 7vw, 3rem);
    --text-5xl: clamp(2.5rem, 8vw, 3.5rem);
    
    /* Mobile Spacing Scale */
    --space-xs: clamp(0.5rem, 2vw, 0.75rem);
    --space-sm: clamp(0.75rem, 3vw, 1rem);
    --space-md: clamp(1rem, 4vw, 1.5rem);
    --space-lg: clamp(1.5rem, 5vw, 2rem);
    --space-xl: clamp(2rem, 6vw, 3rem);
    --space-2xl: clamp(2.5rem, 7vw, 4rem);
    --space-3xl: clamp(3rem, 8vw, 5rem);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--background);
    color: var(--text-dark);
    font-size: var(--text-base);
    line-height: 1.7;
    direction: rtl;
    text-align: right;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Basketball Background Canvas */
#bg-basketball {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;             /* above background, below content */
    pointer-events: none;   /* ignore clicks */
    opacity: 1.0;           /* maximum opacity */
    mix-blend-mode: normal; /* keep classy */
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(240, 165, 0, 0.3);
    z-index: 1000;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(240, 165, 0, 0.4);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(240, 165, 0, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(240, 165, 0, 0.6);
    }
    100% {
        box-shadow: 0 4px 20px rgba(240, 165, 0, 0.3);
    }
}

/* Mobile responsiveness for WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 15px;
        left: 15px;
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    #bg-basketball { display: none !important; }
}

/* Loading Basketball Canvas */
#loading-basketball {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.9;
}

/* Respect reduced motion for loading */
@media (prefers-reduced-motion: reduce) {
    #loading-basketball { display: none !important; }
}

/* Loading Animation */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw; 
    height: 100vh; 
    background: var(--gradient); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 9999; 
    margin: 0; 
    padding: 0;
    overflow: hidden;
    transition: opacity 0.5s ease;
}

#loading.hidden {
    opacity: 0;
    pointer-events: none;
}

body.loading { 
    overflow: hidden;
}

.basketball-loader {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ball {
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 50%;
    position: relative;
    animation: bounce 1s infinite;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.ball::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 2px solid #ffffff;
    border-radius: 50%;
}

.ball::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 1px solid #ffffff;
    border-radius: 50%;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 28, 32, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
    background: rgba(26, 28, 32, 0.98);
    box-shadow: var(--shadow-mobile);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    position: relative;
}

.nav-logo {
    position: absolute;
    right: -150px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    z-index: 1001;
}


.nav-logo a {
    text-decoration: none;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
}

.logo-img {
    height: 70px;
    width: auto;
    max-width: 240px;
    transition: var(--transition-fast);
    object-fit: contain;
    filter: brightness(1.1);
}

.nav-logo a:hover .logo-img {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    order: 2;
    flex: 1;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-gold);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-gold);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: var(--space-sm);
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
    min-width: 48px;
    min-height: 48px;
    justify-content: center;
    align-items: center;
    order: 1;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.bar {
    width: 24px;
    height: 2px;
    background: var(--white);
    margin: 2px 0;
    transition: var(--transition-fast);
    border-radius: 1px;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: var(--gradient);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 2; /* Above basketball canvas */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/images/hero-bg.jpg') center/cover;
    opacity: 0.3;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 28, 32, 0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: var(--text-5xl);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2xl);
    opacity: 0.9;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--primary-gold);
    padding: var(--space-md) var(--space-xl);
    text-decoration: none;
    border-radius: var(--border-radius-mobile);
    font-weight: 700;
    font-size: var(--text-lg);
    transition: var(--transition);
    box-shadow: var(--shadow-mobile);
    border: none;
    cursor: pointer;
    min-height: 56px;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.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: var(--transition);
}

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

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: #f8f9fa;
}

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

.cta-button.large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--text-xl);
    min-height: 64px;
    min-width: 240px;
}

/* Page Header */
.page-header {
    background: var(--gradient);
    padding: 120px 0 80px;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Section Titles */
.section-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-3xl);
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

/* About Teaser */
.about-teaser {
    padding: var(--space-3xl) 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-text h2 {
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--text-dark);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.about-text p {
    font-size: var(--text-lg);
    margin-bottom: var(--space-xl);
    color: var(--text-light);
    line-height: 1.7;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: var(--white);
    padding: var(--space-md) var(--space-xl);
    text-decoration: none;
    border-radius: var(--border-radius-mobile);
    font-weight: 600;
    font-size: var(--text-lg);
    transition: var(--transition);
    min-height: 56px;
    min-width: 160px;
    position: relative;
    overflow: hidden;
}

.read-more-btn::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: var(--transition);
}

.read-more-btn:hover::before {
    left: 100%;
}

.read-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(240, 165, 0, 0.3);
}

.read-more-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(240, 165, 0, 0.2);
}

.about-image {
    text-align: center;
}

.coach-img {
    width: 100%;
    max-width: 500px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Services */
.services {
    padding: var(--space-3xl) 0;
    background: var(--background);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.service-card {
    background: var(--white);
    padding: var(--space-2xl);
    border-radius: var(--border-radius-mobile);
    text-align: center;
    box-shadow: var(--shadow-mobile);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

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

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

.service-icon {
    margin-bottom: var(--space-lg);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(240, 165, 0, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: rgba(240, 165, 0, 0.15);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--text-dark);
    line-height: 1.3;
}

.service-card p {
    color: var(--text-light);
    font-size: var(--text-base);
    line-height: 1.7;
}

/* Video Gallery */
.video-gallery {
    padding: 80px 0;
    background: var(--white);
}

.video-container {
    text-align: center;
}

.video-placeholder {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 450px;
    background: var(--gradient);
    border-radius: var(--border-radius);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
}

.video-placeholder:hover {
    transform: scale(1.02);
}

.play-button {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.video-placeholder:hover .play-button {
    background: var(--white);
    transform: scale(1.1);
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: var(--black);
    color: var(--white);
}

.testimonials .section-title {
    color: var(--white);
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    backdrop-filter: blur(10px);
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    color: var(--primary-gold);
    font-weight: 600;
}

/* Bottom CTA */
.bottom-cta {
    padding: var(--space-3xl) 0;
    background: var(--black);
    color: var(--white);
    text-align: center;
}

.bottom-cta h2 {
    font-size: var(--text-4xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.bottom-cta p {
    font-size: var(--text-xl);
    margin-bottom: var(--space-xl);
    opacity: 0.9;
    line-height: 1.6;
}

/* About Page Styles */
.about-content-page {
    padding: 80px 0;
    background: var(--white);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.coach-photo-frame {
    position: relative;
    padding: 20px;
    background: var(--gradient);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.coach-main-img {
    width: 100%;
    border-radius: var(--border-radius);
}

.about-text-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.about-text-section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* Achievements */
.achievements {
    padding: 80px 0;
    background: var(--background);
}

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

.achievement-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.achievement-icon {
    margin-bottom: 1.5rem;
}

.achievement-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.achievement-card p {
    color: var(--text-light);
}

/* Philosophy */
.philosophy {
    padding: 80px 0;
    background: var(--white);
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.philosophy-content blockquote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--primary-gold);
    margin: 2rem 0;
    padding: 2rem;
    background: var(--background);
    border-radius: var(--border-radius);
    border-right: 4px solid var(--primary-gold);
}

.philosophy-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* About CTA */
.about-cta {
    padding: 80px 0;
    background: var(--gradient);
    text-align: center;
    color: var(--white);
}

.about-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

/* Services Detail */
.services-detail {
    padding: 80px 0;
    background: var(--white);
}

.service-detail-card {
    margin-bottom: 4rem;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-detail-content.reverse {
    direction: ltr;
}

.service-detail-content.reverse .service-detail-text {
    direction: rtl;
}

.service-icon-large {
    margin-bottom: 2rem;
}

.service-detail-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    letter-spacing: normal;
    word-spacing: normal;
}

.service-detail-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.service-benefits {
    list-style: none;
}

.service-benefits li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-right: 0.5rem;
}

.service-benefits li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--primary-gold);
    font-weight: bold;
}

.service-detail-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Packages */
.packages {
    padding: 80px 0;
    background: var(--background);
}

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

.package-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.package-card.featured {
    border: 3px solid var(--primary-gold);
    transform: scale(1.05);
}

.package-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary-gold);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.package-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.package-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 2rem;
}

.package-features {
    list-style: none;
    margin-bottom: 2rem;
}

.package-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-right: 1.5rem;
}

.package-features li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--primary-gold);
    font-weight: bold;
}

.package-btn {
    display: inline-block;
    background: var(--gradient);
    color: var(--white);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.package-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Services CTA */
.services-cta {
    padding: 80px 0;
    background: var(--gradient);
    text-align: center;
    color: var(--white);
}

.services-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

/* Gallery Styles */
.gallery-section {
    padding: 80px 0;
    background: var(--white);
}

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

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--border-radius);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--primary-gold);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary-gold);
}

/* Gallery CTA */
.gallery-cta {
    padding: 80px 0;
    background: var(--gradient);
    text-align: center;
    color: var(--white);
}

.gallery-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

/* FAQ Styles */
.faq-section {
    padding: 80px 0;
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    background: var(--background);
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: #e8e8e8;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-gold);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 1.5rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.6;
}

/* FAQ CTA */
.faq-cta {
    padding: 80px 0;
    background: var(--gradient);
    text-align: center;
    color: var(--white);
}

.faq-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

/* Contact Styles */
.contact-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form-container h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.contact-form {
    background: var(--background);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition);
}

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

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}

.submit-btn {
    width: 100%;
    background: var(--gradient);
    color: var(--white);
    padding: 15px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.form-success {
    background: #d4edda;
    color: #155724;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 1rem;
}

.form-success h3 {
    margin-bottom: 0.5rem;
}

/* Consent Section Styles */
.consents {
    margin: 12px 0 18px;
    padding: 15px;
    background: rgba(240, 165, 0, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(240, 165, 0, 0.2);
}

.consent-line {
    display: inline-flex;
    gap: 8px;
    align-items: flex-start;
    margin: 6px 0;
    cursor: pointer;
    line-height: 1.5;
}

.consent-line input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    cursor: pointer;
}

.consent-line span {
    flex: 1;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.consent-line a {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.consent-line a:hover {
    text-decoration: underline;
    color: var(--dark-gold);
}

.consent-hint {
    color: #666;
    font-size: 0.85rem;
    margin-top: 8px;
    display: block;
    font-style: italic;
}

/* Error states for consent */
.consent-line.error {
    color: #e74c3c;
}

.consent-line.error input[type="checkbox"] {
    border-color: #e74c3c;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

.consent-line.error span {
    color: #e74c3c;
}

/* Accessibility improvements */
.consent-line:focus-within {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Mobile responsive consent */
@media (max-width: 768px) {
    .consents {
        margin: 10px 0 15px;
        padding: 12px;
    }
    
    .consent-line {
        gap: 6px;
        margin: 8px 0;
    }
    
    .consent-line input[type="checkbox"] {
        width: 16px;
        height: 16px;
        margin-top: 2px;
    }
    
    .consent-line span {
        font-size: 0.9rem;
    }
    
    .consent-hint {
        font-size: 0.8rem;
        margin-top: 6px;
    }
}


/* Typing Animation Styles */
[data-type] {
    position: relative;
}

[data-type]::after {
    content: '|';
    animation: blink 1s infinite;
    color: var(--primary-gold);
    font-weight: bold;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Sequential Checkmark Animation */
.service-benefits li {
    position: relative;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.service-benefits li::before {
    content: '';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid var(--primary-gold);
    border-radius: 50%;
    background: transparent;
    transition: all 0.3s ease;
}

.service-benefits li.checked {
    opacity: 1;
    color: var(--primary-gold);
    font-weight: 600;
}

.service-benefits li.checked::before {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
}

.service-benefits li.checked::after {
    content: '✓';
    position: absolute;
    right: -22px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
    animation: checkmarkPop 0.4s ease;
}

@keyframes checkmarkPop {
    0% {
        transform: translateY(-50%) scale(0);
        opacity: 0;
    }
    50% {
        transform: translateY(-50%) scale(1.2);
        opacity: 1;
    }
    100% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
}

/* Additional Accessibility Improvements */
.consent-line input[type="checkbox"]:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

.consent-line input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .consent-line a {
        color: #0000FF;
        text-decoration: underline;
    }
    
    .consent-hint {
        color: #000000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .consent-line a {
        transition: none;
    }
    
    .consent-line:focus-within {
        transition: none;
    }
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Contact Info */
.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.contact-methods {
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--background);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-icon {
    margin-left: 1rem;
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-details p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.whatsapp-btn {
    display: inline-block;
    background: var(--gradient);
    color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.contact-hours h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.hours-list {
    background: var(--background);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item span:first-child {
    font-weight: 600;
    color: var(--text-dark);
}

.hours-item span:last-child {
    color: var(--text-light);
}

/* ===== FOOTER FIX - RESPONSIVE PREMIUM STYLE ===== */
.footer {
    background-color: #0f0f0f;
    color: #ddd;
    padding: 3rem 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(255, 191, 0, 0.2);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
}

.footer-social .social-link { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: rgba(255, 191, 0, 0.1); 
    border: 1px solid rgba(255, 191, 0, 0.3); 
    color: #f0a500; 
    border-radius: 50%; 
    width: 45px; 
    height: 45px; 
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social .social-link:hover { 
    background: #f0a500; 
    color: #000; 
    transform: scale(1.1);
}

.footer-info { 
    display: flex; 
    flex-direction: column; 
    gap: 0.5rem;
}

.footer-info h3 { 
    color: #f0a500; 
    margin: 0; 
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-info p {
    color: #ddd;
    margin: 0;
    font-size: 1rem;
}

.footer-links { 
    display: flex; 
    flex-direction: column; 
    gap: 0.4rem;
}

.footer-links a { 
    color: #ddd; 
    text-decoration: none; 
    transition: color 0.3s ease;
    font-size: 1rem;
    padding: 0.2rem 0;
}

.footer-links a:hover { 
    color: #f0a500;
}

.footer-bottom { 
    margin-top: 2.5rem; 
    font-size: 0.9rem; 
    color: #999; 
    border-top: 1px solid rgba(255, 255, 255, 0.08); 
    padding-top: 1.2rem;
}

.footer-bottom a { 
    color: #f0a500; 
    text-decoration: none; 
    font-weight: 500;
}

.footer-bottom a:hover { 
    text-decoration: underline;
}

/* ======= MOBILE OPTIMIZATION ======= */
@media (min-width: 768px) { 
    .footer-container { 
        flex-direction: row; 
        justify-content: space-between; 
        align-items: flex-start; 
        text-align: right; 
    } 
    
    .footer-social { 
        justify-content: flex-start; 
    } 
    
    .footer-links { 
        flex-direction: column; 
    } 
    
    .footer-info { 
        align-items: flex-end; 
    }
}

@media (max-width: 767px) { 
    .footer { 
        padding: 2rem 1rem; 
    } 
    
    .footer-container { 
        flex-direction: column; 
        align-items: center; 
        text-align: center; 
        gap: 1.5rem; 
    } 
    
    .footer-social .social-link { 
        width: 42px; 
        height: 42px; 
    } 
    
    .footer-info h3 { 
        font-size: 1.1rem; 
    } 
    
    .footer-bottom { 
        font-size: 0.8rem; 
    }
}

/* Mobile First Responsive Design */
@media (max-width: 768px) {
    /* Navigation Mobile Optimization */
    .nav-container {
        height: 70px;
        padding: 0 var(--space-lg);
        justify-content: space-between;
        align-items: center;
    }

    .hamburger {
        display: flex !important;
        order: 1;
        z-index: 10000;
        position: relative;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        min-width: 48px;
        min-height: 48px;
    }

    .nav-logo {
        order: 2;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        padding: 0;
        max-width: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo-img {
        height: 60px;
        max-width: 130px;
        transform: scale(1.5);
        transform-origin: center;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(26, 28, 32, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: var(--space-2xl);
        transition: var(--transition);
        z-index: 9999;
        display: flex;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: var(--text-2xl);
        margin: var(--space-lg) 0;
        padding: var(--space-lg) var(--space-2xl);
        border-radius: var(--border-radius-mobile);
        transition: var(--transition);
        width: 100%;
        text-align: center;
        min-height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-link:hover {
        background: rgba(240, 165, 0, 0.1);
        transform: translateY(-2px);
    }

    /* Hero Section Mobile Optimization */
    .hero {
        height: 100vh;
        padding: 0 var(--space-lg);
    }

    .hero-content {
        max-width: 100%;
        padding: 0 var(--space-md);
    }

    .hero-title {
        font-size: var(--text-4xl);
        line-height: 1.2;
        margin-bottom: var(--space-lg);
        letter-spacing: -0.02em;
    }

    .hero-subtitle {
        font-size: var(--text-lg);
        margin-bottom: var(--space-2xl);
        line-height: 1.6;
        max-width: 100%;
    }

    .cta-button {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        display: flex;
        min-height: 56px;
    }

    /* Page Header Mobile */
    .page-header {
        padding: 90px 0 var(--space-2xl);
    }

    .page-header h1 {
        font-size: var(--text-4xl);
        line-height: 1.2;
    }

    .page-header p {
        font-size: var(--text-lg);
    }

    /* Section Titles Mobile */
    .section-title {
        font-size: var(--text-3xl);
        line-height: 1.2;
        margin-bottom: var(--space-2xl);
        padding: 0 var(--space-lg);
    }

    /* About Section Mobile */
    .about-teaser {
        padding: var(--space-3xl) 0;
    }

    .about-content,
    .about-layout,
    .service-detail-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }

    .about-text h2 {
        font-size: var(--text-3xl);
        margin-bottom: var(--space-lg);
    }

    .about-text p {
        font-size: var(--text-lg);
        line-height: 1.7;
        margin-bottom: var(--space-xl);
    }

    .coach-img {
        max-width: 100%;
        height: auto;
        border-radius: var(--border-radius-mobile);
        box-shadow: var(--shadow-mobile);
    }

    /* Services Mobile */
    .services {
        padding: var(--space-3xl) 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        padding: 0 var(--space-lg);
    }

    .service-card {
        padding: var(--space-2xl);
        margin: 0;
        border-radius: var(--border-radius-mobile);
    }

    .service-card h3 {
        font-size: var(--text-2xl);
    }

    .service-card p {
        font-size: var(--text-base);
        line-height: 1.7;
    }

    .service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: var(--space-md); /* Reduced from var(--space-lg) */
    }

    .service-icon svg {
        width: 50px;
        height: 50px;
    }

    /* Service Detail Mobile */
    .services-detail {
        padding: 60px 0;
    }

    .service-detail-card {
        margin-bottom: 3rem;
    }

    .service-detail-text h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .service-icon-large {
        margin-bottom: 1.5rem; /* Reduced spacing for mobile */
    }

    .service-price {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
        letter-spacing: normal;
        word-spacing: normal;
    }

    .service-detail-text p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .service-benefits {
        margin-bottom: 2rem;
    }

    /* Packages Mobile */
    .packages {
        padding: 60px 0;
    }

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

    .package-card {
        padding: 2rem 1.5rem;
        margin: 0 10px;
    }

    .package-card.featured {
        transform: none;
        border: 2px solid var(--primary-gold);
    }

    .package-card h3 {
        font-size: 1.4rem;
    }

    .package-price {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    /* Contact Mobile */
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form-container h2,
    .contact-info h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 15px;
        font-size: 1rem;
    }

    .submit-btn {
        padding: 18px;
        font-size: 1.1rem;
    }

    .contact-method {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        gap: 0.75rem; /* Reduced gap between icon and text */
    }

    .contact-icon {
        margin-left: 0.5rem; /* Reduced from 1rem */
        flex-shrink: 0;
    }

    /* Gallery Mobile */
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .gallery-item img {
        height: 200px;
    }

    /* Testimonials Mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
        margin: 0 10px;
    }

    /* Achievements Mobile */
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .achievement-card {
        padding: 2rem 1.5rem;
        margin: 0 10px;
    }

    /* Bottom CTA Mobile */
    .bottom-cta {
        padding: 60px 0;
    }

    .bottom-cta h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .bottom-cta p {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }

    .cta-button.large {
        padding: 18px 35px;
        font-size: 1.2rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }

}

/* Small Mobile Devices (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    /* Navigation for small screens */
    .nav-container {
        height: 65px;
        padding: 0 var(--space-md);
        justify-content: space-between;
        align-items: center;
    }

    .nav-logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo-img {
        height: 55px;
        max-width: 120px;
        transform: scale(1.5);
        transform-origin: center;
    }

    .hamburger {
        min-width: 44px;
        min-height: 44px;
        padding: var(--space-sm);
    }

    .bar {
        width: 20px;
        height: 2px;
    }

    /* Hero Section Small Mobile */
    .hero {
        padding: 0 var(--space-md);
    }

    .hero-title {
        font-size: var(--text-3xl);
        line-height: 1.2;
        margin-bottom: var(--space-md);
    }

    .hero-subtitle {
        font-size: var(--text-base);
        margin-bottom: var(--space-xl);
        line-height: 1.6;
    }

    .cta-button {
        max-width: 280px;
        min-height: 52px;
        font-size: var(--text-lg);
    }

    /* Page Header Small Mobile */
    .page-header {
        padding: 80px 0 var(--space-xl);
    }

    .page-header h1 {
        font-size: var(--text-3xl);
        line-height: 1.2;
    }

    .page-header p {
        font-size: var(--text-base);
    }

    /* Section Titles Small Mobile */
    .section-title {
        font-size: var(--text-2xl);
        line-height: 1.2;
        margin-bottom: var(--space-xl);
        padding: 0 var(--space-md);
    }

    /* About Section Small Mobile */
    .about-teaser {
        padding: var(--space-2xl) 0;
    }

    .about-text h2 {
        font-size: var(--text-2xl);
        margin-bottom: var(--space-md);
    }

    .about-text p {
        font-size: var(--text-base);
        line-height: 1.6;
        margin-bottom: var(--space-lg);
    }

    .read-more-btn {
        min-height: 52px;
        font-size: var(--text-base);
    }

    /* Services Small Mobile */
    .services {
        padding: var(--space-2xl) 0;
    }

    .services-grid {
        padding: 0 var(--space-md);
        gap: var(--space-lg);
    }

    .service-card {
        padding: var(--space-xl);
    }

    .service-card h3 {
        font-size: var(--text-xl);
        margin-bottom: var(--space-sm);
    }

    .service-card p {
        font-size: var(--text-sm);
        line-height: 1.6;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: var(--space-md);
    }

    .service-icon svg {
        width: 40px;
        height: 40px;
    }

}

/* Extra Small Mobile Devices (360px and below) */
@media (max-width: 360px) {
    .container {
        padding: 0 var(--space-sm);
    }

    /* Navigation for extra small screens */
    .nav-container {
        height: 60px;
        padding: 0 var(--space-sm);
        justify-content: space-between;
        align-items: center;
    }

    .nav-logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo-img {
        height: 50px;
        max-width: 110px;
        transform: scale(1.5);
        transform-origin: center;
    }

    .hero-title {
        font-size: var(--text-2xl);
    }

    .page-header h1 {
        font-size: var(--text-2xl);
    }

    .section-title {
        font-size: var(--text-xl);
    }

    .service-card {
        padding: var(--space-lg);
    }

    .cta-button {
        max-width: 260px;
        min-height: 48px;
        font-size: var(--text-base);
    }

    .cta-button.large {
        max-width: 260px;
        min-height: 48px;
        font-size: var(--text-base);
    }

}

/* Mobile Touch Optimizations */
@media (max-width: 768px) {
    /* Improve touch targets */
    .nav-link,
    .cta-button,
    .read-more-btn,
    .package-btn,
    .submit-btn,
    .whatsapp-btn,
    .hamburger,
    .social-link {
        min-height: 48px;
        min-width: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    /* Improve button interactions */
    .cta-button:active,
    .read-more-btn:active,
    .package-btn:active,
    .submit-btn:active {
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    /* Improve form interactions */
    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 48px;
        font-size: 16px; /* Prevents zoom on iOS */
        -webkit-appearance: none;
        appearance: none;
        border-radius: var(--border-radius-mobile);
        padding: var(--space-md);
    }

    /* Improve gallery interactions */
    .gallery-item {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    /* Improve FAQ interactions */
    .faq-question {
        min-height: 48px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    /* Improve hamburger menu */
    .hamburger {
        padding: var(--space-sm);
    }

    /* Reduce animations on mobile for better performance */
    .service-card:hover,
    .package-card:hover,
    .achievement-card:hover,
    .gallery-item:hover {
        transform: none;
    }

    /* Optimize basketball background for mobile */
    #bg-basketball {
        opacity: 0.6;
    }

    /* Reduce shadow complexity on mobile */
    .service-card,
    .package-card,
    .achievement-card,
    .contact-form,
    .testimonial-card {
        box-shadow: var(--shadow-mobile);
    }

    /* Optimize transitions for mobile */
    * {
        transition-duration: 0.2s;
    }
}

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

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

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Advanced Scroll Animations */
.slide-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-down {
    opacity: 0;
    transform: translateY(-60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-down.visible {
    opacity: 1;
    transform: translateY(0);
}

.zoom-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.zoom-in.visible {
    opacity: 1;
    transform: scale(1);
}

.rotate-in {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.rotate-in.visible {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.flip-in {
    opacity: 0;
    transform: perspective(400px) rotateY(90deg);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.flip-in.visible {
    opacity: 1;
    transform: perspective(400px) rotateY(0deg);
}

.bounce-in {
    opacity: 0;
    transform: scale(0.3);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.bounce-in.visible {
    opacity: 1;
    transform: scale(1);
}

.stagger-animation {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-animation.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-animation:nth-child(1) { transition-delay: 0.1s; }
.stagger-animation:nth-child(2) { transition-delay: 0.2s; }
.stagger-animation:nth-child(3) { transition-delay: 0.3s; }
.stagger-animation:nth-child(4) { transition-delay: 0.4s; }
.stagger-animation:nth-child(5) { transition-delay: 0.5s; }

/* Parallax Effects */
.parallax-slow {
    transform: translateY(0);
    transition: transform 0.1s ease-out;
}

.parallax-fast {
    transform: translateY(0);
    transition: transform 0.1s ease-out;
}

/* Text Animations */
.text-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.text-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.text-slide {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-slide.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Button Animations */
.button-glow {
    position: relative;
    overflow: hidden;
}

.button-glow::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.5s;
}

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

/* Card Hover Animations */
.card-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Loading States */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Mobile-specific animations */
@media (max-width: 768px) {
    .fade-in,
    .slide-in-right,
    .slide-in-left,
    .scale-in,
    .slide-up,
    .slide-down,
    .zoom-in,
    .rotate-in,
    .flip-in,
    .bounce-in,
    .text-reveal,
    .text-slide {
        transition-duration: 0.3s;
    }
    
    /* Reduce motion for better performance on mobile */
    .card-lift:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    /* Touch feedback animations */
    .service-card:active,
    .cta-button:active,
    .nav-link:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    /* Smooth scrolling for mobile */
    html {
        scroll-behavior: smooth;
    }
    
    body {
        -webkit-overflow-scrolling: touch;
    }
}

/* Mobile Feature Lists - Complete Rewrite for Perfect Spacing and RTL Support */
@media (max-width: 768px) {
    /* Base list styling */
    .feature-list,
    .features-list,
    .training-features,
    .personal-training-list,
    .service-benefits,
    .package-features {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        display: grid !important;
        gap: 10px !important;
        text-align: right !important; /* RTL alignment */
    }

    /* List item styling */
    .feature-item,
    .features-list li,
    .training-features li,
    .personal-training-list li,
    .service-benefits li,
    .package-features li {
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important; /* Exact space between icon and text */
        line-height: 1.5 !important;
        white-space: normal !important; /* Allow natural line breaks */
        padding: 6px 0 !important;
        position: static !important;
        transform: none !important;
        margin: 0 !important;
        padding-right: 0 !important; /* Remove old padding that pushes text left */
        text-overflow: clip !important;
        overflow: visible !important;
    }

    /* Icon styling */
    .feature-icon,
    .features-list li svg,
    .training-features li svg,
    .personal-training-list li svg,
    .service-benefits li svg,
    .package-features li svg {
        width: 20px !important;
        height: 20px !important;
        flex: 0 0 20px !important;
        color: var(--primary-gold, #F0A500) !important;
        stroke: var(--primary-gold, #F0A500) !important;
    }

    /* Label styling */
    .feature-label,
    .features-list li span,
    .training-features li span,
    .personal-training-list li span,
    .service-benefits li span,
    .package-features li span {
        display: inline-block !important;
        vertical-align: middle !important;
        flex: 1 !important;
    }

    /* Clean up old ::before pseudo-elements */
    .features-list li::before,
    .training-features li::before,
    .personal-training-list li::before,
    .service-benefits li::before,
    .package-features li::before {
        content: none !important;
        display: none !important;
    }

    /* Remove any conflicting animations or transforms */
    .service-benefits li.checked,
    .service-benefits li.checked::before,
    .service-benefits li.checked::after {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }

    /* SVG icon animation for checked state */
    .service-benefits li.checked .feature-icon svg {
        color: var(--primary-gold, #F0A500) !important;
        stroke: var(--primary-gold, #F0A500) !important;
        opacity: 1 !important;
        transform: scale(1) !important;
    }

    /* Ensure proper spacing between list items */
    .feature-list li + li,
    .features-list li + li,
    .training-features li + li,
    .personal-training-list li + li,
    .service-benefits li + li,
    .package-features li + li {
        margin-top: 0 !important; /* Gap is handled by grid gap */
    }

    /* RTL specific adjustments */
    .feature-list,
    .features-list,
    .training-features,
    .personal-training-list,
    .service-benefits,
    .package-features {
        direction: rtl !important;
    }

    /* Ensure icons don't interfere with text wrapping */
    .feature-item,
    .features-list li,
    .training-features li,
    .personal-training-list li,
    .service-benefits li,
    .package-features li {
        word-wrap: break-word !important;
        hyphens: auto !important;
    }
}