@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700;800&family=Teko:wght@300;600&family=Montserrat:wght@400;500;600;700;800;900&family=Rajdhani:wght@400;500;600;700&family=Russo+One&family=Mr+Dafoe&display=swap');

:root {
    --bg-surface: #202020;
    --accent: #337418;
    /* Legacy variables (kept for compatibility) */
    --font-primary: 'Crimson Text', serif;
    --font-secondary: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --font-heading: 'Playfair Display', 'Times New Roman', serif;
    /* New unified typography variables */
    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --font-serif: 'Source Serif Pro', Georgia, 'Times New Roman', serif;
    --font-crimson: 'Crimson Text', var(--font-serif);
    --font-display: 'Playfair Display', var(--font-crimson);
}

/* Global typography overrides */
body {
    font-family: var(--font-primary);
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title {
    font-family: var(--font-heading);
    letter-spacing: .5px;
}

.main-nav a,
.register-btn,
button,
input,
select {
    font-family: var(--font-secondary);
}

.post-card {
    background: #202020;
    border: 2px solid #0f0;
    border-radius: 12px;
}

.post-card .card-img-top {
    background: #202020;
    border-radius: 10px 10px 0 0;
}

.post-card .card-body {
    background: #111;
}

.post-card .card-title,
.post-card .card-text {
    color: #fff;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #111;
    background-image:
        linear-gradient(45deg, rgba(0, 255, 0, 0.1) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(0, 255, 0, 0.1) 25%, transparent 25%);
    color: #fff;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    /* Global Custom Scrollbar for Firefox */
    scrollbar-width: thin;
    scrollbar-color: #39FF14 #111;
}

/* Global Custom Scrollbar for WebKit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #111;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(57, 255, 20, 0.5);
    /* Neon green */
    border-radius: 5px;
    border: 2px solid #111;
    /* Creates padding effect */
}

::-webkit-scrollbar-thumb:hover {
    background-color: #39FF14;
    /* Brighter neon on hover */
}

