:root {
    --primary: #071a0e;
    /* Deep Forest Dark */
    --primary-mid: #0d2818;
    /* Deep Forest Mid */
    --primary-light: #1A472A;
    /* Deep Forest Green */
    --secondary: #F9C80E;
    /* Sun Yellow */
    --accent: #4B6B1D;
    /* Olive Green */
    --text-dark: #1A202C;
    --text-muted: #4A5568;
    --white: #FFFFFF;
    --bg-light: #F7FAFC;
    --border: #E2E8F0;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
}

.mobile-only {
    display: none !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    line-height: 1.2;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== PREMIUM HEADER ===== */
.top-bar {
    background: var(--primary);
    color: var(--white);
    padding: 12px 0;
    font-size: 0.85rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar {
    background: #ffffff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.navbar.scrolled {
    padding: 12px 0;
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.navbar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 110px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    /* Helps blend white backgrounds if the logo isn't transparent */
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

.logo-text .name-main {
    font-size: 1.15rem;
    font-weight: 900;
    color: #F9C80E;
    /* Brand Gold/Yellow */
    letter-spacing: -0.2px;
    font-family: 'Playfair Display', serif;
}

.logo-text .name-sub {
    font-size: 1.15rem;
    font-weight: 900;
    color: #00B4D8;
    /* Brand Cyan/Light Blue */
    letter-spacing: -0.2px;
    font-family: 'Playfair Display', serif;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* NAV MENU */
.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

/* Removed Underlines */

.nav-link i.fa-chevron-down {
    font-size: 0.65rem;
    transition: transform 0.3s;
}

.nav-menu li:hover>.nav-link i.fa-chevron-down {
    transform: rotate(180deg);
}

/* PREMIUM DROPDOWN */
.nav-submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    min-width: 280px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    border-radius: 20px;
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.05);
    pointer-events: none;
}

/* Pseudo bridge to keep menu open while moving mouse */
.nav-submenu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
}

.nav-menu li:hover .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
    transition-delay: 0s;
}

/* Add a slight delay before closing to avoid "disappearing immediately" */
.nav-menu li .nav-submenu {
    transition-delay: 0.15s;
}

.nav-submenu li {
    list-style: none;
    margin-bottom: 5px;
}

.nav-submenu li:last-child {
    margin-bottom: 0;
}

.nav-submenu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.nav-submenu a:hover {
    background: var(--bg-light);
    color: var(--primary);
    transform: translateX(5px);
}

.nav-submenu a i {
    width: 32px;
    height: 32px;
    background: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--accent);
    transition: all 0.3s ease;
}

.nav-submenu a:hover i {
    background: var(--secondary);
    color: var(--primary);
}

/* BTN REQUEST */
.btn-request {
    background: var(--primary);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 10px 25px rgba(26, 71, 42, 0.15);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
}

.btn-request:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(26, 71, 42, 0.2);
}

