:root {
    /* 2026 Premium Dark Palette */
    --color-bg: #0a0a0f;
    --color-bg-elevated: #12121a;
    --color-bg-card: rgba(255, 255, 255, 0.04);
    --color-surface: #1a1a25;
    --color-gold: #c9a84c;
    --color-gold-light: #e8d48b;
    --color-gold-dim: rgba(201, 168, 76, 0.15);
    --color-accent: #e07a3a;
    --color-crimson: #ff4d5a;
    --color-text: #e8e6e3;
    --color-text-muted: #8a8a9a;
    --color-white: #ffffff;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-glow: rgba(201, 168, 76, 0.3);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Raleway', sans-serif;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    --spacing-2xl: 4rem;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.5s var(--ease-out-expo);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-white);
}

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

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

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-accent));
    color: var(--color-bg);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    transition: all var(--transition-smooth);
    position: relative;
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.5);
    background: linear-gradient(135deg, var(--color-accent), var(--color-gold));
    color: var(--color-bg);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    box-shadow: none;
}

.btn-secondary:hover {
    background: var(--color-gold);
    color: var(--color-bg);
}

/* ========== HEADER ========== */
header {
    padding: var(--spacing-md) 0;
    position: fixed;
    width: 100%;
    z-index: 100;
    top: 0;
    transition: all 0.4s ease;
    background: rgba(10, 10, 15, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

header.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    padding: var(--spacing-sm) 0;
}

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

.logo {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-white);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: width 0.3s ease;
}

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

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

.nav-links .admin-link {
    border: 1px solid var(--color-border);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
}

.nav-links .admin-link:hover {
    border-color: var(--color-gold);
}

.nav-links .admin-link::after {
    display: none;
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    background-image:
        linear-gradient(160deg, rgba(10, 10, 15, 0.82) 0%, rgba(10, 10, 15, 0.55) 40%, rgba(201, 168, 76, 0.08) 100%),
        url('../assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--color-bg), transparent);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-30px, 20px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    line-height: 1.08;
    animation: revealUp 1s var(--ease-out-expo) both;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.hero-content h1 span.gold {
    color: var(--color-gold);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-text);
    line-height: 1.8;
    animation: revealUp 1s var(--ease-out-expo) 0.2s both;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.hero-content .btn {
    animation: revealUp 1s var(--ease-out-expo) 0.4s both;
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: revealUp 1s var(--ease-out-expo) 0.8s both;
}

.hero-scroll .scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(0.6);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* ========== BENEFITS BAR ========== */
.benefits-bar {
    background-color: var(--color-bg-elevated);
    padding: var(--spacing-xl) 0;
    position: relative;
    border-bottom: 1px solid var(--color-border);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-md);
    text-align: center;
}

.benefit-card {
    background: var(--color-bg-card);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 168, 76, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

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

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    filter: saturate(0.8);
}

.benefit-card h3 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    color: var(--color-text);
    letter-spacing: 0.3px;
}

/* ========== ABOUT SECTION ========== */
.about {
    padding: var(--spacing-2xl) 0;
    text-align: center;
    position: relative;
}

.about h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
}

.about h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--color-gold);
    margin: var(--spacing-md) auto 0;
}

.about-text {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: var(--color-text-muted);
    line-height: 1.9;
}

/* ========== SCROLL ANIMATIONS ========== */
/* Elements are visible by default. JS adds .js-loaded to <body> to enable animations. */
[data-animate] {
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

/* Only hide elements if JS has loaded and will handle revealing them */
body.js-loaded [data-animate] {
    opacity: 0;
    transform: translateY(30px);
}

body.js-loaded [data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

body.js-loaded [data-animate="fade-left"] {
    transform: translateX(-30px);
}

body.js-loaded [data-animate="fade-left"].visible {
    transform: translateX(0);
}

body.js-loaded [data-animate="fade-right"] {
    transform: translateX(30px);
}

body.js-loaded [data-animate="fade-right"].visible {
    transform: translateX(0);
}

body.js-loaded [data-animate="scale"] {
    transform: scale(0.95);
}

body.js-loaded [data-animate="scale"].visible {
    transform: scale(1);
}

/* ========== COURSES SECTION ========== */
.courses {
    padding: var(--spacing-2xl) 0;
    background-color: var(--color-bg);
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-xl);
    color: var(--color-white);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--color-gold);
    margin: var(--spacing-md) auto 0;
}

