/* =========================================
   VIJAY SPORTS ACADEMY - CSS STYLESHEET
   ========================================= */

/* -------- CSS Custom Properties -------- */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --secondary: #080d1c;
    --secondary-light: #0f1a33;
    --accent: #39ff14;
    --accent-glow: rgba(57, 255, 20, 0.25);
    --gold: #facc15;
    --success: #22c55e;
    --text-primary: #ffffff;
    --text-secondary: #8b9dc3;
    --text-dark: #0c1222;
    --bg-dark: #050810;
    --bg-card: rgba(12, 22, 48, 0.75);
    --bg-card-hover: rgba(20, 35, 70, 0.9);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.06);
    --gradient-primary: linear-gradient(135deg, #2563eb, #60a5fa, #39ff14);
    --gradient-accent: linear-gradient(135deg, #39ff14, #2563eb);
    --gradient-dark: linear-gradient(180deg, #050810 0%, #080d1c 100%);
    --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.2);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.45);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Inter', sans-serif;
}

/* -------- Reset & Base -------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-secondary);
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* -------- Scrollbar -------- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--secondary);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* -------- Preloader -------- */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s, visibility 0.6s;
}
#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-ring {
    position: absolute;
    border: 3px solid transparent;
    border-radius: 50%;
    animation: preloaderSpin 1.5s linear infinite;
}
.preloader-ring:nth-child(1) {
    width: 100px; height: 100px;
    border-top-color: var(--primary);
    animation-duration: 1.2s;
}
.preloader-ring:nth-child(2) {
    width: 75px; height: 75px;
    border-right-color: var(--accent);
    animation-duration: 1.8s;
    animation-direction: reverse;
}
.preloader-ring:nth-child(3) {
    width: 50px; height: 50px;
    border-bottom-color: var(--gold);
    animation-duration: 1s;
}

.preloader-text {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 4px;
    color: var(--primary);
    animation: preloaderPulse 1s ease-in-out infinite;
}

@keyframes preloaderSpin {
    to { transform: rotate(360deg); }
}
@keyframes preloaderPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* -------- Section Utilities -------- */
.section-padding {
    padding: 100px 0;
    position: relative;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: 50px;
    color: var(--primary);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* -------- Navbar -------- */
#mainNav {
    padding: 16px 0;
    transition: var(--transition-normal);
    z-index: 1000;
}

#mainNav.scrolled {
    background: rgba(10, 14, 26, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon {
    font-size: 28px;
    color: var(--primary);
    filter: drop-shadow(0 0 8px rgba(37, 99, 235, 0.4));
}

.brand-text {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 24px;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.brand-accent {
    color: var(--primary);
}

.navbar-nav .nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding: 8px 16px !important;
    position: relative;
    transition: var(--transition-fast);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: var(--transition-normal);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--text-primary);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

.btn-cta {
    background: var(--gradient-primary);
    color: #fff !important;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 28px;
    border-radius: 50px;
    border: none;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

.btn-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: var(--transition-normal);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
}
.btn-cta:hover::before {
    opacity: 1;
}

/* Mobile Toggler */
.navbar-toggler {
    border: none;
    padding: 8px;
    display: none; /* Hidden by default on desktop */
    flex-direction: column;
    gap: 5px;
}
.navbar-toggler:focus { box-shadow: none; }

.toggler-bar {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-normal);
}

.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) {
    opacity: 0;
}
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* -------- Hero Section -------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--bg-dark);
    z-index: 1;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(5, 8, 16, 0.6) 0%,
        rgba(5, 8, 16, 0.35) 50%,
        rgba(5, 8, 16, 0.5) 100%
    );
    z-index: 2;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-top: 100px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.3);
    padding: 10px 24px;
    border-radius: 50px;
    color: var(--primary-light);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.3); }
    50% { box-shadow: 0 0 0 12px rgba(37, 99, 235, 0); }
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 24px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
    line-height: 1.8;
    margin: 0 auto 36px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 60px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: #fff;
    padding: 16px 36px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: width 0.6s, height 0.6s;
    transform: translate(-50%, -50%);
}