.main-header {
    /* Scroll-morphing glass: transparent at top, frosted on scroll */
    background: rgba(255, 255, 255, 0.0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 5px 40px;
    border: 1px solid rgba(255, 255, 255, 0.0);
    border-bottom: none;
    border-radius: 0 0 12px 12px;
    min-height: 80px;
    position: fixed;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1400px;
    box-shadow: none;
    z-index: 1000;
    margin-top: 0;
}

.main-header.is-scrolled {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

/* Mobile: Floating Command Strip */
.mobile-command {
    background: rgba(255, 255, 255, 0.0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.0);
    transition: background .2s ease, backdrop-filter .2s ease, border-color .2s ease;
    /* Keep below offcanvas so it doesn't overlay "MENU" */
    z-index: 1030;
}

.mobile-command.is-offcanvas-open {
    opacity: 0;
    pointer-events: none;
}

.mobile-command .navbar-brand {
    font-family: 'Russo One', 'Montserrat', sans-serif;
    letter-spacing: 0.06em;
    color: rgba(0, 0, 0, 0.85);
    /* Allow full text without colliding with burger */
    flex: 1;
    min-width: 0;
    max-width: calc(100% - 70px);
    white-space: normal;
    font-size: clamp(0.8rem, 3.5vw, 1.1rem);
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.mobile-command.is-scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-color: rgba(0, 0, 0, 0.08);
}

/* Neon Burger -> X */
.neon-burger {
    width: 46px;
    height: 40px;
    border: none;
    background: transparent;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 6px 10px;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
}

.neon-burger:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(57, 255, 20, 0.25);
}

.burger-line {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: #39FF14;
    box-shadow: 0 0 12px rgba(57, 255, 20, 0.55);
    transition: transform .22s ease, opacity .18s ease, width .22s ease;
    transform-origin: center;
}

/* Keep burger as burger (no X morph) */

/* Offcanvas "Holographic Shutter" */
.offcanvas-holo {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: -18px 0 60px rgba(0, 0, 0, 0.18);
    color: #111;
}

.offcanvas-holo::before {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 340px;
    height: 340px;
    background-image: url('../Picture/Logo2.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.06;
    transform: rotate(-10deg);
    pointer-events: none;
}

.offcanvas-holo .offcanvas-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.holo-close {
    filter: drop-shadow(0 0 8px rgba(57, 255, 20, 0.2));
}

.offcanvas-nav {
    min-height: calc(100dvh - 76px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
    padding: 18px 8px;
}

.offcanvas-link {
    font-family: 'Russo One', 'Montserrat', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.06em;
    text-decoration: none;
    color: #111;
    text-align: center;
    padding: 10px 14px;
    border-radius: 12px;
    transition: color .15s ease, transform .15s ease;
}

.offcanvas-link:active,
.offcanvas-link:hover {
    color: #39FF14;
}

.offcanvas-cta {
    margin-top: 10px;
    font-family: 'Russo One', 'Montserrat', sans-serif;
    font-size: 1.7rem;
    text-decoration: none;
    color: #111;
    background: rgba(57, 255, 20, 0.14);
    border: 1px solid rgba(57, 255, 20, 0.45);
    padding: 12px 18px;
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

.offcanvas-cta:active,
.offcanvas-cta:hover {
    color: #39FF14;
    background: rgba(255, 255, 255, 0.65);
}

/* "Glitch tap" micro-feedback */
.offcanvas-link.link-glitch {
    animation: navGlitch .22s ease-in-out both;
}

@keyframes navGlitch {
    0% {
        transform: translateX(0);
        text-shadow: none;
    }

    40% {
        transform: translateX(-3px);
        text-shadow: 2px 0 rgba(0, 240, 255, 0.35), -2px 0 rgba(57, 255, 20, 0.35);
    }

    100% {
        transform: translateX(0);
        text-shadow: none;
    }
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 60px;
    height: 60px;
}

.gym-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gym-title h1 {
    font-size: 1.7rem;
    color: #1A1A1A;
    margin: 0;
    line-height: 1.2;
    text-align: left;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
}

.gym-title .subtitle {
    color: #1A1A1A;
    font-size: 0.95rem;
    margin-top: 2px;
    text-align: left;
}

.main-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    margin: 0;
}

.main-nav a {
    color: #1A1A1A;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    padding: 8px 12px;
    border-radius: 4px;
    transition: color 0.2s;
    font-family: 'Rajdhani', sans-serif;
}

.main-nav a:hover {
    color: #39FF14;
}

.register-btn {
    background: #39FF14;
    color: #000;
    padding: 10px 28px;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    margin-left: 20px;
    margin-top: 0;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
    font-family: 'Rajdhani', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
}

.register-btn:hover {
    background: #2EE00E;
    color: #000;
}

/* Hero Section - Light Crystal & Holographic Glass Design */
.hero {
    position: relative;
    width: 100vw;
    min-width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #FFFFFF 0%, #E6E9F0 100%);
    color: #0B0C10;
    overflow: hidden;
    padding-top: 140px;
}

/* Ambient Light Orb */
.ambient-light-orb {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(57, 255, 20, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
}

/* Grid Pattern Overlay */
.grid-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    pointer-events: none;
}

/* Video Frame Container */
.video-frame-container {
    position: relative;
    width: 70%;
    max-width: 1200px;
    height: 50vh;
    min-height: 400px;
    margin: 0 auto 40px;
    z-index: 2;
}

/* Holographic Monitor Frame */
.video-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.4);
    overflow: hidden;
    background: #000;
}

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

/* Floating Logo */
.floating-logo {
    position: absolute;
    top: -40px;
    left: -40px;
    width: 120px;
    height: 120px;
    z-index: 10;
    filter: drop-shadow(0px 10px 15px rgba(0, 0, 0, 0.5));
    pointer-events: none;
}

/* =========================
   HERO "SYSTEM BOOT-UP" SEQUENCE
   ========================= */
@media (prefers-reduced-motion: no-preference) {

    /* Video reveal: start as nothing -> neon line -> expand open */
    .hero.hero-boot.boot-start .video-frame {
        transform-origin: center;
        will-change: transform, opacity, box-shadow, border-color;
        animation:
            holoDeploy 0.8s cubic-bezier(.2, .9, .15, 1) 0s both,
            frameFlicker 0.35s steps(2, end) 0.82s both;
    }

    /* Keep the video hidden until the frame is open */
    .hero.hero-boot.boot-start .hero-video {
        opacity: 0;
        animation: videoFadeIn 0.25s ease-out 0.65s both;
    }

    /* Headline impact slam */
    .hero.hero-boot.boot-start .hero-content .main-glitch {
        transform: scale(2);
        opacity: 0;
        will-change: transform, opacity, filter;
        animation: impactSlam 0.35s cubic-bezier(.15, .95, .2, 1) 0.8s both;
    }

    .hero.hero-boot.boot-start .hero-content .sub-glitch,
    .hero.hero-boot.boot-start .hero-content .hero-desc,
    .hero.hero-boot.boot-start .hero-content .cta-wrapper {
        opacity: 0;
        transform: translateY(10px);
        animation: softRise 0.35s ease-out 0.92s both;
    }

    /* Logo reveal: badge slides out and glows */
    .hero.hero-boot.boot-start .floating-logo {
        opacity: 0;
        transform: translateX(90px);
        will-change: transform, opacity, filter;
        animation: badgeSlide 0.45s cubic-bezier(.2, .9, .15, 1) 1s both;
    }

    /* Stats bar appears after the intro */
    .hero.hero-boot.boot-start .stats-ticker {
        opacity: 0;
        transform: translateY(10px);
        animation: softRise 0.35s ease-out 1.15s both;
    }
}

@keyframes holoDeploy {
    0% {
        opacity: 0;
        transform: scaleX(0.85) scaleY(0);
        border-color: rgba(57, 255, 20, 0.0);
        box-shadow: 0 0 0 rgba(57, 255, 20, 0);
    }

    /* 0.2s "empty" feeling */
    25% {
        opacity: 1;
        transform: scaleX(0.85) scaleY(0.03);
        /* neon line */
        border-color: rgba(57, 255, 20, 0.95);
        box-shadow: 0 0 22px rgba(57, 255, 20, 0.55);
    }

    100% {
        opacity: 1;
        transform: scaleX(1) scaleY(1);
        border-color: rgba(255, 255, 255, 0.55);
        box-shadow: 0 0 15px rgba(57, 255, 20, 0.4);
    }
}

@keyframes frameFlicker {
    0% {
        box-shadow: 0 0 0 rgba(57, 255, 20, 0);
        border-color: rgba(57, 255, 20, .95);
    }

    30% {
        box-shadow: 0 0 32px rgba(57, 255, 20, .75);
        border-color: rgba(0, 240, 255, .85);
    }

    60% {
        box-shadow: 0 0 10px rgba(57, 255, 20, .25);
        border-color: rgba(255, 255, 255, .55);
    }

    100% {
        box-shadow: 0 0 15px rgba(57, 255, 20, .4);
        border-color: rgba(255, 255, 255, .55);
    }
}

@keyframes videoFadeIn {
    from {
        opacity: 0;
        filter: saturate(0.95) contrast(1.05);
    }

    to {
        opacity: 1;
        filter: none;
    }
}

@keyframes impactSlam {
    0% {
        opacity: 0;
        transform: scale(2);
        filter: blur(1px);
    }

    70% {
        opacity: 1;
        transform: scale(0.98);
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: scale(1);
        filter: none;
    }
}

@keyframes badgeSlide {
    0% {
        opacity: 0;
        transform: translateX(90px);
        filter: drop-shadow(0 0 0 rgba(57, 255, 20, 0));
    }

    100% {
        opacity: 1;
        transform: translateX(0);
        filter: drop-shadow(0px 12px 18px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 18px rgba(57, 255, 20, 0.3));
    }
}

@keyframes softRise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Hero Content Below Video */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero-content h2 {
    /* Heavy modern sport font */
    font-family: 'Russo One', 'Montserrat', sans-serif;
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    color: #0B0C10;
    background: -webkit-linear-gradient(#434343, #000000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Aggressive headline styling for main-glitch */
.main-glitch {
    font-family: 'Russo One', 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.hero-content p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #585858;
    line-height: 1.6;
}

/* Crystal Primary Button */
.hero-btn,
.btn-reactor {
    display: inline-block;
    background: linear-gradient(135deg, #FFFFFF 0%, #F5F5F5 100%);
    color: #39FF14;
    border: 2px solid #39FF14;
    padding: 16px 36px;
    font-size: 1.2em;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(57, 255, 20, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-btn:hover,
.btn-reactor:hover {
    background: #39FF14;
    color: #FFFFFF;
    box-shadow: 0 8px 25px rgba(57, 255, 20, 0.6);
    transform: translateY(-3px);
}

.cta-wrapper {
    margin-top: 30px;
}

/* Stats Ticker */
.stats-ticker {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.stat-item {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1em;
    color: #585858;
    text-align: center;
}

.stat-item span {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8em;
    font-weight: 700;
    color: #0B0C10;
    margin-bottom: 5px;
}

section {
    padding: 40px 0 30px 0;
    max-width: 1100px;
    margin: 0 auto;
    scroll-margin-top: 90px;
}

/* Achievements & Events - Full-width Light Crystal background */
.achievements-section,
.events-section {
    position: relative;
    width: 100vw;
    min-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(circle at center, #FFFFFF 0%, #E6E9F0 100%);
}

/* Grid pattern overlay */
.achievements-section::before,
.events-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

/* Watermark logo */
.achievements-section::after,
.events-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background-image: url('../Picture/Logo2.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.03;
    pointer-events: none;
    z-index: 1;
}

/* Container override to keep full width */
.achievements-section.container,
.events-section.container {
    max-width: none !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding: 80px 0 !important;
    /* Keep the same background as the parent to avoid black voids */
    background: radial-gradient(circle at center, #FFFFFF 0%, #E6E9F0 100%) !important;
}

/* Constrain inner content width */
.achievements-section.container h2,
.events-section.container h2,
.achievements-section.container .post-slider,
.events-section.container .post-slider,
.achievements-section.container .see-more-btn,
.events-section.container .see-more-btn {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
    z-index: 2;
}

/* Headings */
.achievements-section h2,
.events-section h2 {
    position: relative;
    z-index: 2;
    color: #1A1A1A;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
}

.achievements-section h2::after,
.events-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background-color: #39FF14;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Instructor Section - Modernized Light Design */
.instructor-section {
    position: relative;
    width: 100vw;
    min-width: 100vw;
    /* Force full-bleed strip even inside centered wrappers */
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 80px 0;
    color: #1A1A1A;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(circle at center, #FFFFFF 0%, #E6E9F0 100%);
}

/* Grid Pattern Overlay for Instructor Section */
.instructor-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    pointer-events: none;
}

/* Section Title with Entrance Animation */
.instructor-section .section-title {
    position: relative;
    z-index: 2;
    color: #00D01D;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(18px);
    animation: none;
    text-shadow: none;
}

/* Reveal title only when scrolled into view */
.instructor-section.is-visible .section-title {
    animation: instrTitleIn .55s ease-out both;
}

@keyframes instrTitleIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

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

.instructor-section .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background-color: #39FF14;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Keep inner content aligned with the rest of the site */
.instructor-section .container {
    position: relative;
    z-index: 2;
}

/* Instructor Profile - Split Layout */
.instructor-profile {
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.instructor-card {
    /* Pop-Out Hologram (2-layer layout) */
    position: relative;
    display: block;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    padding: 0;
    border-radius: 18px;
    background: transparent;
    border: none;
    overflow: visible;
    transform-style: preserve-3d;
    perspective: 900px;
}

/* Desktop overlap: pull the glass panel under the photo for depth */
@media (min-width: 992px) {
    .instructor-panel {
        margin-left: -80px;
    }
}

@media (max-width: 991.98px) {
    .instructor-panel {
        margin-left: 0;
    }
}

.instructor-card:hover {
    transform: translateY(-4px);
}

.instructor-card:hover::before {
    opacity: 1;
}

/* Parallax variables (set by JS) */
.instructor-holo {
    --photo-x: 0px;
    --photo-y: 0px;
    --panel-x: 0px;
    --panel-y: 0px;
    --photo-enter-x: -70px;
    --panel-enter-x: 80px;
    --photo-base-y: -38px;
    /* pop-out overlap */
}

/* Tactical flash overlay (inserted in markup) */
.instructor-flash {
    position: absolute;
    inset: -10px;
    border-radius: 22px;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.9) 0%, rgba(57, 255, 20, 0.35) 35%, transparent 70%);
    mix-blend-mode: screen;
    z-index: 6;
}

.instructor-section.is-visible .instructor-flash {
    animation: instrFlash .22s ease-out 0.6s both;
}

@keyframes instrFlash {
    0% {
        opacity: 0;
        transform: scale(0.98);
    }

    35% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.02);
    }
}

/* Photo Wrapper - Left Side with Kinetic Effects */
.instructor-img-wrapper {
    flex: 0 0 380px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(57, 255, 20, 0.55);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
    opacity: 0;
    transform: translate3d(calc(var(--photo-enter-x) + var(--photo-x)), calc(var(--photo-base-y) + var(--photo-y)), 18px);
    transition: transform .55s cubic-bezier(.2, .9, .2, 1) .3s, opacity .55s ease-out .3s;
    z-index: 3;
}

.instructor-img-wrapper:hover {
    border-color: rgba(57, 255, 20, 0.95);
}

.instructor-photo {
    width: 100%;
    max-width: 380px;
    height: 520px;
    border-radius: 16px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    transition: transform 180ms ease-out;
    display: block;
}

.instructor-img-wrapper:hover .instructor-photo {
    transform: scale(1.02);
}

/* Info Wrapper - Right Side with Slide-in Animation */
.instructor-info {
    flex: 1;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translate3d(calc(var(--panel-enter-x) + var(--panel-x)), var(--panel-y), 0);
    transition: transform .55s cubic-bezier(.2, .9, .2, 1) 0s, opacity .55s ease-out 0s;
    /* Frosted Glass Panel */
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    padding: 34px 34px 30px 34px;
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(57, 255, 20, 0.22) inset;
    overflow: hidden;
    z-index: 2;
}

.instructor-section.is-visible .instructor-img-wrapper,
.instructor-section.is-visible .instructor-info {
    opacity: 1;
    --photo-enter-x: 0px;
    --panel-enter-x: 0px;
}

.mars-signature {
    position: absolute;
    left: 18px;
    top: 28px;
    font-family: 'Mr Dafoe', cursive;
    font-size: 180px;
    line-height: 1;
    color: rgba(57, 255, 20, 0.15);
    transform: rotate(-15deg) scale(1.08);
    transform-origin: left top;
    pointer-events: none;
    opacity: 0;
    filter: drop-shadow(0 0 18px rgba(57, 255, 20, 0.18));
    z-index: 1;
}

.instructor-section.is-visible .mars-signature {
    animation: signatureStamp .45s ease-out 0.85s both;
}

@keyframes signatureStamp {
    0% {
        opacity: 0;
        transform: rotate(-15deg) scale(1.18);
    }

    100% {
        opacity: 1;
        transform: rotate(-15deg) scale(1.02);
    }
}

.instructor-header {
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.instructor-title {
    font-family: 'Russo One', 'Montserrat', sans-serif;
    font-size: clamp(2.4rem, 3.4vw, 3.3rem);
    font-weight: 400;
    color: #0B0C10;
    margin: 0 0 12px 0;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.mars-name {
    color: #39FF14;
    text-shadow: 0 0 16px rgba(57, 255, 20, 0.25);
}

.rank-badge {
    display: inline-block;
    background: rgba(57, 255, 20, 0.1);
    border: 1px solid #39FF14;
    border-radius: 20px;
    padding: 8px 20px;
    margin-top: 10px;
}

.badge-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1A1A1A;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.instructor-bio {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    color: #1f1f1f;
    line-height: 1.8;
    margin: 20px 0 30px 0;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 2;
}

/* Stats Container - Horizontal Row */
.instructor-stats {
    display: flex;
    justify-content: flex-start;
    gap: 40px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

/* New stats grid (Bootstrap nested row) */
.instructor-stats-grid {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-col {
    padding: 10px 8px;
}

.stat-col-divider {
    border-right: 1px solid rgba(0, 0, 0, 0.12);
}

@media (max-width: 576px) {
    .stat-col-divider {
        border-right: none;
    }

    .instructor-stats-grid {
        border-top: none;
        padding-top: 0;
    }
}

.stat-counter {
    text-align: center;
    position: relative;
    padding: 10px 20px;
}

.stat-counter:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-family: 'Teko', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #39FF14;
    display: block;
    margin-bottom: 5px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.stat-counter:hover .stat-number {
    color: #39FF14;
    text-shadow: 0px 2px 10px rgba(57, 255, 20, 0.3);
}

.stat-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    transition: color 0.3s ease;
}

.stat-counter:hover .stat-label {
    color: #1A1A1A;
}

/* Entrance Animations */
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shine-sweep {
    0% {
        left: -150%;
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        left: 150%;
        opacity: 0;
    }
}

/* === WHAT WE OFFER – Full-width + Holographic Glass (Reset) === */
.offers-section {
    position: relative;
    width: 100%;
    min-width: 100%;
    margin: 0;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
    background-color: #f4f7f6;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.offers-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background: transparent;
    width: 100%;
}

.offers-section .offers-list {
    position: relative;
    z-index: 2;
    margin: 0 auto;
    /* Bootstrap row gutters */
    --bs-gutter-x: clamp(0.5rem, 2.4vw, 2rem);
    --bs-gutter-y: clamp(0.5rem, 2.4vw, 2rem);
}

/* Compact mode for very small screens: keep 3 columns but reduce content density */
@media (max-width: 576px) {
    .offers-section {
        padding: 70px 0;
    }
}

.offers-section h2 {
    font-family: 'Russo One', sans-serif;
    font-size: 3.5rem;
    text-align: center;
    color: #000000;
    text-transform: uppercase;
    margin-bottom: 60px;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 0px rgba(57, 255, 20, 0.4);
}

.offers-section h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 2px;
    margin: 12px auto 0;
    background: #39FF14;
    border-radius: 2px;
}

.offer-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.5));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    padding-bottom: 18px;
}

.offer-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(45deg, #39FF14, #00F0FF, #39FF14);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.offer-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 22px 45px rgba(57, 255, 20, 0.18),
        0 0 0 1px rgba(57, 255, 20, 0.35);
    background: rgba(255, 255, 255, 0.9);
}

.offer-card:hover::before {
    opacity: 1;
}

.offer-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: block;
}

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

.offer-card h3 {
    font-family: 'Teko', sans-serif;
    font-size: 1.5rem;
    color: #0B0C10;
    text-transform: uppercase;
    margin: 20px 20px 10px;
    letter-spacing: 0.5px;
    line-height: 1.1;
    position: relative;
    font-weight: 700;
}

.offer-card .offer-desc {
    font-family: 'Teko', sans-serif;
    font-size: 1.25rem;
    color: #2d2d2d;
    margin: 0 20px 20px;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: left;
}

/* Ensure no width cap on #offers wrapper */
section#offers {
    max-width: none !important;
    margin: 0 !important;
}

/* Mobile responsive for Instructor section */
@media (max-width: 992px) {
    .instructor-holo {
        --photo-base-y: -22px;
    }

    .mars-signature {
        font-size: 140px;
        left: 6px;
        top: 20px;
    }

    /* Bootstrap stacking handles layout; just keep spacing tidy */
    .instructor-img-wrapper {
        margin: 0 auto;
    }

    .instructor-info {
        padding: 26px 22px;
    }
}

@media (max-width: 576px) {
    .instructor-section .section-title {
        font-size: 2rem;
    }

    .instructor-title {
        font-size: 1.8rem;
    }

    .instructor-bio {
        font-size: 1rem;
    }

    .instructor-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .stat-number {
        font-size: 1.8rem;
    }
}

.about-section {
    position: relative;
    width: 100vw;
    min-width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 100px 0;
    text-align: center;
    color: #111;
    background-color: #f4f7f6;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    overflow: hidden;
}

.about-header {
    text-align: left;
    margin-bottom: 18px;
}

.about-icon {
    width: 220px;
    min-width: 160px;
    border-radius: 16px;
    border: 1px solid #e6e9f0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 1;
}

/* About image hover: outer ring + subtle zoom */
.about-icon {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.about-icon:hover {
    /* outer background ring and gentle glow in #5DD62C */
    box-shadow: 0 0 0 10px rgba(93, 214, 44, 0.9),
        0 14px 36px rgba(93, 214, 44, 0.25),
        0 10px 26px rgba(0, 0, 0, 0.35);
    border-color: #3a9b14;
    transform: scale(1.03);
    /* Raise above neighbors when hovered so the glow isn't clipped */
    z-index: 10;
}

@media (max-width: 576px) {
    .about-icon:hover {
        box-shadow: 0 0 0 6px rgba(93, 214, 44, 0.9), 0 10px 28px rgba(93, 214, 44, 0.22);
    }
}

.about-text {
    flex: 1;
    text-align: left;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 18px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    color: #000;
    text-shadow: none;
}

.about-text p {
    /* Improve readability for the long About paragraph */
    color: #333;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.1rem, 0.6vw + 1rem, 1.45rem);
    line-height: 1.8;
    letter-spacing: 0.01em;
    margin: 0;
    max-width: 65ch;
}

.about-stats {
    /* Create a clear "pause" between the intro paragraph and the cards */
    margin-top: 120px !important;
    /* Bootstrap row gutters */
    --bs-gutter-x: clamp(0.5rem, 2.4vw, 2.25rem);
    --bs-gutter-y: clamp(0.5rem, 2.4vw, 1.75rem);
}

.stat-card {
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid #e6e9f0;
    border-radius: 16px;
    /* More internal padding so text doesn't hug edges */
    padding: 30px 30px 34px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card h3 {
    color: #111;
    font-size: 1.6rem;
    margin: 12px 0 10px 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
}

.stat-card .icon {
    display: none;
}

.stat-card ul {
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.stat-card li {
    color: #444;
    /* Cleaner option: readable geometric sans-serif for scanning */
    font-family: 'Montserrat', sans-serif;
    font-size: 1.02rem;
    line-height: 1.75;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.stat-card li:last-child {
    border-bottom: none;
}

.stat-card .stat-label {
    font-weight: 800;
    color: #00D01D;
    letter-spacing: 0.01em;
}

/* =========================
   ABOUT cards: auto-fit typography for 3-column layout on all devices
   ========================= */
#about .about-stats .stat-card {
    padding: clamp(14px, 2.2vw, 30px);
}

#about .about-stats .stat-card h3 {
    font-size: clamp(0.72rem, 1.25vw + 0.45rem, 1.6rem);
    line-height: 1.15;
    margin: 8px 0 10px 0;
    overflow-wrap: anywhere;
}

#about .about-stats .stat-card li {
    font-size: clamp(0.62rem, 1vw + 0.35rem, 1.02rem);
    line-height: 1.4;
    padding: clamp(6px, 1.1vw, 10px) 0;
    overflow-wrap: anywhere;
}

#about .about-stats .stat-card .stat-label {
    font-size: 1em;
}

@media (max-width: 576px) {
    .about-stats {
        margin-top: 78px !important;
    }
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #00D01D, #00F0FF);
    opacity: 0.9;
}

.stat-card::after {
    content: attr(data-icon);
    position: absolute;
    right: 12px;
    bottom: 0;
    font-size: 120px;
    opacity: 0.08;
    color: #00D01D;
    pointer-events: none;
    line-height: 1;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.offers-list {
    margin-top: 25px;
}

/* Mobile offer card styles - Enhanced with depth and accents */
.offer-card {
    background: rgba(255, 255, 255, 0.7);
    /* Glass effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-bottom: 4px solid transparent;
    /* Prepare for hover */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Subtle depth */
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    padding: 0 0 18px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    overflow: hidden;
    /* Keeps image inside rounded corners */
}

.offer-card:hover {
    transform: translateY(-10px);
    /* Lift up */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    /* Deeper shadow */
    border-bottom: 4px solid #39FF14;
    /* Green accent */
}

.offer-card img {
    width: 100%;
    height: clamp(92px, 18vw, 170px);
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    margin-bottom: 0;
    transition: transform 0.5s ease;
}

.offer-card:hover img {
    transform: scale(1.1);
    /* Image zoom on hover */
}

.offer-card .offer-text-wrapper {
    padding: clamp(10px, 2vw, 20px) clamp(10px, 1.8vw, 14px);
    text-align: left;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.offer-card h3 {
    color: #000;
    font-size: clamp(0.72rem, 1.15vw + 0.55rem, 1.15rem);
    font-weight: 800;
    /* Bolder */
    text-transform: uppercase;
    letter-spacing: 0.35px;
    margin: 0 0 clamp(6px, 1.2vw, 10px) 0;
    text-align: left;
    /* Left-aligned */
    line-height: 1.1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.offer-card .offer-desc {
    color: #333333;
    /* Darker grey */
    font-size: clamp(0.6rem, 0.9vw + 0.45rem, 0.98rem);
    margin: 0;
    text-align: left;
    /* Left-aligned */
    line-height: 1.45;
    /* Show full text (no clamping) */
    overflow: visible;
    display: block;
}

.offer-card .offer-accent {
    display: none;
    /* Remove accent line, using border-bottom instead */
}

/* Tiny screens: keep 3 columns but reduce density further so text always fits */
@media (max-width: 576px) {
    .offer-card .offer-text-wrapper {
        padding: 10px 10px 12px;
    }

    .offer-card h3 {
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }

    .offer-card .offer-desc {
        opacity: 0.85;
    }
}

.register-section {
    position: relative;
    width: 100vw;
    min-width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 100px 0;
    background-color: #f4f7f6;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    display: flex;
    justify-content: center;
}

.register-section .container {
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

.register-console {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 60px 50px;
    width: 100%;
    max-width: 900px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(57, 255, 20, 0.3);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    text-align: center;
}

.register-console::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #39FF14, #00F0FF, #39FF14);
}

.register-console .section-title {
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #111;
}

.register-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: #555;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 1px;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.input-group {
    position: relative;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 14px 16px;
    min-height: 52px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
    outline: none;
    transition: all 0.3s ease;
}

.input-group input::placeholder {
    color: #666;
    opacity: 1;
}

/* Required selects with disabled selected option render as invalid -> treat as placeholder style */
.input-group select:invalid {
    color: #666;
    font-weight: 600;
}

.input-group label {
    position: absolute;
    top: 15px;
    left: 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #555;
    pointer-events: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.input-group input:focus,
.input-group input:not(:placeholder-shown),
.input-group select:focus,
.input-group select:not([value=""]) {
    border: 2px solid #337418;
    box-shadow: 0 0 0 3px rgba(51, 116, 24, 0.22);
    background: rgba(255, 255, 255, 0.9);
}

.input-group input:focus~label,
.input-group input:not(:placeholder-shown)~label,
.input-group select:focus~label,
.input-group select:not([value=""])~label {
    top: -12px;
    left: 10px;
    font-size: 0.75rem;
    color: #337418;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.92);
    padding: 0 8px;
    border-radius: 999px;
}

.submit-btn {
    margin-top: 30px;
    width: 100%;
    padding: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.4rem;
    color: #000;
    background: #39FF14;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(57, 255, 20, 0.4);
}

.submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(57, 255, 20, 0.6);
    background: #fff;
    color: #39FF14;
    border: 2px solid #39FF14;
}

.submit-btn .btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: skewX(-20deg);
    animation: btn-sweep 3s infinite;
}

@keyframes btn-sweep {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.register-subtitle,
.register-note,
.register-disclaimer {
    color: #555;
}

.register-disclaimer {
    font-size: 0.98rem;
    margin-top: 32px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .register-console {
        padding: 40px 20px;
    }
}

.main-footer {
    background: #181818;
    padding: 24px 0 10px 0;
    text-align: center;
    border-top: 3px solid #0f0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 1rem;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: #0f0;
}

@media (max-width: 900px) {

    /* Desktop header adjustments for tablets - will be hidden on mobile via 767.98px breakpoint */
    .main-header {
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
        width: 95%;
    }

    .main-nav {
        flex-direction: column;
        gap: 8px;
        margin: 10px 0;
    }

    .register-btn {
        margin-left: 0;
        margin-top: 10px;
    }

    .gym-title h1,
    .gym-title .subtitle {
        text-align: center;
    }

    /* Keep offers/about as CSS grids on mobile; don't force them into flex columns */
    .achievements-list,
    .events-list {
        flex-direction: column;
        align-items: center;
    }

    section {
        padding: 30px 0 20px 0;
    }

    /* Remove grid-template-columns - register-form is flex, not grid */
    /* Form rows handle the grid layout */
}

@media (max-width: 600px) {

    .main-header,
    .footer-content {
        padding: 10px 0;
    }

    .main-nav {
        flex-direction: column;
        gap: 8px;
    }

    /* Form rows already handle single column layout at 768px, no need to duplicate */
    .register-form button {
        width: 100%;
    }

    .offers-list {
        gap: 10px;
    }
}

/* --- ACHIEVEMENTS & EVENTS HORIZONTAL SCROLL --- */
.achievements-carousel,
.events-carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

.carousel-scroll {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding: 10px 0 20px 0;
    width: 100%;
    justify-content: center;
}

.carousel-card {
    flex: 0 0 auto;
    background: #181818;
    border: 2px solid #0f0;
    border-radius: 12px;
    box-shadow: 0 0 12px #0f04;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 320px;
    opacity: 1;
    transform: none;
    z-index: 1;
    pointer-events: auto;
}

.carousel-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #202020;
    border: none;
    border-radius: 8px;
    margin-bottom: 0;
}

.carousel-card .carousel-text {
    padding: 14px 12px 18px 12px;
    color: #fff;
    text-align: center;
    display: block;
}

.carousel-dots {
    margin: 10px 0 0 0;
    text-align: center;
    display: none;
}

.carousel-dots .dot {
    display: none;
}

/* Hide scroll bar for webkit browsers */
.carousel-scroll::-webkit-scrollbar {
    display: none;
}

.carousel-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@media (max-width: 900px) {
    .carousel-card {
        width: 90vw;
        max-width: 420px;
    }
}

.see-more-btn {
    display: inline-block;
    background: #0f0;
    color: #111;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    padding: 10px 28px;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    margin-top: 10px;
}

.see-more-btn:hover {
    background: #fff;
    color: #0f0;
}

.offers-section h2 {
    text-align: center;
    color: #000000;
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 18px;
    position: relative;
    letter-spacing: 1px;
}

.offers-section h2::after {
    content: '';
    display: block;
    margin: 0 auto;
    margin-top: 8px;
    width: 80px;
    height: 4px;
    background: #0f0;
    border-radius: 2px;
}

.register-form select {
    /* Keep selects consistent with "glass box" fields */
    background: rgba(255, 255, 255, 0.78);
    color: #333;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    padding: 14px 44px 14px 16px;
    /* top right bottom left */
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%230f0" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
}

.register-form select:focus {
    outline: none;
    border-color: #39FF14;
    box-shadow: 0 0 0 3px rgba(57, 255, 20, 0.22);
}

.register-form select:hover {
    border-color: rgba(57, 255, 20, 0.75) !important;
    box-shadow: 0 0 0 3px rgba(57, 255, 20, 0.16) !important;
}

.register-form select option {
    /* Dropdown menu (best-effort; some browsers limit option styling) */
    background: #fff;
    color: #111;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.register-form select option:checked {
    background: rgba(57, 255, 20, 0.18);
    color: #0b7a12;
}

.register-form select option:hover {
    background: rgba(57, 255, 20, 0.14);
    color: #00D01D;
}

.section-title {
    color: #fff;
    font-weight: bold;
    font-size: 2em;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: #2fff00;
    margin: 8px auto 0;
    border-radius: 2px;
}

.about-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

/* Phone: give About cards more room + bigger readable type */
@media (max-width: 576px) {
    .about-inner {
        padding: 0 16px;
    }

    #about .about-stats .stat-card {
        padding: 22px 18px 22px;
    }

    #about .about-stats .stat-card h3 {
        font-size: 1.15rem;
        line-height: 1.2;
        margin: 8px 0 10px 0;
    }

    #about .about-stats .stat-card li {
        font-size: 1rem;
        line-height: 1.5;
        padding: 10px 0;
    }
}

