html,
body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Fredoka', sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: #fff0f6; /* Light pink background from logo theme */
}

.bg-pattern {
  background-color: #f9f9f9;
  background-image: url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FF6B6B' fill-opacity='0.1'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
}

.nav-item .nav-link {
  position: relative;
  transition: all 0.3s;
}

.nav-item .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 0;
  background-color: #FF6B6B; /* Pink/Red for hover underline */
  transition: width 0.3s;
  border-radius: 3px;
}

.nav-item .nav-link:hover::after {
  width: 100%;
}

.hero-carousel .carousel-item img {
  height: 500px;
  object-fit: cover;
  border-radius: 0 0 30px 30px;
  margin-top: 40px;
}

.gallery-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 4/3;
}

.gallery-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 25px rgba(74, 144, 226, 0.15); /* Blue shadow */
}

.gallery-item-clickable {
  cursor: pointer;
}

#imageModal .modal-body img {
  max-height: 80vh;
  width: auto;
  max-width: 100%;
}

.section-title {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.section-title::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 12px;
  bottom: 5px;
  left: 0;
  background-color: rgba(255, 209, 102, 0.4); /* Yellow/Orange tint */
  z-index: -1;
  border-radius: 10px;
}

.program-card {
  transition: all 0.3s;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(74, 144, 226, 0.1); /* Blue shadow */
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(74, 144, 226, 0.1); /* Blue shadow */
}

.teacher-program {
  transition: all 0.3s;
  background: #A3D8A0; /* Green background */
  border-radius: 15px;
  overflow: hidden;
}

.teacher-program:hover {
  box-shadow: 0 10px 25px rgba(163, 216, 160, 0.1); /* Green shadow */
}

.testimonial-card {
  background: #A3D8A0; /* Green background */
  border-radius: 20px;
  transition: all 0.3s;
  margin: 40px 20px 20px;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -30px;
  left: 20px;
  font-size: 80px;
  color: #FFD166; /* Yellow/Orange quote mark */
  font-family: serif;
  line-height: 1;
}

.testimonial-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-top: -40px;
}

.form-control {
  border-radius: 15px;
  padding: 12px 15px;
  font-family: 'Fredoka', sans-serif;
  border: 2px solid #e9ecef;
  transition: all 0.3s;
}

.form-control:focus {
  border-color: #4A90E2; /* Blue focus border */
  box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25); /* Blue shadow */
}

