/* =======================================================================
   ROOT VARIABLES
   ======================================================================= */
:root {
  --primary-blue: #0aa8d8;
  --primary-blue-light: #4dc9ed;
  --navy-dark: #172a3f;
  --orange: #f04e2e;
  --orange-dark: #d63d1f;
  --text-muted: #5c6b7a;
  --card-navy-start: #1c1550;
  --card-navy-end: #3a1c71;
  --font-en: 'Poppins', sans-serif;
  --font-heading: 'Playfair Display', serif;
}

/* Smooth scrolling for the entire page */
html {
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); }
body { font-family: var(--font-en); color: var(--navy-dark); overflow-x: hidden; }
a { text-decoration: none; }

/* =======================================================================
   SHARED BUTTON HOVER
   ======================================================================= */
.call-us-btn, .btn-enroll, .btn-outline-dark-custom {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.call-us-btn:hover, .btn-enroll:hover, .btn-outline-dark-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(23, 42, 63, 0.2);
}
.call-us-btn i, .btn-enroll i, .btn-outline-dark-custom i {
  display: inline-block;
  transition: transform 0.2s ease;
}
.call-us-btn:hover i, .btn-enroll:hover i, .btn-outline-dark-custom:hover i {
  transform: translateX(3px);
}

/* =======================================================================
   NAVBAR
   ======================================================================= */