.contact-section {
    width: 100vw;
    min-width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    position: relative;
    overflow: hidden;
}

.map-bg {
    width: 100%;
    height: 180px;
    background: url('../Picture/3.png') center center/cover no-repeat;
    filter: grayscale(0.7) brightness(0.7);
}

.contact-bar {
    width: 100%;
    background: url('../Picture/12.png') center center/cover no-repeat, #006400;
    padding: 32px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    width: 100%;
    max-width: 1100px;
}

.contact-info>div {
    color: #fff;
    text-align: center;
    font-size: 1.1em;
    min-width: 200px;
}

.contact-info strong {
    font-size: 1.2em;
    font-weight: bold;
    display: block;
    margin-top: 6px;
}

.footer-section {
    width: 100vw;
    min-width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    position: relative;
    overflow: hidden;
}

/* Remove Bootstrap container-fluid padding so the map + console are truly edge-to-edge */
#contacts.footer-section.container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.footer-map-bg {
    width: 100%;
    height: 180px;
    /* "The Tactical Feed" */
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    max-width: 100%;
    box-shadow:
        inset 0 0 0 1px rgba(57, 255, 20, 0.22),
        inset 0 -2px 0 rgba(57, 255, 20, 0.95),
        0 18px 40px rgba(0, 0, 0, 0.35);
}

