@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.12.1/font/bootstrap-icons.min.css");

/* ==============================
   DESIGN TOKENS
============================== */
:root {
  --primary-color: #753475;
  --secondary-color: #fff;
  --tertiary-color: #f37735;

  /* Extended palette */
  --primary-light: #9b5e9b;
  --primary-dark: #5a2358;
  --tertiary-light: #ff9d5c;
  --tertiary-dark: #d4611f;
  --bg-soft: #faf7fb;
  --bg-warm: #fff8f3;
  --text-dark: #2d2d2d;
  --text-body: #555;
  --text-muted: #888;
  --border-light: #f0e8f0;

  /* Spacing */
  --section-py: 5rem;
  --section-py-sm: 3.5rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(117, 52, 117, 0.06);
  --shadow-md: 0 8px 24px rgba(117, 52, 117, 0.08);
  --shadow-lg: 0 16px 48px rgba(117, 52, 117, 0.12);
  --shadow-orange: 0 8px 24px rgba(243, 119, 53, 0.2);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==============================
   BASE
============================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--secondary-color);
  overflow-x: hidden;
}

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

a {
  transition: color var(--transition-fast);
}

section {
  position: relative;
}

/* ==============================
   UTILITY CLASSES
============================== */
.text-primary {
  color: var(--primary-color) !important;
}

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

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

.text-justify {
  text-align: justify;
}

li::marker {
  color: var(--tertiary-color);
}

.section-spacing {
  padding: var(--section-py) 0;
}

/* ==============================
   SECTION HEADINGS
============================== */
.web-heading {
  color: var(--tertiary-color);
  position: relative;
  display: inline-block;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.5px;
}

.web-heading::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--tertiary-color));
  margin-top: 12px;
  z-index: 1;
  border-radius: 2px;
}

.icon-separator {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--secondary-color);
  color: var(--tertiary-color);
  font-size: 20px;
  margin-top: 3px;
  z-index: 2;
  padding: 0 0.5rem;
}

.web-font {
  color: var(--tertiary-color);
  font-weight: 600;
}

.web-font-2 {
  color: var(--primary-color);
  font-weight: 600;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 1.5rem auto 0;
}

/* ==============================
   TOP BAR
============================== */
.bg-top.bg-body-tertiary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
  padding: 0.4rem 0;
}

.social-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  background-color: rgba(255, 255, 255, 0.15);
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

.social-icon a {
  color: var(--secondary-color);
  transition: color var(--transition-fast);
}

.social-icon:hover a {
  color: var(--primary-color);
}

.social-icon i:hover {
  color: var(--primary-color) !important;
}

.nav_font {
  font-size: 0.85rem;
}

/* ==============================
   NAVBAR
============================== */
.navbar.sticky-top {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.btn-primary {
  --bs-btn-bg: var(--primary-color);
  --bs-btn-border-color: var(--primary-color);
  --bs-btn-hover-bg: var(--primary-dark);
  --bs-btn-hover-color: var(--secondary-color);
  --bs-btn-hover-border-color: var(--primary-dark);
  --bs-btn-active-bg: var(--primary-color);
  --bs-btn-active-border-color: var(--primary-color);
  border-radius: 50px;
  padding: 0.4rem 1.25rem;
  font-weight: 500;
  font-size: 0.85rem;
  transition: all var(--transition-base);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(117, 52, 117, 0.25);
}

.nav_menu.nav-link {
  position: relative;
  border-bottom: none;
  transition: color var(--transition-base);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 0.5rem 0.75rem !important;
}

.nav_menu.nav-link::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 24px;
  height: 3px;
  background: var(--tertiary-color);
  border-radius: 2px;
  transition: transform var(--transition-base);
}

.nav_menu.nav-link:hover {
  color: var(--tertiary-color);
}

.nav_menu.nav-link:hover::before {
  transform: translateX(-50%) scaleX(1);
}

