@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
  --primary-color: #f97d80;
  --secondary-color: #b4ed7f;
  --accent-color: #f9eda8;
  --bg-color: #fcfdfe;
  --text-color: #2b2b2b;
  --card-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s, color 0.3s;
}

/* Background blob animations */
.bg-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.6;
  animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--primary-color), transparent 70%);
  animation-delay: 0s;
}

.blob-2 {
  bottom: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--accent-color), transparent 70%);
  animation-delay: -5s;
}

.blob-3 {
  top: 40%;
  left: 40%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, var(--secondary-color), transparent 70%);
  animation-delay: -10s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Navigation */
nav {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  box-shadow: var(--glass-shadow);
  transition: padding 0.3s;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s;
}

.logo-img:hover {
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  position: relative;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  transition: width 0.3s;
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

/* Page Layout */
main {
  padding: 4rem 5%;
  max-width: 1200px;
  margin: 0 auto;
  min-height: calc(100vh - 160px);
}

header.page-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInDown 0.8s ease-out;
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

/* Glass Cards */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 24px;
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fadeInUp 0.8s ease-out backwards;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.15);
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 1200px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Testimonials single-column list */
.testimonials-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Testimonial location badge */
.testimonial-location {
  display: inline-block;
  background: rgba(42, 157, 143, 0.1);
  color: #2a9d8f;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  margin-left: 0.3rem;
}

/* Feature Images */
.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Testimonial Quote */
.quote {
  font-style: italic;
  font-size: 1.2rem;
  border-left: 4px solid var(--primary-color);
  padding-left: 1rem;
  margin-bottom: 1rem;
}

/* FAQs */
.faq-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--glass-border);
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-question {
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--glass-border);
  margin-top: 4rem;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Staggered Animations */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

/* Hamburger Menu Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text-color);
  border-radius: 3px;
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.4rem;
  }

  /* Typography */
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  p {
    font-size: 1rem;
  }

  /* Layout */
  main {
    padding: 2rem 4%;
  }

  header.page-header {
    margin-bottom: 2rem;
  }

  .glass-card {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  /* FAQs */
  .faq-question {
    font-size: 1.1rem;
  }

  /* Footer */
  footer {
    padding: 1.5rem 1rem;
    margin-top: 2rem;
  }

  .logo-img {
    height: 40px;
  }
}

/* Profile Card - horizontal layout for owner bios */
.profile-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.profile-card .profile-img {
  width: 220px;
  min-width: 220px;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.profile-card .profile-text {
  flex: 1;
}

@media (max-width: 768px) {
  .profile-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .profile-card .profile-img {
    width: 100%;
    min-width: unset;
    height: 250px;
  }
}

/* Location Cards */
.location-card {
  position: relative;
  overflow: hidden;
  padding-top: 2.5rem;
}

.location-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #2a9d8f, #4cc9a0);
  border-radius: 24px 24px 0 0;
}

.location-card h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.loc-detail {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  opacity: 0.85;
}

.director-box {
  background: rgba(42, 157, 143, 0.08);
  border-left: 4px solid #2a9d8f;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  margin: 1.2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.director-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #2a9d8f;
}

.director-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-color);
}

.rates-details {
  margin-bottom: 1rem;
}

.btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #2a9d8f;
  border-radius: 50px;
  background: transparent;
  color: #2a9d8f;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  list-style: none;
}

.btn-outline:hover {
  background: rgba(42, 157, 143, 0.08);
}

.btn-outline::-webkit-details-marker {
  display: none;
}

.rates-content {
  padding: 1rem 0.5rem 0;
}

.rates-content p {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.btn-primary {
  display: block;
  width: 100%;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, #2a9d8f, #3cbaa0);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 14px rgba(42, 157, 143, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 157, 143, 0.4);
}

/* Rates expanded content */
.rates-heading {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-color);
}

.rates-table {
  border-left: 3px solid rgba(42, 157, 143, 0.25);
  margin-bottom: 1.2rem;
}

.rate-row {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.9rem;
}

.rate-row:last-child {
  border-bottom: none;
}

.rate-row strong {
  white-space: nowrap;
}

.reg-fees-box {
  background: rgba(42, 157, 143, 0.06);
  border: 1px solid rgba(42, 157, 143, 0.15);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1.2rem;
}

.reg-fees-box strong {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: #2a9d8f;
}

.reg-fees-box p {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.discount-note {
  color: #2a9d8f;
  font-weight: 600;
}

.tuition-note {
  font-size: 0.85rem;
  text-align: center;
  opacity: 0.6;
  margin-top: 0.5rem;
}

/* Why We're Different Section */
.why-different {
  margin: 3rem -5%;
  padding: 4rem 5%;
  background: linear-gradient(180deg, rgba(249, 125, 128, 0.06) 0%, rgba(249, 237, 168, 0.08) 100%);
  border-radius: 0;
  animation: fadeInUp 0.8s ease-out backwards;
}

.why-different-header {
  text-align: center;
  margin-bottom: 3rem;
}

.why-different-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #1e3a5f;
  margin-bottom: 0.75rem;
}

.why-different-header p {
  font-size: 1.1rem;
  color: #5a6e7f;
  max-width: 600px;
  margin: 0 auto;
}

.why-different-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon--teal {
  background: #e0f7f3;
  color: #2a9d8f;
}

.feature-icon--orange {
  background: #fde8d8;
  color: #e07832;
}

.feature-icon--green {
  background: #e4f5e0;
  color: #4a9e3f;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1e3a5f;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.98rem;
  color: #5a6e7f;
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .why-different {
    padding: 3rem 4%;
    margin: 2rem -4%;
  }
  .why-different-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .why-different-header h2 {
    font-size: 1.8rem;
  }
}

/* Carousel */
.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  margin: 1rem 0;
}

.carousel-track-wrapper {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  padding-bottom: 0.5rem;
}

.carousel-track-wrapper::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
}

.carousel-slide {
  flex: 0 0 calc((100% - 3rem) / 3);
  scroll-snap-align: start;
  display: flex;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.testimonial-card .quote {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.carousel-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  position: absolute;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s, background 0.3s;
}

.carousel-btn:hover {
  transform: scale(1.1);
  background: #e66a6d;
}

.prev-btn {
  left: -20px;
}

.next-btn {
  right: -20px;
}

@media (max-width: 900px) {
  .carousel-slide {
    flex: 0 0 calc((100% - 1.5rem) / 2);
  }
}

@media (max-width: 600px) {
  .carousel-slide {
    flex: 0 0 100%;
  }
  .prev-btn {
    left: -10px;
  }
  .next-btn {
    right: -10px;
  }
}