/* Actual map image: object-fit cover makes it behave like the old background-image,
   while allowing us to compute "sticky pin" coordinates in JS */
.footer-map-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: translateZ(0);
    filter: saturate(0.65) contrast(1.25) brightness(0.9) hue-rotate(-12deg);
    z-index: 0;
}

/* Grid "scan" overlay */
.footer-map-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.25;
    background-image:
        repeating-linear-gradient(0deg, rgba(0, 240, 255, 0.14), rgba(0, 240, 255, 0.14) 1px, transparent 1px, transparent 22px),
        repeating-linear-gradient(90deg, rgba(57, 255, 20, 0.12), rgba(57, 255, 20, 0.12) 1px, transparent 1px, transparent 22px);
    mix-blend-mode: overlay;
    z-index: 1;
}

/* Subtle moving scanline + vignette */
.footer-map-bg::after {
    content: "";
    position: absolute;
    inset: -40% 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.35) 70%, rgba(0, 0, 0, 0.65) 100%),
        linear-gradient(180deg, transparent 0%, rgba(57, 255, 20, 0.0) 42%, rgba(57, 255, 20, 0.22) 50%, rgba(57, 255, 20, 0.0) 58%, transparent 100%);
    opacity: 0.85;
    transform: translateY(-30%);
    animation: footerScan 5.2s linear infinite;
    z-index: 2;
}

