/* 
  Siyaram Music School - Premium CSS Styling
  Theme: Luxury Acoustic Music Studio (Ivory, Gold/Brass Gradients, Rich Mahogany Wood, Deep Charcoal)
  Aesthetic upgrades: Serif Headers, Glassmorphism elements, custom shadows, and springy transitions.
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&display=swap');

:root {
  /* Colors */
  --bg-primary: #FFFDF9;       /* Warm Cream */
  --bg-secondary: #FFFFFF;     /* Pure White for cards */
  --bg-tertiary: #FFF6E8;      /* Soft Light Saffron Tint */
  
  --text-primary: #2B2118;     /* Warm Roast Coffee */
  --text-secondary: #736253;   /* Warm Earthy Slate */
  --text-light: #FFFDF9;       /* Contrast Light Text */
  
  --accent-wood: #D96B27;      /* Vibrant Saffron Orange */
  --accent-wood-hover: #B44D14; /* Deep Saffron/Burnt Orange */
  --accent-gold: #E5A93B;      /* Golden Yellow Accent */
  --accent-gold-light: #FCE8C4; /* Light Creamy Orange/Yellow */
  
  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #E5A93B 0%, #D96B27 100%);
  --gradient-gold-hover: linear-gradient(135deg, #F59E0B 0%, #B44D14 100%);
  --gradient-light: linear-gradient(135deg, #FFFDF9 0%, #FFF5E5 100%);
  --gradient-card-hover: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(217,107,39,0.02) 100%);
  
  --status-success: #2E7D32;   
  --status-success-bg: rgba(46, 125, 50, 0.08);
  --status-danger: #C62828;    
  --status-danger-bg: rgba(198, 40, 40, 0.08);
  
  --border-color: #F8EFE2;     /* Subtle warm border */
  --border-focus: #D96B27;
}  
  /* Spacing */
  --max-width: 1200px;
  --header-height: 80px;
  
  /* Shadows & Radius */
  --shadow-sm: 0 4px 12px rgba(122, 84, 53, 0.03);
  --shadow-md: 0 16px 32px rgba(122, 84, 53, 0.06);
  --shadow-lg: 0 28px 56px rgba(122, 84, 53, 0.12);
  --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.02);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Transitions (Springy) */
  --transition-fast: 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
  --transition-normal: 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  --transition-slow: 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-gold);
  border-radius: var(--radius-full);
  border: 3px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-wood);
}

/* --- Reset & Base Styles --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

.serif-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-style: italic;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Utility Classes --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* Section styling */
section {
  padding: 100px 0;
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

.section-tag {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent-wood);
  margin-bottom: 16px;
  display: inline-block;
  position: relative;
  padding-left: 30px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 2px;
  background-color: var(--accent-wood);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 60px auto;
  line-height: 1.6;
}

/* --- Header / Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(253, 251, 248, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(192, 164, 123, 0.15);
  z-index: 100;
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

header.scrolled {
  box-shadow: var(--shadow-sm);
  background-color: rgba(253, 251, 248, 0.95);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background-color: var(--bg-secondary);
  padding: 2px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(122, 84, 53, 0.08);
  transition: var(--transition-fast);
}

.logo:hover .logo-img {
  transform: rotate(-6deg) scale(1.08);
}

.logo span {
  font-weight: 400;
  color: var(--accent-wood);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 36px;
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-wood);
  background-color: var(--accent-wood);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
  will-change: transform;
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-150%) skewX(-25deg);
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.btn:hover::after {
  transform: translateX(450%) skewX(-25deg);
  opacity: 1;
}

/* Automatic luxurious shine sweep on primary buttons */
@keyframes btnShineSweep {
  0% { transform: translateX(-150%) skewX(-25deg); opacity: 0; }
  15% { opacity: 1; }
  35% { transform: translateX(450%) skewX(-25deg); opacity: 0; }
  100% { transform: translateX(450%) skewX(-25deg); opacity: 0; }
}

.btn-primary::after {
  animation: btnShineSweep 6s infinite ease-in-out;
  animation-delay: 2.5s;
}

.btn i {
  transition: transform var(--transition-fast);
}

.btn:hover i {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--text-light);
  box-shadow: 0 4px 14px rgba(122, 84, 53, 0.18);
}

.btn-primary:hover {
  background: var(--gradient-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(122, 84, 53, 0.28);
}

.btn-secondary {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid transparent;
}

.btn-secondary:hover {
  background-color: #EFE4D6;
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--accent-wood);
  color: var(--accent-wood);
  background-color: transparent;
}

.btn-outline:hover {
  background: var(--gradient-gold);
  color: var(--text-light);
  border-color: transparent;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

/* Hamburger mobile menu */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- Hero Section --- */
.hero {
  padding-top: calc(var(--header-height) + 40px);
  background: linear-gradient(180deg, #FFFDF9 0%, #FFF5E5 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Floating Particles (Notes) */
.floating-note {
  position: absolute;
  color: rgba(122, 84, 53, 0.035);
  font-size: 36px;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  will-change: transform;
}
.note-1 { top: 22%; left: 14%; animation: float-around 14s infinite alternate cubic-bezier(0.645, 0.045, 0.355, 1); }
.note-2 { top: 38%; right: 10%; animation: float-around 18s infinite alternate cubic-bezier(0.645, 0.045, 0.355, 1); animation-delay: 2s; }
.note-3 { bottom: 20%; left: 8%; animation: float-around 16s infinite alternate cubic-bezier(0.645, 0.045, 0.355, 1); animation-delay: 1s; }
.note-4 { bottom: 12%; right: 18%; animation: float-around 12s infinite alternate cubic-bezier(0.645, 0.045, 0.355, 1); animation-delay: 3s; }

@keyframes float-around {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(10deg); }
  100% { transform: translateY(-35px) rotate(20deg); }
}

/* Full-Width Starting Banner Styles */
.hero-banner-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(122, 84, 53, 0.08), 0 0 100px rgba(192, 164, 123, 0.04);
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  transition: var(--transition-slow);
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-slow);
}