.nav_drop.dropdown-menu {
  left: 50%;
  transform: translateX(-50%);
  --bs-dropdown-padding-x: 0.75rem;
  --bs-dropdown-spacer: 0.75rem;
  --bs-dropdown-bg: var(--primary-color);
  --bs-dropdown-link-color: var(--secondary-color);
  --bs-dropdown-color: var(--secondary-color);
  --bs-dropdown-link-hover-color: var(--tertiary-color);
  --bs-dropdown-link-active-bg: var(--secondary-color);
  --bs-dropdown-link-active-color: var(--primary-color);
  --bs-dropdown-border-radius: var(--radius-md);
  text-align: center;
  font-size: 0.9rem;
  border: none;
  box-shadow: var(--shadow-lg);
  animation: dropdownFade 0.25s ease;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* ==============================
   HERO SLIDER
============================== */
.hero-section {
  position: relative;
  overflow: hidden;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  /* background: var(--secondary-color); */
  background: transparent !important;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 85vh;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(90, 35, 88, 0.1) 0%,
    rgba(90, 35, 88, 0.6) 100%
  );
  z-index: 2;
}

.slide-content {
  position: absolute;
  bottom: 15%;
  left: 0;
  right: 0;
  z-index: 3;
  text-align: center;
  color: white;
  padding: 0 2rem;
}

.slide-content h1 {
  font-size: 3rem;
  font-weight: 800;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.slide-content p {
  font-size: 1.15rem;
  font-weight: 300;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.95;
}

.swiper_theme {
  --swiper-theme-color: var(--secondary-color);
  --swiper-navigation-color: var(--secondary-color);
  --swiper-pagination-bullet-inactive-color: rgba(255, 255, 255, 0.5);
  --swiper-pagination-bullet-inactive-opacity: 1;
  --swiper-pagination-color: var(--secondary-color);
  --swiper-pagination-bullet-size: 10px;
  --swiper-pagination-bullet-horizontal-gap: 6px;
}

.swiper-button-next,
.swiper-button-prev {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  transition: all var(--transition-base);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.3);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 1rem !important;
  font-weight: 700;
  padding: 0;
  background: none;
}

.autoplay-progress {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--secondary-color);
}

.autoplay-progress svg {
  --progress: 0;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  stroke-width: 4px;
  stroke: rgba(255, 255, 255, 0.7);
  fill: none;
  stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
  stroke-dasharray: 125.6;
  transform: rotate(-90deg);
}

/* ==============================
   ABOUT SECTION
============================== */
.about-section {
  padding: var(--section-py) 0;
  background: var(--secondary-color);
}

.about-image-wrapper {
  position: relative;
  display: inline-block;
}

.about-image-wrapper img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-slow);
}

.about-image-wrapper:hover img {
  transform: scale(1.02);
}

.about-image-wrapper::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--tertiary-color));
  border-radius: var(--radius-lg);
  top: 12px;
  left: 12px;
  z-index: -1;
  opacity: 0.2;
  transition: all var(--transition-base);
}

.about-image-wrapper:hover::before {
  top: 16px;
  left: 16px;
  opacity: 0.3;
}

.about-content {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-body);
}

.about-content p {
  margin-bottom: 1rem;
}

/* ==============================
   WHY CHOOSE US
============================== */
.why-choose-section {
  padding: var(--section-py) 0;
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}

.why-choose-section::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(117, 52, 117, 0.05), transparent 70%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
}

.why-choose-section::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(243, 119, 53, 0.05), transparent 70%);
  bottom: -80px;
  left: -80px;
  border-radius: 50%;
}

.choose-card {
  background: var(--secondary-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.choose-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--tertiary-color));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.choose-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.choose-card:hover::before {
  transform: scaleX(1);
}

.choose_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(117, 52, 117, 0.08), rgba(243, 119, 53, 0.08));
  margin-bottom: 1rem;
  transition: all var(--transition-base);
}

.choose-card:hover .choose_icon {
  background: linear-gradient(135deg, rgba(117, 52, 117, 0.15), rgba(243, 119, 53, 0.15));
  transform: scale(1.1);
}

.choose_icon img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

/* Legacy support - remove choose-bg background image approach */
.choose-bg {
  background: none;
}

.choose-bg::before {
  display: none;
}

.choose-card.card {
  background-color: var(--secondary-color);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  backdrop-filter: none;
  transition: all var(--transition-base);
}

.choose-card.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  background-color: var(--secondary-color);
}

/* ==============================
   GALLERY
============================== */
.gallery-section {
  padding: var(--section-py) 0;
  background: var(--secondary-color);
}

.gallery-img {
  height: 260px;
  object-fit: cover;
  transition: transform var(--transition-slow);
  border-radius: var(--radius-md);
}

.gallery-item {
  transition: all var(--transition-base);
}