@keyframes footerScan {
    0% {
        transform: translateY(-35%);
    }

    100% {
        transform: translateY(35%);
    }
}

/* "Live" pulse marker (set via --pulse-x / --pulse-y on .footer-map-bg) */
.footer-map-bg .map-pulse {
    position: absolute;
    left: var(--pulse-x, 62%);
    top: var(--pulse-y, 52%);
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #39FF14;
    box-shadow:
        0 0 0 2px rgba(0, 0, 0, 0.65),
        0 0 16px rgba(57, 255, 20, 0.8);
    transform: translate(-50%, -50%);
    z-index: 3;
}

.footer-map-bg .map-pulse::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 999px;
    border: 1px solid rgba(57, 255, 20, 0.8);
    opacity: 0.9;
}

.footer-map-bg .map-pulse::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 2px solid rgba(57, 255, 20, 0.55);
    transform: translate(-50%, -50%);
    animation: footerPulse 1.6s ease-out infinite;
}

@keyframes footerPulse {
    0% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(0.9);
    }

    70% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(3.2);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(3.2);
    }
}

.footer-contact-bar {
    width: 100%;
    /* "The Dark Glass Console" */
    background: rgba(8, 10, 12, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, rgba(57, 255, 20, 0.95), rgba(0, 240, 255, 0.9)) 1;
    box-shadow:
        0 -10px 30px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    padding: 36px 0 26px;
}

/* Footer console layout (Bootstrap columns) */
.footer-console-logo {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(57, 255, 20, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.footer-console-title {
    font-family: 'Russo One', 'Montserrat', sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.05;
}

.footer-console-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-console-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    font-size: 0.9rem;
    margin: 0;
}

.footer-console-row {
    color: rgba(255, 255, 255, 0.9);
}

.footer-console-icon {
    color: #39FF14;
    filter: drop-shadow(0 0 10px rgba(57, 255, 20, 0.25));
    font-size: 1.1rem;
    flex: 0 0 auto;
}

.footer-console-value {
    font-family: 'Teko', sans-serif;
    color: #39FF14;
    font-size: 1.4rem;
    line-height: 1.1;
    letter-spacing: 0.02em;
    text-shadow: 0 0 12px rgba(57, 255, 20, 0.18);
}

.footer-console-divider {
    border: 0;
    height: 1px;
    opacity: 1;
    background: linear-gradient(90deg, transparent, rgba(57, 255, 20, 0.9), rgba(0, 240, 255, 0.7), transparent);
}

.footer-console-copy {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* Phone: center footer content (logo/text/buttons) */
@media (max-width: 767.98px) {

    .footer-contact-bar .footer-console,
    .footer-contact-bar .footer-console * {
        text-align: center !important;
    }

    .footer-contact-bar .footer-social,
    .footer-contact-bar .footer-badges {
        justify-content: center !important;
    }

    .footer-contact-bar .footer-console .d-flex {
        justify-content: center !important;
    }

    /* If `.footer-bg` is used again, keep it centered on phones too */
    .footer-bg,
    .footer-bg * {
        text-align: center !important;
    }

    .footer-bg .footer-social,
    .footer-bg .footer-badges {
        justify-content: center !important;
    }
}

.footer-bg {
    /* "Clean Slate" System Terminals footer */
    width: 100%;
    background: url('../Picture/4.jpg') center center/cover no-repeat, #0b0f12;
    border-top: 2px solid rgba(57, 255, 20, 0.9);
    box-shadow: 0 -12px 34px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    padding: 44px 0 28px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Subtle hex-ish technical pattern overlay */
.footer-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.22;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='70' viewBox='0 0 80 70'%3E%3Cg fill='none' stroke='%2300f0ff' stroke-opacity='0.18' stroke-width='1'%3E%3Cpath d='M20 6 L40 18 L40 42 L20 54 L0 42 L0 18 Z'/%3E%3Cpath d='M60 18 L80 30 L80 54 L60 66 L40 54 L40 30 Z'/%3E%3C/g%3E%3Cg fill='none' stroke='%2339ff14' stroke-opacity='0.12' stroke-width='1'%3E%3Cpath d='M40 0 L60 12 L60 36 L40 48 L20 36 L20 12 Z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 140px 120px;
    mix-blend-mode: overlay;
}

.footer-terminal {
    position: relative;
    z-index: 1;
}

.footer-terminal-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.05fr) minmax(260px, 1.6fr) minmax(260px, 1.15fr);
    gap: 34px;
    align-items: start;
}

.footer-col {
    color: #fff;
}

.footer-logo-large {
    width: 120px;
    height: auto;
    margin-bottom: 14px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.55));
}

.footer-copy {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

.footer-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.95rem;
    margin: 0 0 12px 0;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.footer-mission-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.8;
    margin: 0;
    max-width: 60ch;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

/* "Holographic Buttons" */
.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(57, 255, 20, 0.55);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 26px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.social-btn i {
    color: #39FF14;
    transition: color 0.3s ease;
}

/* Enforce neon green for these specific icons globally */
.fa-solid.fa-phone,
.fa-solid.fa-envelope,
.fa-brands.fa-facebook-f {
    color: #39FF14;
}

.social-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 240, 255, 0.8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 14px 34px rgba(0, 0, 0, 0.55), 0 0 18px rgba(57, 255, 20, 0.18);
}

