/* ═══════════════════════════════════════════════════════════════
   Mahi Dance Academy — Enhancement & Responsive CSS
   Perfect responsive + attractive overrides for all pages
═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────
   1. CSS CUSTOM PROPERTIES
───────────────────────────────────────────────────────────── */
:root {
  --pink:        #D80E7E;
  --pink-dark:   #9b0758;
  --pink-light:  rgba(216,14,126,0.12);
  --navy:        #090D2D;
  --navy-mid:    #0f1440;
  --gold:        #e8a400;
  --white:       #ffffff;
  --off-white:   #f8f9ff;
  --text:        #585968;
  --border:      rgba(9,13,45,0.1);
  --shadow-sm:   0 4px 16px rgba(9,13,45,0.08);
  --shadow-md:   0 8px 32px rgba(9,13,45,0.12);
  --shadow-lg:   0 16px 48px rgba(9,13,45,0.18);
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   22px;
  --radius-xl:   32px;
  --transition:  all 0.35s cubic-bezier(0.4,0,0.2,1);
}

/* ─────────────────────────────────────────────────────────────
   2. BASE RESETS FOR PERFECT RENDERING
───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
img  { max-width: 100%; height: auto; display: block; }
p    { text-align: justify !important; }

/* ─────────────────────────────────────────────────────────────
   3. HERO SECTION — RESPONSIVE
───────────────────────────────────────────────────────────── */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 140px 0 80px; }
.hero .row { align-items: center; }
.hero-content .section-title h3 { font-size: 14px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--pink); margin-bottom: 16px; }
.hero-content .section-title h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.hero-content .section-title p   { font-size: clamp(15px, 1.8vw, 17px); line-height: 1.75; opacity: .85; max-width: 520px; }
.hero-body-list ul { list-style: none; padding: 0; margin: 24px 0; }
.hero-body-list ul li { position: relative; padding-left: 22px; margin-bottom: 10px; font-size: 15px; opacity: .85; }
.hero-body-list ul li::before { content: '✦'; position: absolute; left: 0; color: var(--pink); font-size: 10px; top: 4px; }
.hero-content-footer { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 32px; }
.hero-image figure { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-image img { width: 100%; height: 580px; object-fit: cover; }

/* ─────────────────────────────────────────────────────────────
   4. BUTTONS — BEAUTIFUL & RESPONSIVE
───────────────────────────────────────────────────────────── */
.btn-default {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  padding: 14px 48px 14px 28px !important;
  border-radius: 100px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  text-decoration: none !important;
  transition: var(--transition) !important;
  border: 2px solid var(--navy) !important;
  color: var(--navy) !important;
  background: transparent !important;
  white-space: nowrap !important;
  z-index: 1 !important;
}
.btn-default::after {
  display: none !important;
}
.btn-default:hover {
  background: var(--navy) !important;
  color: #fff !important;
  border-color: var(--navy) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-md) !important;
}
.btn-default::before {
  content: '' !important;
  position: absolute !important;
  top: 50% !important;
  right: 22px !important;
  width: 12px !important;
  height: 12px !important;
  background-image: url('../images/arrow-white.svg') !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;
  transform: translateY(-50%) !important;
  transition: all 0.4s ease-in-out !important;
  z-index: 2 !important;
  filter: brightness(0) !important; /* Default to dark arrow for light backgrounds */
}
.btn-default:hover::before {
  filter: brightness(0) invert(1) !important; /* White arrow on hover background */
}
.btn-default.btn-highlighted {
  background: var(--pink) !important;
  border-color: var(--pink) !important;
  color: #fff !important;
}
.btn-default.btn-highlighted:hover {
  background: var(--pink-dark) !important;
  border-color: var(--pink-dark) !important;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(216,14,126,0.35) !important;
}
.btn-default.btn-highlighted::before {
  filter: brightness(0) invert(1) !important; /* White arrow for highlighted pink */
}
.btn-default.btn-highlighted:hover::before {
  filter: brightness(0) invert(1) !important;
}
.btn-default.btn-light {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #fff !important;
}
.btn-default.btn-light:hover {
  background: #fff !important;
  border-color: #fff !important;
  color: var(--navy) !important;
}
.btn-default.btn-light::before {
  filter: brightness(0) invert(1) !important;
}
.btn-default.btn-light:hover::before {
  filter: brightness(0) !important;
}
.dark-section .btn-default {
  border-color: rgba(255,255,255,0.4) !important;
  color: #fff !important;
}
.dark-section .btn-default:hover {
  background: #fff !important;
  color: var(--navy) !important;
  border-color: #fff !important;
}
.dark-section .btn-default::before {
  filter: brightness(0) invert(1) !important; /* White arrow on transparent dark-section button */
}
.dark-section .btn-default:hover::before {
  filter: brightness(0) !important; /* Dark arrow on white background on hover */
}
.dark-section .btn-default.btn-highlighted {
  background: var(--pink) !important;
  border-color: var(--pink) !important;
  color: #fff !important;
}
.dark-section .btn-default.btn-highlighted:hover {
  background: var(--pink-dark) !important;
  border-color: var(--pink-dark) !important;
  color: #fff !important;
}

