/* ============================================
   GYMNASTICS GYM - LAYOUT STYLESHEET
   ============================================
   Design: Clean, Modern, Sporty
   Desktop-first, Responsive
   ============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ============================================ */
:root {
    /* Primary Colors - Gymnastika Brand Blue & Purple */
    --color-primary: #2E2E7A;
    --color-primary-light: #3D3D9E;
    --color-secondary: #7B5EA7;
    --color-secondary-light: #9B7EC7;
    --color-accent: #5E4A8C;
    
    /* Neutral Colors */
    --color-white: #ffffff;
    --color-off-white: #f8f9fa;
    --color-gray-100: #f1f3f5;
    --color-gray-200: #e9ecef;
    --color-gray-300: #dee2e6;
    --color-gray-400: #ced4da;
    --color-gray-500: #adb5bd;
    --color-gray-600: #868e96;
    --color-gray-700: #495057;
    --color-gray-800: #343a40;
    --color-gray-900: #212529;
    --color-black: #000000;
    
    /* Typography */
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Barlow', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;
    
    /* Container */
    --container-max: 1280px;
    --container-padding: 2rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

/* Better touch targets on mobile */
@media (max-width: 768px) {
    .btn {
        min-height: 44px;
    }
    a, button {
        -webkit-tap-highlight-color: rgba(123, 94, 167, 0.2);
    }
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-gray-800);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: 0.02em;
    color: var(--color-primary);
    line-height: 1.1;
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray-600);
    max-width: 600px;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ============================================
   PLACEHOLDER STYLES (For Layout Preview)
   ============================================ */
.image-placeholder {
    background: linear-gradient(135deg, var(--color-gray-200) 0%, var(--color-gray-300) 100%);
    border: 2px dashed var(--color-gray-400);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    color: var(--color-gray-600);
    font-weight: 500;
    text-align: center;
    padding: var(--space-md);
    position: relative;
}

.image-placeholder span {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.image-placeholder p {
    font-size: 0.75rem;
    color: var(--color-gray-500);
    margin-top: var(--space-xs);
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
    opacity: 0.5;
}

.placeholder-dimensions {
    font-size: 0.75rem;
    color: var(--color-gray-500);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-primary {
    background: var(--color-secondary);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-secondary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

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

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

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

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--space-md) 0;
    transition: var(--transition-base);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-white);
}

.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: screen;
    filter: invert(1) hue-rotate(180deg) brightness(1.2);
    transition: var(--transition-base);
}

.logo:hover .logo-img {
    filter: invert(1) hue-rotate(180deg) brightness(1.4) drop-shadow(0 0 8px rgba(155, 126, 199, 0.5));
}

.footer-logo-img {
    height: 80px;
}

.logo-icon {
    color: var(--color-secondary);
    font-size: 1.75rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-menu a {
    color: var(--color-gray-300);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: var(--transition-base);
}

.nav-menu a:hover {
    color: var(--color-white);
}

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

.nav-cta {
    padding: 0.75rem 1.5rem;
    background: var(--color-secondary);
    color: var(--color-white);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
}

.nav-cta:hover {
    background: var(--color-secondary-light);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition-base);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-400);
    border: none;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(10, 22, 40, 0.9) 0%,
        rgba(10, 22, 40, 0.7) 50%,
        rgba(10, 22, 40, 0.4) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding-top: 80px;
}

.hero-tagline {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-secondary-light);
    margin-bottom: var(--space-md);
    padding: var(--space-xs) var(--space-sm);
    background: rgba(123, 94, 167, 0.15);
    border-left: 3px solid var(--color-secondary);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    letter-spacing: 0.02em;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: var(--space-lg);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray-300);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-gray-400);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--color-secondary);
    border-bottom: 2px solid var(--color-secondary);
    transform: rotate(45deg);
}

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

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--space-4xl) 0;
    background: var(--color-white);
}

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

.about-image {
    position: relative;
}

.about-image .image-placeholder {
    height: 500px;
    border-radius: var(--radius-lg);
}

.about-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: top center;
    border-radius: 24px;
    display: block;
}

.about-accent {
    position: absolute;
    top: var(--space-lg);
    left: var(--space-lg);
    right: calc(var(--space-lg) * -1);
    bottom: calc(var(--space-lg) * -1);
    background: var(--color-secondary);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.2;
}

.about-content {
    padding: var(--space-lg) 0;
}

.about-text {
    color: var(--color-gray-600);
    margin-bottom: var(--space-md);
    font-size: 1.0625rem;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: var(--space-2xl);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-gray-200);
}