.gallery-item .card {
  border-radius: var(--radius-md) !important;
  overflow: hidden;
  border: none !important;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

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

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

.gallery-item a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    transparent 30%,
    rgba(117, 52, 117, 0.6) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-overlay i {
  color: #fff;
  font-size: 2rem;
  transform: scale(0.8);
  transition: transform var(--transition-base);
}

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

.gallery-item:hover .gallery-overlay i {
  transform: scale(1);
}

.btn-gallery {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  padding: 0.6rem 2.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-base);
}

.btn-gallery:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(117, 52, 117, 0.25);
}

.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

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

/* ==============================
   TESTIMONIALS
============================== */
.testimonial-section {
  padding: var(--section-py) 0;
  background: var(--bg-warm);
  position: relative;
  overflow: hidden;
}

.testimonial-section::before {
  content: "\F6B0";
  font-family: "bootstrap-icons";
  position: absolute;
  top: 2rem;
  left: 3rem;
  font-size: 8rem;
  color: rgba(243, 119, 53, 0.04);
  z-index: 0;
}

.testimonial-card {
  background: var(--secondary-color);
  border-radius: var(--radius-lg);
  padding: 55px 20px 28px;
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  height: 100%;
  margin-top: 35px;
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(243, 119, 53, 0.2);
}
.quote-bg-icon {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 3rem;
  color: rgba(243, 119, 53, 0.08);
}
.testimonial-card:hover .quote-bg-icon{
  color: rgba(243, 119, 53, 0.2);
}
.testimonial-avatar {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid var(--secondary-color);
  box-shadow: 0 4px 16px rgba(117, 52, 117, 0.15);
  background: var(--secondary-color);
  overflow: hidden;
}
.testimonial-card:hover .testimonial-avatar{
  border: 4px solid var(--tertiary-color);
}
.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.parent-name {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1rem;
}

.review-preview p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-body);
}

.text-muted-light {
  opacity: 0.25;
}

.btn-outline-orange {
  color: var(--tertiary-color);
  border: 2px solid var(--tertiary-color);
  font-weight: 600;
  background: transparent;
  transition: all var(--transition-base);
  border-radius: 50px;
}

.btn-outline-orange:hover {
  background: var(--tertiary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}

.bg-orange {
  background: linear-gradient(135deg, var(--tertiary-color), var(--tertiary-dark)) !important;
}

.btn-orange {
  background: linear-gradient(135deg, var(--tertiary-color), var(--tertiary-dark));
  color: var(--secondary-color);
  font-weight: 600;
  border: none;
  transition: all var(--transition-base);
}

.btn-orange:hover {
  background: linear-gradient(135deg, var(--tertiary-dark), #c25418);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}

.testimonial-swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--primary-light);
  opacity: 0.3;
  transition: all var(--transition-fast);
}

.testimonial-swiper-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--primary-color);
  width: 28px;
  border-radius: 5px;
}

/* Testimonial Modal */
#reviewModal .modal-content {
  border-radius: var(--radius-lg) !important;
  border: none;
  overflow: hidden;
}

#reviewModal .modal-header {
  border: none;
}

/* ==============================
   INSTAGRAM / SOCIAL
============================== */
.social-section {
  padding: var(--section-py) 0;
  background: var(--secondary-color);
}

.social_media {
  width: 100%;
  height: 75vh;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.instagram-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  font-size: 1.1rem;
}

/* ==============================
   CONTACT SECTION
============================== */
.contact-section {
  padding: var(--section-py) 0;
  background: var(--bg-soft);
}

.contact-card {
  background: var(--secondary-color);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.contact-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--tertiary-color));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.contact-card:hover::after {
  transform: scaleX(1);
}

.icon-box {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(117, 52, 117, 0.08), rgba(243, 119, 53, 0.08));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--tertiary-color);
  font-size: 1.75rem;
  transition: all var(--transition-base);
}

.contact-card:hover .icon-box {
  background: linear-gradient(135deg, var(--primary-color), var(--tertiary-color));
  color: var(--secondary-color);
  transform: scale(1.1) rotate(5deg);
}

/* CTA Box */
.cta-box {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: var(--radius-xl);
  padding: 3.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(243, 119, 53, 0.2), transparent 70%);
  top: -60px;
  right: -60px;
  border-radius: 50%;
}

.cta-box::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent 70%);
  bottom: -40px;
  left: -40px;
  border-radius: 50%;
}

.cta-box h3 {
  color: var(--secondary-color);
}

.cta-box p {
  color: rgba(255, 255, 255, 0.85);
}