.hero-banner-container:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(122, 84, 53, 0.16), 0 0 120px rgba(192, 164, 123, 0.08);
}

.hero-banner-container:hover .hero-banner-img {
  transform: scale(1.005);
}

/* --- Features Section --- */
.features {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.feature-card {
  padding: 40px 32px;
  background-color: var(--bg-primary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-gold);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-tertiary);
  color: var(--accent-wood);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 28px;
  transition: var(--transition-normal);
}

.feature-card:hover .feature-icon {
  background: var(--gradient-gold);
  color: var(--text-light);
  box-shadow: 0 6px 16px rgba(122, 84, 53, 0.25);
}

.feature-card h3 {
  font-size: 21px;
  margin-bottom: 14px;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

/* --- Divine Inspiration Banner --- */
.divine-banner {
  background: linear-gradient(135deg, #FFFDFB 0%, #F6F1EA 100%);
}

.divine-banner-img-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible; /* allow glowing aura rings to overflow container */
  border: 1px solid rgba(217, 107, 39, 0.15);
  transition: var(--transition-slow);
  background-color: transparent;
  box-shadow: 0 16px 32px rgba(217, 107, 39, 0.08);
}

.divine-banner-img-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  box-shadow: 0 16px 36px rgba(217, 107, 39, 0.18), 0 0 25px rgba(229, 169, 59, 0.15);
  opacity: 0.3;
  pointer-events: none;
  z-index: 1;
  animation: container-glow-opacity 4s infinite alternate ease-in-out;
  will-change: opacity;
}

@keyframes container-glow-opacity {
  0% { opacity: 0.3; }
  100% { opacity: 1; }
}

.divine-banner-img-container img {
  border-radius: var(--radius-lg);
  transition: var(--transition-slow);
  position: relative;
  z-index: 2;
}

.divine-banner-img-container:hover {
  transform: scale(1.02);
}

.divine-banner-img-container:hover img {
  transform: scale(1.01);
}

/* Base glowing background */
.divine-aura-glow {
  position: absolute;
  top: 5%;
  left: 5%;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 169, 59, 0.45) 0%, rgba(217, 107, 39, 0.15) 50%, rgba(0, 0, 0, 0) 70%);
  filter: blur(25px);
  z-index: 1;
  pointer-events: none;
  animation: divine-aura-breath 5s infinite alternate ease-in-out;
  will-change: transform, opacity;
}

/* Concentric halo rings */
.divine-aura-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(229, 169, 59, 0.25);
  pointer-events: none;
  z-index: 1;
  box-shadow: 0 0 15px rgba(229, 169, 59, 0.15);
}

.divine-aura-ring.ring-1 {
  width: 110%;
  height: 110%;
  border-color: rgba(229, 169, 59, 0.3);
  box-shadow: 0 0 20px rgba(229, 169, 59, 0.15);
  animation: divine-ring-expand-rotate 15s infinite linear;
  will-change: transform, opacity;
}

.divine-aura-ring.ring-2 {
  width: 120%;
  height: 120%;
  border: 1px dashed rgba(217, 107, 39, 0.2);
  box-shadow: 0 0 25px rgba(217, 107, 39, 0.15);
  animation: divine-ring-expand-rotate 25s infinite linear reverse;
  will-change: transform, opacity;
}

/* Floating Glass Badges */
.floating-glass-badge {
  position: absolute;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-wood);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  z-index: 3;
  animation: float-badge 6s infinite alternate ease-in-out;
  transition: var(--transition-fast);
}

.dark-theme .floating-glass-badge {
  background: rgba(24, 19, 14, 0.75);
  border-color: rgba(255, 255, 255, 0.06);
  color: var(--accent-wood);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.floating-glass-badge:hover {
  transform: scale(1.08) translateY(-4px);
  border-color: var(--accent-wood);
  box-shadow: 0 12px 28px rgba(217, 107, 39, 0.18);
}

.badge-top-right {
  top: 25px;
  right: -20px;
  animation-delay: 0s;
}

.badge-bottom-left {
  bottom: 25px;
  left: -20px;
  animation-delay: 3s;
}

@keyframes float-badge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

/* Animation keyframes */
@keyframes divine-aura-breath {
  0% {
    transform: scale(0.92);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.08);
    opacity: 0.95;
  }
}

@keyframes divine-ring-expand-rotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) scale(0.98);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) rotate(180deg) scale(1.02);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg) scale(0.98);
    opacity: 0.5;
  }
}

.divine-banner h3 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

.divine-banner p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* --- Testimonials Section (New Premium Addition) --- */
.testimonials-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  text-align: left;
}

.testimonial-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 44px 36px;
  border-radius: var(--radius-md);
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.testimonial-card::before {
  content: '“';
  position: absolute;
  top: 15px;
  left: 20px;
  font-family: 'Playfair Display', serif;
  font-size: 90px;
  line-height: 1;
  color: rgba(192, 164, 123, 0.08);
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
}

.testimonial-text {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 28px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(122, 84, 53, 0.16);
}

.testimonial-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-info span {
  font-size: 12px;
  color: var(--text-secondary);
  display: block;
  margin-top: 2px;
}