.stat {
    text-align: left;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--color-secondary);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   PROGRAMS SECTION
   ============================================ */
.programs {
    padding: var(--space-4xl) 0;
    background: var(--color-off-white);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.program-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.program-image .image-placeholder {
    height: 200px;
    border-radius: 0;
    border: none;
    border-bottom: 2px dashed var(--color-gray-300);
}

.program-content {
    padding: var(--space-lg);
}

.program-age {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-secondary);
    background: rgba(123, 94, 167, 0.1);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
}

.program-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.program-desc {
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.program-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.program-link:hover {
    color: var(--color-secondary);
}

/* ============================================
   COACHES SECTION
   ============================================ */
.coaches {
    padding: var(--space-4xl) 0;
    background: var(--color-primary);
}

.coaches .section-label {
    color: var(--color-secondary);
}

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

.coaches .section-subtitle {
    color: var(--color-gray-400);
}

.coaches-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.coach-card {
    background: var(--color-primary-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-base);
}

.coach-card:hover {
    transform: translateY(-8px);
}

.coach-image {
    position: relative;
    overflow: hidden;
}

.coach-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.coach-placeholder {
    height: 280px;
    background: linear-gradient(135deg, var(--color-gray-700) 0%, var(--color-gray-800) 100%);
    border: none;
    border-bottom: 2px dashed var(--color-gray-600);
}

.coach-socials {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    opacity: 0;
    transform: translateY(100%);
    transition: var(--transition-base);
}

.coach-card:hover .coach-socials {
    opacity: 1;
    transform: translateY(0);
}

.social-link {
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-secondary);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.coach-info {
    padding: var(--space-lg);
    text-align: center;
}

.coach-name {
    font-family: var(--font-display);
    font-size: 1.375rem;
    color: var(--color-white);
    margin-bottom: var(--space-xs);
}

.coach-role {
    display: block;
    font-size: 0.8125rem;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.coach-bio {
    font-size: 0.875rem;
    color: var(--color-gray-400);
    line-height: 1.6;
}

/* ============================================
   EVENTS SECTION
   ============================================ */
.events {
    padding: var(--space-4xl) 0;
    background: var(--color-primary);
}

.events .section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.events .section-label {
    color: var(--color-secondary-light);
}

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

.events .section-subtitle {
    color: var(--color-gray-400);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.event-card {
    background: var(--color-primary-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    display: flex;
    gap: var(--space-lg);
    transition: var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.event-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-secondary);
    box-shadow: 0 10px 40px rgba(123, 94, 167, 0.2);
}

.event-card.featured {
    border-color: var(--color-secondary);
    background: linear-gradient(135deg, var(--color-primary-light) 0%, rgba(123, 94, 167, 0.2) 100%);
}

.event-date {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: var(--color-secondary);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.event-day {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--color-white);
    line-height: 1;
}

.event-month {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

.event-content {
    flex: 1;
}

.event-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-secondary-light);
    background: rgba(123, 94, 167, 0.2);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
}

.event-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.event-desc {
    font-size: 0.875rem;
    color: var(--color-gray-400);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.event-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-secondary-light);
    text-decoration: none;
    margin-top: var(--space-sm);
    transition: color var(--transition-base);
}

.event-link:hover {
    color: var(--color-secondary);
}

.event-meta {
    display: flex;
    gap: var(--space-lg);
}

.event-time {
    font-size: 0.8rem;
    color: var(--color-gray-500);
}

.events-cta {
    text-align: center;
}

/* ============================================
   TEST RESULTS SECTION (Collapsible)
   ============================================ */
.test-results {
    padding: var(--space-2xl) 0;
    background: var(--color-gray-100);
}

.test-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding: var(--space-lg) var(--space-md);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.test-results-header:hover {
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-md);
}

.test-results-header-text {
    flex: 1;
}

.test-results-header .section-title {
    margin: 0;
    font-size: 1.5rem;
}

.test-results-subtitle {
    margin: 0;
    color: var(--color-gray-600);
    font-size: 0.9rem;
}

.test-results-toggle-icon {
    font-size: 1rem;
    color: var(--color-secondary);
    transition: transform var(--transition-base);
}

.test-results.open .test-results-toggle-icon {
    transform: rotate(180deg);
}

.test-results-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.test-results.open .test-results-content {
    max-height: 2000px;
}

.test-results-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    align-items: center;
}

.test-results-search {
    flex: 1;
    min-width: 180px;
    padding: var(--space-sm) var(--space-md);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
}

