/* ============================================
   R3 JEWEL ACADEMY — INTERNATIONAL
   Design System: Luxury Noir & Gold v2
   Inspired by premium e-learning layouts
   ============================================ */

/* --- Design Tokens --- */
:root {
    /* Apple Pro Aesthetic: Desert Titanium */
    --gold: #C5B097;
    /* Muted Titanium Gold */
    --gold-light: #E3D5C3;
    --gold-dark: #8F7E6B;
    --gold-glow: rgba(197, 176, 151, 0.1);
    --gold-gradient: linear-gradient(135deg, #C5B097, #E3D5C3, #C5B097);

    --bg-primary: #000000;
    /* True Black for OLED */
    --bg-secondary: #111111;
    --bg-card: #15151e;
    --bg-card-hover: #1c1c26;
    --bg-glass: rgba(20, 20, 20, 0.6);
    /* Smoother glass */

    --border-subtle: rgba(255, 255, 255, 0.04);
    --border-card: transparent;
    /* Formatting borders removed */
    --border-gold: rgba(197, 176, 151, 0.2);

    --text-primary: #f5f5f7;
    /* Apple Off-White */
    --text-secondary: #a0a0a8;
    /* Improved Contrast Apple Grey */
    --text-muted: #888890;
    --text-white: #ffffff;

    --success: #34c759;
    /* Apple Green */
    --radius-sm: 12px;
    --radius-md: 12px;
    /* Standardized to 12px */
    --radius-lg: 12px;
    /* Standardized to 12px */
    --radius-xl: 12px;
    /* Standardized to 12px */

    /* Depth over Borders */
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 4px 25px rgba(197, 176, 151, 0.1);
    --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    /* Apple-like easing */
    --max-width: 1140px;
    /* Slightly tighter for text readability */
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
    /* Improved readability scale */
    letter-spacing: -0.01em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

/* --- Background Effects --- */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(212, 168, 83, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(212, 168, 83, 0.03) 0%, transparent 50%),
        var(--bg-primary);
    pointer-events: none;
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
/* --- Typography (Big Type) --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.1;
    /* Tighter for big headlines */
    color: var(--text-white);
    letter-spacing: -0.02em;
    /* Apple-style tight tracking */
}

.section-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    /* Tracked out */
    color: var(--text-secondary);
    /* Grey, not gold, for subtlety */
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.section-label::before,
.section-label::after {
    display: none;
    /* Remove decorative stars for cleanliness */
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    /* Massive */
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.section-title span {
    background: linear-gradient(to bottom, #fff, #999);
    /* Metallic silver gradient */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 17px;
    /* Refined scale */
    color: var(--text-secondary);
    max-width: 720px;
    line-height: 1.5;
    font-weight: 400;
}

.text-gold {
    color: var(--gold);
}

.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* --- Top Bar --- */
.top-bar {
    background: #000;
    border-bottom: 1px solid var(--border-subtle);
    padding: 10px 0;
    font-size: 13px;
    color: var(--text-muted);
    position: relative;
    z-index: 201;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-info {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.top-info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-info i {
    color: var(--gold);
    font-size: 12px;
}

.top-social {
    display: flex;
    gap: 12px;
}

.top-social a {
    color: var(--text-muted);
    font-size: 14px;
    transition: var(--transition);
}

.top-social a:hover {
    color: var(--gold);
    transform: translateY(-1px);
}

/* --- Navbar --- */
.navbar {
    background: rgba(10, 10, 15, 0.75);
    /* Richer, slightly darker base */
    backdrop-filter: blur(24px) saturate(200%);
    /* Stronger glass effect */
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border-bottom: 1px solid rgba(197, 176, 151, 0.25);
    /* Subtle gold hairline */
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    border-bottom: 1px solid rgba(197, 176, 151, 0.4);
    padding: 6px 0;
    /* Tighter on scroll */
    box-shadow: 0 15px 40px -15px rgba(0, 0, 0, 0.5);
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.navbar-brand img {
    height: 42px;
    width: auto;
}

/* --- Clean Minimal Navbar --- */
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    /* Generous spacing */
}

.nav-link {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    /* Below navbar */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(20, 20, 20, 0.95);
    /* Darker, richer background */
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 10px;
    min-width: 280px;
    /* Increased width */
    width: max-content;
    /* Adjust to content */
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    /* Deep shadow */
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    font-size: 14px;
    white-space: nowrap;
    /* Prevent multiline */
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.08);
    /* White hover for contrast */
    color: var(--text-white);
}

.dropdown-menu i {
    color: var(--gold);
    font-size: 14px;
    opacity: 0.8;
}

/* CTA Button */
.btn-enquire {
    background: var(--gold-gradient);
    color: #000;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 24px;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-left: 12px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(197, 176, 151, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-enquire:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 176, 151, 0.4);
    filter: brightness(1.1);
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-subtle);
    color: var(--text-white);
    font-size: 18px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.menu-toggle:hover {
    border-color: var(--gold);
}

/* ============================
   ANNOUNCEMENT BAR
   ============================ */
.announcement-bar {
    background: linear-gradient(90deg, rgba(212, 168, 83, 0.06), rgba(10, 10, 15, 0.95), rgba(212, 168, 83, 0.06));
    border-bottom: 1px solid var(--border-subtle);
    padding: 10px 0;
    position: relative;
    z-index: 90;
    overflow: hidden;
}

.announcement-bar.hidden {
    display: none;
}

.announcement-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.announcement-live {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
    }

    50% {
        opacity: 0.7;
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }
}

.live-label {
    font-size: 10px;
    font-weight: 800;
    color: #ef4444;
    letter-spacing: 2px;
}

.announcement-ticker {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 20px;
}

.ticker-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.ticker-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.ticker-item.active {
    opacity: 1;
    transform: translateY(0);
}

.ticker-item strong {
    color: var(--gold);
    font-weight: 700;
}

.announcement-cta {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
    background: var(--gold-gradient);
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.announcement-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
    filter: brightness(1.1);
}

.announcement-cta i {
    font-size: 10px;
}

.announcement-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 14px;
    cursor: pointer;
    padding: 4px;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.announcement-close:hover {
    color: var(--text-white);
}

/* Dropdown icon styles */
.dropdown-menu i {
    margin-right: 8px;
    color: var(--gold);
}

/* ============================
   HERO SECTION — Split Layout
   ============================ */
.hero {
    position: relative;
    padding: 40px 0 60px;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

/* Ambient glow effects */
.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.08), transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.05), transparent 60%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 168, 83, 0.1);
    border: 1px solid var(--border-gold);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h1 .highlight {
    position: relative;
    display: inline-block;
    color: #ffffff;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.2) 100%);
    border-radius: 2px;
    z-index: -1;
}

.hero-desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--gold-gradient);
    color: #000;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-gold);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
}

