@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ===================================================
   MAHANAAD MUSIC ACADEMY - MASTER STYLESHEET
   Light Theme | Mobile-First | Premium Design
   =================================================== */

:root {
  --gold: #b08d57;
  --gold-light: #c9a96e;
  --gold-dark: #8c6d3d;
  --gold-bg: rgba(176, 141, 87, 0.08);
  --gold-border: rgba(176, 141, 87, 0.25);
  --white: #ffffff;
  --bg: #f8f6f2;
  --bg-card: #ffffff;
  --text: #1a1a2e;
  --text-muted: #64748b;
  --border: #e8e2d9;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.09);
  --shadow-gold: 0 8px 28px rgba(176, 141, 87, 0.22);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 50px;
  --transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ======= RESET & BASE ======= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  overflow-x: hidden;
}

/* Page Transitions */
.page-section {
    display: none;
    opacity: 0;
}

.page-section.active {
    display: block !important;
    animation: fadeInPage 0.5s ease forwards;
}

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

.hidden-by-setting {
    display: none !important;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

section {
  overflow: hidden;
}

/* ======= UTILITIES ======= */
.section-padding {
  padding: 70px 0;
}

@media (min-width: 992px) {
  .section-padding {
    padding: 110px 0;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1620px;
  }
}

.bg-cream {
  background: var(--bg);
}

.text-gold {
  color: var(--gold) !important;
}

/* ======= LOADER ======= */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: opacity 0.6s ease;
}

#loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-logo {
  max-width: 130px;
  height: auto;
  object-fit: contain;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .7;
    transform: scale(.97)
  }
}

.loader-bar {
  width: 160px;
  height: 3px;
  background: #eee;
  border-radius: 3px;
  overflow: hidden;
}

.loader-bar::after {
  content: '';
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 3px;
  animation: loadbar 1.6s ease-in-out infinite;
}

@keyframes loadbar {
  0% {
    width: 0;
    margin-left: 0
  }

  60% {
    width: 80%;
    margin-left: 0
  }

  100% {
    width: 0;
    margin-left: 100%
  }
}

/* ======= NAVBAR ======= */
#navbar {
  position: relative;
  padding: 15px 0;
  transition: var(--transition);
  background: #fff;
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

/* Removed fixed header spacer */
body {
  padding-top: 0;
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  max-height: 140px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

#navbar.scrolled .nav-logo {
  max-height: 105px;
}

@media (min-width: 992px) {
  .nav-logo {
    max-height: 95px;
  }

  #navbar.scrolled .nav-logo {
    max-height: 90px;
  }
}

.navbar-toggler {
  border: none;
  padding: 4px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.nav-link {
  color: var(--text) !important;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 14px !important;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--gold) !important;
}

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

@media (max-width: 991px) {
  #navbar {
    padding: 0 !important;
  }
  #navbar .container {
    padding-left: 5px !important; /* Pull container closer to left edge */
    margin-left: 0 !important;
    max-width: 100% !important;
  }
  .navbar-brand {
    padding: 0 !important;
    margin: 0 !important;
    margin-right: auto !important; /* Push everything else to the right */
  }
  .nav-logo {
    max-height: 135px !important;
    margin-top: -20px !important;
    margin-bottom: -20px !important;
    margin-left: -25px !important; /* Aggressively pull logo to the left edge */
  }
  #hero {
    padding: 12px 0 40px !important;
    margin-top: 0 !important;
  }
  .hero-badge {
    margin-bottom: 15px;
  }
  .hero-title {
    margin-bottom: 15px;
  }
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    border-radius: var(--radius);
    padding: 16px;
    margin-top: 10px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
  }
}

/* ======= BUTTONS ======= */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  border: none;
  box-shadow: var(--shadow-gold);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 12px 35px rgba(176, 141, 87, 0.35);
}