.test-results-search:focus {
    outline: none;
    border-color: var(--color-primary);
}

.test-results-level-filter {
    padding: var(--space-sm) var(--space-md);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    min-width: 160px;
}

.test-results-table-wrapper {
    margin-top: var(--space-lg);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
}

.test-results-table {
    width: 100%;
    border-collapse: collapse;
}

.test-results-table th,
.test-results-table td {
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--color-gray-200);
}

.test-results-table th {
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.875rem;
}

.test-results-table tbody tr:hover {
    background: var(--color-gray-100);
}

.test-result-row {
    cursor: pointer;
    transition: background var(--transition-base);
}

.test-result-row:hover {
    background: var(--color-gray-100);
}

.test-result-row:focus {
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
}

/* Student profile modal */
.student-profile-modal-content {
    max-width: 560px;
}

.student-profile-modal-header {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--color-white);
    padding-bottom: var(--space-md);
    margin-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-gray-200);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-md);
}

.student-profile-modal-header .modal-title {
    margin: 0;
    flex: 1;
}

.student-profile-modal-close-wrap {
    flex-shrink: 0;
}

.student-profile-modal-close-wrap .modal-close {
    position: static;
    padding: 0.5rem 0.75rem;
    font-size: 1.5rem;
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.student-profile-modal-footer {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-gray-200);
    text-align: center;
}

.student-profile-test {
    margin-bottom: var(--space-sm);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.student-profile-test:last-child {
    margin-bottom: 0;
}

.student-profile-test-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--color-gray-100);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: var(--color-primary);
    text-align: left;
}

.student-profile-test-toggle:hover {
    background: var(--color-gray-200);
}

.student-profile-test-arrow {
    font-size: 0.75rem;
    transition: transform 0.2s;
}

.student-profile-test:not(.student-profile-test-collapsed) .student-profile-test-arrow {
    transform: rotate(90deg);
}

.student-profile-test-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.student-profile-test:not(.student-profile-test-collapsed) .student-profile-test-body {
    max-height: 800px;
}

.student-profile-test-body {
    padding: 0 var(--space-lg) var(--space-lg);
}

.student-profile-test-meta {
    font-size: 0.9rem;
    color: var(--color-gray-600);
    margin-bottom: var(--space-sm);
    padding-top: var(--space-sm);
}

.student-profile-skills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.student-skill-item {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: var(--color-white);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
}

.test-results-empty {
    font-size: 0.8rem;
    color: var(--color-gray-500);
    text-align: center;
    padding: var(--space-xl);
    margin: 0;
    display: none;
}

.test-results-empty.visible {
    display: block;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery {
    background: var(--color-white);
}

.gallery-hero {
    position: relative;
    min-height: 50vh;
    padding: var(--space-4xl) 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.gallery-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.gallery-bg-img.active {
    opacity: 1;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.85) 0%,
        rgba(46, 46, 122, 0.75) 100%
    );
    z-index: 1;
}

.gallery .section-header {
    position: relative;
    z-index: 2;
    text-align: center;
}

.gallery .section-label {
    color: var(--color-secondary-light);
}

.gallery .section-title {
    color: var(--color-white);
    font-size: 3rem;
}

.gallery-content {
    padding: var(--space-4xl) 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: var(--space-md);
}

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

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.gallery-item .image-placeholder {
    height: 100%;
    min-height: unset;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item-hidden {
    display: none !important;
}

/* Gallery Lightbox (full-screen) */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    padding: max(var(--space-xl), env(safe-area-inset-top)) max(var(--space-xl), env(safe-area-inset-right)) max(var(--space-xl), env(safe-area-inset-bottom)) max(var(--space-xl), env(safe-area-inset-left));
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 95vw;
    max-height: 95vh;
    width: auto;
    height: auto;
    object-fit: contain;
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: max(var(--space-lg), env(safe-area-inset-top));
    right: max(var(--space-lg), env(safe-area-inset-right));
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--color-white);
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity var(--transition-base);
    z-index: 2;
    min-width: 48px;
    min-height: 48px;
    padding: var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    opacity: 1;
}

/* Gallery View More Section */
.gallery-view-more {
    text-align: center;
    margin-top: var(--space-2xl);
}

.gallery-view-more .btn {
    min-width: 250px;
}

/* Gallery Upload Section */
.gallery-upload-section {
    text-align: center;
    margin-top: var(--space-3xl);
    padding: var(--space-3xl);
    background: var(--color-off-white);
    border-radius: var(--radius-lg);
}

