/* =====================================================
   YAAMI MUSIC - Main Stylesheet
   Musical Dark Elegance Theme
   ===================================================== */

/* ---------- CSS Variables ---------- */
:root {
    --bg-primary: #050505;
    --bg-secondary: #0a0a0a;
    --bg-card: #111111;
    --bg-card-hover: #1a1a1a;
    --gold: #c9a84c;
    --gold-light: #e8cf7a;
    --gold-dark: #9a7a2e;
    --accent: #8b5cf6;
    --accent-light: #a78bfa;
    --text-primary: #f0ece2;
    --text-secondary: #b0a890;
    --text-muted: #6b6355;
    --border: #1e1e1e;
    --border-gold: rgba(201,168,76,0.2);
    --white: #ffffff;
    --danger: #ef4444;
    --success: #22c55e;
    --shadow-gold: 0 0 30px rgba(201,168,76,0.15);
    --shadow-dark: 0 10px 40px rgba(0,0,0,0.5);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Poppins', 'Segoe UI', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165,0.84,0.44,1);
    --radius: 12px;
    --radius-sm: 8px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 2rem); }

p { margin-bottom: 1rem; color: var(--text-secondary); }

::selection { background: var(--gold); color: var(--bg-primary); }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ---------- Container ---------- */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* =====================================================
   HEADER & CREATIVE NAVIGATION
   ===================================================== */

/* Floating top bar - minimal */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
    background: transparent;
}

.site-header.scrolled {
    background: rgba(5,5,5,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-gold);
    padding: 0.6rem 2rem;
}

.header-logo img {
    height: 110px;
    width: auto;
    transition: var(--transition);
}

.site-header.scrolled .header-logo img {
    height: 70px;
}

/* ---- Melody Trigger (Menu Button) ---- */
.melody-trigger {
    position: relative;
    width: 60px;
    height: 60px;
    background: transparent;
    border: 2px solid var(--gold);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 1002;
}

.melody-trigger:hover {
    background: rgba(201,168,76,0.1);
    box-shadow: 0 0 25px rgba(201,168,76,0.3);
    transform: scale(1.05);
}

.melody-trigger.active {
    border-color: var(--gold-light);
    background: rgba(201,168,76,0.15);
}

/* Animated music bars inside trigger */
.trigger-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 22px;
}

.trigger-bars span {
    display: block;
    width: 3px;
    background: var(--gold);
    border-radius: 2px;
    transition: var(--transition);
}

.trigger-bars span:nth-child(1) { height: 8px; animation: barPulse 1.2s ease-in-out infinite; }
.trigger-bars span:nth-child(2) { height: 16px; animation: barPulse 1.2s ease-in-out 0.2s infinite; }
.trigger-bars span:nth-child(3) { height: 22px; animation: barPulse 1.2s ease-in-out 0.4s infinite; }
.trigger-bars span:nth-child(4) { height: 12px; animation: barPulse 1.2s ease-in-out 0.6s infinite; }
.trigger-bars span:nth-child(5) { height: 18px; animation: barPulse 1.2s ease-in-out 0.3s infinite; }

.melody-trigger.active .trigger-bars span {
    height: 3px !important;
    animation: none;
}

@keyframes barPulse {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.4); }
}

/* ---- Full-Screen Immersive Menu Overlay ---- */
.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: radial-gradient(ellipse at center, #0d0d0d 0%, #050505 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Musical staff lines in background */
.menu-staff-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.menu-staff-lines .staff-line {
    position: absolute;
    left: -5%;
    width: 110%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.06) 20%, rgba(201,168,76,0.1) 50%, rgba(201,168,76,0.06) 80%, transparent);
}

.menu-staff-lines .staff-line:nth-child(1) { top: 20%; }
.menu-staff-lines .staff-line:nth-child(2) { top: 35%; }
.menu-staff-lines .staff-line:nth-child(3) { top: 50%; }
.menu-staff-lines .staff-line:nth-child(4) { top: 65%; }
.menu-staff-lines .staff-line:nth-child(5) { top: 80%; }