/* Hero Image Area with Floating Badges */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 420px;
    height: 480px;
}

.hero-image-main {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 2px solid var(--border-gold);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    position: relative;
}

.hero-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Decorative ring behind image */
.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 1px solid rgba(212, 168, 83, 0.1);
    border-radius: 36px;
    pointer-events: none;
}

.hero-image-wrapper::after {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    right: -40px;
    bottom: -40px;
    border: 1px dashed rgba(212, 168, 83, 0.06);
    border-radius: 44px;
    pointer-events: none;
}

/* Floating Stat Badges */
.float-badge {
    position: absolute;
    background: rgba(13, 13, 20, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 10;
    animation: floatBadge 3s ease-in-out infinite;
}

.float-badge .badge-icon {
    width: 42px;
    height: 42px;
    background: var(--gold-glow);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 18px;
    flex-shrink: 0;
}

.float-badge .badge-text {
    line-height: 1.3;
}

.float-badge .badge-number {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-white);
    display: block;
}

.float-badge .badge-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Badge positions */
.float-badge-1 {
    top: 30px;
    right: -50px;
    animation-delay: 0s;
}

.float-badge-2 {
    bottom: 60px;
    left: -60px;
    animation-delay: 1s;
}

.float-badge-3 {
    bottom: -10px;
    right: 20px;
    animation-delay: 2s;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Decorative dots */
.hero-dots {
    position: absolute;
    width: 60px;
    height: 60px;
    background-image: radial-gradient(circle, var(--gold) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    opacity: 0.2;
    pointer-events: none;
}

.hero-dots-1 {
    top: -10px;
    left: -30px;
}

.hero-dots-2 {
    bottom: 40px;
    right: -30px;
}

/* Scroll Down Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 5;
}

.scroll-indicator span {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    opacity: 0.6;
}

.scroll-arrow {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 12px;
    animation: bounceArrow 2s ease-in-out infinite;
}

@keyframes bounceArrow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

/* ============================
   INFINITE MARQUEE BANNER
   ============================ */
.marquee-section {
    padding: 20px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 25s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
    padding-right: 0;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 24px;
    white-space: nowrap;
}

.marquee-item span {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
}

.marquee-item .marquee-star {
    color: var(--gold);
    font-size: 14px;
    opacity: 0.8;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ============================
   TRUST / STATS BAR
   ============================ */
.trust-bar {
    padding: 30px 0;
    background: transparent;
    border-bottom: 1px solid var(--border-subtle);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trust-item {
    text-align: center;
    padding: 24px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.trust-item:hover {
    border-color: var(--border-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.bento-icon {
    font-size: 28px;
    margin-bottom: 16px;
}

/* Colorful Icons for Bento */
.bento-card:nth-child(1) .bento-icon {
    color: #f59e0b;
}

/* Gold/Orange */
.bento-card:nth-child(2) .bento-icon {
    color: #3b82f6;
}

/* Blue */
.bento-card:nth-child(3) .bento-icon {
    color: #10b981;
}

/* Green */
.bento-card:nth-child(4) .bento-icon {
    color: #8b5cf6;
}

/* Purple */
.bento-card:nth-child(5) .bento-icon {
    color: #ec4899;
}

/* Pink */
.bento-card:nth-child(6) .bento-icon {
    color: #3b82f6;
}

/* Blue alternate */
.bento-card:nth-child(7) .bento-icon {
    color: #f43f5e;
}

/* Rose */

.trust-icon {
    font-size: 28px;
    color: var(--gold);
    margin-bottom: 12px;
}

.trust-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
}

.trust-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================
   TRUSTED BY BRANDS STRIP
   ============================ */
.brands-strip {
    padding: 40px 0;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
}

.brands-label {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.brands-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.brand-item {
    font-size: 18px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.32);
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: var(--transition);
    cursor: default;
    user-select: none;
}

.brand-item:hover {
    color: rgba(212, 168, 83, 0.65);
}

/* ============================
   SECTIONS — GENERAL
   ============================ */
.section {
    padding: 50px 0;
    position: relative;
}

.section-alt {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* ============================
   FEATURE / WHY CARDS
   ============================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold-gradient);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gold-glow);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 24px;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--gold);
    color: #000;
}

.feature-card h3 {
    font-size: 17px;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* ============================
   COURSE CARDS — Enhanced
   ============================ */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.course-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.course-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.course-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.course-card:hover .course-card-img img {
    transform: scale(1.08);
}

.course-card-img .badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--gold-gradient);
    color: #000;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-card-img .price-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 800;
}

.course-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-card-body h3 {
    font-size: 19px;
    margin-bottom: 4px;
}

/* Course Star Ratings */
.course-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.rating-stars {
    display: flex;
    gap: 2px;
    color: var(--gold);
    font-size: 12px;
}

.rating-score {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-white);
}

.rating-count {
    font-size: 12px;
    color: var(--text-muted);
}

.course-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.course-meta span {
    font-size: 12px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.course-meta i {
    color: var(--gold);
    font-size: 11px;
}

.course-card-body>p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 18px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-highlights {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.course-highlights li {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.course-highlights li i {
    color: var(--gold);
    font-size: 10px;
}

.btn-course {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    width: 100%;
    background: transparent;
    cursor: pointer;
}

.btn-course:hover {
    background: var(--gold-gradient);
    color: #000;
    border-color: transparent;
}

/* ============================
   MENTOR SECTION
   ============================ */
.mentors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.mentor-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.mentor-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.mentor-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 18px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mentor-avatar::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--gold-gradient);
    z-index: 0;
}

.mentor-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    border: 3px solid var(--bg-card);
}

.mentor-card h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.mentor-card .mentor-role {
    font-size: 12px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.mentor-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================
   AWARDS / CREDIBILITY
   ============================ */
.awards-timeline {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.award-item {
    text-align: center;
    max-width: 160px;
}

.award-year {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.award-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 12px;
    background: var(--gold-glow);
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--gold);
    transition: var(--transition);
}

.award-item:hover .award-icon {
    background: var(--gold);
    color: #000;
    box-shadow: var(--shadow-hover);
}

.award-label {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Awards Photo */
.awards-photo {
    text-align: center;
    margin-top: 50px;
}

.awards-photo img {
    max-width: 700px;
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
}

/* ============================
   TESTIMONIALS
   ============================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    background: var(--gold-gradient);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.testimonial-card:hover {
    border-color: transparent;
    transform: translateY(-3px);
}

.testimonial-card:hover::after {
    opacity: 1;
}

.testimonial-stars {
    color: var(--gold);
    font-size: 13px;
    margin-bottom: 14px;
    display: flex;
    gap: 3px;
}

.testimonial-card .quote-icon {
    font-size: 28px;
    color: var(--gold);
    opacity: 0.25;
    margin-bottom: 12px;
}

.testimonial-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-gold);
}

.testimonial-author-info h4 {
    font-size: 15px;
    margin-bottom: 2px;
}

.testimonial-author-info span {
    font-size: 12px;
    color: var(--text-muted);
}

/* ============================
   HOW IT WORKS / PROCESS
   ============================ */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 12.5%;
    width: 75%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold), transparent);
    opacity: 0.15;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-num {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    background: var(--bg-card);
    border: 2px solid var(--border-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: var(--gold);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.process-step:hover .process-num {
    background: var(--gold);
    color: #000;
}

.process-step h4 {
    font-size: 16px;
    margin-bottom: 6px;
}

.process-step p {
    font-size: 13px;
    color: var(--text-muted);
}

/* --- Bento Grid Layout (Apple Style) --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 20px;
}

.bento-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.bento-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
    background: var(--bg-card-hover);
    z-index: 10;
}

/* Grid Spans */
.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 2;
}

.bento-tall {
    grid-row: span 2;
}

/* Content Styling */
.bento-content {
    position: relative;
    z-index: 2;
}

.bento-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: block;
    font-weight: 600;
}

.bento-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    line-height: 1.1;
    color: var(--text-white);
}