.btn-cta {
  background: var(--tertiary-color);
  color: var(--secondary-color);
  border: none;
  border-radius: 50px;
  padding: 0.85rem 2.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all var(--transition-base);
  position: relative;
  z-index: 2;
}

.btn-cta:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.bg-light-orange {
  background-color: #fff8f5;
  border: 1px solid #ffe0b2;
}

.opacity-10 {
  opacity: 0.1;
}

/* ==============================
   MAP SECTION
============================== */
.map-section {
  padding: 0;
  position: relative;
}

.map-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: 0 auto;
}

.map-container iframe {
  border: none !important;
  display: block;
}

/* ==============================
   FOOTER
============================== */
.footer-wave {
  display: block;
  width: 100%;
  line-height: 0;
  margin-bottom: -2px;
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: auto;
}

.bg_footer {
  background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
  padding-top: 1rem;
}

.footer-heading {
  color: var(--tertiary-color);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--tertiary-color);
  border-radius: 1px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.75) !important;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  display: inline-block;
  padding: 0.2rem 0;
}

.footer-link:hover {
  color: var(--tertiary-color) !important;
  transform: translateX(4px);
}

.footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: var(--secondary-color);
  font-size: 0.9rem;
  transition: all var(--transition-base);
  text-decoration: none;
}

.footer-social-icon:hover {
  background: var(--tertiary-color);
  color: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  margin-top: 1rem;
}

.footer-logo {
  width: 100%;
  height: 12vh;
  object-fit: contain;
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--tertiary-color));
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: all var(--transition-base);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ==============================
   SCROLL ANIMATIONS
============================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.active > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.active > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.active > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.active > *:nth-child(4) { transition-delay: 0.4s; }

.stagger-children.active > * {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   TABLES (admin/misc)
============================== */
.captain-table.table {
  --bs-table-bg: var(--secondary-color);
  --bs-table-striped-color: var(--primary-color);
  --bs-table-striped-bg: var(--tertiary-color);
  --bs-table-hover-bg: var(--secondary-color);
  --bs-table-hover-color: var(--tertiary-color);
  --bs-table-border-color: var(--primary-color);
}

.captain-table .table-primary {
  --bs-table-bg: var(--primary-color);
  --bs-table-color: var(--secondary-color);
}

/* ==============================
   FORMS
============================== */
.form-control {
  --bs-border-radius: var(--radius-sm);
  --bs-border-color: var(--border-light);
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(117, 52, 117, 0.1);
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-check-input:focus {
  box-shadow: none;
}

/* ==============================
   BREADCRUMB / INNER PAGES
============================== */
.card-brdcrmbs.card {
  --bs-card-border-width: none;
  --bs-card-border-radius: none;
  --bs-card-inner-border-radius: none;
}

.card-brdcrmbs .card-img {
  height: 28vh;
}

.breadcrumb {
  --bs-breadcrumb-font-size: 0.85rem;
  --bs-breadcrumb-divider: "|";
  --bs-breadcrumb-divider-color: var(--secondary-color);
  --bs-breadcrumb-divider-opacity: 1;
}

/* ==============================
   FAQ ACCORDION
============================== */
.faq.accordion {
  --bs-accordion-bg: var(--secondary-color);
  --bs-accordion-border-color: var(--border-light);
  --bs-accordion-active-color: var(--tertiary-color);
  --bs-accordion-button-bg: var(--secondary-color);
  --bs-accordion-border-width: 1px;
  --bs-accordion-border-radius: var(--radius-md);
  --bs-accordion-button-padding-y: 0.75rem;
  --bs-accordion-button-padding-x: 1.25rem;
  --bs-accordion-button-font-size: 1rem;
  --bs-accordion-button-font-weight: 500;
  --bs-accordion-focus-box-shadow: none;
  --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(117, 52, 117, 0.1);
  --bs-accordion-active-bg: none;
}

/* ==============================
   FACILITY
============================== */
.facility-bg {
  background: linear-gradient(rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.25)), url('https://playschool.neodales.edu.in/images/facility.webp');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.facility-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.facility-card.card {
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.facility-card.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.95);
}

.icon-wrapper {
  width: 65px;
  height: 65px;
  background-color: var(--tertiary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.facility-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.description-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-body);
}

/* ==============================
   EVENT
============================== */
.event-img img {
  display: block;
  width: 100%;
  height: 25vh;
  object-fit: contain;
}

.event-position {
  position: sticky;
  top: 7.5rem;
}

/* ==============================
   LEARNING PAGE
============================== */
.learning-card {
  background: var(--secondary-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  border-bottom: 4px solid transparent;
}

.learning-title {
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 2px dashed var(--border-light);
}

.learning-description {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
  text-align: justify;
}

.watermark-number {
  position: absolute;
  top: -20px;
  right: -10px;
  font-size: 6rem;
  font-weight: 900;
  color: rgba(230, 81, 0, 0.08);
  font-family: sans-serif;
  z-index: 0;
  pointer-events: none;
  transition: all 0.4s ease;
}

.learning-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg) !important;
  border-bottom: 4px solid var(--tertiary-color);
}