/* ─────────────────────────────────────────────────────────────
   5. SECTION HEADINGS
───────────────────────────────────────────────────────────── */
.section-title h3 {
  font-size: 12px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--pink);
  margin-bottom: 14px; display: block;
}
.section-title h2 {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800; line-height: 1.2; color: var(--navy); margin-bottom: 18px;
}
.dark-section .section-title h2 { color: #fff; }
.section-title p { font-size: 16px; line-height: 1.75; color: var(--text); max-width: 600px; }
.section-title-center { text-align: center; }
.section-title-center p { margin: 0 auto; }

/* Banner specific centering (all pages except index) */
.our-programs.bg-section .row,
.our-programs.bg-section .col-xl-12 {
  display: flex;
  justify-content: center;
  text-align: center;
}
.our-programs.bg-section .section-title {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.our-programs.bg-section .section-title h3,
.our-programs.bg-section .section-title h2 {
  width: 100%;
  text-align: center;
  display: block;
}
.our-programs.bg-section .breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.our-programs.bg-section .breadcrumb li {
  display: inline-block;
  text-align: center;
  margin: 0 6px;
}
.our-programs.bg-section .breadcrumb li + li::before {
  content: '/';
  color: rgba(255,255,255,0.5);
  margin-right: 12px;
}
/* 404 page specific centering */
.our-programs.bg-section .section-title-center div,
.our-programs.bg-section .section-title-center p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-row { margin-bottom: 50px; }

/* ─────────────────────────────────────────────────────────────
   6. PROGRAMS / SERVICES CARDS
───────────────────────────────────────────────────────────── */
.our-program-item {
  border-radius: var(--radius-md); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-sm);
  transition: var(--transition); margin-bottom: 30px;
}
.our-program-item:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.program-item-image { overflow: hidden; height: 260px; position: relative; }
.program-item-image figure { margin: 0; height: 100%; }
.program-item-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.our-program-item:hover .program-item-image img { transform: scale(1.08); }
.program-item-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9,13,45,0.55) 0%, transparent 55%);
  transition: opacity 0.35s;
}
.program-item-content {
  padding: 20px 22px;
  background: #fff;
}
.program-item-content h2 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.program-item-content h2 a { color: var(--navy); text-decoration: none; transition: color 0.3s; }
.program-item-content h2 a:hover { color: var(--pink); }
.program-item-content p { font-size: 13.5px; color: var(--text); margin: 0; line-height: 1.6; }