.btn-gold:active {
  transform: translateY(0);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 12px 30px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  background: transparent;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* ======= HERO ======= */
#hero {
  padding: 70px 0 80px;
  background: linear-gradient(150deg, #fff 0%, #fdf9f3 50%, #faf5ea 100%);
  position: relative;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(176, 141, 87, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

@media (min-width: 992px) {
  #hero {
    min-height: 95vh;
    display: flex;
    align-items: center;
    padding: 90px 0 60px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-bg);
  color: var(--gold);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 22px;
  border: 1px solid var(--gold-border);
}

.hero-badge::before {
  content: '♪';
  font-size: 1rem;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 22px;
  color: var(--text);
}

.hero-title span {
  color: var(--gold);
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 650px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.hero-img-wrap img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.hero-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(176, 141, 87, 0.1));
  pointer-events: none;
}

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-stat .num {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.hero-stat .lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ======= TICKER ======= */
.ticker-bar {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 50px;
  animation: ticker 35s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-right: 25px;
}

.ticker-item i {
  font-size: 1rem;
}

.text-muted,
.section-sub,
p {
  white-space: pre-wrap;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ======= SECTION HEADERS ======= */
.section-header {
  text-align: center;
  margin-bottom: 55px;
}

.section-label {
  display: inline-block;
  background: var(--gold-bg);
  color: var(--gold);
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
  border: 1px solid var(--gold-border);
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 720px;
  margin: 0 auto;
}

.gold-line {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 3px;
  margin: 14px auto;
}

/* ======= CARDS ======= */
.card-premium {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

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

/* ======= ABOUT ======= */
.about-list {
  list-style: none;
  padding: 0;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.about-list li:last-child {
  border-bottom: none;
}

.about-list li i {
  color: var(--gold);
  margin-top: 3px;
  flex-shrink: 0;
}

/* ======= WHY CHOOSE US ======= */
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

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

.why-card .icon-wrap {
  width: 60px;
  height: 60px;
  background: var(--gold-bg);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  color: var(--gold);
}

.why-card h5 {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.why-card p {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin: 0;
}

/* ======= COURSES ======= */
.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 0.88rem;
  min-width: 0;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.course-card.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.course-card.featured::after {
  content: 'Most Popular';
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--gold);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 36px;
  transform: rotate(45deg);
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(176, 141, 87, 0.3);
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

/* ======= COURSE SLIDER ======= */
.course-slider-container {
  position: relative;
  /* Give room for absolutely-positioned prev/next buttons */
  padding: 10px 0;
}

.course-slider-wrap {
  overflow: hidden;
  width: 100%;
}

.course-slider {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.course-slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  box-sizing: border-box;
  padding: 4px 2px;
}

/* Tablet: 2 columns */
@media (max-width: 991px) {
  .course-slide {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: single card, full width */
@media (max-width: 575px) {
  .course-slide {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--text);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  z-index: 10;
}

.slider-btn:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.slider-prev {
  left: -22px;
}

.slider-next {
  right: -22px;
}

@media (max-width: 575px) {
  .slider-prev {
    left: 4px;
  }

  .slider-next {
    right: 4px;
  }
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--gold);
  width: 28px;
  border-radius: 10px;
}

.course-price {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  margin: 8px 0 2px;
}

.course-duration {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.course-desc {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 14px;
}

.course-features {
  list-style: none;
  padding: 0;
  text-align: left;
  flex-grow: 1;
  margin-bottom: 16px;
}

.course-features li {
  padding: 5px 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.course-features li:last-child {
  border-bottom: none;
}

.course-features li i {
  color: var(--gold);
  flex-shrink: 0;
}

/* ======= EVENTS ======= */
.event-type-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.event-type-card:hover {
  background: var(--gold-bg);
  border-color: var(--gold-border);
  transform: translateY(-4px);
}

.event-type-card i {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.event-type-card h6 {
  font-weight: 700;
  margin-bottom: 6px;
}

.event-type-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

/* ======= CONSULTATION TABS ======= */
.consult-tabs {
  border: none;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}

.consult-tab-btn {
  border: 2px solid var(--border) !important;
  border-radius: var(--radius) !important;
  color: var(--text-muted) !important;
  font-weight: 700;
  padding: 14px 28px !important;
  background: #fff !important;
  transition: var(--transition) !important;
  font-size: 0.9rem;
}

.consult-tab-btn:hover {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}

.consult-tab-btn.active {
  background: var(--gold) !important;
  color: #fff !important;
  border-color: var(--gold) !important;
  box-shadow: var(--shadow-gold);
}

.form-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 6px;
}

.form-control,
.form-select {
  padding: 12px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  box-shadow: none;
  border-color: var(--gold);
  background: #fff;
}

.form-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  color: #166534;
  font-weight: 600;
  display: none;
}

/* ======= GALLERY ======= */
.gallery-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

.gallery-grid {
  columns: 2;
  gap: 14px;
}

@media (min-width: 992px) {
  .gallery-grid {
    columns: 3;
  }
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  transition: var(--transition);
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(176, 141, 87, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: #fff;
  font-size: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ======= TESTIMONIALS ======= */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 24px;
  font-family: 'Cinzel', serif;
  font-size: 4rem;
  color: var(--gold-bg);
  line-height: 1;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.stars {
  color: #f59e0b;
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.testimonial-text {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 20px;
  font-size: 0.93rem;
}

.testimonial-name {
  font-weight: 700;
  color: var(--text);
  font-size: 0.9rem;
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
}

/* ======= CONTACT ======= */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

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

.contact-icon-wrap {
  width: 62px;
  height: 62px;
  background: var(--gold-bg);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.4rem;
  color: var(--gold);
}

.contact-card h5 {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 1rem;
}

.contact-card p,
.contact-card a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-card a:hover {
  color: var(--gold);
}

/* ======= SOCIAL ======= */
.social-links {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.3rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ======= FOOTER ======= */
footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 28px;
}

.footer-logo {
  max-height: 95px;
  width: auto;
  object-fit: contain;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.footer-title {
  color: #fff;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.12);
  margin: 32px 0 20px;
}

.footer-bottom {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

footer .social-link {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
}

footer .social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* ======= LIGHTBOX ======= */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
}

#lightbox.active {
  display: flex;
}

#lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

#lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

#lightbox-close:hover {
  background: var(--gold);
}

/* ======= ENROLLMENT MODAL ======= */
.modal-content {
  border: none !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
}

.modal-header {
  border-bottom: 1px solid var(--border) !important;
  padding: 24px 28px !important;
}

/* ======= ANIMATIONS ======= */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) {
  transition-delay: 0.1s;
}

.fade-up:nth-child(3) {
  transition-delay: 0.2s;
}

.fade-up:nth-child(4) {
  transition-delay: 0.3s;
}

/* ======= WHATSAPP ======= */
.whatsapp-btn {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 999;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.whatsapp-btn:hover {
  background: #20b858;
  transform: scale(1.1);
  color: #fff;
}

@media (max-width: 768px) {
  .whatsapp-btn {
    width: 45px;
    height: 45px;
    bottom: 20px;
    left: 20px;
    font-size: 1.5rem;
  }
}

/* ======= BACK TO TOP ======= */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gold);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-gold);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  cursor: pointer;
}

#back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

#back-to-top:hover {
  background: var(--gold-dark);
  transform: translateY(-3px);
}

/* ======= TOAST NOTIFICATION ======= */
#toast-container {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
}

.toast-msg {
  background: #1a1a2e;
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.88rem;
  animation: toastIn 0.4s ease;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-md);
}

.toast-msg.success {
  border-left-color: #22c55e;
}

.toast-msg.error {
  border-left-color: #ef4444;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* ======= RESPONSIVE FIXES ======= */
@media (max-width: 575px) {
  .hero-buttons {
    flex-direction: column;
  }

  .btn-gold,
  .btn-outline-gold {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    gap: 20px;
  }

  .form-box {
    padding: 24px 16px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  /* Contact cards: stack vertically, full width */
  #contact .row {
    flex-direction: column;
  }

  #contact .col-4 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .contact-card {
    padding: 20px 16px;
  }

  /* Course slider: full width, no overflow clipping */
  .course-slider-container {
    padding: 10px 0;
  }

  .course-slider-wrap {
    overflow: hidden;
    width: 100%;
  }

  .course-card {
    padding: 24px 20px;
  }
}

/* Tablet contact fix: 3 small cards still fit */
@media (min-width: 576px) and (max-width: 767px) {
  .contact-card {
    padding: 18px 10px;
  }

  .contact-card h5 {
    font-size: 0.88rem;
  }

  .contact-icon-wrap {
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
  }
}

/* ======= LIGHTBOX ======= */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(10px);
}

#lightbox.active {
  display: flex;
}

#lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
  transition: opacity 0.3s ease;
  z-index: 10000;
}

#lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: 0.3s;
  z-index: 10001;
}