.learning-card:hover .learning-title {
  color: var(--tertiary-color);
}

.learning-card:hover .watermark-number {
  transform: scale(1.2) rotate(-10deg);
  color: rgba(230, 81, 0, 0.15);
}

/* ==============================
   LEADER SECTION
============================== */
.leader-image-card {
  position: relative;
  padding: 10px;
  background: var(--secondary-color);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transform: rotate(-1deg);
  transition: all var(--transition-base);
}

.leader-image-card:hover {
  transform: rotate(0deg) translateY(-5px);
  box-shadow: var(--shadow-lg) !important;
}

.leader-image-card img {
  border-radius: var(--radius-md);
  height: 400px;
  object-fit: cover;
}

.leader-badge {
  position: absolute;
  bottom: 30px;
  right: -10px;
  background-color: var(--tertiary-color);
  color: var(--secondary-color);
  padding: 10px 30px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  box-shadow: var(--shadow-orange);
  z-index: 2;
}

.leader-badge.bg-purple {
  background-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(106, 27, 154, 0.3);
}

.ls-1 {
  letter-spacing: 2px;
  font-size: 0.85rem;
}

.message-content {
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ==============================
   MISC OVERRIDES
============================== */
.nav-tabs .nav-pills {
  --bs-nav-tabs-link-active-color: var(--primary-color);
  --bs-nav-tabs-link-active-bg: var(--secondary-color);
  --bs-nav-tabs-link-active-border-color: var(--primary-color);
  --bs-nav-tabs-link-active-box-shadow: none;
  --bs-nav-tabs-link-hover-color: var(--tertiary-color);
}

.btn-explore.btn {
  --bs-btn-bg: var(--secondary-color);
  --bs-btn-color: var(--tertiary-color);
  --bs-border-width: 2px;
  --bs-btn-border-color: var(--tertiary-color);
  --bs-btn-hover-bg: var(--tertiary-color);
  --bs-btn-hover-color: var(--secondary-color);
  --bs-btn-hover-border-color: var(--secondary-color);
  --bs-btn-active-bg: var(--primary-color);
  --bs-btn-active-border-color: var(--primary-color);
  --bs-btn-border-radius: 50px;
}

.m_y {
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
}

.m_y2 {
  margin-top: 4.5rem;
  margin-bottom: 4.5rem;
}

.img-box {
  width: 100%;
  height: auto;
}

.img-box-2 {
  width: 10rem;
  height: 10rem;
}

.position-small-image {
  width: 16rem;
  height: 16rem;
  object-fit: fill;
}

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 991px) {
  :root {
    --section-py: 3.5rem;
  }

  .web-heading {
    font-size: 1.65rem;
  }

  .slide-content h1 {
    font-size: 2rem;
  }

  .slide-content p {
    font-size: 1rem;
  }
}

@media (max-width: 850px) {
  .nav_drop.dropdown-menu {
    left: 0;
    transform: translateX(0%);
  }
}