/* --- Classes Listing Section --- */
.classes-section {
  background-color: var(--bg-primary);
}

.controls-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 48px;
  background-color: var(--bg-secondary);
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.search-filter-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.search-box {
  flex: 1;
  min-width: 280px;
  display: flex;
  align-items: center;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  transition: var(--transition-fast);
}

.search-box:focus-within {
  border-color: var(--border-focus);
  background-color: var(--bg-secondary);
  box-shadow: 0 0 0 4px rgba(122, 84, 53, 0.12);
}

.search-box i {
  color: var(--text-secondary);
  margin-right: 12px;
}

.search-box input {
  width: 100%;
  background: none;
  border: none;
  font-size: 15px;
  color: var(--text-primary);
}

.filter-categories {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.category-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.category-btn:hover {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
}

.category-btn.active {
  background: var(--gradient-gold);
  color: var(--text-light);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(122, 84, 53, 0.18);
}

.sort-select {
  padding: 12px 18px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.sort-select:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px rgba(122, 84, 53, 0.12);
}

/* Classes Grid */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 36px;
}

.no-classes-found {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-color);
}

.no-classes-found i {
  font-size: 48px;
  color: var(--accent-gold);
  margin-bottom: 16px;
}

/* Class Card styling (Aesthetic overhaul) */
.class-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid rgba(122, 84, 53, 0.08);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
}

.class-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(192, 164, 123, 0.35);
  background: var(--gradient-card-hover);
}

.class-image-container {
  height: 230px;
  position: relative;
  overflow: hidden;
}

.class-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.class-card:hover .class-img {
  transform: scale(1.06);
}

/* Glassmorphism badges on card image */
.class-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--accent-wood);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: var(--shadow-sm);
}

.class-level-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
}

/* Translucent Level Badges */
.class-level-badge.beginner {
  background-color: rgba(76, 175, 80, 0.15);
  color: #2E7D32;
  border: 1px solid rgba(76, 175, 80, 0.3);
}
.class-level-badge.intermediate {
  background-color: rgba(255, 152, 0, 0.15);
  color: #E65100;
  border: 1px solid rgba(255, 152, 0, 0.3);
}
.class-level-badge.advanced {
  background-color: rgba(244, 67, 54, 0.15);
  color: #C62828;
  border: 1px solid rgba(244, 67, 54, 0.3);
}

.class-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.class-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.class-instructor {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.class-instructor i {
  color: var(--accent-wood);
}

.class-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 66px;
}

.class-meta {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 18px;
  margin-top: auto;
  margin-bottom: 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.class-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.class-meta-item i {
  color: var(--accent-gold);
}

.class-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.class-price {
  display: flex;
  flex-direction: column;
}

.class-price .price-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.class-price .price-amount {
  font-size: 21px;
  font-weight: 800;
  color: var(--accent-wood);
}

/* --- Manage Bookings Section --- */
.bookings-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.bookings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.no-bookings {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 24px;
  background-color: var(--bg-primary);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
}

.no-bookings i {
  font-size: 44px;
  color: var(--text-secondary);
  margin-bottom: 18px;
  opacity: 0.4;
}

.no-bookings p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Booking Card Styles */
.booking-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
}

.booking-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-gold);
}

.booking-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 14px;
}

.booking-class-name {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.booking-status {
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.booking-status.confirmed {
  background-color: var(--status-success-bg);
  color: var(--status-success);
  border: 1px solid rgba(46, 125, 50, 0.2);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Pulsing Status Dot */
.booking-status.confirmed::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--status-success);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 1.5s infinite ease-in-out;
  will-change: transform, opacity;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.3); }
}