/* ─────────────────────────────────────────────────────────────
   7. PRICING CARDS
───────────────────────────────────────────────────────────── */
.pricing-item {
  background: var(--off-white); border-radius: var(--radius-lg);
  padding: 36px 30px; transition: var(--transition);
  border: 2px solid transparent; position: relative;
  box-shadow: var(--shadow-sm); margin-bottom: 30px;
}
.pricing-item:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--pink); }
.pricing-item .icon-box { width: 56px; height: 56px; background: var(--pink-light); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.pricing-item .icon-box img { width: 28px; height: 28px; }
.pricing-item-content h3 { font-size: 14px; font-weight: 700; color: var(--pink); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.pricing-item-content h2 { font-size: 40px; font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: 12px; }
.pricing-item-content h2 sub { font-size: 16px; font-weight: 500; color: var(--text); vertical-align: middle; }
.pricing-item-content p { font-size: 14px; color: var(--text); margin-bottom: 22px; }
.pricing-item-btn { margin-bottom: 24px; }
.pricing-item-list h3 { font-size: 12px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; border-top: 1px solid var(--border); padding-top: 20px; }
.pricing-item-list ul { list-style: none; padding: 0; margin: 0; }
.pricing-item-list ul li { font-size: 14px; color: var(--text); padding: 7px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.pricing-item-list ul li::before { content: '✓'; color: var(--pink); font-weight: 700; font-size: 13px; flex-shrink: 0; }

/* Popular badge */
.pricing-item[style*="border"] .pricing-item-content h3::after { content: ' ⭐ POPULAR'; color: var(--gold); font-size: 10px; }

/* ─────────────────────────────────────────────────────────────
   8. TESTIMONIALS
───────────────────────────────────────────────────────────── */
.testimonial-item {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md); padding: 30px; height: 100%;
}
.testimonial-item-rating { display: flex; gap: 4px; margin-bottom: 16px; }
.testimonial-item-rating i { color: var(--gold); font-size: 14px; }
.testimonial-item-content p {
  font-size: 15px; line-height: 1.8; color: rgba(255,255,255,0.82);
  font-style: italic; margin-bottom: 24px;
}
.testimonial-item-author { display: flex; align-items: center; gap: 14px; }
.testimonial-author-image figure { margin: 0; }
.testimonial-author-image img { width: 55px; height: 55px; border-radius: 50%; object-fit: cover; border: 2px solid var(--pink); }
.testimonial-author-content h3 { font-size: 15px; font-weight: 700; color: #fff; margin: 0 0 4px; }
.testimonial-author-content p { font-size: 13px; color: rgba(255,255,255,0.55); margin: 0; }
.testimonial-btn { display: flex; gap: 12px; margin-top: 24px; }
.testimonial-button-prev, .testimonial-button-next {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.testimonial-button-prev:hover, .testimonial-button-next:hover { background: var(--pink); border-color: var(--pink); }
.testimonial-review-box { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 32px; }

/* ─────────────────────────────────────────────────────────────
   9. BLOG CARDS
───────────────────────────────────────────────────────────── */
.post-item {
  border-radius: var(--radius-md); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-sm);
  transition: var(--transition); margin-bottom: 30px;
  height: 100%;
}
.post-item:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.post-featured-image { overflow: hidden; }
.post-featured-image img { transition: transform 0.5s ease; }
.post-item:hover .post-featured-image img { transform: scale(1.06); }
.readmore-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--pink) !important;
  text-decoration: none !important;
  transition: var(--transition) !important;
  position: relative !important;
  padding-right: 0 !important;
}
.readmore-btn::before {
  display: none !important;
}
.readmore-btn::after {
  content: '→' !important;
  display: inline-block !important;
  transition: transform 0.3s !important;
}
.readmore-btn:hover::after {
  transform: translateX(4px) !important;
}

/* ─────────────────────────────────────────────────────────────
   10. GALLERY GRID & POPUP
───────────────────────────────────────────────────────────── */
.photo-gallery, .gal-item { border-radius: var(--radius-md) !important; overflow: hidden; position: relative; }
.photo-gallery img, .gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1) !important; }
.photo-gallery:hover img, .gal-item:hover img { transform: scale(1.08) !important; }

.gal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 13, 45, 0.9) 0%, rgba(9, 13, 45, 0.3) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  pointer-events: none;
}
.gal-item:hover .gal-overlay {
  opacity: 1;
}

/* Premium Close Button for Magnific Popup */
.mfp-close {
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  width: 46px !important;
  height: 46px !important;
  line-height: 42px !important;
  background: rgba(9, 13, 45, 0.85) !important;
  color: #fff !important;
  border-radius: 50% !important;
  font-size: 28px !important;
  font-weight: 300 !important;
  text-align: center !important;
  padding: 0 !important;
  cursor: pointer !important;
  z-index: 99999 !important;
  border: 2px solid rgba(255, 255, 255, 0.25) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}
.mfp-close:hover {
  background: #D80E7E !important;
  color: #fff !important;
  border-color: #fff !important;
  transform: scale(1.1) !important;
}