.bento-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 90%;
}

/* Icons */
.bento-bg-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 60px;
    color: var(--gold);
    opacity: 0.05;
    transition: var(--transition);
}

.bento-card:hover .bento-bg-icon {
    opacity: 0.1;
    transform: scale(1.1) rotate(-5deg);
}

/* Special styling for Large Card */
.bento-large {
    background: linear-gradient(to bottom, rgba(5, 5, 8, 0.2) 0%, rgba(5, 5, 8, 0.95) 90%), url('../images/nja-2023.jpg');
    background-size: cover;
    background-position: center;
}

.bento-large h3 {
    font-size: 32px;
    margin-bottom: 16px;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bento-large {
        grid-column: span 2;
        aspect-ratio: 16/9;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .bento-card {
        min-height: 280px;
        padding: 30px;
    }

    .bento-large {
        aspect-ratio: auto;
        min-height: 360px;
    }

    .bento-large h3 {
        font-size: 28px;
    }
}

/* ============================
   CTA / ENQUIRY SECTION
   ============================ */
.cta-section {
    padding: 100px 0;
    background:
        linear-gradient(135deg, rgba(212, 168, 83, 0.05), transparent 50%),
        var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.cta-content h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    margin-bottom: 16px;
}

.cta-content h2 span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-content>p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.7;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cta-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.cta-features li i {
    color: var(--gold);
    font-size: 14px;
}

/* --- Form Styles --- */
.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px;
    position: relative;
    overflow: hidden;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
}