.footer-data {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.footer-data-row {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 10px;
    align-items: baseline;
}

.footer-data-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.footer-data-value {
    font-family: 'Teko', sans-serif;
    color: #39FF14;
    font-size: 1.4rem;
    letter-spacing: 0.02em;
    text-shadow: 0 0 12px rgba(57, 255, 20, 0.2);
    overflow-wrap: anywhere;
}

.footer-badges {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-badges-center {
    justify-content: center;
    margin-top: 16px;
}

.footer-badge {
    height: 56px;
    width: auto;
    filter: brightness(0.95) opacity(0.75);
    transition: filter .2s ease, transform .2s ease;
}

.footer-badge:hover {
    filter: brightness(1) opacity(1);
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .footer-terminal-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        text-align: left;
    }

    .footer-brand {
        text-align: left;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .footer-badges {
        justify-content: flex-start;
    }
}

@media (max-width: 576px) {
    .footer-badge {
        height: 48px;
    }
}

.footer-bg {
    width: 100%;
    background: url('../Picture/4.png') center center/cover no-repeat;
    padding: 48px 0 24px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-content {
    text-align: center;
    color: #fff;
    max-width: 700px;
    margin: 0 auto;
}

.footer-logo {
    width: 80px;
    margin-bottom: 18px;
}

.footer-content p {
    margin: 8px 0;
    color: #fff;
}

.footer-address {
    font-size: 0.95em;
    color: #ccc;
}

.copyright {
    font-size: 0.85em;
    color: #aaa;
    margin-top: 18px;
}

/* Popup Modal Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-in-out;
}

.popup-modal {
    background: #FFFFFF;
    border: 3px solid #337418;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 30px rgba(51, 116, 24, 0.2);
    animation: slideIn 0.4s ease-out;
    position: relative;
}

.popup-modal h3 {
    color: #337418;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.popup-modal p {
    color: #585858;
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 30px;
}

.check-animation {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    background: #337418;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: checkPulse 0.6s ease-in-out;
}

.check-icon {
    color: #fff;
    font-size: 2.5rem;
    animation: checkMark 0.8s ease-in-out 0.2s both;
}

.popup-close-btn {
    background: #337418;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.popup-close-btn:hover {
    background: #fff;
    color: #0f0;
    transform: scale(1.05);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.8);
    }

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

@keyframes checkPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes checkMark {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-45deg);
    }

    50% {
        transform: scale(1.2) rotate(0deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Button loading state */
.register-form button.loading {
    background: #333;
    color: #666;
    cursor: not-allowed;
    pointer-events: none;
}

.register-form button.loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #0f0;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* --- Instructor rank highlight --- */
.rank-highlight {
    font-weight: 700;
    color: #e8ffd8;
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: .18em;
    text-underline-offset: .18em;
}

/* --- Offer card - Enhanced with Depth & Glass Effect --- */
.offer-card {
    position: relative;
    overflow: hidden;
    /* Keeps image inside rounded corners */
    border-radius: 12px;
    /* Softer corners */
    background: rgba(255, 255, 255, 0.7);
    /* 70% opacity white for glass effect */
    backdrop-filter: blur(10px);
    /* Frosted glass blur */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    /* Subtle glass edge */
    border-bottom: 4px solid transparent;
    /* Prepare for hover accent */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    /* Stronger, softer shadow for depth */
    transition: all 0.3s ease;
    /* Smooth animation */
    cursor: pointer;
}

.offer-card img {
    transition: transform 0.5s ease;
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
    /* Prevents image from breaking rounded corners */
}

.offer-card:hover img {
    transform: scale(1.1);
    /* Image slowly zooms in on hover */
}

.offer-card:hover {
    transform: translateY(-12px);
    /* Moves card up more for tactile feel */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    /* Much deeper shadow on hover */
    border-bottom: 4px solid #39FF14;
    /* Neon Green accent appears */
    z-index: 2;
}

.offer-card .offer-text-wrapper {
    padding: 20px 14px;
    text-align: left;
    /* Left-align all text content */
    width: 100%;
    box-sizing: border-box;
}

.offer-card h3 {
    position: relative;
    margin: 0 0 12px 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    /* Make it thick and strong */
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1A1A1A;
    text-align: left;
    /* Left-aligned for modern look */
    padding-top: 12px;
}

/* Green accent line above title */
.offer-card h3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #39FF14;
    border-radius: 2px;
}

.offer-card .offer-desc {
    margin: 0;
    color: #444444;
    /* Darker grey for better readability */
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.98rem;
    text-align: left;
    /* Left-aligned for modern look */
    line-height: 1.7;
    font-weight: 400;
}

/* ===== OFFER SECTION LAYOUT: Desktop grid vs Mobile stack ===== */
/* Remove max-width constraint - section is now full width */
section#offers {
    max-width: none !important;
    margin: 0 !important;
}

@media (min-width: 768px) {

    /* Grid container to match desktop reference */
    .offers-section .offers-list {
        display: grid;
        grid-template-columns: repeat(3, minmax(280px, 1fr));
        gap: 32px 32px;
        align-items: stretch;
        justify-items: stretch;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100%;
    }

    /* Neutralize Bootstrap column wrappers inside our grid */
    .offers-section .offers-list>[class^="col-"],
    .offers-section .offers-list>[class*=" col-"] {
        padding: 0 !important;
        margin: 0 !important;
        width: auto !important;
        display: block;
    }

    /* Ensure cards fill grid nicely */
    .offers-section .offers-list .offer-card {
        width: 100%;
        max-width: none;
        margin: 0;
        background: rgba(255, 255, 255, 0.7);
        /* Glass effect */
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.6);
        border-bottom: 4px solid transparent;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
        /* Stronger shadow for depth */
        border-radius: 12px;
        overflow: hidden;
        /* Keeps image inside rounded corners */
        transition: all 0.3s ease;
    }

    .offers-section .offers-list .offer-card:hover {
        transform: translateY(-12px);
        /* Lift up more */
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        /* Much deeper shadow */
        border-bottom: 4px solid #39FF14;
        /* Green accent */
    }

    .offers-section .offers-list .offer-card img {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .offers-section .offers-list .offer-card:hover img {
        transform: scale(1.1);
        /* Image zoom on hover */
    }

    .offers-section .offers-list .offer-card .offer-accent {
        display: none;
    }

    .offers-section .offers-list .offer-card .offer-text-wrapper {
        padding: 20px 14px;
        text-align: left;
        width: 100%;
        box-sizing: border-box;
    }

    .offers-section .offers-list .offer-card h3 {
        position: relative;
        margin: 0 0 12px 0;
        font-size: 1.05rem;
        font-weight: 800;
        /* Bolder */
        text-transform: uppercase;
        letter-spacing: 0.5px;
        text-align: left;
        /* Left-aligned */
        padding-top: 12px;
        font-family: 'Montserrat', sans-serif;
        color: #1A1A1A;
    }

    /* Green accent line above title in desktop grid */
    .offers-section .offers-list .offer-card h3::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 40px;
        height: 2px;
        background-color: #39FF14;
        border-radius: 2px;
    }

    .offers-section .offers-list .offer-card .offer-desc {
        margin: 0;
        font-size: .95rem;
        color: #444444;
        /* Darker grey for better readability */
        text-align: left;
        /* Left-aligned */
        line-height: 1.7;
        font-family: 'Rajdhani', sans-serif;
        font-weight: 400;
    }

    .offers-section .offers-list .offer-card:hover {
        transform: translateY(-10px);
        /* Lift up */
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        /* Deeper shadow */
        border-bottom: 4px solid #39FF14;
        /* Green accent */
    }
}

/* Mobile: keep Bootstrap row layout (still allows 3 columns if you use col-4) */
@media (max-width: 767.98px) {
    /* Bootstrap row already handles flex-wrap; leave as-is */
}

/* =========================
   OFFERS: Canonical "original card" styling (single source of truth)
   ========================= */
#offers .offers-list .offer-card {
    /* Override earlier duplicated rules */
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;

    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 4px solid rgba(57, 255, 20, 0.75);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

#offers .offers-list .offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
    border-bottom-color: #39FF14;
}

#offers .offers-list .offer-card img {
    width: 100%;
    height: clamp(120px, 18vw, 200px);
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    margin: 0;
    display: block;
}

#offers .offers-list .offer-card .offer-text-wrapper {
    padding: clamp(10px, 2vw, 20px) clamp(10px, 1.8vw, 14px);
    text-align: left;
}

#offers .offers-list .offer-card h3 {
    position: relative;
    margin: 0 0 clamp(6px, 1.2vw, 10px) 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(0.82rem, 1.1vw + 0.55rem, 1.15rem);
    text-transform: uppercase;
    letter-spacing: 0.45px;
    color: #111;
    line-height: 1.1;
}

