:root {
    /* Sophisticated Palette: Deep Espresso & Luxury Gold */
    --charcoal: #1f110c; 
    --charcoal-light: #2b1812;
    --gold: #FFD700;
    /* Vibrant Luxury Gold Base */
    --gold-metallic: linear-gradient(135deg, #FFD700, #FFF5E1, #FFC107, #FFB300, #FFD700);
    --gold-vivid: #FFC107;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);

    --transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    --shadow-lux: 0 30px 60px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--charcoal);
    color: var(--gold);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
.serif {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- Preloader --- */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--charcoal);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.loader-logo {
    width: 900px; /* Made even larger! */
    max-width: 95%;
    animation: pulse 2s infinite;
    mix-blend-mode: screen; 
    filter: brightness(0.7) contrast(1.8) drop-shadow(0 0 10px rgba(255, 215, 0, 0.2)); 
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 30px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
}

nav.scrolled {
    padding: 15px 80px;
    background: rgba(31, 17, 12, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo img {
    height: 150px; /* Supersized for high quality visibility */
    transition: var(--transition);
    mix-blend-mode: screen;
    filter: brightness(0.7) contrast(1.8);
    transform: translateY(10px); /* Center it visually due to scaling */
}

nav.scrolled .nav-logo img {
    height: 90px;
    transform: translateY(0);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
    transition: var(--transition);
}

.nav-links a:hover {
    opacity: 1;
    letter-spacing: 3px;
}

.nav-extra {
    display: flex;
    align-items: center;
    gap: 30px;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 2000;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.slideshow-container {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 8s linear;
    transform: scale(1.1);
    filter: blur(2px);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.slideshow-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(31, 17, 12, 0.5), rgba(31, 17, 12, 0.9));
    z-index: 2;
}

.slideshow-controls {
    position: absolute;
    bottom: 50px;
    right: 80px;
    display: flex;
    gap: 20px;
    z-index: 100;
}

.slideshow-controls button {
    background: transparent;
    border: 1px solid var(--gold-vivid);
    color: var(--gold-vivid);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.slideshow-controls button:hover {
    background: var(--gold-metallic);
    color: #000;
    transform: scale(1.1);
}

.hero-content {
    max-width: 900px;
}

.hero-content h1 {
    font-size: 6rem;
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 400;
}

.hero-content h1 span {
    font-style: italic;
    background: var(--gold-metallic);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-gold {
    padding: 20px 50px;
    background: var(--gold-metallic);
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.9rem;
    border-radius: 2px;
    display: inline-block;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.btn-gold:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(212, 175, 55, 0.3);
}

/* --- Feature Tiers --- */
.features-lux {
    padding: 120px 0;
    background: var(--charcoal-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.feature-card {
    text-align: center;
    padding: 40px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(247, 231, 206, 0.05);
    border-color: var(--gold-vivid);
}

.feature-card i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--gold-vivid);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- Chef Section --- */
.chef-lux {
    padding: 120px 0;
    position: relative;
    background: linear-gradient(rgba(31, 17, 12, 0.95), rgba(31, 17, 12, 0.95)), url('assets/course2.png');
    background-size: cover;
    background-attachment: fixed;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.chef-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.chef-image {
    position: relative;
}

.chef-image img {
    width: 100%;
    border-radius: 400px 400px 10px 10px; /* Majestic arch top for portrait image */
    position: relative;
    z-index: 2;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    transition: var(--transition);
}

.chef-image:hover img {
    transform: translateY(-10px);
}

.chef-image .gold-border {
    position: absolute;
    inset: -15px;
    border: 3px solid var(--gold-vivid); /* Thicker for emphasis */
    z-index: 1;
    border-radius: 400px 400px 15px 15px; /* Matching arch frame */
    opacity: 0.5;
    transition: var(--transition);
}

.chef-image:hover .gold-border {
    inset: -25px;
    opacity: 1;
    border-color: var(--gold);
}

.image-glow {
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 70px rgba(0, 0, 0, 0.9), 0 0 40px rgba(212, 175, 55, 0.2);
    border-radius: 400px 400px 10px 10px; /* Matching arch dimension */
    pointer-events: none;
    z-index: 3;
    transition: var(--transition);
}

.chef-image:hover .image-glow {
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5), 0 0 60px rgba(212, 175, 55, 0.4);
}

.chef-content .subtitle {
    font-size: 0.9rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold-vivid);
    margin-bottom: 15px;
    display: block;
    font-weight: 600;
}

.chef-content h2 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    line-height: 1.1;
}

.chef-content .desc {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 35px;
    line-height: 1.8;
}

.chef-highlights {
    list-style: none;
    margin-bottom: 40px;
}

.chef-highlights li {
    font-size: 1.05rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0.9;
}

.chef-highlights li i {
    color: var(--gold-vivid);
    font-size: 0.9rem;
}

/* --- NVQ Banner Section --- */
.nvq-banner {
    padding: 60px 0;
    background: var(--charcoal-light);
    border-bottom: 1px solid var(--glass-border);
}

.nvq-glass-box {
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.nvq-glass-box:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-5px);
}

.nvq-icon {
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
}

.nvq-text h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--gold-vivid);
    letter-spacing: 1px;
}

.nvq-text p {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.6;
}

.nvq-action {
    flex-shrink: 0;
}

.btn-outline {
    padding: 15px 30px;
    background: transparent;
    border: 2px solid var(--gold-vivid);
    color: var(--gold-vivid);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.8rem;
    border-radius: 4px;
    display: inline-block;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--gold-metallic);
    color: #000;
    transform: scale(1.05);
}

