/* Custom Properties */
:root {
    --bg-color: #050505;
    --text-color: #f0f0f0;
    --text-muted: #a0a0a0;
    --primary-color: #39ff14; /* Neon Green */
    --primary-glow: rgba(57, 255, 20, 0.4);
    --secondary-color: #00e5ff; /* Electric Blue */
    --surface-color: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(20, 20, 20, 0.6);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

    --btn-text: #000;
    --btn-primary-hover: #4aff28;
    --header-bg: rgba(5, 5, 5, 0.8);
    --header-mob: rgba(5, 5, 5, 0.95);
    --footer-bg: rgba(10, 10, 10, 0.9);
    --training-bg: linear-gradient(135deg, rgba(20,20,20,0.8) 0%, rgba(30,30,30,0.6) 100%);
    --card-img-1: linear-gradient(135deg, #0a0a0a, #1a2a1a);
    --card-img-2: linear-gradient(135deg, #0a0a0a, #1a1a2a);
    --hero-overlay-start: rgba(5, 5, 5, 0.6);
    --hero-overlay-mid: rgba(5, 5, 5, 0.85);
}

:root[data-theme="light"] {
    --bg-color: #f5f7fa;
    --text-color: #1f2937;
    --text-muted: #4b5563;
    --primary-color: #16a34a; 
    --primary-glow: rgba(22, 163, 74, 0.4);
    --secondary-color: #0284c7;
    --surface-color: rgba(0, 0, 0, 0.05);
    --glass-border: rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.8);

    --btn-text: #fff;
    --btn-primary-hover: #15803d;
    --footer-bg: rgba(240, 244, 248, 0.9);
    --training-bg: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(240,240,240,0.9) 100%);
    --card-img-1: linear-gradient(135deg, #e5e7eb, #d1d5db);
    --card-img-2: linear-gradient(135deg, #e5e7eb, #bfdbfe);
    --hero-overlay-start: rgba(5, 5, 5, 0.4);
    --hero-overlay-mid: rgba(5, 5, 5, 0.8);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Background Blobs for Atmosphere */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
    animation: drift 20s infinite alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(57,255,20,0.15) 0%, rgba(0,0,0,0) 70%);
}

.blob-2 {
    bottom: 20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0,229,255,0.1) 0%, rgba(0,0,0,0) 70%);
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, -50px) scale(1.1); }
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-align: center;
}

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

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

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

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

.hero .btn-secondary {
    color: #f0f0f0;
    border-color: rgba(255, 255, 255, 0.3);
}

.hero .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-primary-sm {
    background-color: var(--primary-color);
    color: var(--btn-text) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary-sm:hover {
    box-shadow: 0 0 15px var(--primary-glow);
}

.w-100 {
    width: 100%;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
}

header.scrolled {
    background: var(--header-bg);
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #f0f0f0;
    text-decoration: none;
    letter-spacing: -0.5px;
}

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

.theme-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-btn:hover {
    transform: scale(1.1);
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

nav a {
    color: #f0f0f0;
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition);
}

nav a:not(.btn-primary-sm):hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: #f0f0f0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    background: linear-gradient(to bottom, var(--hero-overlay-start) 0%, var(--hero-overlay-mid) 75%, var(--bg-color) 100%), url('hero-bg2.JPEG') center/cover no-repeat;
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #f0f0f0;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Hero Stats Counter */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #f0f0f0;
    line-height: 1;
}

.stat-plus {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 0.4rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

/* Scroll Down Arrow */
.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    animation: bounce 2s ease infinite;
    transition: var(--transition);
}

.scroll-down:hover {
    color: var(--primary-color);
}

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

/* Glassmorphism Classes */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

/* About Section */
.about {
    padding: 8rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.about-card {
    padding: 2.5rem 2rem;
    transition: var(--transition);
}

.about-card a {
    text-decoration: none;
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: rgba(57, 255, 20, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.about-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.about-card:hover .icon {
    transform: scale(1.15);
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

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

/* Training Section */
.training {
    padding: 8rem 0;
    position: relative;
}

.training-content {
    padding: 4rem;
    display: flex;
    gap: 4rem;
    justify-content: space-between;
    align-items: stretch;
    background: var(--training-bg);
    border-left: 4px solid var(--primary-color);
}

.training-info {
    flex: 3;
}

.training-schedule {
    flex: 2;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.training-schedule h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.schedule-icon {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(57, 255, 20, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    flex-shrink: 0;
}

.schedule-text {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.schedule-text strong {
    color: var(--text-color);
    font-weight: 600;
}

.location-subtext {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.schedule-divider {
    border: 0;
    height: 1px;
    background: var(--glass-border);
    margin: 1.5rem 0;
}

.location-title {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin: 0.5rem 0 1.25rem;
    border-left: 3px solid var(--primary-color);
    padding-left: 10px;
}

.schedule-group {
    margin-bottom: 0.5rem;
}

.training-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.training-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    max-width: 800px;
}

.training-list {
    list-style: none;
    margin-bottom: 2rem;
}

.training-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.check {
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 10px;
}

/* Improve Section */
.improve {
    padding: 8rem 0;
}

.improve-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.improve-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    background: var(--surface-color);
}

.improve-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Video Container — Lazy Loading */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    width: 100%;
    background: #000;
    cursor: pointer;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2;
    transition: var(--transition);
    opacity: 0.85;
}

.video-play-btn:hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

/* Contact Section */
.contact {
    padding: 8rem 0;
}

.contact-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 4rem;
    text-align: center;
}

.contact-card p {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.contact-form {
    text-align: left;
}

.input-group {
    margin-bottom: 1.5rem;
}

input, textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-color);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(57, 255, 20, 0.1);
}

/* Footer — Multi-column Layout */
footer {
    padding: 4rem 0 0;
    border-top: 1px solid var(--glass-border);
    background: var(--footer-bg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2rem;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

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

.footer-col > p {
    color: var(--text-muted);
    max-width: 300px;
}

.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 0.6rem;
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

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

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

.social-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(57, 255, 20, 0.15);
}

.footer-bottom {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.85rem;
    padding-bottom: 1rem;
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(57, 255, 20, 0.2);
}

/* Animation Classes */
.reveal {
    opacity: 0;
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
}

.fade-up {
    transform: translateY(50px);
}

.fade-up.active {
    transform: translateY(0);
}

.fade-left {
    transform: translateX(-50px);
}

.fade-left.active {
    transform: translateX(0);
}

.fade-right {
    transform: translateX(50px);
}

.fade-right.active {
    transform: translateX(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .hamburger { display: flex; }
    
    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--header-mob);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: 0.5s ease-in-out;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    nav ul.active {
        right: 0;
    }
    
    .hero h1 { font-size: 3rem; }
    
    .hero-stats {
        gap: 1.5rem;
        margin-top: 2.5rem;
    }
    
    .stat-number, .stat-plus {
        font-size: 2rem;
    }
    
    .about-grid { grid-template-columns: 1fr; }
    .improve-grid { grid-template-columns: 1fr; }
    
    .training-content { 
        padding: 2rem; 
        flex-direction: column;
        gap: 2rem;
    }
    .contact-card { padding: 2rem 1rem; }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-col > p {
        max-width: none;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .hero h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-number, .stat-plus {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
}