#offers .offers-list .offer-card h3::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #39FF14;
    border-radius: 2px;
}

#offers .offers-list .offer-card .offer-desc {
    margin: 0;
    color: #333;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: clamp(0.72rem, 0.85vw + 0.45rem, 0.98rem);
    line-height: 1.5;
}

@media (max-width: 576px) {

    /* When stacked, allow the media and text to breathe */
    #offers .offers-list .offer-card img {
        height: clamp(160px, 42vw, 220px);
    }

    #offers .offers-list .offer-card h3 {
        font-size: clamp(0.95rem, 2.8vw, 1.1rem);
    }

    #offers .offers-list .offer-card .offer-desc {
        font-size: clamp(0.85rem, 2.2vw, 0.95rem);
        line-height: 1.5;
    }
}

/* ===== Unified Slider for Achievements & Events - 3D Coverflow Design ===== */
.post-slider {
    position: relative;
    width: 100%;
    margin: 40px auto;
    z-index: 2;
}

/* Slider Track - 3D Container */
.post-slider .slider-track {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    overflow: visible;
}

/* Frosted Glass Card Base Style */
.slide-card {
    position: absolute;
    width: 300px;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease-in-out;
    opacity: 0;
    transform: scale(0.8);
    z-index: 0;
    cursor: pointer;
}

/* Image Wrap with Padding */
.slide-card .image-wrap {
    position: relative;
    display: block;
    width: 100%;
    height: 320px;
    padding: 10px;
    box-sizing: border-box;
}

.slide-card .image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 12px;
}

/* Card Body - Caption Bar */
.slide-card .card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.slide-card:hover .card-body {
    transform: translateY(0);
}

.slide-card .card-title {
    color: #1A1A1A;
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 1rem;
    font-family: 'Rajdhani', sans-serif;
}

.slide-card .card-text {
    color: #585858;
    font-size: 0.9rem;
    font-family: 'Rajdhani', sans-serif;
    line-height: 1.4;
}

/* Active Card (Center) - 3D Focus */
.slide-card.active {
    opacity: 1;
    transform: translateX(0) scale(1.1);
    box-shadow: 0 0 40px rgba(57, 255, 20, 0.4), 0 10px 30px rgba(0, 0, 0, 0.15);
    filter: blur(0px);
    z-index: 10;
}

.slide-card.active .card-body {
    transform: translateY(0);
}

/* Trophy Icon for Achievements Active Card */
.achievements-section .slide-card.active::after {
    content: '\f091';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1A1A1A;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    z-index: 15;
    animation: float 3s ease-in-out infinite;
}

/* Calendar Icon for Events Active Card */
.events-section .slide-card.active::after {
    content: '\f073';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
    z-index: 15;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Previous Card (Left) */
.slide-card.prev {
    opacity: 0.6;
    transform: translateX(-110%) scale(0.9) rotateY(15deg);
    filter: blur(2px);
    pointer-events: none;
    z-index: 5;
}

/* Next Card (Right) */
.slide-card.next {
    opacity: 0.6;
    transform: translateX(110%) scale(0.9) rotateY(-15deg);
    filter: blur(2px);
    pointer-events: none;
    z-index: 5;
}

/* Hidden Cards */
.slide-card.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0);
    z-index: 0;
}

/* Large Glass Navigation Arrows */
.arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #39FF14;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #1A1A1A;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-size: 20px;
}

.arrow-btn.prev {
    left: 10%;
}

.arrow-btn.next {
    right: 10%;
}

.arrow-btn:hover {
    background: rgba(255, 255, 255, 0.8);
    color: #39FF14;
    box-shadow: 0 8px 25px rgba(57, 255, 20, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.arrow-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

/* Glass Pill "See More" Button */
.see-more-btn {
    display: inline-block;
    background: rgba(57, 255, 20, 0.1);
    color: #1A1A1A;
    border: 1px solid #39FF14;
    border-radius: 30px;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 50px;
    transition: all 0.3s ease;
    font-family: 'Rajdhani', sans-serif;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.see-more-btn:hover {
    background: #39FF14;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(57, 255, 20, 0.4);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .slide-card {
        width: 280px;
        height: 420px;
    }

    .arrow-btn.prev {
        left: 5%;
    }

    .arrow-btn.next {
        right: 5%;
    }
}

@media (max-width: 768px) {
    .post-slider .slider-track {
        height: 450px;
    }

    .slide-card {
        width: 260px;
        height: 400px;
    }

    .slide-card.prev {
        transform: translateX(-120%) scale(0.85) rotateY(20deg);
    }

    .slide-card.next {
        transform: translateX(120%) scale(0.85) rotateY(-20deg);
    }
}

/* === Unified typography overrides (appended to take precedence) === */
html {
    font-size: 100%;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Headings hierarchy */
.hero h2,
.section-title,
h1,
h2 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.2px;
}

h3,
h4 {
    font-family: var(--font-crimson);
    font-weight: 600;
    letter-spacing: 0.1px;
}

h5,
h6 {
    font-family: var(--font-sans);
    font-weight: 600;
}

/* Body copy */
p,
li,
.card-text,
.offer-desc {
    font-family: var(--font-serif);
    font-weight: 400;
}

/* UI, nav, and controls */
nav,
.navbar,
.register-btn,
.hero-register-btn,
.btn,
button,
input,
select,
textarea,
.badge,
.nav-link {
    font-family: var(--font-sans);
}

/* ===== Mobile fixes & overflow guards ===== */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 767.98px) {

    /* Hide desktop header on phones to avoid double nav */
    .main-header {
        display: none;
    }

    /* Hero readability - Light Crystal Design */
    .hero {
        min-height: 70vh;
        padding-top: 80px;
    }

    .video-frame-container {
        width: 90%;
        height: 40vh;
        min-height: 300px;
        margin-bottom: 30px;
    }

    .floating-logo {
        width: 80px;
        height: 80px;
        top: -30px;
        left: -30px;
    }

    .hero-content {
        margin: 0 auto;
        padding: 0 16px;
        text-align: center;
    }

    .hero-content h3 {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-btn,
    .btn-reactor {
        font-size: 1rem;
        padding: 12px 24px;
    }

    .stats-ticker {
        gap: 30px;
        margin-top: 30px;
    }

    .stat-item {
        font-size: 0.9em;
    }

    .stat-item span {
        font-size: 1.4em;
    }

    .ambient-light-orb {
        width: 300px;
        height: 300px;
        top: -5%;
        right: -10%;
    }

    /* Stack contact/footer info */
    .contact-info,
    .footer-contact-info {
        flex-direction: column;
        gap: 16px;
    }

    .contact-info>div,
    .footer-contact-info>div {
        min-width: 0;
        width: 100%;
    }

    .footer-contact-bar {
        padding: 16px 0;
    }
}

/* On small screens rely on swipe; hide slider arrows to avoid overlap */
@media (max-width: 575.98px) {
    .post-slider .arrow-btn {
        display: grid;
        /* Keep visible but smaller */
        width: 45px;
        height: 45px;
        font-size: 16px;
    }

    .arrow-btn.prev {
        left: 2%;
    }

    .arrow-btn.next {
        right: 2%;
    }

    .post-slider .slider-track {
        height: 400px;
    }

    .slide-card {
        width: 240px;
        height: 380px;
    }
}

/* =========================
   POST DETAILS MODAL (LIGHT TECH Redesign)
   ========================= */

/* Backdrop: Dark Classic overlay for focus */
.postmodal-overlay {
    position: fixed;
    inset: 0;
    display: none;
    /* hidden by default */
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.postmodal-overlay.open {
    display: flex;
    opacity: 1;
}

/* Modal Dialog: Frosted Glass (White Tech) */
.postmodal-dialog {
    position: relative;
    max-width: 1000px;
    width: min(92vw, 1000px);
    max-height: 90vh;
    /* Glass Effect */
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.postmodal-overlay.open .postmodal-dialog {
    transform: scale(1);
}

/* Close Button: Floating Circle */
.postmodal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #333;
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.postmodal-close:hover {
    background: #f0f0f0;
    transform: rotate(90deg);
    color: #000;
}

/* Modal Body: Grid Layout */
.postmodal-body {
    display: grid;
    /* Left column (Image) | Right column (Content) */
    grid-template-columns: clamp(300px, 40vw, 450px) 1fr;
    align-items: stretch;
    height: 100%;
    min-height: 400px;
}

/* Left Column: Full Bleed Image */
.postmodal-image {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    /* Remove padding for full bleed */
    position: relative;
    overflow: hidden;
}

.postmodal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Fill the area */
    display: block;
}

/* Right Column: Scrollable Content */
.postmodal-content {
    padding: 30px 35px;
    overflow-y: auto;
    overflow-x: hidden;
    color: #1a1a1a;
    display: flex;
    flex-direction: column;
}

/* Typography Overrides */
.postmodal-content h3 {
    /* Tech Header Font */
    font-family: 'Orbitron', 'Russo One', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #000000;
    margin: 0 0 10px 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
}

.postmodal-meta {
    /* Date styling */
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #0f5132;
    /* Deep Emerald Green for readability */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 15px;
}

.postmodal-desc {
    /* Body Text */
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    text-align: left;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .postmodal-body {
        grid-template-columns: 1fr;
        /* Stack vertically */
    }

    .postmodal-dialog {
        width: 94vw;
        max-height: 85vh;
        border-radius: 16px;
    }

    .postmodal-image {
        height: 250px;
        /* Fixed height for image on mobile */
        min-height: auto;
    }

    .postmodal-content {
        padding: 20px;
    }

    .postmodal-close {
        top: 10px;
        right: 10px;
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(4px);
    }
}



/* =========================================
   TEAM PROFILE MODAL (DISKAR-TECH - REAL FROSTED GLASS)
   ========================================= */

/* Clickable Footer Logo */
.clickable-logo {
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
    position: relative;
    z-index: 10;
}

.clickable-logo:hover {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 0 15px rgba(57, 255, 20, 0.6));
}

.clickable-logo:active {
    transform: scale(0.95);
}

/* Modal Overlay */
.team-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Dimmed background */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.team-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Modal Dialog - Real Frosted Glass (High Definition) */
/* Modal Dialog - Real Frosted Glass (High Definition - Dark Mode) */
.team-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    /* Dark semi-transparent background */
    background: rgba(20, 20, 20, 0.9);
    /* High Blur for depth */
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    /* Solid 1px border for definition */
    border: 1px solid rgba(57, 255, 20, 0.3);
    border-radius: 24px;
    /* Soft but deep shadow */
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
    overflow-y: auto;
    overflow-x: hidden;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Custom Scrollbar for Dark Mode */
    scrollbar-width: thin;
    scrollbar-color: #39FF14 rgba(0, 0, 0, 0.3);
}

.team-modal-dialog::-webkit-scrollbar {
    width: 8px;
}

.team-modal-dialog::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0 24px 24px 0;
    /* rounded corners to match modal */
}