/* HERO SECTION */
.hero {
    padding: 60px 0 100px;
    background: linear-gradient(135deg, #fdfcfb 0%, #e8e2d6 100%);
    position: relative;
    overflow: hidden;
}

@media (max-width: 992px) {
    .hero {
        padding: 40px 0 60px;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.hero-content h1 {
    font-size: 4.5rem;
    color: var(--primary);
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 45px;
    line-height: 1.8;
}

.hero-image {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/5;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.hero-image:hover img {
    transform: scale(1.08);
}

/* PREMIUM CARDS */
.card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2.2rem;
    color: var(--primary);
    transition: all 0.4s ease;
}

.card:hover .card-icon {
    background: var(--secondary);
    color: var(--primary);
    transform: rotate(5deg) scale(1.1);
}

/* LEARNING ZONE CARDS */
.learning-zone-card {
    position: relative;
    height: 480px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.learning-zone-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.learning-zone-overlay {
    position: absolute;
    inset: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(26, 71, 42, 0.95) 10%, rgba(26, 71, 42, 0.4) 50%, transparent 100%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.learning-zone-card:hover img {
    transform: scale(1.1);
}

.learning-zone-card:hover .learning-zone-overlay {
    background: linear-gradient(to top, rgba(26, 71, 42, 0.98) 20%, transparent 100%);
}

.learning-zone-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: var(--white);
}

.learning-zone-overlay p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    opacity: 0.9;
}

/* SECTION HEADERS */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-tag {
    color: #f58621;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 15px;
}

/* Standardize Section Titles */
.section-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--primary);
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    line-height: 1.1;
}

/* GRID SYSTEM */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* RESPONSIVE FIXES */
@media (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 992px) {
    section {
        padding: 70px 0;
    }

    .navbar {
        padding: 15px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .hero-content p {
        margin: 0 auto 40px;
    }

    .hero-image {
        aspect-ratio: 16/9;
        max-width: 600px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .btn-hero-primary,
    .btn-hero-ghost {
        width: 100%;
        justify-content: center;
    }
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 10px;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Section padding */
section {
    padding: 100px 0;
}

/* Body no-scroll for mobile menu */
body.no-scroll {
    overflow: hidden;
}

/* Nav menu li needs position relative for dropdown */
.nav-menu li {
    position: relative;
    list-style: none;
}

/* Video background styles removed for simplicity */

/* ═══════════════════════════════════════════════════════════
   HERO EVENTS CAROUSEL (GLOBAL COMPONENT)
   ═══════════════════════════════════════════════════════════ */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-events-container {
    flex: 1;
    min-width: 320px;
    max-width: 500px;
    position: relative;
    display: flex;
    z-index: 10;
}

.hero-events-card {
    position: relative;
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 36px;
    padding: 0;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
    animation: heroFadeUp 1s 0.7s both;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.hero-events-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 50px 120px rgba(0, 0, 0, 0.5);
}

.hero-events-header {
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-events-header h3 {
    font-family: 'Playfair Display', serif;
    color: white;
    font-size: 1rem;
    margin: 0;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.hero-events-nav {
    display: flex;
    gap: 8px;
}

.hero-nav-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.65rem;
}

.hero-nav-btn:hover {
    background: #F9C80E;
    color: #071a0e;
    border-color: #F9C80E;
    transform: scale(1.1);
}

.hero-events-viewport {
    flex: 1;
    overflow: hidden;
}

.hero-events-slider {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-event-item {
    flex: 0 0 100%;
    width: 100%;
    padding: 20px 25px 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hero-event-item__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(249, 200, 14, 0.1);
    color: #F9C80E;
    border: 1px solid rgba(249, 200, 14, 0.3);
    font-size: 0.55rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 12px;
    letter-spacing: 1px;
    width: fit-content;
}

.hero-event-item__thumb-wrap {
    width: 100%;
    height: 140px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-event-item__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.hero-event-item__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: white;
    margin-bottom: 8px;
    line-height: 1.2;
    font-weight: 700;
}

.hero-event-item__desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 400;
}

.hero-event-item__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: auto;
}

.hero-meta-box {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
}

.hero-meta-box i {
    color: #F9C80E;
    font-size: 0.75rem;
    width: 12px;
    text-align: center;
}

.hero-event-item__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 15px;
}

.hero-price-chip {
    display: flex;
    flex-direction: column;
}

.hero-price-chip span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.55rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2px;
}

.hero-price-chip strong {
    color: white;
    font-size: 1.2rem;
    font-weight: 800;
}

.hero-btn-book {
    background: white;
    color: #071a0e;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.75rem;
    transition: all 0.4s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero-btn-book:hover {
    background: #F9C80E;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(249, 200, 14, 0.3);
}

@media (max-width: 991px) {
    .header-layout-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-events-container {
        flex: none;
        width: 100%;
        max-width: 500px;
        margin: 30px auto 0;
    }
}

@media (max-width: 480px) {
    .hero-events-card {
        border-radius: 28px;
    }

    .hero-event-item {
        padding: 20px 20px 25px;
    }

    .hero-event-item__thumb-wrap {
        height: 130px;
    }
}