.custom-navbar {
  background-color: var(--primary-blue);
  padding: 10px 0;
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  z-index: 1000;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(23, 42, 63, 0.15);
}
.logo-img { height: 56px; width: auto; object-fit: contain; }
.custom-navbar .nav-link {
  color: #fff; font-weight: 500; font-size: 0.95rem;
  padding: 0.5rem 0.85rem; transition: opacity 0.2s ease;
}
.custom-navbar .nav-link:hover { opacity: 0.8; color: #fff; }
.call-us-btn {
  background: #fff; color: var(--primary-blue); font-weight: 600;
  border-radius: 30px; padding: 0.5rem 1.75rem;
  white-space: nowrap; display: inline-flex; align-items: center; gap: 6px;
}
.call-us-btn:hover { background: #eaf9ff; color: var(--primary-blue); }
.navbar-toggler { border-color: rgba(255,255,255,0.5); }

/* =======================================================================
   HERO
   ======================================================================= */
.hero-section {
  background: linear-gradient(180deg, var(--primary-blue-light) 0%, #eaf9ff 45%, #fff 100%);
  padding: 130px 0 60px;
}
.hero-heading { font-weight: 700; font-size: 2.4rem; line-height: 1.3; color: var(--navy-dark); margin-bottom: 18px; }
.text-accent { color: var(--orange); }
.hero-subheading {
  font-family: var(--font-en); font-weight: 700; font-size: 1.05rem;
  color: var(--orange); margin-bottom: 14px; max-width: 540px;
}
.hero-sub {
  font-family: var(--font-en); font-size: 1rem; color: var(--text-muted);
  margin-bottom: 16px; max-width: 540px;
}
.hero-sub:last-of-type { margin-bottom: 22px; }
.hero-checklist {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px; row-gap: 10px; margin-bottom: 26px; max-width: 540px;
}
.hero-checklist li {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-en); font-weight: 600; font-size: 0.95rem;
  color: var(--navy-dark);
}
.hero-checklist i { color: var(--orange); font-size: 1.05rem; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-enroll {
  background: var(--orange); color: #fff; font-family: var(--font-en);
  font-weight: 700; padding: 0.75rem 1.9rem; border-radius: 30px;
  font-size: 1rem; display: inline-flex; align-items: center; gap: 10px;
}
.btn-enroll:hover { background: var(--orange-dark); color: #fff; }
.btn-outline-dark-custom {
  background: transparent; color: var(--navy-dark); font-family: var(--font-en);
  font-weight: 600; padding: 0.65rem 1.6rem; border-radius: 30px;
  border: 2px solid var(--navy-dark); font-size: 0.95rem;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline-dark-custom:hover { background: var(--navy-dark); color: #fff; }
.hero-video-card {
  background: linear-gradient(135deg, var(--card-navy-start) 0%, var(--card-navy-end) 100%);
  border-radius: 20px; padding: 30px;
}
.hero-video-heading {
  font-weight: 700; font-size: 1.25rem; line-height: 1.4;
  color: #fff; margin-bottom: 20px;
}
.hero-video-img-wrap { border-radius: 14px; overflow: hidden; }
.hero-video-img { width: 100%; height: auto; display: block; border-radius: 14px; }

/* =======================================================================
   ABOUT
   ======================================================================= */
.about-section { background: #fff; padding: 70px 0; }
.section-heading { font-weight: 700; font-size: 1.9rem; color: var(--navy-dark); margin-bottom: 16px; }
.about-img-wrap { border-radius: 16px; overflow: hidden; }
.about-img { width: 100%; height: auto; display: block; border-radius: 16px; }
.about-subheading {
  font-family: var(--font-en); font-weight: 700; font-size: 1.1rem;
  color: var(--orange); margin-bottom: 16px;
}
.about-text {
  font-family: var(--font-en); color: var(--text-muted); font-size: 0.98rem;
  line-height: 1.6; margin-bottom: 18px;
}
.about-text strong { color: var(--navy-dark); }
.about-address-box {
  background: #f4f6f8; border-radius: 12px; padding: 18px 20px;
}
.about-address-label {
  font-family: var(--font-en); font-weight: 700; font-size: 0.85rem;
  color: var(--navy-dark); text-transform: uppercase; letter-spacing: 0.03em;
  margin-bottom: 6px;
}
.about-address-text {
  display: flex; align-items: flex-start; gap: 8px;
  font-family: var(--font-en); font-size: 0.9rem; color: var(--navy-dark);
  margin-bottom: 8px; line-height: 1.5;
}
.about-address-icon { color: var(--primary-blue); flex-shrink: 0; margin-top: 3px; }
.about-map-link {
  font-family: var(--font-en); font-weight: 600; font-size: 0.88rem;
  color: var(--primary-blue); text-decoration: underline; text-underline-offset: 2px;
}
.about-map-link:hover { color: var(--navy-dark); }

/* =======================================================================
   CURRICULUM
   ======================================================================= */
.curriculum-section { background: #eef3f8; padding: 70px 0; }
.curriculum-phase-card {
  background: #fff; border-radius: 12px; padding: 24px 26px;
  height: 100%; box-shadow: 0 6px 18px rgba(23,42,63,0.06);
}
.curriculum-phase-header {
  background: #f4f6f8; border-radius: 8px; padding: 14px 16px; margin-bottom: 14px;
}
.curriculum-phase-title-row {
  display: flex; align-items: flex-start; gap: 8px; margin-bottom: 4px;
}
.curriculum-phase-icon {
  color: var(--orange); font-size: 1rem; margin-top: 4px; flex-shrink: 0;
}
.curriculum-phase-title {
  font-weight: 700; font-size: 1rem; color: #0e6e80; line-height: 1.4; margin-bottom: 0;
}
.curriculum-phase-classes {
  font-family: var(--font-en); font-weight: 500; font-size: 0.9rem;
  color: var(--text-muted); margin-bottom: 0; padding-left: 24px;
}
.curriculum-phase-text {
  font-family: var(--font-en); color: var(--text-muted); font-size: 0.9rem;
  line-height: 1.6; margin-bottom: 0;
}
.curriculum-phase-text + .curriculum-phase-text { margin-top: 8px; }

/* =======================================================================
   ADMISSION
   ======================================================================= */
.admission-section { background: #fff; padding: 70px 0; }
.admission-timeline { position: relative; }
.admission-timeline::before {
  content: ''; position: absolute; top: 6px; bottom: 6px; left: 50%;
  width: 3px; background: var(--primary-blue); transform: translateX(-50%);
}
.admission-item { display: flex; align-items: center; position: relative; margin-bottom: 34px; }
.admission-item:last-child { margin-bottom: 0; }
.admission-col { flex: 1; }
.admission-badge-col { flex: 0 0 90px; display: flex; justify-content: center; z-index: 2; }
.admission-badge {
  width: 40px; height: 40px; border-radius: 50%; background: var(--primary-blue);
  color: #fff; font-family: var(--font-en); font-weight: 700; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
}
.admission-card {
  background: #f4f6f8; border-radius: 12px; padding: 18px 22px;
  max-width: 420px; position: relative;
}
.admission-content-left .admission-card::after {
  content: ''; position: absolute; top: 50%; right: -10px;
  transform: translateY(-50%);
  border-width: 8px 0 8px 10px; border-style: solid;
  border-color: transparent transparent transparent #f4f6f8;
}
.admission-content-right .admission-card::after {
  content: ''; position: absolute; top: 50%; left: -10px;
  transform: translateY(-50%);
  border-width: 8px 10px 8px 0; border-style: solid;
  border-color: transparent #f4f6f8 transparent transparent;
}
.admission-content-left { display: flex; justify-content: flex-end; }
.admission-content-right { display: flex; justify-content: flex-start; }
.admission-title {
  font-weight: 700; font-size: 1.05rem; color: var(--primary-blue); margin-bottom: 6px;
}
.admission-text {
  font-family: var(--font-en); font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0;
}

/* =======================================================================
   SUCCESS STORIES
   ======================================================================= */
.stories-section { background: #0d1b2a; padding: 50px 0 60px; }
.stories-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px;
}
.stories-heading { font-weight: 700; font-size: 1.5rem; color: #fff; margin-bottom: 0; }
.stories-nav { display: flex; gap: 10px; }
.stories-nav-btn {
  width: 38px; height: 38px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.08); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; transition: background 0.2s ease;
}
.stories-nav-btn:hover { background: var(--primary-blue); }

.stories-carousel-wrapper { overflow: hidden; position: relative; }
.stories-track {
  display: flex; flex-wrap: nowrap;
  transition: transform 0.5s ease;
  gap: 20px;
}
.story-card {
  flex: 0 0 calc((100% - 60px) / 4);
  max-width: calc((100% - 60px) / 4);
}
.story-img-wrap { position: relative; border-radius: 14px; overflow: hidden; margin-bottom: 12px; }
.story-img { width: 100%; height: 300px; object-fit: cover; display: block; }
.story-name {
  font-family: var(--font-en); font-weight: 600; font-size: 1rem;
  color: #fff; margin-bottom: 2px;
}
.story-batch {
  font-family: var(--font-en); font-size: 0.82rem; color: #8a97a3; margin-bottom: 0;
}

.stories-dots {
  display: flex; justify-content: center; gap: 10px; margin-top: 24px;
}
.stories-dot {
  width: 12px; height: 12px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.3); cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  padding: 0;
}
.stories-dot.active { background: var(--primary-blue); transform: scale(1.2); }
.stories-dot:hover { background: rgba(255,255,255,0.6); }

/* =======================================================================
   DEMO CLASSES
   ======================================================================= */
.demo-section { background: #eef3f8; padding: 70px 0; }
.demo-section .ratio {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(23,42,63,0.08);
}
.demo-section iframe {
  border-radius: 14px;
  width: 100%;
  height: 100%;
}

/* =======================================================================
   PORTFOLIO SHOWCASE
   ======================================================================= */
.portfolio-section { background: #fff; padding: 70px 0; }
.portfolio-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px;
}
.portfolio-heading { text-align: left; }
.portfolio-nav { display: flex; gap: 10px; flex-shrink: 0; }
.portfolio-nav-btn {
  width: 38px; height: 38px; border-radius: 50%; border: none;
  background: #eef3f8; color: var(--navy-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; transition: background 0.2s ease, color 0.2s ease;
}
.portfolio-nav-btn:hover { background: var(--primary-blue); color: #fff; }

.portfolio-carousel-wrapper { overflow: hidden; position: relative; }
.portfolio-track {
  display: flex; flex-wrap: nowrap;
  transition: transform 0.5s ease;
  gap: 20px;
}
.portfolio-card {
  position: relative;
  flex: 0 0 calc((100% - 40px) / 3);
  border-radius: 14px;
  overflow: hidden;
}
.portfolio-img {
  width: 100%; height: 260px; object-fit: cover; display: block;
  transition: transform 0.35s ease;
}
.portfolio-card:hover .portfolio-img { transform: scale(1.08); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,42,63,0) 30%, rgba(23,42,63,0.92) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px; opacity: 0; transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; transform: translateY(0); }
.portfolio-tag {
  align-self: flex-start; background: var(--orange); color: #fff;
  font-family: var(--font-en); font-weight: 600; font-size: 0.72rem;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 10px;
}
.portfolio-title {
  font-weight: 700; font-size: 1.05rem; color: #fff; margin-bottom: 10px;
}
.portfolio-link {
  font-family: var(--font-en); font-weight: 600; font-size: 0.85rem;
  color: #fff; display: inline-flex; align-items: center; gap: 6px;
  width: fit-content;
}
.portfolio-link:hover { color: var(--primary-blue-light); }
.portfolio-link i { transition: transform 0.2s ease; }
.portfolio-link:hover i { transform: translateX(3px); }

.portfolio-dots {
  display: flex; justify-content: center; gap: 10px; margin-top: 24px;
}
.portfolio-dot {
  width: 12px; height: 12px; border-radius: 50%; border: none;
  background: #d0d8e0; cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  padding: 0;
}
.portfolio-dot.active { background: var(--primary-blue); transform: scale(1.2); }
.portfolio-dot:hover { background: #b0bcc8; }

/* =======================================================================
   FAQ
   ======================================================================= */
.faq-section { background: #0d1b2a; padding: 60px 0 70px; }
.faq-heading { font-weight: 700; font-size: 1.9rem; color: #fff; }
.faq-accordion { max-width: 820px; margin: 0 auto; }
.faq-item { border-radius: 12px; margin-bottom: 14px; overflow: hidden; }
.faq-question {
  width: 100%; background: #202f40; border: none; text-align: left;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 22px;
  font-family: var(--font-en); font-weight: 600; font-size: 0.95rem;
  color: #fff; transition: background 0.2s ease;
}
.faq-question:hover { background: #263a4e; }
.faq-icon { flex-shrink: 0; color: #fff; font-size: 0.95rem; display: flex; align-items: center; }
.faq-icon i { transition: transform 0.25s ease; }
.faq-question:not(.collapsed) .faq-icon i { transform: rotate(180deg); }
.faq-answer {
  font-family: var(--font-en); font-size: 0.92rem; line-height: 1.6;
  color: var(--text-muted); background: #f4f6f8; padding: 16px 22px 20px;
  margin-bottom: 0;
}

/* =======================================================================
   CTA BANNER
   ======================================================================= */
.cta-section { background: #f4f6f8; padding: 60px 0; }
.cta-box {
  background: linear-gradient(90deg, #0a1e6e 0%, #0a6fd6 55%, #16c2e6 100%);
  border-radius: 20px; padding: 50px 40px;
}
.cta-heading {
  font-weight: 800; font-size: 1.7rem; letter-spacing: 0.5px;
  color: #fff; margin-bottom: 14px;
}
.cta-text {
  font-family: var(--font-en); font-weight: 500; font-size: 1rem;
  color: #eaf9ff; margin-bottom: 26px; max-width: 620px; margin-left: auto; margin-right: auto;
}
.cta-btn { font-family: var(--font-en); }

/* =======================================================================
   PAYMENT METHOD
   ======================================================================= */
.payment-section { background: #fff; padding: 70px 0; }
.payment-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: #fff; border: 1px solid #e0e6ec; border-radius: 10px;
  padding: 22px 20px; height: 100%; text-align: center;
}
.payment-logo { 
  height: 35px; 
  width: auto; 
  object-fit: contain; 
}
.payment-details { display: flex; align-items: center; justify-content: center; gap: 8px; }
.payment-number {
  font-family: var(--font-en); font-weight: 600; font-size: 0.95rem;
  color: var(--navy-dark);
}
.copy-icon-btn {
  color: var(--primary-blue); font-size: 1rem; flex-shrink: 0;
  cursor: pointer; transition: color 0.2s ease;
}
.copy-icon-btn:hover { color: var(--navy-dark); }
.copy-icon-btn.copied { color: #1fae5c; }
.bank-card {
  display: flex; align-items: flex-start; gap: 16px;
  background: #fff; border: 1px solid #e0e6ec; border-radius: 10px;
  padding: 20px; height: 100%;
}
.bank-logo { 
  height: 43px; 
  width: auto; 
  object-fit: contain; 
  flex-shrink: 0; 
  margin-top: 2px; 
}
.bank-details { flex: 1; }
.bank-name-row {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  margin-bottom: 8px;
}
.bank-name {
  font-family: var(--font-en); font-weight: 700; font-size: 1.05rem;
  color: var(--navy-dark);
}
.bank-tagline {
  font-family: var(--font-en); font-weight: 500; font-size: 0.68rem;
  letter-spacing: 0.5px; color: var(--text-muted);
}
.bank-line {
  font-family: var(--font-en); font-size: 0.85rem; color: var(--text-muted);
  margin-bottom: 4px;
}
.bank-line:last-child { margin-bottom: 0; }

/* =======================================================================
   OUR SISTER CONCERN
   ======================================================================= */
.sister-section { background: #fff; padding: 60px 0; }
.sister-logos-row {
  display: flex; flex-wrap: nowrap; justify-content: safe center;
  align-items: center; gap: 20px; overflow-x: auto;
  padding: 4px 6px; scrollbar-width: none; -ms-overflow-style: none;
}
.sister-logos-row::-webkit-scrollbar { display: none; }
.sister-logo-box {
  width: 120px;
  height: 78px;
  flex-shrink: 0;
  background: #f2f4fa;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  transition: box-shadow 0.2s ease;
}
.sister-logo-box:hover { box-shadow: 0 6px 16px rgba(23,42,63,0.12); }
.sister-logo {
  width: 120px;
  height: 78px;
  object-fit: contain;
}

/* =======================================================================
   FOOTER
   ======================================================================= */
.site-footer { background: #0d1b2a; padding: 50px 0 24px; }
.footer-top { margin-bottom: 26px; }
.footer-logo { height: 70px; width: auto; object-fit: contain; }
.footer-line {
  font-family: var(--font-en); color: #b9c4cf; font-size: 0.85rem;
  margin-bottom: 8px; line-height: 1.5;
}
.footer-line:last-child { margin-bottom: 0; }
.footer-icon { color: var(--primary-blue); margin-right: 6px; }
.footer-whatsapp-link { color: #b9c4cf; transition: color 0.2s ease; }
.footer-whatsapp-link:hover { color: #25d366; }
.footer-whatsapp-link .footer-icon { color: #25d366; }
.footer-social {
  display: flex; justify-content: center; gap: 14px; margin-bottom: 20px;
}
.footer-social-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: background 0.2s ease;
}
.footer-social-icon:hover { background: var(--primary-blue); color: #fff; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin-bottom: 18px; }
.footer-copyright {
  font-family: var(--font-en); color: #7d8b99; font-size: 0.8rem; margin-bottom: 0;
}
.footer-copyright-link {
  color: #7d8b99; text-decoration: underline; text-underline-offset: 2px;
  transition: color 0.2s ease;
}
.footer-copyright-link:hover { color: #fff; }

/* =======================================================================
   RESPONSIVE
   ======================================================================= */
@media (max-width: 991.98px) {
  .custom-navbar .navbar-nav { padding: 14px 0; }
  .call-us-btn { display: inline-flex; margin-top: 10px; }
  .hero-heading { font-size: 1.9rem; }
  .cta-box { padding: 45px 24px; }
  .story-card {
    flex: 0 0 calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
  }
  .portfolio-card {
    flex: 0 0 calc((100% - 20px) / 2);
  }
}

@media (max-width: 575.98px) {
  .hero-heading { font-size: 1.6rem; }
  .hero-checklist { grid-template-columns: 1fr; }
  .hero-buttons .btn { width: 100%; text-align: center; justify-content: center; }
  .hero-video-card { padding: 20px; }
  .hero-video-heading { font-size: 1.05rem; }
  .section-heading { font-size: 1.5rem; }
  .curriculum-phase-card { padding: 18px; }
  .curriculum-phase-title { font-size: 0.92rem; }
  .curriculum-phase-text { font-size: 0.85rem; }
  .admission-timeline::before { left: 22px; }
  .admission-item { flex-direction: row !important; align-items: flex-start; }
  .admission-badge-col { flex: 0 0 40px; order: -1; }
  .admission-col:not(.admission-badge-col) { flex: 1; }
  .admission-item .admission-col:empty { display: none; }
  .admission-card::after { display: none; }
  .admission-content-left, .admission-content-right { justify-content: flex-start; }
  .admission-card { max-width: 100%; }
  .stories-heading { font-size: 1.2rem; }
  .story-card {
    flex: 0 0 calc(100%);
    max-width: calc(100%);
  }
  .story-img { height: 230px; }
  .demo-section .ratio { border-radius: 10px; }
  .portfolio-heading { font-size: 1.5rem; }
  .portfolio-card {
    flex: 0 0 calc(100%);
  }
  .portfolio-img { height: 200px; }
  .portfolio-title { font-size: 0.95rem; }
  .faq-heading { font-size: 1.5rem; }
  .faq-question { padding: 14px 16px; font-size: 0.88rem; gap: 10px; }
  .faq-answer { padding: 14px 16px 16px; font-size: 0.88rem; }
  .cta-heading { font-size: 1.25rem; }
  .cta-text { font-size: 0.9rem; }
  .cta-box { padding: 35px 16px; border-radius: 14px; }
  .payment-card, .bank-card { padding: 14px 16px; gap: 10px; }
  .payment-logo { height: 28px; }
  .bank-logo { height: 34px; }
  .bank-name { font-size: 0.92rem; }
  .bank-line { font-size: 0.78rem; }
  .sister-logo-box {
    width: 100px;
    height: 65px;
  }
  .sister-logo {
    width: 100px;
    height: 65px;
  }
  .sister-logos-row { gap: 14px; }
  .footer-top { text-align: center; }
  .footer-line { justify-content: center; }
  .footer-copyright { font-size: 0.72rem; padding: 0 8px; }
}