/* =========================================
   1. CORE DESIGN SYSTEM (MIDNIGHT NEON GYM)
========================================= */
:root {
    /* PALETTE: Charcoal, Pure Black & Electric Lime */
    --brand-primary: #84cc16;    /* Neon Lime (Action) */
    --brand-glow: #bef264;       /* Lighter Lime (Hover) */
    
    --brand-dark: #0a0a0a;       /* Main Background (Almost Black) */
    --brand-surface: #171717;    /* Card Background (Dark Grey) */
    --brand-border: #262626;     /* Subtle Borders */
    
    --text-main: #f5f5f5;        /* White Text */
    --text-muted: #a3a3a3;       /* Grey Text */
    
    --font-head: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* STRICT SHARP EDGES - RAW & INDUSTRIAL */
* { border-radius: 0 !important; }

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--brand-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.text-accent { color: var(--brand-primary) !important; }
.text-muted { color: var(--text-muted) !important; }

/* Responsive Headings */
.display-1 { font-size: 3.5rem; line-height: 1.1; }
.display-4 { font-size: 2.5rem; }
@media (min-width: 992px) { 
    .display-1 { font-size: 5.5rem; } 
    .display-4 { font-size: 3.5rem; }
}

/* Section Spacing */
.section-padding { padding: 100px 0; }

/* BUTTONS - HIGH ENERGY */
.btn-neon {
    background-color: var(--brand-primary);
    color: black;
    border: 2px solid var(--brand-primary);
    padding: 16px 40px;
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-neon:hover {
    background-color: transparent;
    color: var(--brand-primary);
    box-shadow: 0 0 20px rgba(132, 204, 22, 0.3);
}

.btn-outline-neon {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 16px 40px;
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-outline-neon:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

/* =========================================
   2. NAVBAR & LOGO
========================================= */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--brand-border);
    padding: 20px 0;
}

.logo-box {
    width: 40px; height: 40px;
    background-color: var(--brand-primary);
    color: black;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    font-weight: 900;
    transform: skew(-10deg);
}

.nav-link {
    font-family: var(--font-head);
    font-size: 1rem;
    color: var(--text-main) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}
.nav-link:hover { color: var(--brand-primary) !important; }

/* =========================================
   3. HERO SECTION
========================================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('../images/mainbanner.jpg') center/cover no-repeat;

    margin-top: 0 !important; /* Reset margin */
}

/* Dark Overlay */
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(10,10,10,1) 0%, rgba(10,10,10,0.8) 50%, rgba(10,10,10,0.4) 100%);
    z-index: 1;
}

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

.stat-box {
    border-left: 4px solid var(--brand-primary);
    padding-left: 20px;
}

/* =========================================
   4. MARQUEE & ABOUT
========================================= */
.marquee-section { padding: 40px 0; border-bottom: 1px solid var(--brand-border); overflow: hidden; background: var(--brand-dark); }
.marquee-track { display: flex; align-items: center; gap: 2rem; animation: scroll 25s linear infinite; }
.partner-logo { height: 40px; filter: grayscale(100%) brightness(200%); opacity: 0.5; transition: 0.4s; }
.partner-logo:hover { opacity: 1; filter: grayscale(0%) brightness(100%); }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.about-img-wrapper {
    position: relative;
    padding: 20px;
    border: 1px solid var(--brand-border);
}
.about-img-wrapper::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100px; height: 100px;
    border-top: 4px solid var(--brand-primary); border-left: 4px solid var(--brand-primary);
}

/* =========================================
   5. PROGRAMS (SERVICES) - NEON CARDS
========================================= */
.program-card {
    background: var(--brand-surface);
    border: 1px solid var(--brand-border);
    padding: 40px 30px;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 4px;
    background: var(--brand-primary); transition: 0.4s ease;
}

.program-card:hover {
    transform: translateY(-10px);
    background: #202020;
}
.program-card:hover::before { width: 100%; }

.icon-display {
    font-size: 2.5rem;
    color: var(--brand-primary);
    margin-bottom: 25px;
}
/* =========================================
   7. JOIN SECTION (GLASS & NEON)
========================================= */

.join-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-color: #000;
}
.navbar-brand{
    font-weight: 600;
}
/* Heavy dark gradient overlay to make text pop */
.join-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

/* Hollow Text Effect */
.text-stroke-white {
    -webkit-text-stroke: 1px white;
    color: transparent;
}

/* Small check icons */
.icon-circle-small {
    width: 24px; height: 24px;
    background: var(--brand-primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: black; font-size: 0.7rem;
    flex-shrink: 0;
}

/* --- THE GLASS FORM CARD --- */
.glass-form-card {
    background: rgba(30, 30, 30, 0.6); /* Semi-transparent dark */
    backdrop-filter: blur(20px);        /* The Blur Effect */
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
}

/* Neon Top Border */
.glass-form-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: var(--brand-primary);
}

/* Custom Inputs to match dark theme */
.custom-input {
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border-radius: 0;
}

.custom-input:focus {
    background: black !important;
    border-color: var(--brand-primary) !important;
    box-shadow: 0 0 0 4px rgba(132, 204, 22, 0.1) !important;
    color: white;
}

/* Floating Label Color Fix */
.form-floating > label {
    color: #a3a3a3;
}
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--brand-primary);
    opacity: 1;
}
/* =========================================
   6. THE JOURNEY (PROCESS)
========================================= */

.process-card-modern {
    background: #121212; /* Very dark grey */
    border: 1px solid #262626;
    padding: 40px 30px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
}

/* The Huge Background Number (Outline Style) */
.huge-number {
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 8rem;
    font-family: var(--font-head);
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px #262626; /* Outline color */
    opacity: 0.5;
    z-index: -1;
    transition: all 0.5s ease;
}