.form-card h3 {
    font-size: 22px;
    margin-bottom: 6px;
}

.form-card .form-subtitle {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    background: rgba(212, 168, 83, 0.03);
    box-shadow: 0 0 0 3px var(--gold-glow);
}

.form-group select {
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 90px;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.btn-submit {
    width: 100%;
    background: var(--gold-gradient);
    color: #000;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.form-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    padding: 12px;
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: var(--radius-sm);
    color: #25D366;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.form-whatsapp:hover {
    background: rgba(37, 211, 102, 0.08);
}

/* ============================
   FOOTER
   ============================ */
.footer {
    background: #000;
    border-top: 1px solid var(--border-subtle);
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-white);
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-contact-item i {
    color: var(--gold);
    margin-top: 3px;
    font-size: 14px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 15px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    font-size: 13px;
}

.footer-bottom a {
    color: var(--gold);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ============================
   WHATSAPP FLOATING BUTTON
   ============================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* ============================
   ACCESSIBILITY
   ============================ */
@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
    }

    .float-badge {
        animation: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================
   SCROLL REVEAL ANIMATION
   ============================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grids */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
    .nav-sub {
        display: none;
    }

    .nav-link-icon {
        padding: 8px 12px;
        gap: 8px;
    }

    .brands-grid {
        gap: 24px;
    }

    .brand-item {
        font-size: 14px;
        letter-spacing: 2px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

    .hero-image-wrapper {
        width: 340px;
        height: 380px;
        margin: 0 auto;
    }

    .float-badge-1 {
        right: -30px;
    }

    .float-badge-2 {
        left: -30px;
    }

    .features-grid,
    .courses-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mentors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid::before {
        display: none;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .top-bar-inner {
        justify-content: space-between;
        padding: 0 4px;
    }

    .top-info {
        gap: 12px;
        font-size: 11px;
    }

    .top-info span:nth-child(3) {
        display: none;
        /* Hide location on mobile */
    }

    .top-social {
        gap: 12px;
    }

    .top-social a {
        font-size: 14px;
        padding: 4px;
    }

    /* Mobile Menu Drawer */
    .menu-toggle {
        display: block;
        z-index: 202;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border-subtle);
        padding: 0;
        gap: 0;

        /* Hidden state */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 40px 60px rgba(0, 0, 0, 0.6);
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-link {
        width: 100%;
        padding: 16px 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
        font-size: 16px;
        color: var(--text-primary);
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.03);
        padding-left: 30px;
    }

    /* Mobile Dropdown */
    .nav-dropdown {
        width: 100%;
        display: block;
        height: auto;
    }

    .nav-dropdown .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-dropdown .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(0, 0, 0, 0.2);
        padding: 0;
        display: none;
        width: 100%;
    }

    .nav-dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 14px 32px;
        font-size: 15px;
        border-left: 2px solid transparent;
    }

    .btn-enquire {
        margin: 24px;
        width: calc(100% - 48px);
        justify-content: center;
        padding: 16px;
        background: var(--text-white);
        color: #000;
    }

    /* Announcement bar mobile */
    .announcement-cta {
        display: none;
    }

    .announcement-inner {
        gap: 10px;
    }

    .ticker-item {
        font-size: 12px;
    }

    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding-left: 16px;
        display: none;
    }

    .nav-dropdown.active .dropdown-menu {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 50px 0 40px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-desc {
        font-size: 15px;
    }

    .hero-image-wrapper {
        width: 280px;
        height: 320px;
    }

    .float-badge {
        padding: 10px 14px;
    }

    .float-badge .badge-number {
        font-size: 16px;
    }

    .float-badge .badge-icon {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .float-badge-1 {
        right: -10px;
        top: 10px;
    }

    .float-badge-2 {
        left: -10px;
    }

    .float-badge-3 {
        right: 10px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .trust-number {
        font-size: 26px;
    }

    .features-grid,
    .courses-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .mentors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .process-grid {
        grid-template-columns: 1fr 1fr;
    }

    .awards-timeline {
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section {
        padding: 60px 0;
    }

    .marquee-item span {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr;
    }

    .mentors-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 24px 18px;
    }

    .hero-image-wrapper {
        width: 240px;
        height: 280px;
    }

    .float-badge {
        display: none;
    }

    .hero-dots {
        display: none;
    }
}

/* ============================
   PREMIUM TEXTURE UPGRADES
   ============================ */

/* Subtle grain texture on all cards */
.course-card,
.testimonial-card,
.mentor-card,
.bento-card,
.trust-item,
.form-card {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

/* Spotlight glow on alternate sections */
.section-alt {
    background:
        radial-gradient(ellipse 70% 40% at 50% 0%, rgba(255, 255, 255, 0.025) 0%, transparent 100%),
        var(--bg-secondary);
}

/* Warmer gold for awards/stars (more visible on black) */
:root {
    --gold-warm: #C9A84C;
}

.trust-icon,
.award-icon i,
.rating-stars,
.testimonial-stars,
.course-highlights li i,
.course-meta i,
.dropdown-menu i,
.top-info i {
    color: var(--gold-warm);
}

/* Scroll progress bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.4) 100%);
    z-index: 9999;
    width: 0%;
    transition: width 0.1s linear;
    pointer-events: none;
}

/* Phase 2: Urgency & Trust */
.hero-urgency {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 20px;
}

.hero-urgency strong {
    color: var(--text-primary);
    font-weight: 700;
}

.urgency-dot {
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
    flex-shrink: 0;
    animation: livePulse 1.5s ease-in-out infinite;
}

.form-trust-note {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.form-trust-note i {
    color: var(--gold);
    font-size: 11px;
}

.form-trust-note strong {
    color: var(--text-secondary);
}

/* ============================
   STUDENT WORK GALLERY
   ============================ */
.gallery-section {
    padding: 80px 0 0;
    overflow: hidden;
}

.gallery-scroll-track {
    margin-top: 40px;
    overflow: hidden;
    position: relative;
}

.gallery-scroll-track::before,
.gallery-scroll-track::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.gallery-scroll-track::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-primary), transparent);
}

.gallery-scroll-track::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-primary), transparent);
}