/* --- Courses Sections (Level Based) --- */
.section-lux {
    padding: 140px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 80px;
}

.section-head h2 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.section-head p {
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold-vivid);
}

.course-modules {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.module-card {
    background: var(--charcoal-light);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1), border-color 0.5s ease, box-shadow 0.5s ease;
}

.module-card:hover {
    transform: translateY(-20px) scale(1.03);
    border-color: var(--gold-vivid);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.1);
    z-index: 10;
}

.module-img {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.module-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.module-card:hover .module-img img {
    scale: 1.1;
}

.module-lvl {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gold-metallic);
    color: #000;
    padding: 5px 15px;
    font-size: 0.7rem;
    font-weight: 800;
}

.module-content {
    padding: 40px;
}

.module-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.module-content p {
    font-size: 0.95rem;
    opacity: 0.6;
    margin-bottom: 25px;
}

.module-list {
    list-style: none;
    margin-bottom: 30px;
}

.module-list li {
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.module-list li i {
    color: var(--gold-vivid);
    font-size: 0.7rem;
}

/* --- Registration Form (Glassmorphism) --- */
.registration {
    background: linear-gradient(rgba(31, 17, 12, 0.9), rgba(31, 17, 12, 0.9)), url('assets/course1.png');
    background-attachment: fixed;
    background-size: cover;
    padding: 140px 0;
}

.glass-form-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    /* Slightly lighter for frosted look */
    backdrop-filter: blur(50px) saturate(150%);
    -webkit-backdrop-filter: blur(50px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5), inset 0 0 40px rgba(255, 255, 255, 0.02);
}

.form-info h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
    color: var(--gold);
    font-family: inherit;
    font-size: 1.1rem;
    outline: none;
    transition: var(--transition);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold-vivid);
}

/* --- Checkbox Styling (Luxury Gold) --- */
.checkbox-group label {
    margin-bottom: 5px;
}

.check-options {
    display: flex;
    gap: 30px;
    margin-top: 15px;
}

.check-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 1rem;
    color: var(--gold);
    text-transform: none;
    letter-spacing: normal;
    user-select: none;
    opacity: 0.9;
}

.check-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: transparent;
    border: 2px solid var(--glass-border);
    border-radius: 4px;
    transition: var(--transition);
}

.check-container:hover input ~ .checkmark {
    border-color: var(--gold-vivid);
}

.check-container input:checked ~ .checkmark {
    background-color: var(--gold-vivid);
    border-color: var(--gold-vivid);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.check-container input:checked ~ .checkmark:after {
    display: block;
}

.check-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* --- Footer --- */
footer {
    padding: 100px 0 50px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.footer-logo {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 40px;
    letter-spacing: 3px;
}

.socials-lux {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
}

.socials-lux a {
    color: var(--gold);
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.socials-lux a:hover {
    transform: translateY(-5px) scale(1.2);
    color: var(--gold-vivid);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
    color: #FFF;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--charcoal);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-vivid);
}

@media (max-width: 1024px) {
    nav {
        padding: 20px 40px;
    }

    nav.scrolled {
        padding: 10px 40px;
    }

    .hero-content h1 {
        font-size: 4rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .course-modules {
        grid-template-columns: repeat(2, 1fr);
    }

    .glass-form-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 60px;
    }

    .chef-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .chef-highlights li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        width: 100%;
        height: 100vh;
        background: var(--charcoal);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: 0.5s;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-btn {
        display: none;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero {
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .course-modules {
        grid-template-columns: 1fr;
    }

    .section-head h2 {
        font-size: 2.5rem;
    }

    .slideshow-controls {
        right: 20px;
        bottom: 20px;
    }

    .slideshow-controls button {
        width: 45px;
        height: 45px;
    }

    .container {
        padding: 0 20px;
    }

    .glass-form-wrapper {
        padding: 40px 20px;
    }

    .form-info h2 {
        font-size: 2.2rem;
    }

    .nvq-glass-box {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}