#lightbox-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(176, 141, 87, 0.2);
  border: 1.5px solid rgba(176, 141, 87, 0.3);
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: 0.3s;
  z-index: 10001;
}

.lightbox-nav:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.1);
}

#lightbox-prev {
  left: 40px;
}

#lightbox-next {
  right: 40px;
}

@media (max-width: 768px) {
  .lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }
  #lightbox-prev { left: 15px; }
  #lightbox-next { right: 15px; }
  #lightbox-close { top: 15px; right: 15px; font-size: 2rem; }
}

/* ======= INSTRUMENTS ACCORDION ======= */
.accordion-button:not(.collapsed) {
  background-color: var(--gold) !important;
  color: #ffffff !important;
  box-shadow: none;
}

.accordion-button:not(.collapsed) .acc-icon {
  color: #ffffff !important;
}

.custom-acc-btn {
  background: var(--card-bg);
  color: var(--text);
  font-size: 1.2rem;
  box-shadow: none;
}

.custom-acc-btn .acc-icon {
  color: var(--gold);
}

.accordion-button:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.25rem rgba(176, 141, 87, 0.25);
}

.accordion-item {
  border: 1px solid var(--gold-light) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: 0.3s;
  background-color: var(--card-bg) !important;
}

.accordion-item:hover {
  box-shadow: 0 8px 25px rgba(176, 141, 87, 0.15);
  border-color: var(--gold) !important;
}