/* The main menu container - arranged as a creative grid */
.menu-main {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* Each menu item as a musical "note" on the score */
.menu-item {
    position: relative;
    opacity: 0;
    transform: translateX(-60px) scale(0.8);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.menu-overlay.open .menu-item {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* Stagger animation delays */
.menu-overlay.open .menu-item:nth-child(1) { transition-delay: 0.1s; }
.menu-overlay.open .menu-item:nth-child(2) { transition-delay: 0.2s; }
.menu-overlay.open .menu-item:nth-child(3) { transition-delay: 0.3s; }
.menu-overlay.open .menu-item:nth-child(4) { transition-delay: 0.4s; }
.menu-overlay.open .menu-item:nth-child(5) { transition-delay: 0.5s; }
.menu-overlay.open .menu-item:nth-child(6) { transition-delay: 0.6s; }
.menu-overlay.open .menu-item:nth-child(7) { transition-delay: 0.7s; }

/* Musical note link styling */
.menu-note {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 3rem;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.menu-note::before {
    content: '♪';
    font-size: 0.6em;
    color: var(--gold-dark);
    opacity: 0;
    transform: translateX(-20px) rotate(-30deg);
    transition: var(--transition);
}

.menu-note:hover::before,
.menu-note.active::before {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
    color: var(--gold);
}

.menu-note:hover,
.menu-note.active {
    color: var(--gold);
    padding-left: 4.5rem;
}

.menu-note::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 3rem;
    right: 3rem;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.menu-note:hover::after,
.menu-note.active::after {
    transform: scaleX(1);
}

/* Sub-menu dropdown inside overlay */
.menu-item .sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding-left: 4rem;
}

.menu-item.expanded .sub-menu {
    max-height: 300px;
}

.sub-menu a {
    display: block;
    padding: 0.5rem 2rem;
    font-size: 1rem;
    color: var(--text-muted);
    font-family: var(--font-body);
    text-transform: none;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

.sub-menu a::before {
    content: '♩';
    margin-right: 0.8rem;
    color: var(--gold-dark);
    font-size: 0.9em;
    transition: var(--transition);
}

.sub-menu a:hover {
    color: var(--gold-light);
    padding-left: 2.5rem;
}

.sub-menu a:hover::before {
    color: var(--gold);
}

/* Toggle arrow for items with sub-menus */
.menu-toggle-arrow {
    font-size: 0.5em;
    transition: transform 0.3s ease;
    color: var(--gold-dark);
}

.menu-item.expanded .menu-toggle-arrow {
    transform: rotate(180deg);
    color: var(--gold);
}

/* Floating notes decoration in menu */
.menu-floating-notes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.menu-floating-notes span {
    position: absolute;
    font-size: 2rem;
    color: rgba(201,168,76,0.05);
    animation: menuNoteFloat 8s infinite ease-in-out;
}

.menu-floating-notes span:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; }
.menu-floating-notes span:nth-child(2) { top: 20%; right: 10%; animation-delay: 1.5s; font-size: 3rem; }
.menu-floating-notes span:nth-child(3) { bottom: 15%; left: 15%; animation-delay: 3s; }
.menu-floating-notes span:nth-child(4) { bottom: 30%; right: 5%; animation-delay: 2s; font-size: 2.5rem; }
.menu-floating-notes span:nth-child(5) { top: 50%; left: 3%; animation-delay: 4s; }

@keyframes menuNoteFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.05; }
    50% { transform: translateY(-20px) rotate(15deg); opacity: 0.12; }
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 120px;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-canvas canvas {
    width: 100%;
    height: 100%;
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(5,5,5,0.3) 0%, rgba(5,5,5,0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--border-gold);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    background: rgba(201,168,76,0.05);
    animation: fadeInDown 1s ease 0.3s both;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInUp 1s ease 0.5s both;
}

.hero-title .gold { color: var(--gold); }
.hero-title .light { font-weight: 300; color: var(--text-secondary); }

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.7s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.9s both;
}

/* Sound Wave Divider */
.sound-wave-divider {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    height: 40px;
    margin: 3rem auto;
    opacity: 0.3;
}

.sound-wave-divider span {
    display: block;
    width: 3px;
    background: var(--gold);
    border-radius: 3px;
    animation: waveBar 1.5s ease-in-out infinite;
}

.sound-wave-divider span:nth-child(1) { height: 10px; animation-delay: 0s; }
.sound-wave-divider span:nth-child(2) { height: 20px; animation-delay: 0.1s; }
.sound-wave-divider span:nth-child(3) { height: 35px; animation-delay: 0.2s; }
.sound-wave-divider span:nth-child(4) { height: 25px; animation-delay: 0.3s; }
.sound-wave-divider span:nth-child(5) { height: 40px; animation-delay: 0.15s; }
.sound-wave-divider span:nth-child(6) { height: 20px; animation-delay: 0.25s; }
.sound-wave-divider span:nth-child(7) { height: 30px; animation-delay: 0.35s; }
.sound-wave-divider span:nth-child(8) { height: 15px; animation-delay: 0.1s; }
.sound-wave-divider span:nth-child(9) { height: 25px; animation-delay: 0.2s; }

@keyframes waveBar {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.3); }
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--bg-primary);
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(201,168,76,0.4);
    transform: translateY(-2px);
    color: var(--bg-primary);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
}

.btn-outline:hover {
    background: rgba(201,168,76,0.1);
    box-shadow: 0 0 25px rgba(201,168,76,0.2);
    transform: translateY(-2px);
    color: var(--gold-light);
}