.btn-hero-primary:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.4);
}
.btn-hero-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--glass);
    color: var(--text-primary);
    padding: 16px 36px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: var(--transition-normal);
}

.btn-hero-secondary:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-light);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 4px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: scrollBounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 4px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: mouseWheel 1.5s infinite;
}

@keyframes mouseWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* -------- About Section -------- */
.about-section {
    background: var(--gradient-dark);
    overflow: hidden;
}

.about-bg-shape {
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06), transparent 70%);
    pointer-events: none;
}

.about-image-wrapper {
    position: relative;
    padding: 20px;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    position: relative;
}

.about-img-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-img-main:hover img {
    transform: scale(1.05);
}

.about-img-main::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid rgba(37, 99, 235, 0.15);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.about-img-floating {
    position: absolute;
    bottom: -10px;
    right: -20px;
    width: 200px;
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 4px solid var(--bg-dark);
    box-shadow: var(--shadow-card);
}

.about-img-floating img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-exp-badge {
    position: absolute;
    top: 0;
    left: -10px;
    background: var(--gradient-primary);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.exp-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.exp-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.4;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.feature-item:hover {
    background: var(--bg-card-hover);
    border-color: rgba(37, 99, 235, 0.2);
    transform: translateX(8px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
}

.feature-item h5 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    transition: var(--transition-normal);
}

.btn-primary-custom:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.35);
}

/* -------- Services Section -------- */
.services-section {
    background: var(--secondary);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.3), transparent);
}

.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px 30px 30px;
    text-align: center;
    transition: var(--transition-normal);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05), transparent 50%);
    opacity: 0;
    transition: var(--transition-slow);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-10px);
    background: var(--bg-card-hover);
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), var(--shadow-glow);
}

.service-card:hover .service-card-glow {
    opacity: 1;
}

.service-card.featured {
    border-color: rgba(37, 99, 235, 0.3);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), var(--bg-card));
}

.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gradient-primary);
    color: #fff;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.service-icon-wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary);
    transition: var(--transition-normal);
}

.service-card:hover .service-icon-wrap {
    background: var(--gradient-primary);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.service-card h4 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    flex-grow: 1;
}

.service-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.service-level {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.service-link:hover {
    color: var(--primary-light);
    gap: 10px;
}

/* -------- Gallery Section -------- */
.gallery-section {
    background: var(--gradient-dark);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 10px 28px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 16px;
    margin-top: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    opacity: 1;
    transform: scale(1);
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 14, 26, 0.9) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 24px;
    opacity: 0;
    transition: var(--transition-normal);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info h5 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.gallery-info span {
    font-size: 0.85rem;
    color: var(--primary-light);
}

.gallery-zoom-btn {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
    flex-shrink: 0;
}

.gallery-zoom-btn:hover {
    transform: scale(1.1) rotate(90deg);
}

/* Gallery item filter animation classes */
.gallery-item.gallery-hidden {
    opacity: 0 !important;
    transform: scale(0.88) !important;
    pointer-events: none;
}

.gallery-item.hide {
    display: none !important;
}

/* -------- Coaches Section -------- */
.coaches-section {
    background: var(--secondary);
}

.coach-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
}

.coach-card:hover {
    transform: translateY(-10px);
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.coach-img-wrap {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.coach-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.coach-card:hover .coach-img-wrap img {
    transform: scale(1.08);
}

.coach-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: linear-gradient(to top, rgba(10, 14, 26, 0.9), transparent);
    transform: translateY(100%);
    transition: var(--transition-normal);
}

.coach-card:hover .coach-social {
    transform: translateY(0);
}

.coach-social a {
    width: 40px;
    height: 40px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 16px;
    backdrop-filter: blur(10px);
    transition: var(--transition-fast);
}

.coach-social a:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-4px);
}

.coach-info {
    padding: 20px;
    text-align: center;
}

.coach-info h5 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.coach-info span {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* -------- Contact Section -------- */
.contact-section {
    background: var(--gradient-dark);
    position: relative;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
}

.contact-info-item h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 2px;
}