/* ─────────────────────────────────────────────────────────────
   11. WHY CHOOSE US ITEMS
───────────────────────────────────────────────────────────── */
.why-choose-us-item {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.why-choose-us-item:last-child { border-bottom: none; }
.why-choose-us-item .icon-box {
  width: 50px; height: 50px; border-radius: var(--radius-sm);
  background: var(--pink-light); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; transition: var(--transition);
}
.why-choose-us-item:hover .icon-box { background: var(--pink); }
.why-choose-us-item .icon-box img { width: 24px; height: 24px; }
.why-choose-us-item-content h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.why-choose-us-item-content p { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.7; margin: 0; }

/* ─────────────────────────────────────────────────────────────
   12. COUNTER STATS
───────────────────────────────────────────────────────────── */
.about-us-body-counter-list {
  display: flex; gap: 30px; margin-top: 28px; flex-wrap: wrap;
}
.about-us-counter-item {
  flex: 1; min-width: 90px; text-align: center;
  padding: 20px 16px; background: var(--off-white);
  border-radius: var(--radius-md); border: 1px solid var(--border);
  transition: var(--transition);
}
.about-us-counter-item:hover { border-color: var(--pink); background: var(--pink-light); }
.about-us-counter-item h2 { font-size: 32px; font-weight: 800; color: var(--navy); margin-bottom: 4px; line-height: 1; }
.about-us-counter-item h2 span { color: var(--pink); }
.about-us-counter-item p { font-size: 12px; color: var(--text); margin: 0; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

/* ─────────────────────────────────────────────────────────────
   13. VIDEO PLAY BUTTON
───────────────────────────────────────────────────────────── */
.video-play-button {
  display: flex; align-items: center; gap: 16px;
}
.video-play-button a {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--pink); color: #fff; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: var(--transition);
  box-shadow: 0 0 0 0 rgba(216,14,126,0.5);
  animation: pulse-ring 2s infinite;
}
.video-play-button a:hover { transform: scale(1.1); background: var(--pink-dark); }
.video-play-button h3 { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.8); margin: 0; }
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(216,14,126,0.5); }
  70%  { box-shadow: 0 0 0 16px rgba(216,14,126,0); }
  100% { box-shadow: 0 0 0 0 rgba(216,14,126,0); }
}

/* ─────────────────────────────────────────────────────────────
   14. INTRO VIDEO SECTION
───────────────────────────────────────────────────────────── */
.intro-video { padding: 100px 0; }
.intro-video-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl); padding: 50px 50px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.intro-video-list ul { list-style: none; padding: 0; margin: 0; }
.intro-video-list ul li {
  font-size: 15px; color: rgba(255,255,255,0.8);
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; gap: 12px;
}
.intro-video-list ul li::before { content: '✦'; color: var(--pink); font-size: 10px; flex-shrink: 0; }
.intro-video-list ul li:last-child { border-bottom: none; }

/* ─────────────────────────────────────────────────────────────
   15. FLOATING WHATSAPP + SCROLL TO TOP
───────────────────────────────────────────────────────────── */
.mahi-float-btns {
  position: fixed; bottom: 28px; right: 24px;
  display: flex; flex-direction: column; gap: 12px;
  z-index: 9999;
}
.mahi-wa-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: pulse-ring-green 2.5s infinite;
}
.mahi-wa-btn:hover { transform: scale(1.1); background: #1da851; color: #fff; }
@keyframes pulse-ring-green {
  0%   { box-shadow: 0 4px 20px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.4); }
  70%  { box-shadow: 0 4px 20px rgba(37,211,102,0.4), 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0); }
}
.mahi-totop-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: #fff; border: none;
  display: none; align-items: center; justify-content: center;
  font-size: 16px; cursor: pointer;
  box-shadow: var(--shadow-md); transition: var(--transition);
}
.mahi-totop-btn.visible { display: flex; }
.mahi-totop-btn:hover { background: var(--pink); transform: translateY(-3px); }