.booking-details {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.booking-detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.booking-detail-item i {
  width: 18px;
  color: var(--accent-wood);
}

.booking-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.booking-id {
  font-size: 11px;
  color: var(--text-secondary);
  opacity: 0.5;
  letter-spacing: 0.5px;
}

/* --- Post Class Dashboard (Admin) --- */
.admin-section {
  background-color: var(--bg-primary);
}

.admin-card {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

/* Form Styles */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 18px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--border-focus);
  background-color: var(--bg-secondary);
  box-shadow: 0 0 0 4px rgba(122, 84, 53, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 12px;
}

/* Cover Image selector thumbs */
.image-presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.preset-option {
  position: relative;
  cursor: pointer;
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 64px;
  border: 2px solid transparent;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.preset-option:hover {
  opacity: 0.95;
  transform: translateY(-2px);
}

.preset-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.preset-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preset-option.selected {
  border-color: var(--accent-wood);
  box-shadow: 0 0 0 4px rgba(122, 84, 53, 0.2);
}

/* --- Footer --- */
footer {
  background-color: #1F1D1B;
  color: #ECE7E1;
  padding: 80px 0 40px 0;
  border-top: 1px solid rgba(192, 164, 123, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  color: #FFFFFF;
  margin-bottom: 24px;
}

.footer-brand .logo-img {
  background-color: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}

.footer-brand p {
  color: #B1AAA5;
  font-size: 15px;
  margin-bottom: 28px;
  max-width: 380px;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ECE7E1;
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--gradient-gold);
  color: var(--text-light);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(122, 84, 53, 0.3);
}

.footer-links h3 {
  font-size: 18px;
  margin-bottom: 24px;
  color: #FFFFFF;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.footer-links h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-gold);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  color: #B1AAA5;
  font-size: 15px;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: #FFFFFF;
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: #B1AAA5;
}

/* --- Booking Modal --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(31, 29, 27, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 92%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(40px) scale(0.96);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 28px 28px 20px 28px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 24px;
  font-weight: 700;
}

.modal-close {
  font-size: 24px;
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-primary);
  transform: scale(1.15) rotate(90deg);
}

.modal-body {
  padding: 28px;
}

.booking-summary-box {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.booking-summary-img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.booking-summary-details h4 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  margin-bottom: 4px;
}

.booking-summary-details p {
  font-size: 13.5px;
  color: var(--text-secondary);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Premium Floating Toast Notification */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: rgba(31, 29, 27, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 18px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(192, 164, 123, 0.3);
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  z-index: 300;
  transform: translateY(120px) scale(0.9);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity var(--transition-normal);
}

.toast.show {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.toast i {
  color: #C0A47B;
  font-size: 20px;
}

/* --- Multi-Page Subpage Wrapper --- */
.page-content-wrapper {
  padding-top: calc(var(--header-height) + 30px);
  min-height: calc(100vh - var(--header-height) - 300px);
}

/* --- Media Queries --- */
@media (max-width: 992px) {
  section {
    padding: 80px 0;
  }
  
  .section-title {
    font-size: 34px;
  }
  
  .divine-banner .container {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 24px !important;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-stats {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }
  
  .hero-image-wrapper {
    order: -1;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 30px;
  }
  
  .menu-toggle {
    display: block;
    z-index: 101;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-secondary);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform;
    z-index: 100;
  }
  
  .nav-menu.active {
    transform: translateX(0);
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .admin-card {
    padding: 28px;
  }
}

/* --- FAQ Accordion Custom Styling --- */
details.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: var(--bg-primary);
  padding: 24px;
  margin-bottom: 16px;
  transition: var(--transition-fast);
}
details.faq-item[open] {
  border-color: var(--accent-gold);
  background-color: var(--bg-secondary);
  box-shadow: var(--shadow-sm);
}
details.faq-item summary {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
details.faq-item summary::-webkit-details-marker {
  display: none;
}
details.faq-item summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 14px;
  color: var(--accent-wood);
  transition: transform var(--transition-fast);
}
details[open].faq-item summary::after {
  transform: rotate(180deg);
}
details.faq-item p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin-top: 14px;
  margin-bottom: 0;
}

/* ==========================================================================
   PREMIUM UI/UX UPGRADES (Ivory/Gold vs Midnight/Gold Redesign)
   ========================================================================== */

/* --- Core Transition for Smooth Theme Switch --- */
body, header, footer, section {
  transition: background-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
              border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
              color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.feature-card, .testimonial-card, .class-card, .booking-card, .admin-card, .soundboard-card, details.faq-item, .nav-link, .btn, input, select, textarea, .logo-img, .category-btn {
  transition: background-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
              border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
              color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
              box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
              transform var(--transition-normal);
}

/* --- Dark Theme Variable Overrides --- */
.dark-theme {
  --bg-primary: #100C08;       /* Deep Amber Charcoal */
  --bg-secondary: #18130E;     /* Dark Saffron Card Background */
  --bg-tertiary: #221A12;      /* Dark Orange Sand */
  
  --text-primary: #FDF9F5;     /* Warm Ivory Light Text */
  --text-secondary: #BAAFA4;   /* Earthy Warm Gray */
  
  --accent-wood: #FFB356;      /* Warm Saffron Accent */
  --accent-wood-hover: #FFC069;
  --accent-gold: #E5983B;      /* Orange Gold */
  --accent-gold-light: #221A12;
  
  --border-color: #2A2016;
  --border-focus: #FFB356;
  
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 16px 36px rgba(0, 0, 0, 0.65);
  --shadow-lg: 0 32px 64px rgba(0, 0, 0, 0.8);
  
  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #E5983B 0%, #B44D14 100%);
  --gradient-gold-hover: linear-gradient(135deg, #FFB356 0%, #D96B27 100%);
  --gradient-light: linear-gradient(135deg, #18130E 0%, #100C08 100%);
  --gradient-card-hover: linear-gradient(180deg, rgba(24, 19, 14, 0) 0%, rgba(255, 179, 86, 0.02) 100%);
}

.dark-theme header {
  background-color: rgba(12, 11, 10, 0.8);
  border-bottom-color: rgba(212, 189, 150, 0.1);
}
.dark-theme header.scrolled {
  background-color: rgba(12, 11, 10, 0.96);
}
.dark-theme footer {
  background-color: #060505;
  border-top-color: rgba(212, 189, 150, 0.05);
}
.dark-theme .hero {
  background: linear-gradient(180deg, #100C08 0%, #080604 100%);
}
.dark-theme .divine-banner {
  background: linear-gradient(135deg, #121110 0%, #1A1817 100%);
}
.dark-theme .preset-option.selected {
  border-color: var(--accent-wood);
  box-shadow: 0 0 0 4px rgba(212, 189, 150, 0.2);
}
.dark-theme .modal-overlay {
  background-color: rgba(6, 5, 5, 0.75);
}

/* --- Page Preloader --- */
#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), 
              visibility 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
              transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#page-loader.fade-out {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
}
.loader-spinner {
  width: 72px;
  height: 72px;
  border: 3.5px solid rgba(192, 164, 123, 0.12);
  border-top-color: var(--accent-wood);
  border-radius: 50%;
  animation: spinLoader 0.9s infinite linear;
  position: relative;
}
.loader-note {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 26px;
  color: var(--accent-wood);
  animation: pulseNote 1.4s infinite ease-in-out;
}
.loader-text {
  margin-top: 28px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 4px;
  color: var(--accent-wood);
  text-transform: uppercase;
}
@keyframes spinLoader {
  to { transform: rotate(360deg); }
}
@keyframes pulseNote {
  0%, 100% { transform: translate(-50%, -50%) scale(0.88); opacity: 0.75; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

/* --- Theme & Login Button Header Actions --- */
.header-action-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 16px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}
.header-action-btn:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-md);
  color: var(--accent-wood);
}
.theme-icon-sun { display: none; }
.dark-theme .theme-icon-sun { display: block; }
.dark-theme .theme-icon-moon { display: none; }

/* Dynamic Auth Button in Nav */
#nav-auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 700;
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}
#nav-auth-btn:hover {
  background-color: var(--bg-tertiary);
  border-color: var(--accent-gold);
}
.dark-theme #nav-auth-btn:hover {
  background-color: var(--bg-tertiary);
}

/* --- Upgraded Split-Column Hero Grid --- */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 48px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

#hero-particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.hero-tag {
  margin-bottom: 20px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--text-primary);
}
.gold-gradient-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}
.hero-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 580px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
  width: 100%;
  max-width: 580px;
}
.hero-stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-stat-item .stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--accent-wood);
  line-height: 1;
}
.hero-stat-item .stat-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-secondary);
}
.hero-buttons {
  display: flex;
  gap: 16px;
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* --- Soundboard Widget UI --- */
.soundboard-card {
  width: 100%;
  max-width: 390px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(192, 164, 123, 0.22);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 10;
}
.dark-theme .soundboard-card {
  background: rgba(22, 20, 19, 0.65);
  border-color: rgba(212, 189, 150, 0.15);
}
.soundboard-header {
  text-align: center;
  margin-bottom: 24px;
}
.soundboard-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.soundboard-header p {
  font-size: 12.5px;
  color: var(--text-secondary);
}
.soundboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.soundboard-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: radial-gradient(circle at center, var(--bg-secondary) 60%, rgba(229, 169, 59, 0.03) 100%);
  background-color: var(--bg-secondary);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

/* Brass Console indicator LED light */
.soundboard-btn::before {
  content: '';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: rgba(122, 84, 53, 0.15);
  transition: background-color 0.3s, box-shadow 0.3s;
}

.soundboard-btn:hover {
  transform: translateY(-3px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
}

.soundboard-btn.active {
  background: var(--gradient-gold);
  color: var(--text-light);
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(122, 84, 53, 0.22);
}

.soundboard-btn.active::before {
  background-color: #4CAF50; /* LED Green */
  box-shadow: 0 0 6px #4CAF50, 0 0 10px #4CAF50;
}
.dark-theme .soundboard-btn.active {
  box-shadow: 0 6px 18px rgba(212, 189, 150, 0.2);
}
.soundboard-btn.active .sb-icon,
.soundboard-btn.active .sb-label {
  color: var(--text-light);
}
.sb-icon {
  font-size: 26px;
  margin-bottom: 8px;
  transition: transform var(--transition-fast);
}
.soundboard-btn:hover .sb-icon {
  transform: scale(1.15);
}
.sb-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
}
.soundboard-btn.btn-stop {
  grid-column: span 2;
  background-color: rgba(198, 40, 40, 0.04);
  border-color: rgba(198, 40, 40, 0.15);
  color: var(--status-danger);
}
.soundboard-btn.btn-stop:hover:not(:disabled) {
  background: var(--status-danger);
  border-color: transparent;
  color: #FFFFFF;
}
.soundboard-btn.btn-stop:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Audio Visualizer Wave Canvas */
.visualizer-container {
  margin-top: 24px;
  height: 52px;
  background-color: var(--bg-primary);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}
#visualizer-canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.visualizer-overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  pointer-events: none;
  opacity: 0.65;
}