.gallery-scroll-inner {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: galleryScroll 30s linear infinite;
    padding: 0 16px 40px;
}

.gallery-scroll-inner:hover {
    animation-play-state: paused;
}

.gallery-item {
    width: 280px;
    height: 320px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.gallery-item:hover {
    border-color: var(--border-gold);
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

@keyframes galleryScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ============================
   COMPARISON TABLE
   ============================ */
.compare-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.compare-table th,
.compare-table td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
}

.compare-table th:first-child,
.compare-table td:first-child {
    text-align: left;
    color: var(--text-secondary);
    font-weight: 500;
    width: 35%;
}

.compare-table thead th {
    background: var(--bg-card);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.compare-table .col-r3 {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-white);
    font-weight: 700;
}

.compare-table thead .col-r3 {
    color: var(--gold);
    background: rgba(197, 176, 151, 0.06);
    border-top: 2px solid var(--gold);
}

.compare-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.compare-table .fa-circle-check {
    color: #34c759;
    font-size: 18px;
}

.compare-table .fa-circle-xmark.no {
    color: rgba(255, 255, 255, 0.15);
    font-size: 18px;
}

.compare-table .price-cell {
    color: var(--gold);
    font-size: 16px;
    font-weight: 800;
}

.compare-table tbody tr:last-child td {
    border-bottom: none;
}

/* ============================
   PHASE 4: NEXT LEVEL INTERACTIONS
   ============================ */

/* Hero Video */
.hero-image-main.video-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.hero-image-main video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    mix-blend-mode: luminosity;
    /* Keeps B&W aesthetic */
    opacity: 0.9;
}