/* WhatsApp tooltip */
.mahi-wa-btn::before {
  content: 'Chat with us!';
  position: absolute; right: 64px; top: 50%;
  transform: translateY(-50%);
  background: #25D366; color: #fff;
  font-size: 12px; font-weight: 600; padding: 6px 12px;
  border-radius: 100px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.mahi-wa-btn:hover::before { opacity: 1; }

/* ─────────────────────────────────────────────────────────────
   16. SECTION DIVIDER (wave between sections)
───────────────────────────────────────────────────────────── */
.mahi-wave-divider { overflow: hidden; line-height: 0; }
.mahi-wave-divider svg { display: block; }

/* ─────────────────────────────────────────────────────────────
   17. ABOUT US SECTION
───────────────────────────────────────────────────────────── */
.about-us { padding: 100px 0; }
.about-us-image-box { position: relative; }
.about-us-image-box-1 { position: relative; }
.about-us-image-box-1 .about-us-image figure { border-radius: var(--radius-lg); overflow: hidden; }
.about-us-image-box-1 .about-us-image img { width: 100%; height: 480px; object-fit: cover; }
.about-us-image-box-2 { position: absolute; bottom: -40px; right: -30px; width: 55%; }
.about-us-image-box-2 .about-us-image figure { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-lg); border: 4px solid #fff; }
.about-us-image-box-2 .about-us-image img { width: 100%; height: 220px; object-fit: cover; }
.about-student-rating-box {
  position: absolute; bottom: 30px; left: -20px;
  background: #fff; border-radius: var(--radius-md);
  padding: 18px 20px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 10px;
  min-width: 200px;
}
.about-student-rating-content p { font-size: 13px; font-weight: 700; color: var(--navy); margin: 0; }
.about-rating-star { display: flex; gap: 2px; }
.about-rating-star i { color: var(--gold); font-size: 12px; }
.about-us-body-list ul { list-style: none; padding: 0; margin: 0; }
.about-us-body-list ul li {
  padding: 10px 0 10px 24px; position: relative;
  border-bottom: 1px solid var(--border); font-size: 15px; color: var(--text);
}
.about-us-body-list ul li::before { content: '✦'; position: absolute; left: 0; color: var(--pink); font-size: 11px; top: 13px; }
.about-us-footer { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.satisfy-client-images { display: flex; }
.satisfy-client-image { width: 44px; height: 44px; margin-right: -12px; }
.satisfy-client-image:last-child { margin-right: 0; }
.satisfy-client-image figure { margin: 0; }
.satisfy-client-image img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }

/* ─────────────────────────────────────────────────────────────
   18. CONTACT PAGE
───────────────────────────────────────────────────────────── */
.contact-form-group { margin-bottom: 20px; }
.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
  width: 100%; padding: 14px 18px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; color: var(--navy); background: var(--off-white);
  outline: none; transition: var(--transition);
  font-family: var(--default-font, inherit);
}
.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
  border-color: var(--pink); background: #fff;
  box-shadow: 0 0 0 3px rgba(216,14,126,0.08);
}

