/* =========================================
   VARIABLES & SETUP
   ========================================= */
:root {
    /* Color Palette: Black, Blue, White */
    --color-bg: #050507;
    --color-bg-light: #12131a;
    --color-bg-card: #1a1c23;

    --color-primary: #0090DD;
    /* Medium Cyan Blue */
    --color-primary-light: #52C4FF;
    --color-primary-dark: #0081C4;

    --color-white: #ffffff;
    --color-text: #e0e0e0;
    --color-text-muted: #9ca3af;

    --font-main: 'Outfit', sans-serif;

    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.25, 1, 0.5, 1);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   UTILITIES
   ========================================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-gradient {
    color: var(--color-primary);
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-white);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1rem;
}

.btn-icon {
    gap: 10px;
}

.btn-icon svg {
    transition: transform var(--transition-smooth);
}

.btn-icon:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background-color: #0066FF;
    color: var(--color-white);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background-color: #3385ff;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 102, 255, 0.4);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-bg);
    transform: translateY(-3px);
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
    z-index: 1000;
    background: rgba(5, 5, 7, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(5, 5, 7, 0.9);
    backdrop-filter: blur(12px);
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 48px;
    width: 250px;
    overflow: hidden;
    z-index: 101;
}

.navbar .logo {
    height: 64px;
    width: 330px;
}

.logo img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    transform: scale(3.5);
    transform-origin: center center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    margin-left: auto;
    margin-right: 40px;
}

.nav-links li a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-fast);
    position: relative;
    padding: 5px 0;
    opacity: 0.8;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--color-white);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 101;
}

.menu-toggle .bar {
    display: block;
    width: 28px;
    height: 2px;
    margin: 6px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--color-white);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

/* Dynamic background gradients */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(0, 50, 150, 0.1) 0%, transparent 40%);
    z-index: 0;
}

/* Background image with overlay - can add an actual image here later */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--color-bg);
    background-image: linear-gradient(to right, rgba(5, 5, 7, 1) 0%, rgba(5, 5, 7, 0.8) 50%, rgba(5, 5, 7, 1) 100%);
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    opacity: 0;
    animation: fadeInRight 1s ease forwards 0.5s;
}

.hero-image {
    width: 120%;
    height: 110%;
    object-fit: cover;
    object-position: top center;
    border-radius: 20px;
    transform: translateX(10%);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5);
    /* The magic fade: */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 30%);
    mask-image: linear-gradient(to right, transparent 0%, black 30%);
}



@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-label {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 102, 255, 0.1);
    color: var(--color-primary);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.hero-title {
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: -1px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.4s;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    font-weight: 300;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.8s;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 1s;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-text {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Abstract design shapes */
.shape {
    position: absolute;
    filter: blur(80px);
    z-index: 1;
    border-radius: 50%;
    opacity: 0.6;
    animation: float 10s ease-in-out infinite alternate;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--color-primary-dark);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(0, 102, 255, 0.4);
    bottom: -50px;
    left: 20%;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-30px, 30px) scale(1.1);
    }
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 900px) {

    .nav-links,
    .nav-btn {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        background: rgba(255, 255, 255, 0.03);
        padding: 15px 20px;
        border-radius: var(--radius-md);
        border: 1px solid rgba(255, 255, 255, 0.05);
        flex: 1;
        min-width: calc(50% - 10px);
    }
}

/* =========================================
   SECTIONS & LAYOUT
   ========================================= */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
    max-width: 600px;
}

.text-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    position: relative;
    padding-left: 40px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background-color: var(--color-primary);
}

.text-center .section-label {
    padding-left: 0;
}

.text-center .section-label::before {
    display: none;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    font-weight: 300;
}

/* =========================================
   PROGRAMS
   ========================================= */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    background-color: var(--color-bg-card);
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    min-height: 320px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.program-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0.1) 100%);
    transition: var(--transition-smooth);
}

.program-card:hover .program-card-overlay {
    background: linear-gradient(to top, rgba(0, 50, 150, 0.85) 0%, rgba(0, 50, 150, 0.3) 60%, rgba(0, 0, 0, 0.1) 100%);
}

.program-card-content {
    position: relative;
    z-index: 2;
    padding: 30px;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.program-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--color-primary);
    transition: var(--transition-smooth);
}

.program-card:hover .program-icon {
    background: var(--color-primary);
    color: var(--color-white);
}

.program-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--color-white);
}

.program-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
}

.program-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-fast);
}

.program-link:hover {
    color: var(--color-white);
    transform: translateX(5px);
}

/* =========================================
   SCHEDULE
   ========================================= */
.schedule-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-bg-card);
    padding: 20px 30px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
}

.schedule-item:hover {
    border-color: rgba(0, 102, 255, 0.3);
    transform: translateX(5px);
}

.schedule-item .day {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
}

.schedule-item .hours {
    font-size: 1rem;
    color: var(--color-primary-light);
    font-weight: 400;
}

/* =========================================
   COACHES
   ========================================= */
.coaches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.coaches-grid.single-coach {
    display: flex;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.coach-card {
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: row;
    width: 100%;
}

.coaches-grid.single-coach .coach-card {
    flex-direction: row;
    align-items: center;
}

@media (max-width: 768px) {
    .coach-card {
        flex-direction: column !important;
    }

    .coach-bio {
        padding: 30px !important;
    }
}

.coach-card:hover {
    transform: translateY(-10px);
}

.coach-image {
    height: 100%;
    min-height: 450px;
    width: 50%;
    overflow: hidden;
    position: relative;
    background: var(--color-bg-card);
}

.coach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.coach-info {
    padding: 24px;
    text-align: center;
}

.coach-name {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.coach-role {
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.coach-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.coach-socials a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.coach-socials a:hover {
    color: var(--color-white);
}

.coach-bio {
    width: 50%;
    padding: 60px;
    text-align: left;
}

.coach-bio h3 {
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.coach-bio p.coach-role {
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.coach-story {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
}

/* =========================================
   REVIEWS / TESTIMONIAL CAROUSEL
   ========================================= */
.testimonial-carousel {
    margin-top: 40px;
}

.carousel-track-wrapper {
    overflow: hidden;
    width: 100%;
    border-radius: var(--radius-lg);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
}

.review-card {
    background-color: var(--color-bg-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.review-card .stars {
    color: #ffc107;
    font-size: 1.4rem;
    margin-bottom: 24px;
    letter-spacing: 4px;
}

.review-text {
    font-style: italic;
    color: var(--color-text-muted);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 28px;
    max-width: 650px;
}

.review-author {
    font-weight: 600;
    color: var(--color-white);
    font-size: 0.95rem;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
}

.carousel-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--color-white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: #0066FF;
    border-color: #0066FF;
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #0090DD;
    transform: scale(1.2);
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
    padding: 80px 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--color-bg-card) 0%, rgba(0, 50, 150, 0.2) 100%);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--color-primary);
    filter: blur(80px);
    opacity: 0.2;
    border-radius: 50%;
}

.cta-content {
    flex: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.cta-content p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.cta-form-container {
    flex: 0 0 400px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(0, 0, 0, 0.5);
}

.w-100 {
    width: 100%;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: #020202;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--color-text-muted);
    margin-top: 20px;
    max-width: 300px;
}

.footer h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Additional Responsive tweaks */
@media (max-width: 900px) {
    .cta-box {
        flex-direction: column;
        padding: 40px 30px;
        text-align: center;
    }

    .cta-form-container {
        flex: 1;
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand p {
        margin: 20px auto 0;
    }
}