/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s;
}

.loading-content {
    text-align: center;
}

.loading-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    background: linear-gradient(45deg, #3b82f6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.loading-content p {
    color: #64748b;
    font-size: clamp(0.8rem, 3vw, 0.9rem);
    letter-spacing: 2px;
}

/* ===== PRIMARY NAVIGATION BAR ===== */
.primary-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    height: 70px;
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-height: 44px;
}

.logo-image {
    width: clamp(40px, 8vw, 50px);
    height: clamp(40px, 8vw, 50px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    padding: 3px;
    transition: transform 0.3s;
}

.logo-link:hover .logo-image {
    transform: scale(1.05);
}

.logo-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-main {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 900;
    background: linear-gradient(45deg, #3b82f6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.logo-sub {
    font-size: clamp(0.45rem, 1vw, 0.55rem);
    color: #64748b;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* Center Navigation */
.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 15px;
}

.nav-links {
    display: flex;
    gap: clamp(1rem, 2vw, 2rem);
    align-items: center;
    justify-content: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #3b82f6;
    transition: width 0.3s;
}

.nav-link:hover {
    color: #3b82f6;
}

.nav-link:hover:after {
    width: 100%;
}

.nav-link.active {
    color: #3b82f6;
}

.nav-link.active:after {
    width: 100%;
}

/* Right Navigation */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-join {
    background: linear-gradient(45deg, #ef4444, #f59e0b);
    padding: clamp(0.5rem, 1.2vw, 0.6rem) clamp(1.2rem, 2vw, 1.8rem);
    border-radius: 25px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    white-space: nowrap;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

.btn-join:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    background: none;
    border: none;
    padding: 0.5rem;
    transition: color 0.3s;
    min-height: 44px;
    min-width: 44px;
    align-items: center;
    justify-content: center;
}

.menu-toggle:hover {
    color: #3b82f6;
}

/* ===== SECONDARY NAVIGATION BAR ===== */
.secondary-navbar {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 1rem 0;
    margin-top: 70px;
    border-bottom: 2px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 998;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    transform: translateY(0);
    opacity: 1;
}

.secondary-navbar.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.secondary-nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.big-logo {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex: 1;
    min-width: 0;
}

.big-logo-image {
    width: clamp(70px, 8vw, 90px);
    height: clamp(70px, 8vw, 90px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    border-radius: 12px;
    padding: 10px;
}

.big-logo:hover .big-logo-image {
    transform: scale(1.05);
}

.big-logo-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.big-logo-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.big-logo-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 900;
    background: linear-gradient(45deg, white, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.big-logo-subtitle {
    color: #94a3b8;
    font-size: clamp(0.7rem, 1.5vw, 0.85rem);
    margin-top: 0.3rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.secondary-contact {
    display: flex;
    gap: 1.2rem;
    flex-shrink: 0;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: clamp(0.6rem, 1.5vw, 0.7rem) clamp(0.8rem, 1.5vw, 1.2rem);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s;
    min-width: clamp(140px, 15vw, 180px);
    text-decoration: none;
    min-height: 44px;
}

.contact-info-item:hover {
    transform: translateY(-3px);
    border-color: #3b82f6;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.contact-info-item i {
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
    color: #3b82f6;
    width: clamp(32px, 4vw, 36px);
    height: clamp(32px, 4vw, 36px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.contact-label {
    font-size: clamp(0.65rem, 1.2vw, 0.75rem);
    color: #94a3b8;
    font-weight: 500;
    margin-bottom: 0.1rem;
    white-space: nowrap;
}

.contact-info-item a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    transition: color 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-info-item a:hover {
    color: #3b82f6;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: clamp(160px, 18vw, 200px) 0 clamp(60px, 8vw, 80px);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

@media (min-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-text {
    padding-right: 0;
}

@media (min-width: 992px) {
    .hero-text {
        padding-right: 2rem;
    }
}

.hero-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    color: white;
    margin-top: 40px;
}

.hero-text h1 .highlight {
    background: linear-gradient(45deg, #3b82f6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: #3b82f6;
    font-weight: 500;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.hero-description {
    color: #94a3b8;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    line-height: 1.7;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
    flex-wrap: wrap;
    justify-content: center;
}

@media (min-width: 768px) {
    .hero-btns {
        justify-content: flex-start;
    }
}

.btn {
    padding: clamp(0.9rem, 1.5vw, 1rem) clamp(1.5rem, 3vw, 2.5rem);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    cursor: pointer;
    border: none;
    white-space: nowrap;
    min-width: clamp(140px, 15vw, 160px);
    width: 100%;
    max-width: 300px;
    min-height: 44px;
}

@media (min-width: 768px) {
    .btn {
        width: auto;
    }
}

.btn-primary {
    background: linear-gradient(45deg, #3b82f6, #10b981);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-3px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2vw, 2rem);
    margin-top: clamp(2rem, 4vw, 3rem);
    padding-top: clamp(1.5rem, 3vw, 2rem);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

.hero-stats .stat {
    text-align: center;
    padding: 0.5rem;
}

.hero-stats .stat-num {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 900;
    background: linear-gradient(45deg, #3b82f6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.hero-stats .stat-label {
    color: #94a3b8;
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    font-weight: 500;
}

/* ===== HERO FRAME CONTAINER ===== */
.hero-frame-container {
    position: relative;
    width: 100%;
    height: clamp(300px, 50vw, 550px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: clamp(1rem, 3vw, 0);
}

.hero-frame-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.frame-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

/* Hero Image Slider Inside Frame */
.hero-slide-box {
    position: relative;
    width: 85%;
    height: 85%;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    z-index: 2;
    margin-top: 5%;
}

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

.image-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 1;
}

.image-slider.active {
    opacity: 1;
    z-index: 2;
}

/* Slider Images */
.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.9);
    transition: transform 0.5s;
    display: block;
    border-radius: 10px;
}

.image-slider.active .slider-image {
    transform: scale(1.02);
}

.slider-controls {
    position: absolute;
    bottom: clamp(0.5rem, 1vw, 1rem);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: clamp(35px, 4vw, 40px);
    height: clamp(35px, 4vw, 40px);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    font-size: clamp(0.9rem, 1vw, 1rem);
    min-height: 44px;
    min-width: 44px;
}

.slider-btn:hover {
    background: #3b82f6;
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: clamp(8px, 1vw, 10px);
    height: clamp(8px, 1vw, 10px);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dot.active {
    background: #3b82f6;
    transform: scale(1.2);
}

.dot:hover {
    background: #3b82f6;
    transform: scale(1.1);
}

/* ===== SECTION STYLES ===== */
section {
    padding: clamp(3rem, 6vw, 5rem) 0;
    position: relative;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, white, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    text-align: center;
    color: #94a3b8;
    margin-bottom: clamp(2rem, 4vw, 3rem);
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

/* ===== ABOUT SECTION ===== */
.about {
    background: rgba(15, 23, 42, 0.5);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}

@media (min-width: 992px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
}

.about-text h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    color: white;
    font-weight: 600;
}

.about-text p {
    color: #94a3b8;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: #3b82f6;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.1);
}

.feature i {
    font-size: 2rem;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.feature h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 600;
}

.feature p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* ===== COACH CARD WITH IMAGE ===== */
.coach-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.coach-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}


.coach-img {
    position: relative;
    overflow: hidden;
    width: 100%;
    /* Aspect ratio 4:3 for coach image */
    padding-top: 75%; /* 4:3 aspect ratio (3/4 = 0.75) */
    min-height: 200px;
}

.coach-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    display: block;
}

.coach-card:hover .coach-image {
    transform: scale(1.05);
}
.court-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(30, 64, 175, 0.3), rgba(59, 130, 246, 0.2));
    z-index: 1;
}

.coach-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: white;
    font-weight: 500;
    z-index: 2;
}

.coach-badge i {
    color: #fbbf24;
}

.coach-info {
    padding: 1.5rem;
}

.coach-info h4 {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    margin-bottom: 1rem;
    color: white;
    font-weight: 600;
    line-height: 1.3;
}

.coach-info p {
    color: #94a3b8;
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.coach-qualifications {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.coach-qualifications span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    flex-shrink: 0;
}



.coach-qualifications i {
    font-size: 0.9rem;
}


/* ===== PROGRAMS SECTION ===== */
.programs {
    position: relative;
    overflow: hidden;
}

.program-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
    padding: clamp(1.5rem, 3vw, 2rem);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.program-description p {
    color: #94a3b8;
    line-height: 1.6;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
}

.programs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .programs-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Program Cards */
.program-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.red-card:hover {
    border-color: #ef4444;
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.2);
}

.orange-card:hover {
    border-color: #f59e0b;
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.2);
}

.green-card:hover {
    border-color: #10b981;
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
}

.yellow-card:hover {
    border-color: #fbbf24;
    box-shadow: 0 20px 40px rgba(251, 191, 36, 0.2);
}

.program-image {
    position: relative;
    height: clamp(150px, 20vw, 200px);
    overflow: hidden;
    flex-shrink: 0;
}

/* Program Images */
.program-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s;
    display: block;
    min-height: 150px;
}

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.3s;
}

.red-overlay { background: rgba(239, 68, 68, 0.2); }
.orange-overlay { background: rgba(245, 158, 11, 0.2); }
.green-overlay { background: rgba(16, 185, 129, 0.2); }
.yellow-overlay { background: rgba(251, 191, 36, 0.2); }

.program-card:hover .image-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.program-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-card h3 {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 600;
}

.red-card h3 { color: #ef4444; }
.orange-card h3 { color: #f59e0b; }
.green-card h3 { color: #10b981; }
.yellow-card h3 { color: #fbbf24; }

.program-card .age {
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.program-card .desc {
    color: #94a3b8;
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    flex: 1;
}

.btn-view {
    display: block;
    text-align: center;
    padding: 0.8rem;
    background: transparent;
    border: 2px solid;
    border-radius: 25px;
    color: inherit;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
    margin-top: auto;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.red-card .btn-view {
    border-color: #ef4444;
    color: #ef4444;
}

.orange-card .btn-view {
    border-color: #f59e0b;
    color: #f59e0b;
}

.green-card .btn-view {
    border-color: #10b981;
    color: #10b981;
}

.yellow-card .btn-view {
    border-color: #fbbf24;
    color: #fbbf24;
}

.btn-view:hover {
    background: currentColor;
    color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: rgba(15, 23, 42, 0.5);
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .contact-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    padding: clamp(1.5rem, 2vw, 2rem);
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: #3b82f6;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.1);
}

.contact-card .icon {
    width: clamp(60px, 8vw, 70px);
    height: clamp(60px, 8vw, 70px);
    background: linear-gradient(45deg, #3b82f6, #10b981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: clamp(1.5rem, 2vw, 1.8rem);
    color: white;
    transition: transform 0.3s;
}

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

.contact-card h4 {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    margin-bottom: 1rem;
    color: white;
    font-weight: 600;
}

.contact-card a {
    display: block;
    color: #3b82f6;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-decoration: none;
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    transition: color 0.3s;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card a:hover {
    color: #10b981;
    text-decoration: underline;
}

.contact-card p {
    color: #94a3b8;
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    line-height: 1.5;
}

.contact-info {
    max-width: 800px;
    margin: 0 auto;
}

.social-section {
    background: rgba(255, 255, 255, 0.05);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.social-section h3 {
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    margin-bottom: 0.8rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-weight: 600;
}

.social-section p {
    color: #94a3b8;
    margin-bottom: 2rem;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 768px) {
    .social-icons {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
}

.social-icons a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.8rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 160px;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 300px;
    min-height: 44px;
}

@media (min-width: 768px) {
    .social-icons a {
        width: auto;
    }
}

.social-icons a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.social-icons .whatsapp {
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: white;
}

.social-icons .whatsapp:hover {
    background: linear-gradient(45deg, #128C7E, #25D366);
}

.social-icons .instagram {
    background: linear-gradient(45deg, #E1306C, #833AB4);
    color: white;
}

.social-icons .instagram:hover {
    background: linear-gradient(45deg, #833AB4, #E1306C);
}

.social-icons a i {
    font-size: 1.3rem;
}

/* ===== FOOTER ===== */
.footer {
    background: rgba(15, 23, 42, 0.9);
    padding: clamp(2rem, 4vw, 3rem) 0 1.5rem;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 3vw, 3rem);
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-logo {
        align-items: flex-start;
        text-align: left;
    }
}

.footer-logo h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    margin-bottom: 1rem;
    background: linear-gradient(45deg, white, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.footer-logo p {
    color: #94a3b8;
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.footer-contact p {
    color: #94a3b8;
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-contact p {
        justify-content: flex-start;
    }
}

.footer-links h4,
.footer-programs h4 {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    margin-bottom: 1rem;
    color: #3b82f6;
    font-weight: 600;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-links h4,
    .footer-programs h4 {
        text-align: left;
    }
}

.footer-links a,
.footer-programs a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: all 0.3s;
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    justify-content: center;
    min-height: 44px;
}

@media (min-width: 768px) {
    .footer-links a,
    .footer-programs a {
        justify-content: flex-start;
    }
}

.footer-links a:hover,
.footer-programs a:hover {
    color: #3b82f6;
    transform: translateX(5px);
}

.footer-programs i.red { color: #ef4444; }
.footer-programs i.orange { color: #f59e0b; }
.footer-programs i.green { color: #10b981; }
.footer-programs i.yellow { color: #fbbf24; }

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    color: #64748b;
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.1rem;
    min-height: 44px;
    min-width: 44px;
}

.footer-social a:hover {
    color: #3b82f6;
    transform: translateY(-3px);
    background: rgba(59, 130, 246, 0.1);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.2);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: clamp(1rem, 2vw, 2rem);
    right: clamp(1rem, 2vw, 2rem);
    width: clamp(45px, 5vw, 50px);
    height: clamp(45px, 5vw, 50px);
    background: linear-gradient(45deg, #3b82f6, #10b981);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
    min-height: 44px;
    min-width: 44px;
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* ===== WHATSAPP FLOAT BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: clamp(1rem, 2vw, 2rem);
    left: clamp(1rem, 2vw, 2rem);
    background: #25D366;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    z-index: 100;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s;
    min-height: 44px;
}

@media (max-width: 768px) {
    .whatsapp-float span {
        display: none;
    }
    
    .whatsapp-float {
        left: 50%;
        transform: translateX(-50%);
        bottom: 1rem;
        padding: 1rem;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        justify-content: center;
    }
    
    .whatsapp-float i {
        font-size: 1.5rem;
        margin: 0;
    }
    
    .back-to-top {
        bottom: 5rem;
        right: 1rem;
    }
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    background: #128C7E;
}

.whatsapp-float i {
    font-size: 1.5rem;
}

/* ===== RESPONSIVE DESIGN ===== */

/* High Resolution Screens */
@media (min-width: 1400px) {
    .coach-card {
        max-width: 550px;
    }
    
    .coach-img {
        height: 280px;
        padding-top: 0;
    }
    
    .coach-info h4 {
        font-size: 1.4rem;
    }
    
    .coach-info p {
        font-size: 1rem;
    }
}

/* Tablets Portrait & Large Phones */

@media (min-width: 992px) {
    .coach-card {
        max-width: 100%;
        height: auto;
    }
    
    .coach-img {
        height: 250px;
        padding-top: 0;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .coach-card {
        max-width: 450px;
        margin: 0 auto;
    }
    
    .coach-img {
        height: 220px;
        padding-top: 0;
    }
    
    .coach-info {
        padding: 1.25rem;
    }
}


@media (max-width: 767px) {
    /* Navigation */
    .nav-center {
        display: none;
    }
    
    .nav-right .btn-join {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        z-index: 999;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        border-top: 1px solid rgba(59, 130, 246, 0.1);
    }
    
    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.8rem 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link:after {
        display: none;
    }
    
    .nav-link:hover {
        background: rgba(59, 130, 246, 0.1);
        border-radius: 8px;
        border-bottom-color: transparent;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Mobile Join Now Button */
    .nav-links .btn-join {
        display: inline-flex;
        margin-top: 1rem;
        padding: 1rem 2rem;
        font-size: 1rem;
        justify-content: center;
    }
    
    /* Secondary Navbar */
    .secondary-navbar {
        padding: 0.8rem 0;
    }
    
    .secondary-nav-content {
        flex-direction: column;
        gap: 1.2rem;
        text-align: center;
    }
    
    .big-logo {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
        width: 100%;
    }
    
    .big-logo-title {
        font-size: 1.5rem;
        text-align: center;
        -webkit-line-clamp: 2;
        line-height: 1.3;
    }
    
    .big-logo-subtitle {
        font-size: 0.75rem;
        text-align: center;
        white-space: normal;
        line-height: 1.4;
    }
    
    .big-logo-image {
        width: 70px;
        height: 70px;
    }
    
    .secondary-contact {
        width: 100%;
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .contact-info-item {
        width: 100%;
        max-width: 300px;
        min-width: auto;
        margin: 0 auto;
        justify-content: center;
    }
    
    /* Hero Section Mobile */
    .hero {
        padding: 130px 0 40px;
    }
    
    .hero-text h1 {
        font-size: 1.6rem;
        line-height: 1.2;
        margin-top: 65px;
    }
    
    .hero-frame-container {
        height: 280px;
    }

    .coach-card {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .coach-img {
        padding-top: 75%; /* Maintain 4:3 aspect ratio */
        height: auto;
        min-height: 200px;
        max-height: 300px;
    }
    
    .coach-image {
        object-fit: cover;
        object-position: center;
    }
    
    .coach-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        top: 0.8rem;
        right: 0.8rem;
    }
    
    .coach-info {
        padding: 1.25rem;
    }
    
    .coach-qualifications {
        gap: 0.6rem;
    }
    
    .coach-qualifications span {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }


}

/* Mobile Phones */
@media (max-width: 575px) {
    .secondary-navbar {
        padding: 0.7rem 0;
        margin-top: 60px;
    }
    
    .secondary-nav-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .big-logo {
        flex-direction: row;
        justify-content: center;
        text-align: left;
        gap: 0.8rem;
        width: 100%;
    }
    
    .big-logo-title {
        font-size: 1.2rem;
        line-height: 1.2;
        -webkit-line-clamp: 2;
        text-align: left;
    }
    
    .big-logo-subtitle {
        font-size: 0.7rem;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: left;
    }
    
    .big-logo-image {
        width: 95px;
        height: 85px;
        flex-shrink: 0;
    }
    
    .secondary-contact {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.6rem;
    }
    
    .contact-info-item {
        flex: 1;
        min-width: 140px;
        max-width: 48%;
        padding: 0.5rem;
        justify-content: flex-start;
    }
    
    .contact-info-item i {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    
    .contact-text {
        min-width: 0;
    }
    
    .contact-label {
        font-size: 0.6rem;
    }
    
    .contact-info-item a {
        font-size: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .hero-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .hero-btns {
        gap: 0.8rem;
    }
    
    .btn {
        padding: 0.9rem 1.5rem;
        min-width: 140px;
    }
    
    .container {
        padding: 0 12px;
    }
}

/* Small Mobile Phones */
@media (max-width: 480px) {
    .secondary-navbar {
        padding: 0.6rem 0;
    }
    
    .big-logo {
        gap: 0.6rem;
    }
    
    .big-logo-title {
        font-size: 1.1rem;
    }
    
    .big-logo-subtitle {
        font-size: 0.65rem;
    }
    
    .big-logo-image {
        width: 95px;
        height: 85px;
    }
    
    .contact-info-item {
        min-width: 130px;
        max-width: 47%;
        padding: 0.4rem;
    }
    
    .hero-frame-container {
        height: 250px;
    }
    
    .hero-slide-box {
        width: 90%;
        height: 90%;
    }

     .coach-img {
        padding-top: 100%; /* Switch to 1:1 square aspect ratio for very small screens */
        min-height: 180px;
    }
    
    .coach-badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
        top: 0.6rem;
        right: 0.6rem;
    }
    
    .coach-info {
        padding: 1rem;
    }
    
    .coach-info h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .coach-info p {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    .coach-qualifications {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .coach-qualifications span {
        width: 100%;
        justify-content: center;
    }

}

/* Extra Small Mobile Phones */
@media (max-width: 360px) {
    .big-logo-title {
        font-size: 1rem;
    }
    
    .big-logo-subtitle {
        font-size: 0.6rem;
    }
    
    .big-logo-image {
        width: 95px;
        height: 85px;
    }
    
    .secondary-contact {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .contact-info-item {
        max-width: 100%;
        width: 100%;
        min-width: auto;
    }
    
    .hero-text h1 {
        font-size: 1.5rem;
    }
    
    .hero-frame-container {
        height: 220px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .coach-img {
        padding-top: 100%;
        min-height: 160px;
    }
    
    .coach-badge {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .coach-info {
        padding: 0.8rem;
    }
    
    .coach-info h4 {
        font-size: 1rem;
    }
    
    .coach-info p {
        font-size: 0.8rem;
    }

}

/* Very Small Mobile Devices */
@media (max-width: 320px) {
    .big-logo-title {
        font-size: 0.9rem;
    }
    
    .big-logo-subtitle {
        font-size: 0.6rem;
    }
    
    .hero-text h1 {
        font-size: 1.4rem;
        margin-top: 10px;
    }
    
    .hero-frame-container {
        height: 200px;
    }
    
    .container {
        padding: 0 10px;
    }
}

/* Landscape Mode for Mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .secondary-navbar {
        padding: 0.5rem 0;
        margin-top: 60px;
    }
    
    .big-logo-image {
        width: 50px;
        height: 50px;
    }
    
    .big-logo-title {
        font-size: 1rem;
    }
    
    .big-logo-subtitle {
        font-size: 0.6rem;
    }
    
    .hero {
        min-height: auto;
        padding: 140px 0 40px;
    }
    
    .hero-frame-container {
        height: 250px;
    }

    .coach-img {
        height: 180px;
        padding-top: 0;
    }
    
    .coach-card {
        max-width: 400px;
    }


}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .dot {
        width: 14px;
        height: 14px;
    }
    
    .slider-btn {
        width: 44px;
        height: 44px;
    }
    
    /* Better touch targets */
    .slider-image {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }
    
    .nav-link:hover {
        background: transparent;
    }
    
    .program-card:hover {
        transform: none;
    }
    
    /* Larger touch targets for mobile */
    .btn, .btn-view, .nav-link, .contact-info-item {
        min-height: 44px;
    }
}

/* Loading state for images */
.slider-image.loading {
    opacity: 0.5;
    filter: blur(5px);
}

.slider-image.loaded {
    opacity: 1;
    filter: blur(0);
    transition: opacity 0.3s, filter 0.3s;
}

/* Coach image loading */
.coach-image.loading {
    opacity: 0.5;
    filter: blur(5px);
}

.coach-image.loaded {
    opacity: 1;
    filter: blur(0);
    transition: opacity 0.3s, filter 0.3s;
}

/* Program images loading */
.program-img.loading {
    opacity: 0.5;
    filter: blur(5px);
}

.program-img.loaded {
    opacity: 1;
    filter: blur(0);
    transition: opacity 0.3s, filter 0.3s;
}

/* Fix for mobile tap highlight */
a, button {
    -webkit-tap-highlight-color: rgba(59, 130, 246, 0.1);
    tap-highlight-color: rgba(59, 130, 246, 0.1);
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    .coach-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .coach-image {
        filter: grayscale(100%);
    }
    
    .court-overlay {
        display: none;
    }
    
    .coach-badge {
        background: #f0f0f0;
        color: #333;
    }
}


/* Fallback for coach image */
.coach-img:has(.coach-image:not([src])) {
    background: linear-gradient(45deg, #1e293b, #334155);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
}

.coach-img:has(.coach-image:not([src]))::before {
    content: '\f007';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 3rem;
    opacity: 0.5;
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .coach-card:hover {
        transform: none;
    }
    
    .coach-card:active {
        transform: scale(0.98);
    }
    
    .coach-image {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }
}