/* The Icon Box */
.icon-box-neon {
    width: 60px;
    height: 60px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

/* --- HOVER EFFECTS --- */

/* 1. Card Lifts & Glows */
.process-card-modern:hover {
    transform: translateY(-10px);
    border-color: var(--brand-primary);
    box-shadow: 0 10px 30px -10px rgba(132, 204, 22, 0.2);
}

/* 2. Number fills with Neon Color */
.process-card-modern:hover .huge-number {
    -webkit-text-stroke: 0px;
    color: var(--brand-primary);
    opacity: 0.1; /* Subtle fill */
    transform: scale(1.1) translateX(-20px);
}

/* 3. Icon lights up */
.process-card-modern:hover .icon-box-neon {
    background: var(--brand-primary);
    color: black;
    border-color: var(--brand-primary);
    box-shadow: 0 0 15px rgba(132, 204, 22, 0.6);
}
/* =========================================
   6. MEMBERSHIP (PREMIUM UI)
========================================= */

/* The Toggle Switch (Visual Only) */
.toggle-switch {
    width: 60px;
    height: 30px;
    background: #262626;
    border-radius: 30px;
    position: relative;
    cursor: pointer;
    border: 1px solid #404040;
}
.toggle-knob {
    width: 24px;
    height: 24px;
    background: var(--brand-primary);
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 3px; /* Start position */
    transition: 0.3s;
}

/* Base Card Style */
.pricing-card {
    background: #171717;
    border: 1px solid #262626;
    padding: 40px 30px;
    position: relative;
    transition: all 0.4s ease;
    border-radius: 0; /* Sharp edges */
}

/* Hover Effect for Standard Cards */
.pricing-card:not(.popular):hover {
    border-color: var(--brand-primary);
    transform: translateY(-5px);
}

/* Typography */
.card-header-custom { margin-bottom: 30px; }
.price-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 40px;
    line-height: 1;
}
.currency { font-size: 1.5rem; font-weight: 700; margin-top: 10px; margin-right: 5px; }
.amount { font-size: 4.5rem; font-weight: 700; font-family: var(--font-head); letter-spacing: -2px; }
.duration { font-size: 1rem; align-self: flex-end; margin-bottom: 10px; opacity: 0.7; }

/* Feature List */
.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
    text-align: left;
}
.pricing-features li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #a3a3a3; /* Muted text */
    display: flex;
    align-items: center;
    gap: 12px;
}
.pricing-features li i { color: var(--brand-primary); }
.pricing-features li.disabled { opacity: 0.4; text-decoration: line-through; }

/* === POPULAR CARD STYLES (Center Card) === */
.pricing-card.popular {
    background: var(--brand-primary); /* Neon Lime Background */
    border: none;
    transform: scale(1.05); /* Make it bigger */
    z-index: 2;
    box-shadow: 0 0 40px rgba(132, 204, 22, 0.2);
    color: black;
}

/* Adjust colors for the popular card since background is bright */
.pricing-card.popular h4, 
.pricing-card.popular .amount, 
.pricing-card.popular .currency, 
.pricing-card.popular .duration,
.pricing-card.popular li {
    color: black !important;
}
.pricing-card.popular li i {
    color: black; /* Checkmarks become black */
}

/* Badge */
.popular-badge {
    position: absolute;
    top: 0; left: 50%;
    transform: translate(-50%, -50%);
    background: black;
    color: var(--brand-primary);
    padding: 8px 20px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border: 2px solid var(--brand-primary);
}

/* Special Black Button for the Green Card */
.btn-black {
    background: black;
    color: white;
    padding: 16px 40px;
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    text-align: center;
    text-decoration: none;
    transition: 0.3s;
    border: 2px solid black;
}
.btn-black:hover {
    background: transparent;
    color: black;
}

/* Responsive adjust for scaling */
@media (max-width: 991px) {
    .pricing-card.popular {
        transform: scale(1); /* Reset scale on mobile */
        margin: 20px 0;
    }
    .section-padding {
        padding: 50px 0;
    }
}

.feature-list li {
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.feature-list i { color: var(--brand-primary); margin-right: 10px; }

/* Form */
.form-control, .form-select {
    background: var(--brand-surface);
    border: 1px solid var(--brand-border);
    color: white;
    padding: 15px;
    border-radius: 0;
}
.form-control:focus, .form-select:focus {
    background: #202020;
    border-color: var(--brand-primary);
    color: white;
    box-shadow: none;
}
::placeholder { color: #555; }
/* =========================================
   NEW TRAINERS SECTION
========================================= */
.trainer-card {
    background: var(--brand-surface);
    border: 1px solid var(--brand-border);
    transition: all 0.3s ease;
    overflow: hidden;
}

.trainer-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-5px);
}

.trainer-img-wrapper {
    position: relative;
    overflow: hidden;
}

.trainer-img-wrapper img {
    filter: grayscale(100%);
    transition: all 0.5s ease;
}

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

/* Social Icons Overlay */
.trainer-socials {
    position: absolute;
    bottom: -50px; /* Hidden initially */
    left: 0;
    width: 100%;
    background: rgba(132, 204, 22, 0.9); /* Neon Green background */
    padding: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.trainer-card:hover .trainer-socials {
    bottom: 0; /* Slide up on hover */
}

.trainer-socials a {
    color: black;
    font-size: 1.2rem;
    transition: 0.2s;
}

.trainer-socials a:hover {
    color: white;
    transform: scale(1.2);
}
/* =========================================
   8. FOOTER
========================================= */
footer { background: black; border-top: 1px solid var(--brand-border); color: #737373; }
footer a { color: #737373; text-decoration: none; transition: 0.3s; }
footer a:hover { color: var(--brand-primary); }