/* --- Upgraded Class Cards & Circular Preview Play Buttons --- */
.class-image-container {
  position: relative;
}
.class-play-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(192, 164, 123, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  color: var(--accent-wood);
  z-index: 10;
}
.dark-theme .class-play-btn {
  background: rgba(22, 20, 19, 0.9);
  border-color: rgba(212, 189, 150, 0.25);
  color: var(--accent-wood);
}
.class-play-btn:hover {
  transform: scale(1.15);
  background: var(--gradient-gold);
  color: var(--text-light);
  border-color: transparent;
  box-shadow: 0 0 0 6px rgba(229, 169, 59, 0.25);
}
.class-play-btn.playing {
  background: var(--status-success);
  color: #FFFFFF;
  border-color: transparent;
  position: relative;
}

.class-play-btn.playing::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--status-success);
  box-sizing: border-box;
  animation: pulseSuccessRing 1.5s infinite ease-in-out;
  will-change: transform, opacity;
  pointer-events: none;
}

@keyframes pulseSuccessRing {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* --- Premium Testimonials Carousel Slider --- */
.testimonials-section {
  position: relative;
  overflow: hidden;
}
.testimonial-slider-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.testimonial-slider {
  display: flex;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.testimonial-slide {
  flex: 0 0 100%;
  padding: 10px;
  box-sizing: border-box;
  opacity: 0.15;
  transform: scale(0.96);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}
.testimonial-slide.active {
  opacity: 1;
  transform: scale(1);
}
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}
.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.slider-arrow:hover {
  border-color: var(--accent-gold);
  background-color: var(--bg-tertiary);
  transform: scale(1.08);
}
.slider-dots {
  display: flex;
  gap: 8px;
}
.slider-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
}
.slider-dots .dot.active {
  background-color: var(--accent-wood);
  width: 22px;
  border-radius: var(--radius-full);
}