/* ─────────────────────────────────────────────────────────────
   19. SECTION BACKGROUNDS
───────────────────────────────────────────────────────────── */
.bg-section { background-color: var(--navy); }
.dark-section { color: rgba(255,255,255,0.8); }
.our-pricing { padding: 100px 0; background: #fff; }
.our-testimonials { padding: 100px 0; }
.our-blog { padding: 80px 0; }
.why-choose-us { padding: 100px 0; }
.our-programs { padding: 100px 0; }
.footer-gallery { padding-bottom: 80px; }

/* ─────────────────────────────────────────────────────────────
   20. SECTION FOOTER TEXT (ratings bar)
───────────────────────────────────────────────────────────── */
.section-footer-text {
  margin-top: 40px; padding: 24px 30px;
  background: rgba(255,255,255,0.05); border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; gap: 20px;
  flex-wrap: wrap;
}
.section-footer-text p { color: rgba(255,255,255,0.7); margin: 0; font-size: 14px; }
.section-footer-text ul { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; gap: 10px; }
.section-footer-text ul li { font-size: 14px; font-weight: 700; color: #fff; }
.section-footer-text ul li .counter { font-size: 22px; color: var(--gold); }
.section-footer-text ul li i { color: var(--gold); font-size: 13px; }

/* ─────────────────────────────────────────────────────────────
   21. PRELOADER
───────────────────────────────────────────────────────────── */
.preloader {
  position: fixed; inset: 0; background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  z-index: 99999; transition: opacity 0.5s, visibility 0.5s;
}
.preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.loading-container { text-align: center; }
.loading {
  width: 48px; height: 48px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--pink);
  animation: spin 0.8s linear infinite; margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─────────────────────────────────────────────────────────────
   22. PROGRAM BENEFIT LIST
───────────────────────────────────────────────────────────── */
.pricing-benefit-list { margin-top: 40px; }
.pricing-benefit-list ul { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.pricing-benefit-list ul li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); font-weight: 600; }
.pricing-benefit-list ul li img { width: 22px; height: 22px; }

/* ─────────────────────────────────────────────────────────────
   23. JOIN ACADEMY CIRCLE
───────────────────────────────────────────────────────────── */
.join-academy-circle a { display: inline-block; transition: var(--transition); }
.join-academy-circle a:hover { transform: rotate(15deg) scale(1.05); }

/* ─────────────────────────────────────────────────────────────
   24. SWIPER OVERRIDES
───────────────────────────────────────────────────────────── */
.testimonial-slider .swiper { padding-bottom: 10px; }
.testimonial-slider .swiper-slide { height: auto; }

/* ─────────────────────────────────────────────────────────────
   25. ICON BOXES (Why Choose)
───────────────────────────────────────────────────────────── */
.icon-box img { transition: transform 0.4s ease; }
.why-choose-us-item:hover .icon-box img { transform: scale(1.15) rotate(5deg); }

/* ─────────────────────────────────────────────────────────────
   ══════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ══════════════════════════════════════════════════════════
───────────────────────────────────────────────────────────── */

/* ── Extra Large (< 1400px) ─────────────────────────────── */
@media (max-width: 1399px) {
  .hero-image img { height: 500px; }
  .about-us-image-box-1 .about-us-image img { height: 420px; }
}

/* ── Large (< 1200px) ───────────────────────────────────── */
@media (max-width: 1199px) {
  .hero { padding: 120px 0 70px; }
  .hero-image img { height: 440px; }
  .about-us-image-box-2 { right: -10px; width: 50%; }
  .intro-video-box { padding: 40px; }
  .our-programs, .why-choose-us, .about-us,
  .our-pricing, .our-testimonials { padding: 80px 0; }
}

/* ── Medium (< 992px) ───────────────────────────────────── */
@media (max-width: 991px) {
  /* Hero */
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-image { margin-top: 40px; }
  .hero-image img { height: 380px; }
  .hero-content .section-title h1 { font-size: clamp(30px, 6vw, 50px); }

  /* About */
  .about-us-image-box { margin-bottom: 80px; }
  .about-us-image-box-2 { width: 48%; right: 0; }
  .about-student-rating-box { left: 0; bottom: -60px; }

  /* Programs */
  .program-item-image { height: 220px; }

  /* Intro video */
  .intro-video-box { flex-direction: column; text-align: center; padding: 36px 28px; }
  .intro-video-play-btn { order: -1; }
  .intro-video-list ul li { justify-content: center; }

  /* Testimonials */
  .testimonial-review-box { margin-bottom: 40px; }
  .testimonial-content-box { margin-top: 0; }

  /* Pricing */
  .pricing-item { padding: 28px 24px; }
  .pricing-benefit-list ul { gap: 20px; }

  /* Sections */
  .section-row { margin-bottom: 36px; }
  .our-programs, .why-choose-us, .about-us,
  .our-pricing, .our-testimonials { padding: 70px 0; }
}

/* ── Small (< 768px) ───────────────────────────────────── */
@media (max-width: 767px) {
  /* Hero */
  .hero { padding: 90px 0 50px; }
  .hero-image img { height: 300px; border-radius: var(--radius-md); }
  .hero-content .section-title h3 { font-size: 11px; }
  .hero-content-footer { gap: 16px; }
  .hero-content-footer .hero-btn a { padding: 13px 24px; font-size: 13px; }

  /* About */
  .about-us-image-box-2 { position: static; width: 100%; margin-top: 16px; }
  .about-us-image-box-2 .about-us-image img { height: 200px; }
  .about-student-rating-box { position: static; width: 100%; margin-top: 16px; }
  .about-us-image-box-1 .about-us-image img { height: 320px; }
  .about-us-body-counter-list { gap: 12px; }
  .about-us-counter-item { padding: 16px 12px; }
  .about-us-counter-item h2 { font-size: 26px; }
  .about-us-footer { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* Programs */
  .program-item-image { height: 200px; }
  .our-programs, .why-choose-us, .about-us,
  .our-pricing, .our-testimonials { padding: 60px 0; }

  /* Pricing */
  .pricing-item-content h2 { font-size: 34px; }
  .pricing-benefit-list ul { gap: 16px; flex-direction: column; align-items: center; }

  /* Intro video */
  .intro-video { padding: 60px 0; }
  .intro-video-box { padding: 28px 20px; border-radius: var(--radius-md); }

  /* Gallery strip */
  #gallery-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Section headings */
  .section-title h2 { font-size: clamp(22px, 5.5vw, 32px); }
  .section-title-center.section-row { margin-bottom: 28px; }

  /* Blog */
  .post-item { margin-bottom: 24px; }

  /* Why choose */
  .why-choose-us-image { display: none; } /* Hide center image on mobile to save space */
  .col-xl-4.order-xl-2 { display: none; }
}

/* ── Extra Small (< 576px) ─────────────────────────────── */
@media (max-width: 575px) {
  /* Global */
  .container { padding-left: 16px; padding-right: 16px; }

  /* Hero */
  .hero { padding: 80px 0 45px; }
  .hero-content .section-title h1 { font-size: clamp(26px, 7vw, 38px); }
  .hero-content .section-title p { font-size: 14px; }
  .hero-image img { height: 250px; }
  .hero-body-list ul li { font-size: 13px; }
  .hero-content-footer { flex-direction: column; align-items: flex-start; gap: 16px; }
  .video-play-button a { width: 46px; height: 46px; font-size: 14px; }

  /* About */
  .about-us-image-box-1 .about-us-image img { height: 260px; }

  /* Programs - 2 cols on xs, 1 col below 400px */
  .our-program-item { margin-bottom: 20px; }
  .program-item-image { height: 180px; }

  /* Pricing - full width */
  .pricing-item { padding: 24px 20px; }
  .pricing-item-content h2 { font-size: 30px; }

  /* Buttons */
  .btn-default { padding: 12px 22px; font-size: 13px; }

  /* Section */
  .section-title h3 { font-size: 11px; }

  /* Gallery */
  #gallery-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }

  /* Float buttons */
  .mahi-float-btns { bottom: 20px; right: 16px; }
  .mahi-wa-btn { width: 46px; height: 46px; font-size: 19px; }
  .mahi-totop-btn { width: 38px; height: 38px; font-size: 14px; }
}

@media (max-width: 400px) {
  .hero-content .section-title h1 { font-size: 24px; }
  .program-item-image { height: 160px; }
  .col-6 .our-program-item { margin-bottom: 16px; }
}

/* ─────────────────────────────────────────────────────────────
   26. ANIMATE ON SCROLL — Smooth reveal
───────────────────────────────────────────────────────────── */
.wow { animation-duration: 0.7s !important; animation-fill-mode: both; }

/* ─────────────────────────────────────────────────────────────
   27. DARK MODE — System preference
───────────────────────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  :root { --off-white: #0f1440; --border: rgba(255,255,255,0.08); }
  body { background: #fff; } /* Keep white as base for dance site */
}

/* ─────────────────────────────────────────────────────────────
   28. PRINT STYLES
───────────────────────────────────────────────────────────── */
@media print {
  .preloader, .mahi-float-btns, .mahi-mobile-toggle,
  .mahi-mobile-nav, .mahi-footer-cta, .header-btn { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .bg-section, .dark-section { background: #fff !important; color: #000 !important; }
}

/* ─────────────────────────────────────────────────────────────
   29. ACCESSIBILITY — Focus styles
───────────────────────────────────────────────────────────── */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 4px;
}

/* ─────────────────────────────────────────────────────────────
   30. UTILITY CLASSES
───────────────────────────────────────────────────────────── */
.text-pink    { color: var(--pink) !important; }
.text-gold    { color: var(--gold) !important; }
.text-navy    { color: var(--navy) !important; }
.bg-pink      { background: var(--pink) !important; }
.bg-navy      { background: var(--navy) !important; }
.rounded-xl   { border-radius: var(--radius-xl) !important; }
.shadow-glow  { box-shadow: 0 8px 32px rgba(216,14,126,0.25) !important; }
.no-underline { text-decoration: none !important; }
.fw-800       { font-weight: 800 !important; }