/* ========== PROMOTIONS SECTION ========== */
.promotions {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--color-crimson), #d63447);
    color: var(--color-white);
    text-align: center;
}

.promo-grid {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
}

.promo-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    max-width: 400px;
}

.promo-card p {
    color: var(--color-white);
    font-weight: 700;
}

/* ========== FOOTER ========== */
footer {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-elevated) 100%);
    color: var(--color-text-muted);
    padding: var(--spacing-2xl) 0 var(--spacing-xl);
    text-align: center;
    border-top: 1px solid var(--color-border);
}

footer h3 {
    font-size: 1.2rem;
    color: var(--color-gold);
    margin-bottom: var(--spacing-md);
    font-family: var(--font-heading);
}

footer p {
    margin-top: var(--spacing-sm);
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: var(--spacing-lg) 0;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-bg-card);
    border-radius: 50%;
    transition: all var(--transition-smooth);
    border: 1px solid var(--color-border);
}

.social-icon:hover {
    background: var(--color-gold);
    transform: translateY(-4px);
    border-color: var(--color-gold);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--color-text);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.3s ease;
}

.social-icon:hover svg {
    stroke: var(--color-bg);
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25d366, #128C7E);
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    animation: waPulse 2.5s ease-in-out infinite;
}

@keyframes waPulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }

    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

.whatsapp-float:hover {
    transform: scale(1.12);
    animation: none;
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

/* ========== HAMBURGER (Desktop: Hidden) ========== */
.hamburger {
    display: none;
}

/* ========== MOBILE RESPONSIVE ========== */
@media (max-width: 768px) {

    :root {
        --spacing-xl: 2.5rem;
        --spacing-2xl: 3.5rem;
        --spacing-lg: 1.5rem;
    }

    .hero {
        background-image:
            linear-gradient(160deg, rgba(10, 10, 15, 0.8) 0%, rgba(10, 10, 15, 0.5) 40%, rgba(201, 168, 76, 0.05) 100%),
            url('../assets/images/hero-bg.jpg') !important;
        background-attachment: scroll !important;
        background-position: center top !important;
        background-size: cover !important;
        min-height: 90vh;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-scroll {
        display: none;
    }

    .section-title,
    .about h2,
    .location-info h2 {
        font-size: 1.8rem;
    }

    /* Header */
    header {
        position: relative;
        background-color: var(--color-bg-elevated);
        padding: var(--spacing-sm) 0;
    }

    header.scrolled {
        background-color: var(--color-bg-elevated);
    }

    nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .logo {
        font-size: 0.9rem;
        max-width: 75%;
    }

    /* Hamburger */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 32px;
        height: 22px;
        cursor: pointer;
        z-index: 1002;
        padding: 8px;
        box-sizing: content-box;
    }

    .hamburger span {
        display: block;
        height: 2px;
        width: 100%;
        background-color: var(--color-text);
        border-radius: 2px;
        transition: all 0.4s var(--ease-out-expo);
    }

    /* Nav Drawer */
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 75%;
        max-width: 320px;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s var(--ease-out-expo);
        z-index: 1001;
        border-left: 1px solid var(--color-border);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        margin: 1.2rem 0;
        color: var(--color-text);
    }

    .nav-links a::after {
        display: none;
    }

    /* Hamburger X Animation */
    .hamburger.active span:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

    .nav-links .admin-link {
        display: inline-block;
        margin-top: var(--spacing-sm);
    }

    /* Buttons */
    .btn {
        width: 100%;
        text-align: center;
        padding: 16px;
    }

    /* WhatsApp */
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 52px;
        height: 52px;
    }
}