.btn-upload {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.125rem;
    padding: 1rem 2rem;
}

.btn-upload span {
    font-size: 1.5rem;
}

.upload-description {
    margin-top: var(--space-md);
    color: var(--color-gray-600);
    font-size: 0.9375rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.95);
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: var(--space-xl);
    padding-top: 3rem;
}

.modal-content {
    background: var(--color-white);
    padding: var(--space-3xl);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-close {
    position: absolute;
    right: var(--space-lg);
    top: var(--space-lg);
    font-size: 2rem;
    color: var(--color-gray-500);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-base);
}

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

.modal-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.modal-subtitle {
    color: var(--color-gray-600);
    margin-bottom: var(--space-2xl);
}

.upload-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.file-upload-wrapper {
    position: relative;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.file-upload-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl);
    border: 2px dashed var(--color-gray-300);
    border-radius: var(--radius-md);
    background: var(--color-off-white);
    transition: var(--transition-base);
    cursor: pointer;
}

.file-upload-wrapper:hover .file-upload-display {
    border-color: var(--color-secondary);
    background: var(--color-white);
}

.file-upload-icon {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

.file-upload-text {
    color: var(--color-gray-600);
    font-weight: 500;
}

.upload-message {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-top: var(--space-md);
    display: none;
}

.upload-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.upload-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

.upload-message.loading {
    display: block;
    background: var(--color-off-white);
    color: var(--color-primary);
    border: 2px solid var(--color-gray-300);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--color-off-white) 0%, var(--color-gray-100) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    align-items: start;
}

.testimonial-card {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition-base);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
}

.testimonial-card.featured {
    background: var(--color-primary);
    transform: scale(1.05);
}

.testimonial-card.featured .testimonial-text,
.testimonial-card.featured .author-name {
    color: var(--color-white);
}

.testimonial-card.featured .author-role {
    color: var(--color-gray-400);
}

.testimonial-quote {
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--color-secondary);
    line-height: 0.5;
    margin-bottom: var(--space-sm);
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--color-gray-700);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-image .image-placeholder.small {
    width: 60px;
    height: 60px;
    min-height: unset;
    border-radius: 50%;
    font-size: 0.625rem;
}

.author-image .image-placeholder.small span {
    font-size: 0.5rem;
}

.author-image .image-placeholder.small p {
    display: none;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--color-gray-800);
    margin-bottom: 2px;
}

.author-role {
    font-size: 0.8125rem;
    color: var(--color-gray-500);
}

/* ============================================
   CALL-TO-ACTION SECTION
   ============================================ */
.cta {
    position: relative;
    padding: var(--space-4xl) 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cta-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    border: none;
    color: var(--color-gray-500);
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.92) 0%,
        rgba(26, 45, 74, 0.85) 100%
    );
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.cta-text {
    font-size: 1.25rem;
    color: var(--color-gray-300);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: var(--space-4xl) 0;
    background: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-3xl);
}

.contact-intro {
    font-size: 1.0625rem;
    color: var(--color-gray-600);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-off-white);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gray-500);
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--color-gray-800);
    line-height: 1.5;
}

.contact-socials {
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-gray-200);
}

.contact-socials > span {
    display: block;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gray-500);
    margin-bottom: var(--space-sm);
}

.social-icons {
    display: flex;
    gap: var(--space-sm);
}

.social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.social-icon:hover {
    background: var(--color-secondary);
    color: var(--color-white);
}

.contact-form-wrapper {
    background: var(--color-off-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    background: var(--color-white);
    color: var(--color-gray-800);
    transition: var(--transition-base);
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form Message Styling */
.form-message {
    margin-top: var(--space-lg);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 500;
    animation: slideIn 0.3s ease-out;
}

.form-message-success {
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.form-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

.form-message.fade-out {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.5s ease-out;
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-primary);
    color: var(--color-gray-300);
    padding: var(--space-3xl) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr) 1.5fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: var(--space-md);
}

.footer-tagline {
    font-size: 0.9375rem;
    color: var(--color-gray-400);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.footer-socials {
    display: flex;
    gap: var(--space-sm);
}

.footer-socials .social-icon {
    background: rgba(255, 255, 255, 0.1);
}

.footer-socials .social-icon:hover {
    background: var(--color-secondary);
    color: var(--color-white);
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    letter-spacing: 0.05em;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--color-gray-400);
}

.footer-links a:hover {
    color: var(--color-secondary);
}

.footer-newsletter h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--color-white);
    margin-bottom: var(--space-md);
    letter-spacing: 0.05em;
}