.contact-info-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(10px);
}

.form-floating-custom {
    position: relative;
    margin-bottom: 8px;
}

.form-floating-custom .form-control {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 16px 16px 16px 44px;
    font-size: 0.95rem;
    transition: var(--transition-normal);
    height: auto;
}

.form-floating-custom textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

.form-floating-custom select.form-control {
    appearance: none;
    cursor: pointer;
}

.form-floating-custom .form-control:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.form-floating-custom .form-control::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.form-floating-custom label {
    display: none;
}

.field-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 16px;
    pointer-events: none;
    transition: var(--transition-fast);
}

.form-floating-custom textarea ~ .field-icon {
    top: 18px;
    transform: none;
}

.form-floating-custom .form-control:focus ~ .field-icon {
    color: var(--primary);
}

.btn-submit {
    width: 100%;
    background: var(--gradient-primary);
    color: #fff;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.35);
}

.btn-loading {
    display: none;
}

.btn-submit.loading .btn-text,
.btn-submit.loading .btn-icon {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: inline-flex;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    font-size: 0.95rem;
}

.fade-in-up {
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -------- Footer -------- */
.footer-section {
    background: var(--bg-dark);
    position: relative;
    padding-top: 60px;
}

.footer-top-wave {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    color: var(--bg-dark);
    line-height: 0;
}

.footer-top-wave svg {
    width: 100%;
    height: 60px;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 2px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-logo i {
    color: var(--primary);
    font-size: 26px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 16px;
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
    transform: translateY(-4px);
}

.footer-heading {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-links a:hover::before {
    width: 12px;
}

.footer-newsletter-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.newsletter-input-wrap {
    display: flex;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    overflow: hidden;
    transition: var(--transition-normal);
}

.newsletter-input-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.newsletter-input-wrap input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 14px 20px;
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
}

.newsletter-input-wrap input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.newsletter-input-wrap button {
    width: 48px;
    background: var(--gradient-primary);
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.newsletter-input-wrap button:hover {
    filter: brightness(1.2);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 20px;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* -------- Back to Top -------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
    z-index: 999;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.45);
}

/* -------- Lightbox -------- */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-modal img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox-modal.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* -------- Lazy Loading -------- */
.lazy-img {
    opacity: 1;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.lazy-img.lazy-pending {
    opacity: 0;
    transform: scale(0.97);
}

.lazy-img.loaded {
    opacity: 1;
    transform: scale(1);
}

/* -------- Floating Particles -------- */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(37, 99, 235, 0.4);
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

/* =========================================
   RESPONSIVE BREAKPOINTS
   ========================================= */

@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .navbar-toggler {
        display: flex;
    }

    .section-padding {
        padding: 70px 0;
    }

    .navbar-collapse {
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(20px);
        border-radius: var(--radius-md);
        padding: 20px;
        margin-top: 10px;
        border: 1px solid var(--glass-border);
    }

    .navbar-nav .nav-link {
        padding: 12px 16px !important;
        border-bottom: 1px solid var(--glass-border);
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .btn-cta {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 7vw, 4rem);
    }

    .hero-stats {
        gap: 24px;
    }

    .about-img-main img {
        height: 400px;
    }

    .about-img-floating {
        width: 150px;
        height: 150px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .hero-section {
        min-height: 100svh;
    }

    .hero-content {
        padding-top: 80px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn-hero-primary,
    .hero-buttons .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 30px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .about-image-wrapper {
        padding: 10px;
        margin-bottom: 20px;
    }

    .about-exp-badge {
        left: 10px;
        padding: 14px 18px;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }

    .gallery-item.tall {
        grid-row: span 1;
    }

    .scroll-indicator {
        display: none;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom .text-md-end {
        text-align: center !important;
        margin-top: 10px;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.75rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    .gallery-item.tall {
        grid-row: span 1;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .stat-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }

    .stat-label {
        margin-top: 0;
    }

    .coach-img-wrap {
        height: 280px;
    }

    .filter-btn {
        padding: 8px 18px;
        font-size: 12px;
    }
}