@media (max-width: 767px) {
  :root {
    --section-py: 3rem;
  }

  .web-heading {
    font-size: 1.5rem;
  }

  .slide-content h1 {
    font-size: 1.5rem;
  }

  .slide-content p {
    font-size: 0.9rem;
    display: none;
  }

  .gallery-img {
    height: 180px;
  }

  .about-image-wrapper::before {
    display: none;
  }

  .cta-box {
    padding: 2.5rem 1.5rem;
  }

  .choose-card {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 500px) {
  .facility-icon {
    height: 10vh;
  }

  .gallery-img {
    height: 160px;
  }

  .swiper-slide img {
    height: 55vh;
    object-fit: cover;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }

  .footer-logo {
    width: 100%;
    height: 10vh;
  }

  .social_media {
    height: 50vh;
  }
}

@media (min-width: 1024px) and (max-width: 1440px) {
  .nav_menu.nav-link {
    font-size: 0.85rem;
  }
}

/* ==============================
   COMMUNITY SECTION (Testimonials + Instagram)
============================== */
.community-section {
  padding: var(--section-py) 0;
  background: var(--bg-warm);
  position: relative;
  overflow: hidden;
}

.community-section::before {
  content: "\F6B0";
  font-family: "bootstrap-icons";
  position: absolute;
  top: 2rem;
  left: 2rem;
  font-size: 6rem;
  color: rgba(243, 119, 53, 0.04);
  z-index: 0;
}

/* Testimonial block (when inside community row) */
.testimonial-block .testimonial-card {
  padding: 50px 18px 24px;
  margin-top: 35px;
  border-radius: var(--radius-lg);
}

.testimonial-block .testimonial-avatar {
  width: 70px;
  height: 70px;
  top: -35px;
}

.testimonial-block .quote-bg-icon {
  font-size: 2.5rem;
}

/* Social block (when inside community row) */
.social-block {
  display: flex;
  flex-direction: column;
}

.social_media_embed {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: block;
}

/* Keep legacy social_media class for backwards compat */
.social_media {
  width: 100%;
  height: 75vh;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

/* Instagram gradient text */
.instagram-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  font-size: 1rem;
}

/* ==============================
   ADDITIONAL POLISH
============================== */

/* Subtle gradient line on section headings */
.web-heading::after {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--tertiary-color));
  border-radius: 2px;
  border: none;
}

/* Enhanced gallery row first two items larger */
@media (min-width: 992px) {
  .gallery-item:first-child .gallery-img,
  .gallery-item:nth-child(2) .gallery-img {
    height: 280px;
  }
}

/* Contact card icon pulse on hover */
@keyframes iconPulse {
  0%, 100% { transform: scale(1.1); }
  50% { transform: scale(1.15) rotate(5deg); }
}

.contact-card:hover .icon-box {
  animation: iconPulse 0.6s ease-in-out;
}

/* CTA button shimmer */
.btn-cta {
  position: relative;
  overflow: hidden;
}

.btn-cta::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: none;
}

.btn-cta:hover::after {
  animation: shimmer 0.8s ease forwards;
}

@keyframes shimmer {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

/* Footer wave smoother gradient */
.footer-wave svg path {
  transition: d var(--transition-slow);
}

/* ==============================
   RESPONSIVE — COMMUNITY
============================== */
@media (max-width: 991px) {
  .social_media_embed {
    height: 400px;
  }

  .testimonial-block .myTestimonial {
    padding: 1rem 0 !important;
  }
}

@media (max-width: 767px) {
  .social_media_embed {
    height: 350px;
  }

  .community-section {
    padding: var(--section-py-sm) 0;
  }
}

@media (max-width: 500px) {
  .social_media_embed {
    height: 300px;
  }
}

/* ==============================
   COMMUNITY SECTION (Reviews + Instagram row)
============================== */
.community-section {
  padding: var(--section-py) 0;
  background: var(--bg-warm);
  position: relative;
  overflow: hidden;
}

.community-section::before {
  content: "\F6B0";
  font-family: "bootstrap-icons";
  position: absolute;
  top: 2rem;
  left: 2rem;
  font-size: 6rem;
  color: rgba(243, 119, 53, 0.04);
  z-index: 0;
}

/* Swiper grid spacing fix — give room for the avatar that overflows top */
.myTestimonial .swiper-slide {
  padding-top: 40px;
  box-sizing: border-box;
}

.myTestimonial .swiper-wrapper {
  /* Ensure alignment works with grid mode */
  align-items: stretch;
}

/* Social block */
.social-block {
  display: flex;
  flex-direction: column;
}

.social_media_embed {
  width: 100%;
  height: 580px;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: block;
}

/* Instagram badge */
.instagram-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  font-size: 1rem;
}

/* ==============================
   RESPONSIVE — COMMUNITY
============================== */
@media (max-width: 991px) {
  .social_media_embed {
    height: 400px;
  }
}

@media (max-width: 767px) {
  .social_media_embed {
    height: 350px;
  }

  .community-section {
    padding: var(--section-py-sm) 0;
  }

  /* Single slide — reduce avatar space */
  .myTestimonial .swiper-slide {
    padding-top: 35px;
  }
}

@media (max-width: 500px) {
  .social_media_embed {
    height: 300px;
  }
}