.footer-newsletter p {
    font-size: 0.9375rem;
    color: var(--color-gray-400);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: var(--space-xs);
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

.newsletter-form input::placeholder {
    color: var(--color-gray-500);
}

.newsletter-form .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.8125rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) 0;
}

.copyright {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

.footer-legal {
    display: flex;
    gap: var(--space-lg);
}

.footer-legal a {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

.footer-legal a:hover {
    color: var(--color-secondary);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    :root {
        --container-padding: 1.5rem;
    }
    
    .programs-grid,
    .coaches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .events-grid .event-card:last-child {
        grid-column: span 2;
    }
    
    .gallery-hero {
        min-height: 40vh;
    }
    
    .gallery .section-title {
        font-size: 2.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 200px;
    }
    
    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-xl);
    }
    
    .footer-brand {
        grid-column: span 3;
        text-align: center;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    .footer-socials {
        justify-content: center;
    }
    
    .footer-newsletter {
        grid-column: span 3;
    }
}

/* Tablet Portrait (max-width: 768px) */
@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
        overflow: visible;
        gap: 0;
    }
    
    .navbar {
        overflow: visible;
    }
    
    .navbar .logo-img {
        height: 50px;
        max-width: 120px;
        object-fit: contain;
    }
    
    .nav-menu,
    .nav-cta {
        display: none;
    }
    
    .navbar .logo {
        flex-shrink: 1;
        min-width: 0;
    }
    
    .nav-admin {
        margin-left: auto;
        margin-right: var(--space-sm);
        flex-shrink: 0;
        font-size: 0.75rem;
    }
    
    .nav-menu.active {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        order: 10;
        padding: var(--space-lg) 0;
        gap: 0;
        background: rgba(10, 22, 40, 0.98);
        margin: var(--space-md) calc(-1 * var(--container-padding)) 0;
        padding: var(--space-lg) var(--container-padding);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
        z-index: 1001;
    }
    
    .nav-menu.active li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .nav-menu.active li:last-child {
        border-bottom: none;
    }
    
    .nav-menu.active a {
        display: block;
        padding: 1rem 0;
        min-height: 44px;
        align-items: center;
        font-size: 1rem;
    }
    
    .nav-menu.active ~ .nav-cta {
        display: inline-block !important;
        width: 100%;
        order: 11;
        text-align: center;
        padding: 1rem;
        margin-top: var(--space-sm);
        min-height: 48px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        min-width: 48px;
        min-height: 48px;
        align-items: center;
        justify-content: center;
        padding: var(--space-sm);
        position: relative;
        z-index: 1002;
        flex-shrink: 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .about-image {
        order: -1;
    }
    
    .about-stats {
        justify-content: space-between;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .events-grid .event-card:last-child {
        grid-column: span 1;
    }
    
    .event-card {
        flex-direction: column;
        text-align: center;
    }
    
    .event-date {
        margin: 0 auto var(--space-md);
    }
    
    .event-meta {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .testimonial-card.featured {
        transform: none;
        order: -1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-hero {
        min-height: 35vh;
    }
    
    .gallery .section-title {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }
    
    .gallery-item.large,
    .gallery-item.wide {
        grid-column: span 2;
    }
    
    .gallery-item.large {
        grid-row: span 1;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-brand,
    .footer-newsletter {
        grid-column: span 2;
    }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
    :root {
        --container-padding: 1rem;
    }
    
    html {
        overflow-x: hidden;
    }
    
    body {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
        overflow-x: hidden;
    }
    
    .navbar .logo-img {
        height: 44px;
        max-width: 100px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        min-height: 48px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .stat {
        text-align: center;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    /* Coaches stay at 2 columns on tablet for better visibility */
    .coaches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Gallery - ensure images display on mobile */
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
        gap: var(--space-sm);
    }
    
    .gallery-item {
        min-height: 200px;
    }
    
    .gallery-img {
        min-height: 200px;
        object-fit: cover;
    }
    
    .gallery-item.large,
    .gallery-item.wide {
        grid-column: span 1;
    }
    
    .gallery-view-more .btn {
        width: 100%;
        min-width: unset;
        min-height: 48px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
        min-height: 48px;
    }
    
    .btn-upload {
        min-height: 48px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand,
    .footer-links,
    .footer-newsletter {
        grid-column: span 1;
    }
    
    .footer-links ul {
        align-items: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-sm) var(--space-md);
    }
}

/* Very small screens - 1 coach per row */
@media (max-width: 480px) {
    .coaches-grid {
        grid-template-columns: 1fr;
    }
}