/* Magnetic Buttons */
.btn-magnetic {
    position: relative;
    transition: transform 0.1s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* Parallax Elements */
.float-badge {
    will-change: transform;
    /* Smooth transition for parallax reset */
    transition: transform 0.1s linear;
}

/* ============================
   PHASE 5: THE ROYAL TREATMENT
   ============================ */

/* 1. Typography Shift */
:root {
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

h1,
h2,
h3,
.section-title,
.hero-badge {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.hero-desc {
    font-family: var(--font-body);
    /* Ensure body remains clean */
}

/* 2. Metallic Gold Upgrade */
.text-gradient-gold,
.section-title span,
.hero h1 .highlight {
    background: linear-gradient(135deg, #FBF5E9 0%, #C5B097 40%, #8F7E6B 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;

    /* Fallback */
    /* Override clear highlight from Phase 1 */
    text-decoration: none;
}

/* ============================
   BORDER HARMONIZATION (USER REQUEST)
   ============================ */
/* Applying the "Explore Courses" Gold Style to all borders */
.course-card,
.testimonial-card,
.bento-card,
.form-card,
.mentor-card,
.feature-item,
.accordion-item,
.nav-dropdown .dropdown-menu {
    border: 1px solid var(--gold) !important;
    box-shadow: 0 4px 20px rgba(197, 176, 151, 0.05);
    /* Subtle matching glow */
}

/* Ensure hovered state glows brighter but keeps the gold border */
.course-card:hover,
.testimonial-card:hover,
.mentor-card:hover {
    box-shadow: 0 10px 30px rgba(197, 176, 151, 0.15);
    border-color: var(--gold-light) !important;
}

/* Input fields matching the gold theme */
input,
select,
textarea {
    border-color: var(--border-gold) !important;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 2px rgba(197, 176, 151, 0.2);
}

/* 3. Hero Adjustments */
.hero h1 {
    font-size: clamp(32px, 3.5vw, 32px);
    line-height: 1.2;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
        /* 25% reduction from ~42px */
    }
}

.hero h1 em {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 400;
}

/* 4. Sharp Borders (The "Frame" Factor) */
.course-card,
.testimonial-card,
.bento-card,
.form-card {
    border: 1px solid rgba(197, 176, 151, 0.25);
    /* Stronger gold frame */
    box-shadow: none;
    /* Flatten for elegance */
}

.course-card:hover,
.testimonial-card:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 40px -10px rgba(197, 176, 151, 0.15);
}

/* BORDER RADIUS STANDARDIZATION (User Request: "Every element 12px") */
.btn-primary,
.btn-outline,
.btn-enquire,
.announcement-cta,
.hero-badge,
.course-card,
.testimonial-card,
.bento-card,
.hero-image-main,
.form-card,
.mentor-card,
.nav-dropdown .dropdown-menu {
    border-radius: 12px !important;
}

/* ============================
   LIVE ASSISTANT WIDGET (Compact Version)
   ============================ */
.live-assistant-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    animation: slideUpFade 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.assistant-card {
    background: rgba(13, 13, 20, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--gold);
    border-radius: 12px;
    padding: 12px;
    width: 140px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Minimized State */
.live-assistant-widget.minimized .assistant-card {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
}

.live-assistant-widget.minimized .assistant-card>*:not(.assistant-avatar-large) {
    display: none;
}

.live-assistant-widget.minimized .assistant-avatar-large {
    width: 100%;
    height: 100%;
    margin-bottom: 0;
    border: none;
}

.assistant-avatar-large {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 1.5px solid var(--gold);
    margin-bottom: 8px;
    position: relative;
    transition: all 0.4s ease;
}

.assistant-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.assistant-card h4 {
    color: var(--text-white);
    font-size: 12px;
    /* Smaller text */
    margin-bottom: 10px;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.assistant-buttons {
    display: flex;
    gap: 6px;
    /* Tighter gap */
    width: 100%;
    margin-bottom: 8px;
}

.btn-chat-yes {
    flex: 1;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 8px;
    /* Smaller radius */
    padding: 6px 4px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
}

.btn-chat-yes i,
.btn-chat-no i {
    font-size: 10px;
}

.btn-chat-yes:hover {
    transform: translateY(-2px);
    background: #1ebc57;
}

.btn-chat-no {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 6px 4px;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.btn-chat-no:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: #ef4444;
}

.live-indicator {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.pulse-dot {
    width: 5px;
    height: 5px;
    background: #ef4444;
    border-radius: 50%;
    animation: livePulse 1.5s infinite;
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   COURSE PAGE SPECIFIC STYLES
   ============================================ */

/* --- Breadcrumb --- */
.breadcrumb-nav {
    padding: 12px 0;
    font-size: 13px;
    color: var(--text-muted);
}

.breadcrumb-nav .container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb-nav a {
    color: var(--text-muted);
    transition: var(--transition);
}

.breadcrumb-nav a:hover {
    color: var(--gold);
}

.breadcrumb-nav i {
    font-size: 10px;
    opacity: 0.5;
}

.breadcrumb-nav span.current {
    color: var(--gold);
    font-weight: 500;
}

/* --- cinematic Course Hero --- */
.course-hero {
    position: relative;
    padding: 80px 0;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.course-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 10, 15, 0.4) 0%, rgba(10, 10, 15, 0.95) 100%);
    z-index: 1;
}

.course-hero .container {
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.course-hero-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.course-hero .hero-badge {
    margin-bottom: 20px;
}

.course-hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 24px;
}

.course-hero p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    /* FIXED: Added center alignment */
    flex-wrap: wrap;
}

/* --- Quick Facts Bar --- */
.quick-facts {
    margin-top: -40px;
    position: relative;
    z-index: 5;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(20, 20, 25, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.fact-item {
    padding: 24px;
    text-align: center;
    border-right: 1px solid var(--border-subtle);
}

.fact-item:last-child {
    border-right: none;
}

.fact-icon {
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 12px;
}

.fact-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 4px;
}

.fact-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fact-item:nth-child(2) {
        border-right: none;
    }

    .fact-item {
        border-bottom: 1px solid var(--border-subtle);
    }

    .fact-item:nth-child(3),
    .fact-item:nth-child(4) {
        border-bottom: none;
    }
}

/* --- Persona Cards --- */
.persona-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.persona-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 30px;
    transition: var(--transition);
}

.persona-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.persona-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 168, 83, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--gold);
    margin-bottom: 20px;
}