.accordion-button {
  padding: 1.25rem 1.5rem;
}

.custom-pills .nav-link {
  color: var(--text);
  border-radius: 30px;
  padding: 8px 20px;
  font-weight: 500;
  margin: 0 5px;
  transition: 0.3s;
}

.custom-pills .nav-link.active {
  background-color: var(--gold) !important;
  color: #ffffff !important;
}

.course-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
}

@media (max-width: 768px) {
  .course-features-list {
    grid-template-columns: 1fr;
  }
}

.course-features-list li {
  font-size: 0.95rem;
  color: var(--text-light);
  display: flex;
  align-items: flex-start;
}

.course-features-list li i {
  margin-top: 4px;
}

/* ======= TESTIMONIALS SLIDER ======= */
.testimonials-swiper {
  padding: 20px 10px 60px !important;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.swiper-slide {
  height: auto !important;
}


.testimonial-card {
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(176,141,87,0.15);
  border-color: var(--gold);
}

.testimonial-card .stars {
  color: var(--gold);
  margin-bottom: 15px;
  font-size: 0.85rem;
}

.testimonial-text {
  font-style: italic;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 0.95rem;
  flex-grow: 1;
}

.testimonial-name {
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
}

.testimonial-role {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
}

.swiper-pagination-bullet-active {
  background: var(--gold) !important;
}

@media (max-width: 768px) {
  .testimonial-card {
    padding: 20px;
    margin: 5px;
  }
  
  .testimonial-text {
    font-size: 0.88rem;
    margin-bottom: 15px;
  }
  
  .testimonials-swiper {
    padding-bottom: 40px !important;
  }
}

/* Custom form styles for enrollModal */
.custom-floating .form-control,
.custom-floating .form-select {
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    padding: 1.6rem .75rem .6rem;
    height: calc(3.5rem + 2px);
}
.custom-floating .form-control:focus,
.custom-floating .form-select:focus {
    border-color: #3b0a7d;
    box-shadow: 0 0 0 0.25rem rgba(59, 10, 125, 0.1);
}
.custom-floating label {
    padding: 1rem .75rem;
    color: #6c757d;
    font-size: 0.9rem;
}
.custom-floating > .form-control:focus ~ label,
.custom-floating > .form-control:not(:placeholder-shown) ~ label,
.custom-floating > .form-select ~ label {
    opacity: .65;
    transform: scale(.85) translateY(-0.5rem) translateX(0.15rem);
}

.custom-checkbox .form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.15rem;
    border: 1px solid #ccc;
    cursor: pointer;
}
.custom-checkbox .form-check-input:checked {
    background-color: #3b0a7d;
    border-color: #3b0a7d;
}
.custom-checkbox .form-check-label {
    cursor: pointer;
    margin-left: 0.3rem;
    color: #444;
}

.submit-btn-purple {
    background-color: #3b0a7d; 
    color: white; 
    border-radius: 30px; 
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
}
.submit-btn-purple:hover {
    background-color: #2a075c;
    color: white;
}