/* --- Interactive Luxury Login/Signup Split Page --- */
.login-page-body {
  overflow-x: hidden;
  background-color: var(--bg-primary);
}
.login-container {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 100vh;
  width: 100vw;
}
.login-hero {
  background: linear-gradient(135deg, rgba(122, 84, 53, 0.94) 0%, rgba(31, 29, 27, 0.96) 100%), url('siyaram_divine.png') no-repeat center center / cover;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 60px;
  color: #FFFFFF;
  position: relative;
}
.dark-theme .login-hero {
  background: linear-gradient(135deg, rgba(31, 29, 27, 0.95) 0%, rgba(12, 11, 10, 0.97) 100%), url('siyaram_divine.png') no-repeat center center / cover;
}
.login-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.1);
  z-index: 0;
}
.login-hero-logo {
  z-index: 2;
}
.login-hero-logo .logo {
  color: #FFFFFF;
}
.login-hero-logo .logo span {
  color: var(--accent-gold-light);
}
.login-hero-content {
  z-index: 2;
  margin-top: auto;
}
.login-hero-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  color: #FFFFFF;
  margin-bottom: 16px;
  line-height: 1.25;
}
.login-hero-content p {
  color: #ECE7E1;
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.85;
}
.login-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  background-color: var(--bg-primary);
  position: relative;
}
.login-form-card {
  width: 100%;
  max-width: 440px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-lg);
}
.login-form-card:hover {
  border-color: rgba(192, 164, 123, 0.35);
}
.login-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.login-header p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}
.role-selector {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}
.role-tab {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  color: var(--text-secondary);
}
.role-tab.active {
  background-color: rgba(122, 84, 53, 0.08);
  border-color: rgba(122, 84, 53, 0.15);
  color: var(--accent-wood);
}
.dark-theme .role-tab.active {
  background-color: rgba(212, 189, 150, 0.08);
  border-color: rgba(212, 189, 150, 0.15);
}
.login-nav-top {
  position: absolute;
  top: 30px;
  right: 30px;
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Form Helper Links */
.form-options-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  margin-top: 4px;
}
.forgot-password-link {
  color: var(--accent-wood);
  font-weight: 600;
}
.forgot-password-link:hover {
  text-decoration: underline;
}

/* --- Media Queries Updates --- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content {
    align-items: center;
    text-align: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .login-container {
    grid-template-columns: 1fr;
  }
  .login-hero {
    display: none;
  }
  .login-form-side {
    padding: 80px 24px;
  }
}
@media (max-width: 480px) {
  .hero-title {
    font-size: 38px;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }
  .login-form-card {
    padding: 28px;
  }
}

/* ==========================================================================
   GURU SaaS DASHBOARD PREMIUM UI STYLES (#0F0F11 Dark theme console)
   ========================================================================== */

.guru-dashboard-body {
  background-color: #0F0F11;
  color: #F4EFEA;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: 'Outfit', sans-serif;
}

.dashboard-container {
  display: flex;
  min-height: 100vh;
  width: 100vw;
  background-color: #0F0F11;
}

/* Sidebar navigation */
.dashboard-sidebar {
  width: 280px;
  background-color: #171514;
  border-right: 1px solid #23201E;
  display: flex;
  flex-direction: column;
  padding: 36px 24px;
  position: fixed;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 100;
  box-shadow: 6px 0 24px rgba(0, 0, 0, 0.3);
}

.sidebar-profile {
  text-align: center;
  padding-bottom: 28px;
  border-bottom: 1px solid #23201E;
  margin-bottom: 28px;
}

.sidebar-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--accent-wood);
  margin: 0 auto 16px auto;
  overflow: hidden;
  background-color: #1F1D1B;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-name {
  font-size: 17px;
  font-weight: 700;
  color: #F4EFEA;
  margin-bottom: 4px;
}

.sidebar-role {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--accent-wood);
  font-weight: 700;
  letter-spacing: 1.5px;
}

.sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  color: #A69E97;
  cursor: pointer;
  transition: var(--transition-fast);
}

.sidebar-link:hover, 
.sidebar-link.active {
  background-color: rgba(212, 189, 150, 0.08);
  color: var(--accent-wood);
  box-shadow: inset 3px 0 0 var(--accent-wood);
  transform: translateX(3px);
}

.sidebar-link i {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #23201E;
}

/* Main Workspace layout */
.dashboard-main {
  margin-left: 280px;
  padding: 44px 48px;
  width: calc(100% - 280px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
}

.dashboard-title-area h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 800;
  color: #F4EFEA;
}

.dashboard-title-area p {
  font-size: 14px;
  color: #A69E97;
  margin-top: 4px;
}

.dashboard-tab-content {
  display: none;
  animation: fadeInDashboardTab 0.4s ease;
}

.dashboard-tab-content.active {
  display: block;
}

@keyframes fadeInDashboardTab {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Statistics Widgets Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.stat-card {
  background-color: #161413;
  border: 1px solid #23201E;
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 189, 150, 0.22);
  box-shadow: var(--shadow-md);
}

.stat-info h3 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #A69E97;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-wood);
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background-color: rgba(212, 189, 150, 0.05);
  border: 1px solid rgba(212, 189, 150, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent-wood);
}

/* Quick Actions Widget */
.quick-actions-card {
  background-color: #161413;
  border: 1px solid #23201E;
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 32px;
}

.quick-actions-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #F4EFEA;
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 14px;
  border-radius: var(--radius-md);
  border: 1px solid #23201E;
  background-color: #1F1D1B;
  cursor: pointer;
  transition: var(--transition-normal);
}