.persona-card h4 {
    margin-bottom: 12px;
    font-size: 18px;
}

.persona-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Curriculum Accordion --- */
.curriculum-accordion {
    max-width: 900px;
    margin: 40px auto 0;
}

.curriculum-module {
    margin-bottom: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.curriculum-summary {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}

.curriculum-summary:hover {
    background: rgba(255, 255, 255, 0.02);
}

.module-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.module-num {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
    width: 40px;
    height: 40px;
    background: rgba(212, 168, 83, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-title {
    font-size: 18px;
    font-weight: 600;
}

.module-chevron {
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

details[open] .module-chevron {
    transform: rotate(180deg);
}

.curriculum-content {
    padding: 0 30px 24px 90px;
}

.curriculum-content ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.curriculum-content li {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.curriculum-content li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--gold);
    font-size: 10px;
}

@media (max-width: 768px) {
    .curriculum-content {
        padding: 0 20px 20px;
    }
}

/* --- FAQ Cleanup --- */
.faq-grid {
    max-width: 800px;
    margin: 40px auto 0;
}

/* General FAQ Styles to replace inline styles */
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-summary {
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    color: var(--text-white);
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-content {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* --- Trust Strip --- */
.trust-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    opacity: 0.7;
    margin-top: 30px;
}

.trust-badge {
    height: 40px;
    filter: grayscale(1) brightness(2);
    transition: var(--transition);
}

.trust-badge:hover {
    filter: none;
    opacity: 1;
}
/* --- Bento Icon Fix --- */
.bento-icon {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--gold);
    background: rgba(212, 168, 83, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

/* ============================================
   GALLERY PAGE SPECIFIC STYLES
   ============================================ */

.gallery-hero {
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.gallery-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(197, 176, 151, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 40px 0 60px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--gold);
    color: var(--text-white);
    background: rgba(197, 176, 151, 0.05);
}

.filter-btn.active {
    background: var(--gold-gradient);
    color: #000;
    border-color: transparent;
    box-shadow: var(--shadow-gold);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    border-color: var(--gold-glow);
    box-shadow: var(--shadow-hover);
}

.portfolio-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-category {
    font-size: 11px;
    font-weight: 800;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.portfolio-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 4px;
}

.portfolio-author {
    font-size: 13px;
    color: var(--text-muted);
}

.portfolio-details {
    margin-top: 15px;
    display: flex;
    gap: 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.1s;
}

.portfolio-item:hover .portfolio-details {
    opacity: 1;
    transform: translateY(0);
}

.detail-pill {
    font-size: 11px;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
    color: var(--text-secondary);
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    max-width: 95%;
    max-height: 95%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-gold);
    transition: opacity 0.3s ease;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2100;
}

.lightbox-nav-btn:hover {
    background: var(--gold-gradient);
    color: #000;
}

.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }

@media (max-width: 1024px) {
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-nav-btn { background: rgba(0,0,0,0.5); }
}

.lightbox-caption {
    margin-top: 20px;
    text-align: center;
    color: var(--text-white);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: var(--text-white);
    font-size: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--gold);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Portfolio Masonry Effect (Optional refinement) */
@media (min-width: 992px) {
    .gallery-grid {
        display: block;
        columns: 3;
        column-gap: 30px;
    }
    .portfolio-item {
        display: inline-block;
        width: 100%;
        margin-bottom: 30px;
    }
}