.contact-form-wrapper {
  background: white;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: #FF6B6B; /* Pink/Red button */
  border-color: #FF6B6B;
  border-radius: 15px;
  padding: 10px 25px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary:hover {
  background-color: #ff5252; /* Darker Pink/Red */
  border-color: #ff5252;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

/* Floating shapes decoration */
.shape {
  position: absolute;
  z-index: -1;
  opacity: 0.5;
}

.shape-1 {
  top: 10%;
  left: 5%;
  width: 80px;
  height: 80px;
  background-color: #FFD166; /* Yellow/Orange shape */
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morph 6s linear infinite alternate;
}

.shape-2 {
  bottom: 10%;
  right: 5%;
  width: 100px;
  height: 100px;
  background-color: #4A90E2; /* Blue shape */
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morph 8s linear infinite alternate;
}

.shape-3 {
  top: 50%;
  right: 10%;
  width: 60px;
  height: 60px;
  background-color: #FF6B6B; /* Pink/Red shape */
  border-radius: 50% 50% 20% 80% / 25% 80% 20% 75%;
  animation: morph 10s linear infinite alternate;
}

@keyframes morph {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  25% {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  }
  50% {
    border-radius: 50% 50% 20% 80% / 25% 80% 20% 75%;
  }
  75% {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  }
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-carousel .carousel-item img {
    height: 300px;
  }
}
/* SECTION BASE */
.faqx-section {
  width: 100%;
  background-color: #fefefe;
  padding: 4rem 0;
}

/* CONTAINER with NO SIDE SPACING */
.faqx-container {
  max-width: 100%;
  padding: 0 1rem;
}

/* TITLE */
.faqx-title {
  font-size: 2.5rem;
  text-align: center; /* 👈 Center the text */
  margin-bottom: 2.5rem;
  color: #1E3A8A;
  font-family: 'Fredoka', sans-serif;
  padding: 0 1rem;
}

/* EACH FAQ ITEM */
.faqx-item {
  margin-bottom: 1.5rem;
  padding: 0 2rem;
}

/* QUESTION BUTTON */
.faqx-question {
  width: 100%;
  text-align: left;
 
  border: none;
  padding: 1rem 1.25rem;
  font-size: 1.125rem;
  font-weight: 500;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  color: #1f2937;
}


/* ANSWER */
.faqx-answer {
  margin-top: 0.75rem;
  background-color: #ffffff;
  padding: 0.75rem 1.25rem;
 
  border-radius: 0 0.5rem 0.5rem 0.5rem;
  display: none; /* Hidden by default — can toggle with JS */
}

.faqx-answer p {
  margin: 0;
  font-size: 1rem;
  color: #374151;
  line-height: 1.6;
}

/* OPTIONAL: Open answer class for toggle */
.faqx-item.active .faqx-answer {
  display: block;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .faqx-title {
    font-size: 2rem;
    padding: 0 1rem;
  }

  .faqx-item {
    padding: 0 1rem;
  }
}

.booking-form .form-control,
.booking-form .form-select {
  height: 50px;
  font-size: 16px;
}

/* Add Poppins font import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Mobile Responsive CSS */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
  .hidden.md\\:flex {
    display: none !important;
  }
  #mobile-menu {
    display: block;
    background: white;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  .hero-carousel .carousel-item img {
    height: 300px;
    border-radius: 0 0 20px 20px;
  }
  .carousel-indicators {
    bottom: 10px;
  }
  #about .row.g-5.align-items-center {
    flex-direction: column;
  }
  #about .col-lg-6 {
    width: 100%;
    margin-left: 0 !important;
  }
  #about .p-4.bg-white.rounded-3xl.shadow-sm.mb-10.ml-5 {
    margin-left: 0 !important;
    margin-bottom: 2rem !important;
  }
  #subscribe .col-md-4 {
    margin-bottom: 2rem;
  }
  #subscribe .ml-5 {
    margin-left: 0 !important;
  }
  #subscribe .mr-5 {
    margin-right: 0 !important;
  }
  #faq {
    padding: 2rem 1rem;
  }
  #faq h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  .faq-question {
    padding: 1rem 1.2rem;
    font-size: 1rem;
  }
  .faq-answer {
    padding: 0 1.2rem;
    font-size: 0.95rem;
  }
  .faq-answer.open {
    padding: 1rem 1.2rem;
  }
  .gallery-card {
    margin-bottom: 1rem;
  }
  #blog .grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  #contact .row.g-5 {
    flex-direction: column;
  }
  #contact .col-lg-6 {
    width: 100%;
  }
  .contact-form-wrapper {
    padding: 1.5rem !important;
  }
  footer .row.g-4 {
    flex-direction: column;
  }
  footer .col-lg-4,
  footer .col-lg-2,
  footer .col-lg-3 {
    margin-bottom: 2rem;
    width: 100%;
  }
  .text-center-mobile {
    text-align: center;
  }
  .p-8 {
    padding: 2rem 0 !important;
  }
}

@media (max-width: 480px) {
  .hero-carousel .carousel-item img {
    height: 250px;
  }
  #about .display-4 {
    font-size: 2.2rem;
  }
  #about .lead {
    font-size: 1.1rem;
  }
  #subscribe .p-4 {
    padding: 1.5rem !important;
  }
  .col-6 {
    width: 100%;
  }
  .testimonial-card {
    margin: 30px 15px 15px;
  }
  .testimonial-image {
    width: 60px;
    height: 60px;
    margin-top: -30px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-carousel .carousel-item img {
    height: 400px;
  }
  #subscribe .col-md-4 {
    margin-bottom: 2rem;
  }
  .col-md-4 {
    width: 50%;
  }
}

.about-images {
  flex: 1 1 100%;
  display: flex;
  gap: 1rem;
  flex-wrap: nowrap;
  justify-content: center;
}

.image-item {
  flex: 1 1 48%;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  max-height: 400px;
  max-width: 100%;
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 991px) {
  .about-images {
    flex-wrap: wrap;
  }
  .image-item {
    flex: 1 1 100%;
    max-height: 400px;
    margin-bottom: 1rem;
  }
}

/* SECTION STYLES */
.aboutx-section {
  width: 100%;
  background-color: #f9f9f9;
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
}

/* OPTIONAL DECORATION */
.aboutx-shape.shape-3 {
  position: absolute;
  top: 0;
  left: 0;
  /* You can style the shape here */
}

/* WRAPPER */
.aboutx-wrapper {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

/* HEADER */
.aboutx-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 0 1rem;
  margin-bottom: 20px;
  color: #1E3A8A;
}

.aboutx-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.aboutx-subtitle {
  font-size: 1.125rem;
  color: #444;
}

/* CONTENT LAYOUT */
.aboutx-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  margin: 0;
}

/* LEFT TEXT */
.aboutx-text {
  flex: 1 1 50%;
  padding: 1rem 2rem;
}

.aboutx-text-inner p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #333;
}