.action-btn:hover {
  transform: translateY(-3px);
  border-color: var(--accent-wood);
  background-color: rgba(212, 189, 150, 0.04);
}

.action-btn i {
  font-size: 18px;
  color: var(--accent-wood);
}

.action-btn span {
  font-size: 12.5px;
  font-weight: 700;
  color: #F4EFEA;
}

/* SVG Attendance Analytics Rings */
.analytics-grid {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 32px;
}

.analytics-card {
  background-color: #161413;
  border: 1px solid #23201E;
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.analytics-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 24px;
}

.progress-rings-row {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}

.progress-ring-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.ring-svg-container {
  position: relative;
  width: 88px;
  height: 88px;
}

.ring-svg-container svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.ring-bg-circle {
  stroke: #23201E;
  fill: none;
  stroke-width: 8px;
}

.ring-progress-circle {
  fill: none;
  stroke-width: 8px;
  stroke-linecap: round;
  stroke: var(--accent-wood);
  transition: stroke-dashoffset 0.65s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ring-percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 15px;
  font-weight: 800;
  color: #F4EFEA;
}

.ring-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #A69E97;
}

/* Dashboard Tables & Layouts */
.dashboard-table-container {
  background-color: #161413;
  border: 1px solid #23201E;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.dashboard-table th {
  background-color: #1F1D1B;
  padding: 16px 24px;
  font-weight: 700;
  color: #F4EFEA;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 11.5px;
  border-bottom: 1px solid #23201E;
}

.dashboard-table td {
  padding: 15px 24px;
  border-bottom: 1px solid #23201E;
  color: #A69E97;
  font-size: 14px;
}

.dashboard-table tr:last-child td {
  border-bottom: none;
}

.dashboard-table tr:hover td {
  background-color: rgba(255, 255, 255, 0.005);
}

.student-name-trigger {
  color: #F4EFEA;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.student-name-trigger:hover {
  color: var(--accent-wood);
  text-decoration: underline;
}

/* Progress bar inside table cells */
.progress-bar-container {
  width: 90px;
  height: 6px;
  background-color: #23201E;
  border-radius: var(--radius-full);
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

.progress-bar-fill {
  height: 100%;
  background: var(--gradient-gold);
  border-radius: var(--radius-full);
  transition: width 0.5s ease;
}

/* Switch toggles for attendance selection */
.attendance-toggle-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
}

.attendance-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #2D2A27;
  transition: .3s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #A69E97;
  transition: .3s;
  border-radius: 50%;
}

.attendance-toggle-switch input:checked + .toggle-slider {
  background-color: rgba(46, 125, 50, 0.25);
  border: 1px solid rgba(46, 125, 50, 0.5);
}

.attendance-toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(20px);
  background-color: #2E7D32;
}

.attendance-toggle-switch input:not(:checked) + .toggle-slider {
  border: 1px solid #23201E;
}

/* Assignment Badges */
.status-badge {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}

.status-badge.published {
  background-color: rgba(192, 164, 123, 0.1);
  color: var(--accent-wood);
  border: 1px solid rgba(192, 164, 123, 0.25);
}

.status-badge.submitted {
  background-color: rgba(46, 125, 50, 0.1);
  color: #2E7D32;
  border: 1px solid rgba(46, 125, 50, 0.25);
}

.status-badge.pending {
  background-color: rgba(198, 40, 40, 0.1);
  color: #C62828;
  border: 1px solid rgba(198, 40, 40, 0.25);
}

/* Student Profile Detail Drawer */
.student-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(6, 5, 5, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}

.student-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.student-drawer {
  position: fixed;
  top: 0;
  right: -460px;
  width: 440px;
  height: 100vh;
  background-color: #161413;
  border-left: 1px solid #23201E;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  z-index: 1001;
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
              visibility 0.4s ease;
}

.student-drawer-overlay.active .student-drawer {
  right: 0;
}

.drawer-close {
  position: absolute;
  top: 30px;
  left: 30px;
  font-size: 20px;
  cursor: pointer;
  color: #A69E97;
  transition: var(--transition-fast);
}

.drawer-close:hover {
  color: #F4EFEA;
  transform: rotate(90deg);
}

.drawer-header {
  text-align: center;
  margin-top: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid #23201E;
  margin-bottom: 28px;
}

.drawer-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: #FFFFFF;
  font-size: 32px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  box-shadow: var(--shadow-md);
}

.drawer-name {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 800;
  color: #F4EFEA;
}

.drawer-instrument {
  font-size: 13px;
  color: var(--accent-wood);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-top: 4px;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.drawer-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.drawer-stat-box {
  background-color: #1F1D1B;
  border: 1px solid #23201E;
  padding: 16px;
  border-radius: var(--radius-md);
  text-align: center;
}

.drawer-stat-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-wood);
}

.drawer-stat-lbl {
  font-size: 11px;
  color: #A69E97;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.drawer-details-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14.5px;
}

.drawer-detail-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #23201E;
  padding-bottom: 10px;
}

.drawer-detail-item .lbl {
  color: #A69E97;
}

.drawer-detail-item .val {
  color: #F4EFEA;
  font-weight: 700;
}

.drawer-notes-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-notes-section label {
  font-size: 13.5px;
  font-weight: 600;
  color: #A69E97;
}

.drawer-notes-textarea {
  width: 100%;
  min-height: 90px;
  background-color: #1F1D1B;
  border: 1px solid #23201E;
  border-radius: var(--radius-md);
  padding: 12px;
  font-size: 14px;
  color: #F4EFEA;
  resize: vertical;
  outline: none;
}

.drawer-notes-textarea:focus {
  border-color: var(--accent-wood);
}