.team-modal-dialog::-webkit-scrollbar-thumb {
    background-color: rgba(57, 255, 20, 0.3);
    border-radius: 4px;
    border: 2px solid transparent;
    background-clip: content-box;
}

.team-modal-dialog::-webkit-scrollbar-thumb:hover {
    background-color: #39FF14;
}

.team-modal-overlay.open .team-modal-dialog {
    transform: scale(1);
    /* Optional: Subtle texture if supported, omitted for clean look unless requested */
}

/* Close Button */
.team-modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    border: none;
    color: #FFF;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-modal-close:hover {
    background: #39FF14;
    color: #000;
    transform: rotate(90deg);
}

/* Modal Content */
.team-modal-content {
    padding: 40px;
}

/* Header Section */
.team-header {
    text-align: center;
    margin-bottom: 40px;
}

.team-logo-large {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(57, 255, 20, 0.2));
}

.team-name {
    font-family: 'Russo One', sans-serif;
    color: #FFFFFF;
    font-size: 2.5rem;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: none;
    -webkit-text-fill-color: initial;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

.team-description {
    font-family: 'Rajdhani', sans-serif;
    color: #39FF14;
    text-shadow: 0 0 5px rgba(57, 255, 20, 0.4);
    font-size: 1.2rem;
    margin-top: 5px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Grid Layout */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Member Card - The 'Cutout' Look (Contrast Fix) */
.team-member-card {
    /* Dark Grey background to contrast with the glass modal */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    /* Soft shadow to lift it off the glass */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.team-member-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    /* Slightly lighter on hover */
    box-shadow: 0 20px 40px rgba(57, 255, 20, 0.15);
    border-color: rgba(57, 255, 20, 0.5);
}

/* Mentor Card Special Styling */
.team-member-card.mentor-card {
    border-color: rgba(255, 215, 0, 0.3);
    /* Dark Gold Gradient */
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(20, 20, 20, 0.8) 100%);
}

.team-member-card.mentor-card:hover {
    border-color: rgba(255, 215, 0, 0.8);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(30, 30, 30, 0.9) 100%);
}

.mentor-card .highlight-text {
    color: #FFD700 !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
    font-weight: 800;
}

/* Member Avatar */
.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    padding: 0;
    background: rgba(57, 255, 20, 0.1);
    margin-bottom: 20px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.2);
    border: 2px solid rgba(57, 255, 20, 0.3);
}

.team-member-card:hover .member-avatar {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(57, 255, 20, 0.4);
    border-color: #39FF14;
}

.member-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Member Info */
.member-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #FFFFFF;
    font-size: 1.3rem;
    margin: 0 0 5px;
    letter-spacing: 0.5px;
}

.member-role {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.highlight-text {
    color: #39FF14;
    text-shadow: 0 0 5px rgba(57, 255, 20, 0.3);
}

.team-member-card:hover .highlight-text {
    color: #39FF14;
    text-shadow: 0 0 15px rgba(57, 255, 20, 0.6);
}

.member-desc {
    font-family: 'Inter', sans-serif;
    color: #CCCCCC;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .team-modal-dialog {
        padding: 0;
        width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }

    .team-header {
        margin-bottom: 30px;
        margin-top: 50px;
    }

    .team-name {
        font-size: 2rem;
    }
}

/* =========================================
   FOOTER (LIGHT MODE REDESIGN)
   ========================================= */

/* 1. The 'Foundation' - Hero Section Vibe (Grid + Neon) */
/* 1. The 'Foundation' - White Mode */
#contacts {
    background: #FFFFFF !important;
    border-top: 4px solid #39FF14 !important;
    color: #000000 !important;
    padding-top: 60px;
    padding-bottom: 40px;
    position: relative;
    z-index: 100;
}

#contacts *,
.footer-contact-bar,
.footer-console {
    background: transparent !important;
    background-color: transparent !important;
}

/* Hide the map overlay potentially causing dark tint */
.footer-map-bg {
    display: none !important;
}

/* 2. Typography - The 'Slate' Shift */
#contacts .footer-console-title {
    font-family: 'Russo One', sans-serif;
    color: #1F2937;
    /* Deep Slate (instead of black) */
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

#contacts .footer-console-subtitle {
    font-family: 'Rajdhani', sans-serif;
    color: #39FF14;
    /* Neon Green (matching hero accent) */
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#contacts .footer-console-heading {
    font-family: 'Montserrat', sans-serif;
    color: #000000;
    /* Pure Black */
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

#contacts .footer-console-mission {
    color: #333333;
    /* Dark Charcoal (no more light gray) */
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 300px;
    margin: 0 auto;
}

/* 3. The 'Fit' Green Strategy - Icons & Accents */
.footer-console-icon {
    font-size: 1.2rem;
    color: #39FF14;
    /* Neon Green Icons */
    width: 24px;
    text-align: center;
}

.footer-console-val,
.footer-console-value {
    color: #111111;
    /* Almost Black */
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
}

/* Social Media Pills - Modern & Clean */
#contacts .footer-social .social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #e5e7eb !important;
    /* Visible Gray Pill */
    border-radius: 50%;
    /* Circle/Pill shape */
    color: #4B5563;
    /* Gray Icon Default */
    margin: 0 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid transparent;
}

.footer-social .social-btn:hover {
    background-color: #ECFDF5;
    /* Very Light Green Tint on Hover */
    color: #047857;
    /* Turn Icon Emerald Green */
    border-color: #047857;
    /* Add Structural Border on Hover */
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(4, 120, 87, 0.15);
}

.footer-social .social-btn i {
    font-size: 1.1rem;
}

/* Footer Badges & Images */
.footer-badges {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
}

.footer-badge {
    height: 45px;
    width: auto;
    object-fit: contain;
    /* Removed grayscale filter -> Original Color */
    opacity: 1;
    transition: all 0.3s ease;
}

.footer-badge:hover {
    transform: scale(1.05);
}

/* Divider & Copyright */
.footer-console-divider {
    border-color: #E5E7EB;
    /* Very Light Gray Divider */
    opacity: 1;
    margin: 40px 0 25px;
}

.footer-console-copy {
    color: #333333;
    /* Dark Charcoal */
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
}

/* Map Background Fix */
.footer-map-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    /* Very faint map overlay */
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.footer-map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .footer-console-mission {
        margin: 0 auto 30px;
        /* Spacing on mobile */
    }

    .footer-console-heading {
        margin-top: 20px;
    }

    .footer-badges {
        justify-content: center !important;
    }

    /* Fix Contact Row Alignment on Mobile */
    .footer-console-row {
        justify-content: center;
        /* Keep the group centered */
    }

    .footer-console-value {
        text-align: left;
        /* Ensure text block reads naturally next to icon */
    }
}