/* DOWNLOAD BUTTONS */
.aboutx-downloads {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.aboutx-download-btn {
  display: flex;
  align-items: center;
  background-color: black; /* Dark Navy (logo text color) */
  color: white;
  text-decoration: none;
  padding: 0.4rem 1.6rem;
  border-radius: 13px;
  transition: background-color 0.3s ease;
  font-weight: 600;
}

.aboutx-download-btn:hover {
  background-color: #4761ab; /* Bright Blue from logo */
}

.aboutx-download-btn img {
  width: 30px;
  height: 30px;
  margin-right: 0.5rem;
}

.download-text small {
  display: block;
  font-size: 0.75rem;
}

.download-text strong {
  font-size: 1rem;
}

/* RIGHT IMAGE */
.aboutx-image {
  flex: 1 1 50%;
  padding: 1rem 2rem;
  text-align: center;
}

.aboutx-image img {
  max-width: 80%;
  height: auto;
  border-radius: 12px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.aboutx-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .aboutx-content {
    flex-direction: column;
  }

  .aboutx-text,
  .aboutx-image {
    flex: 1 1 100%;
    padding: 1rem;
  }

  .aboutx-header {
    padding: 0 1rem;
  }
}


/* Apply Poppins font to specific elements */
body,
.btn,
.form-control,
.form-select {
  font-family: 'Poppins', 'Fredoka', sans-serif;
}

/* Ensure font consistency for headings */
h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  font-family: 'Fredoka', 'Poppins', sans-serif;
}

/* Fix for mobile menu */
#mobile-menu.hidden {
  display: none;
}
.main-navbar {
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
}

.navbar-logo {
  position: absolute;
  top: 0.75rem;
  left: 1rem;
  z-index: 60;
  display: flex;
  align-items: center;
  
}

.logo-img {
  height: 5.5rem;
  width: auto;
  margin-left: 30px;
}

/* Padding-left in container so content doesn't overlap logo */
.navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem 0 7rem; /* shift content to right to make room for logo */
}

.navbar-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 7rem;
  margin-left: 60px;
}

/* Logo Container */
.navbar-logo {
  display: flex;
  align-items: center;
}

/* Desktop Nav */
.navbar-links-desktop {
  display: none;
}

.nav-link {
  color: #4b5563; /* Gray-700 */
  text-decoration: none;
  margin-left: 1.5rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #4f46e5; /* Indigo-600 */
}

/* Hamburger icon */
.navbar-hamburger {
  display: flex;
  align-items: center;
}

.hamburger-btn {
  background: none;
  border: none;
  color: #4b5563;
  cursor: pointer;
  padding: 0;
}

.hamburger-icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: #ffffff;
  padding: 0 1rem 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mobile-nav-link {
  padding: 0.5rem 0;
  color: #4b5563;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: #4f46e5;
}

/* Responsive: Show Desktop Nav on md+ */
@media (min-width: 768px) {
  .navbar-links-desktop {
    display: flex;
    align-items: center;
  }

  .navbar-hamburger {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }
}
/* Container for hero section */
.hero-section {
  position: relative;
  overflow: hidden;
}

/* Shapes decoration */
.hero-shape.shape-1 {
  position: absolute;
  top: 0;
  left: 0;
  /* add your shape styling */
}

.hero-shape.shape-2 {
  position: absolute;
  bottom: 0;
  right: 0;
  /* add your shape styling */
}

/* Carousel container */
.custom-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Carousel indicators */
.custom-carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.custom-carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.custom-carousel-indicators button.active,
.custom-carousel-indicators button:hover {
  background-color: rgba(255, 255, 255, 1);
}

/* Carousel inner wrapper */
.custom-carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
  padding-top: 15px; /* pt-15 equivalent */
}

/* Each carousel item */
.custom-carousel-item {
  display: none;
  position: relative;
  width: 100%;
  height: 100%;
}

.custom-carousel-item.active {
  display: block;
}

/* Images inside carousel */
.custom-carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Carousel control buttons */
.custom-carousel-control-prev,
.custom-carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 10;
}

.custom-carousel-control-prev {
  left: 10px;
}

.custom-carousel-control-next {
  right: 10px;
}

/* Icons inside control buttons */
.custom-carousel-control-prev-icon,
.custom-carousel-control-next-icon {
  display: inline-block;
  width: 30px;
  height: 30px;
  background-size: contain;
  background-repeat: no-repeat;
  /* Add your custom arrows background images or SVG here */
}

/* Example: simple arrow using borders */
.custom-carousel-control-prev-icon {
  border-style: solid;
  border-width: 0 3px 3px 0;
  border-color: white;
  padding: 5px;
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

.custom-carousel-control-next-icon {
  border-style: solid;
  border-width: 0 3px 3px 0;
  border-color: white;
  padding: 5px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}