/* Mobile responsive navigation & dashboard adjustments */
@media (max-width: 992px) {
  .dashboard-sidebar {
    width: 70px;
    padding: 30px 10px;
    align-items: center;
  }
  
  .sidebar-profile {
    border-bottom: none;
    padding-bottom: 0;
  }
  
  .sidebar-avatar {
    width: 44px;
    height: 44px;
    margin-bottom: 0;
  }
  
  .sidebar-name, 
  .sidebar-role,
  .sidebar-link span,
  .sidebar-footer {
    display: none;
  }
  
  .sidebar-link {
    padding: 12px;
    justify-content: center;
  }
  
  .dashboard-main {
    margin-left: 70px;
    width: calc(100% - 70px);
    padding: 32px 24px;
  }
  
  .dashboard-title-area h2 {
    font-size: 28px;
  }
  
  .student-drawer {
    width: 100vw;
    right: -100vw;
    padding: 24px;
  }
}

/* --- Swara Chatbot Widget Styles --- */
.swara-chatbot-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 250;
  font-family: 'Outfit', sans-serif;
}

/* Floating Wrapper for toggle button */
.chatbot-toggle-wrapper {
  animation: chatBubbleFloat 3s infinite alternate ease-in-out;
  will-change: transform;
}

@keyframes chatBubbleFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

.chatbot-toggle-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(217, 107, 39, 0.35);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}

.chatbot-toggle-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 28px rgba(217, 107, 39, 0.45);
}

.chatbot-toggle-btn .pulse-indicator {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background-color: #4CAF50;
  border: 2px solid var(--bg-secondary);
  border-radius: 50%;
  animation: pulse-dot-indicator 1.8s infinite ease-in-out;
}

@keyframes pulse-dot-indicator {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(76, 175, 80, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

.chatbot-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 370px;
  height: 500px;
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(229, 169, 59, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(122, 84, 53, 0.08), 0 0 30px rgba(229, 169, 59, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  will-change: opacity, transform;
  z-index: 10;
}

.dark-theme .chatbot-window {
  background-color: rgba(24, 19, 14, 0.75);
  border: 1px solid rgba(255, 179, 86, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 35px rgba(255, 179, 86, 0.15);
}

.chatbot-window.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chatbot-header {
  padding: 18px 24px;
  background: var(--gradient-gold);
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.chatbot-avatar {
  font-size: 24px;
  background-color: rgba(255, 255, 255, 0.15);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.chatbot-header-info h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-light);
  margin: 0;
}

.chatbot-header-info .online-status {
  font-size: 11px;
  opacity: 0.85;
  display: block;
}

.chatbot-close-btn {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  font-size: 28px;
  color: var(--text-light);
  opacity: 0.8;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition-fast);
}

.chatbot-close-btn:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.15);
}

.chatbot-messages {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: var(--bg-primary);
  scroll-behavior: smooth;
}

.chat-message {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 13.5px;
  line-height: 1.5;
  animation: messageSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  will-change: transform, opacity;
}

.chat-message.bot {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.chat-message.user {
  background: var(--gradient-gold);
  color: var(--text-light);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 12px rgba(217, 107, 39, 0.12);
}

@keyframes messageSlideIn {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  animation: messageSlideIn 0.4s ease forwards;
}

.quick-reply-btn {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--accent-wood);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}

.quick-reply-btn:hover {
  border-color: var(--accent-wood);
  background-color: var(--bg-tertiary);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 12px rgba(217, 107, 39, 0.1);
}

.chatbot-input-area {
  padding: 14px 20px;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot-input-area input {
  flex: 1;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  font-size: 13.5px;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.chatbot-input-area input:focus {
  border-color: var(--accent-wood);
  background-color: var(--bg-secondary);
  box-shadow: 0 0 0 3px rgba(217, 107, 39, 0.1);
}

.chatbot-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.chatbot-send-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 10px rgba(217, 107, 39, 0.22);
}

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 12px 18px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  align-self: flex-start;
  border-radius: 18px;
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
  width: fit-content;
}

.typing-dot {
  width: 7px;
  height: 7px;
  background-color: var(--text-secondary);
  border-radius: 50%;
  animation: typing-dot-bounce 1.4s infinite ease-in-out both;
  opacity: 0.6;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing-dot-bounce {
  0%, 80%, 100% { transform: scale(0.6); }
  40% { transform: scale(1) translateY(-6px); }
}

@media (max-width: 480px) {
  .swara-chatbot-container {
    bottom: 20px;
    right: 20px;
  }
  .chatbot-window {
    width: calc(100vw - 40px);
    height: 440px;
    bottom: 70px;
  }
}

/* OAuth Config Panel Animations & Hover Highlights */
@keyframes slideDownOauth {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.oauth-config-panel input[type="text"]:focus {
  border-color: var(--accent-wood) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(217, 107, 39, 0.15);
}

.oauth-config-panel label:hover {
  color: var(--accent-wood);
}

/* --- High-Performance GPU Compositing Layer Triggers (will-change restricted to interactive hover state) --- */
.feature-card:hover,
.testimonial-card:hover,
.class-card:hover,
.booking-card:hover,
.admin-card:hover,
.soundboard-card:hover,
.btn:hover,
.sidebar-link:hover,
.sidebar-link.active,
.action-btn:hover,
.preset-option:hover,
.social-link:hover,
.header-action-btn:hover,
.chatbot-toggle-btn:hover,
.chatbot-send-btn:hover,
.quick-reply-btn:hover {
  will-change: transform, opacity;
}

/* --- Accessibility: Respect user choice for reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
}
