:root {
    --primary-color: #ff4d00;
    --primary-glow: rgba(255, 77, 0, 0.6);
    --bg-dark: #050505;
    --bg-card: #121212;
    --text-light: #ffffff;
    --text-muted: #a0a0a0;
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Typography Classes */
.heading-xl {
    font-size: clamp(3rem, 5vw, 6rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.heading-lg {
    font-size: clamp(3rem, 5vw, 5rem);
    margin-bottom: 1.5rem;
}

.heading-md {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.text-accent {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-glow);
}

/* Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 8rem 0;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn-primary:hover {
    background-color: white;
    color: var(--primary-color);
    box-shadow: 0 0 30px var(--primary-glow);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* Sticky Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    letter-spacing: 2px;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 1.5px;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-smooth);
    box-shadow: 0 0 10px var(--primary-glow);
}

.nav-links a:hover {
    color: var(--primary-color);
}

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

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(5, 5, 5, 0.9) 0%, rgba(5, 5, 5, 0.6) 50%, rgba(5, 5, 5, 0.2) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
    animation: fadeUp 1s ease-out;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: -5rem;
    z-index: 20;
    position: relative;
}

.feature-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    border-bottom: 4px solid transparent;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 77, 0, 0.2);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px var(--primary-glow);
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Programs Grid */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.program-card {
    position: relative;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

.program-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.program-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: var(--transition-smooth);
}

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

.program-card:hover .program-overlay {
    background: linear-gradient(to top, rgba(255, 77, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.program-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.program-card p {
    color: #ddd;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.program-card:hover h3 {
    transform: translateY(0);
}

.program-card:hover p {
    transform: translateY(0);
    opacity: 1;
}

/* About Section */
.about-section {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-img-box {
    flex: 1;
    position: relative;
}

.about-img {
    width: 100%;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.stats-box {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px var(--primary-glow);
}

.about-content {
    flex: 1;
}

.about-content ul {
    list-style: none;
    margin: 2rem 0;
}

.about-content li {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about-content li i {
    color: var(--primary-color);
}

/* Trainers Section */
.trainers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.trainer-card {
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition-smooth);
    position: relative;
}

.trainer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 77, 0, 0.2);
}

.trainer-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition-smooth);
}

.trainer-card:hover .trainer-img {
    filter: grayscale(0%);
}

.trainer-info {
    padding: 1.5rem;
    text-align: center;
}

.trainer-info h3 {
    font-size: 1.8rem;
    color: white;
}

.trainer-info p.specialization {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.trainer-info p.exp {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Testimonials */
.testimonials {
    background: var(--bg-card);
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    gap: 2rem;
    padding: 2rem 0;
    width: fit-content;
    /* animation: slide 20s linear infinite; */
}

.testimonial-card {
    background: var(--bg-dark);
    padding: 2rem;
    border-radius: 10px;
    min-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.stars {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* CTA */
.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?q=80&w=2070') center/cover;
    text-align: center;
    padding: 8rem 2rem;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 77, 0, 0.2) 0%, transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 2;
}

/* Footer */
footer {
    background: #000;
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-col p,
.footer-col a {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    display: block;
    transition: var(--transition-smooth);
}

.footer-col a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 0 15px var(--primary-glow);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

html.sr .reveal {
    visibility: hidden;
}

/* Page Headers for Subpages */
.page-header {
    padding: 12rem 0 6rem;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?q=80') center/cover;
    text-align: center;
    border-bottom: 1px solid rgba(255, 77, 0, 0.3);
}

/* Contact Form */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    color: white;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
    border-radius: 5px;
    transition: var(--transition-smooth);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 77, 0, 0.2);
}

/* Map */
.map-container {
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
}

/* Responsive */
@media (max-width: 1024px) {

    .features-grid,
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trainers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 2rem;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .features-grid,
    .programs-grid,
    .trainers-grid {
        grid-template-columns: 1fr;
    }

    .about-section {
        flex-direction: column;
    }

    .stats-box {
        position: relative;
        right: 0;
        bottom: 0;
        margin-top: -2rem;
        width: 100%;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .features-grid {
        margin-top: 2rem;
    }
}