.btn-sm {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
}

/* Ripple on click */
.btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: scale(0);
    animation: rippleAnim 0.6s linear;
    pointer-events: none;
}

@keyframes rippleAnim {
    to { transform: scale(4); opacity: 0; }
}

/* =====================================================
   SECTIONS
   ===================================================== */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-dark { background: var(--bg-secondary); }

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 500;
}

.section-label::before,
.section-label::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--gold-dark);
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/5;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    z-index: 1;
    pointer-events: none;
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--bg-card) 0%, #1a1510 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--gold-dark);
    opacity: 0.5;
}

.about-text h2 { margin-bottom: 1.5rem; }

.about-text .highlight {
    color: var(--gold);
    font-weight: 600;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--gold);
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.3rem;
}

/* =====================================================
   SERVICE CARDS
   ===================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transition: width 0.5s ease;
}

.service-card:hover::before {
    width: 100%;
}

.service-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-8px);
    box-shadow: var(--shadow-gold);
    background: var(--bg-card-hover);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(-5deg);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.service-link .arrow {
    transition: transform 0.3s ease;
}

.service-card:hover .service-link .arrow {
    transform: translateX(5px);
}

/* Class mode badges */
.class-mode-badges {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}

.mode-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.mode-badge-online {
    background: rgba(37,211,102,0.12);
    color: #25d366;
    border: 1px solid rgba(37,211,102,0.25);
}

.mode-badge-inperson {
    background: rgba(201,168,76,0.12);
    color: var(--gold);
    border: 1px solid rgba(201,168,76,0.25);
}

/* Page-level class mode banner */
.class-mode-banner {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.class-mode-banner .mode-badge {
    font-size: 0.8rem;
    padding: 0.35rem 1rem;
}

/* =====================================================
   VIDEO SECTION
   ===================================================== */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.video-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.video-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    background: #111;
    cursor: pointer;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65px;
    height: 65px;
    background: rgba(201,168,76,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.video-play-btn::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent var(--bg-primary);
    margin-left: 3px;
}

.video-card:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 40px rgba(201,168,76,0.5);
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.video-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* Video Modal */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    width: 90%;
    max-width: 900px;
    aspect-ratio: 16/9;
    position: relative;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.video-modal-close:hover { color: var(--gold); }

.video-modal iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius-sm);
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials-track {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0 2rem;
    scrollbar-width: none;
}

.testimonials-track::-webkit-scrollbar { display: none; }

.testimonial-card {
    min-width: 350px;
    max-width: 400px;
    flex-shrink: 0;
    scroll-snap-align: start;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-gold);
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--gold-dark);
    line-height: 1;
    margin-bottom: 1rem;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--bg-primary);
    font-size: 1rem;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.testimonial-stars {
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-top: 0.2rem;
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
    background: linear-gradient(135deg, #0f0d08 0%, #1a1510 50%, #0f0d08 100%);
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
    text-align: center;
    padding: 5rem 0;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    max-width: 500px;
    margin: 0 auto 2rem;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand img {
    height: 80px;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
}

.footer-links {
    list-style: none;
}

.footer-links li { margin-bottom: 0.7rem; }

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-contact-icon {
    color: var(--gold);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201,168,76,0.1);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* =====================================================
   FORMS
   ===================================================== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c9a84c' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-message {
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.form-message.success {
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.3);
    color: var(--success);
}

.form-message.error {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.3);
    color: var(--danger);
}

/* =====================================================
   PAGE LAYOUT (Inner pages)
   ===================================================== */
.page-hero {
    padding: 10rem 0 4rem;
    text-align: center;
    position: relative;
    background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(transparent, var(--bg-primary));
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover { color: var(--gold); }

.breadcrumb .sep { color: var(--gold-dark); }

.page-content {
    padding: 4rem 0;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* Syllabus Table */
.syllabus-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.syllabus-table th,
.syllabus-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.syllabus-table th {
    background: var(--bg-card);
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 600;
}

.syllabus-table td {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.syllabus-table tr:hover td {
    background: rgba(201,168,76,0.03);
}

/* =====================================================
   ANIMATIONS - Reveal
   ===================================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* =====================================================
   WHATSAPP FLOAT
   ===================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 900;
    width: 55px;
    height: 55px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37,211,102,0.6);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

/* =====================================================
   UTILITY CLASSES
   ===================================================== */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.d-flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }

/* Loading spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top: 3px solid var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =====================================================
   CONTACT PAGE SPECIFICS
   ===================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: var(--transition);
    margin-bottom: 1.5rem;
}

.contact-info-card:hover {
    border-color: var(--border-gold);
}

.contact-info-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(201,168,76,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-top: 2rem;
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
    filter: grayscale(1) contrast(1.1) invert(0.95);
}
