:root {
  --yellow: #FFC93C;
  --yellow-light: #FFF4D6;
  --coral: #FF6F61;
  --teal: #1AACA9;
  --teal-dark: #0E8A87;
  --purple: #7B61FF;
  --blue-dark: #1F3357;
  --green-whatsapp: #25D366;
  --ink: #2D2A26;
  --paper: #FFFFFF;
  --cloud: #F6F9FB;
  --radius: 20px;
  --shadow: 0 12px 30px rgba(31, 51, 87, 0.10);
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-text strong {
  font-family: var(--font-display);
  margin: 0;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Scroll-reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.reveal-left { transform: translateX(-32px); }
.reveal.reveal-right { transform: translateX(32px); }
.reveal.in-view {
  opacity: 1;
  transform: translate(0, 0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* Hero entrance animation */
@keyframes heroRise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-anim {
  opacity: 0;
  animation: heroRise 0.7s ease forwards;
}
.hero-anim.d1 { animation-delay: 0.05s; }
.hero-anim.d2 { animation-delay: 0.15s; }
.hero-anim.d3 { animation-delay: 0.25s; }
.hero-anim.d4 { animation-delay: 0.35s; }
.hero-anim.d5 { animation-delay: 0.45s; }

/* Gentle floating motion */
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.float-1 { animation: floaty 5s ease-in-out infinite; }
.float-2 { animation: floaty 6s ease-in-out infinite 0.6s; }

/* Header */
.site-header {
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 14px rgba(31, 51, 87, 0.08);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.brand-text strong { font-size: 1.05rem; color: var(--blue-dark); font-weight: 700; }
.brand-text small { font-size: 0.72rem; color: var(--coral); font-weight: 700; }

.main-nav {
  display: flex;
  gap: 26px;
}
.main-nav a {
  position: relative;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.2s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--coral);
  transition: width 0.25s ease;
}
.main-nav a:hover { color: var(--teal-dark); }
.main-nav a:hover::after { width: 100%; }

.header-ctas { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.92rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 111, 97, 0.35);
}
.btn-outline {
  background: #fff;
  color: var(--blue-dark);
  border: 2px solid var(--blue-dark);
}
.btn-whatsapp {
  background: var(--green-whatsapp);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}
.btn-light {
  background: #fff;
  color: var(--teal-dark);
}
.full-width { width: 100%; }

/* Hero */
.hero {
  position: relative;
  overflow: visible;
  background: linear-gradient(160deg, #24446F 0%, var(--blue-dark) 55%, #101C33 100%);
  padding: 70px 0 60px;
  color: #fff;
}
.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% 10%, rgba(255, 201, 60, 0.12), transparent 40%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 56px;
}
.eyebrow {
  color: var(--yellow);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.82rem;
  margin-bottom: 10px;
}
.eyebrow.center { text-align: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--yellow);
  color: var(--blue-dark);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 999px;
  margin-bottom: 24px;
  box-shadow: 0 8px 20px rgba(255, 201, 60, 0.3);
}
.hero-badge .dot { display: none; }
.hero h1 {
  font-size: 2.7rem;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
}
.hero h1 .accent { color: var(--yellow); }
.hero-sub {
  font-size: 1.05rem;
  color: #c9d3de;
  margin-bottom: 28px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}

.hero-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: #d9dfec;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s;
}
.hero-chip:hover { background: rgba(255,255,255,0.12); }
.hero-chip .dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot-1 { background: var(--coral); }
.dot-2 { background: var(--teal); }
.dot-3 { background: var(--purple); }
.dot-4 { background: var(--yellow); }

.hero-art {
  position: relative;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #fff;
}
.hero-float-tag {
  position: absolute;
  background: rgba(255,255,255,0.95);
  color: var(--blue-dark);
  border-radius: 16px;
  padding: 12px 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 12px 26px rgba(0,0,0,0.25);
  line-height: 1.3;
}
.hero-float-tag strong { color: var(--coral); font-size: 1.05rem; }
.hero-float-tag small { display: block; font-family: var(--font-body); font-weight: 700; color: #6b6f6e; font-size: 0.72rem; text-transform: uppercase; }
.tag-top { top: 16px; left: 16px; }
.tag-bottom { bottom: 16px; right: 16px; }


/* Sections */
.section { padding: 80px 0; }
.section-title {
  text-align: center;
  font-size: 2.1rem;
  color: var(--blue-dark);
  margin-bottom: 6px;
}
.section-title.left { text-align: left; }
.section-sub {
  text-align: center;
  color: #6b6f6e;
  max-width: 560px;
  margin: 10px auto 40px;
}
.section-sub.left { text-align: left; margin: 10px 0 30px; }

.eyebrow.light { color: var(--yellow); }

/* About */
.about { background: var(--paper); }
.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-photo {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: var(--yellow-light);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 16px;
  display: block;
}
.about-copy h2 { font-size: 2rem; color: var(--blue-dark); margin-bottom: 16px; }
.about-copy p { color: #55524b; margin-bottom: 14px; }
.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.feature-list li {
  background: var(--cloud);
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue-dark);
  border-left: 3px solid var(--teal);
}

/* Founder Note */
.founder-note {
  background: var(--yellow-light);
  padding: 60px 0;
}
.founder-note-inner {
  max-width: 780px;
  text-align: center;
}
.founder-quote-mark {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 6px;
}
.founder-note-inner blockquote {
  margin: 0 0 18px;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--blue-dark);
  font-style: italic;
}
.founder-note-inner cite {
  font-style: normal;
  font-weight: 700;
  color: var(--teal-dark);
  font-size: 0.92rem;
}

/* Programmes */
.programmes { background: var(--cloud); }
.programme-grid-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.programme-card-v2 {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 22px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}
.programme-card-v2:hover { transform: translateY(-6px); }
.programme-card-badge {
  align-self: flex-start;
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.badge-1 { background: var(--coral); }
.badge-2 { background: var(--teal-dark); }
.badge-3 { background: var(--purple); }
.badge-4 { background: #C98F00; }
.programme-card-v2 h3 { font-size: 1.3rem; color: var(--blue-dark); margin-bottom: 14px; }
.programme-card-v2 ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.programme-card-v2 li {
  position: relative;
  padding-left: 20px;
  font-size: 0.88rem;
  color: #4a4d4c;
}
.programme-card-v2 li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}
.card-link {
  color: var(--coral);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
}
.card-link:hover { text-decoration: underline; }

/* Facilities */
.facilities { background: var(--cloud); }
.facilities-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.facilities-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.facilities-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: #fff;
  display: block;
}
.facilities-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: rgba(31, 51, 87, 0.88);
  color: #fff;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.85rem;
}
.facilities-caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 2px;
}
.facilities-copy h2 {
  font-size: 2.1rem;
  color: var(--blue-dark);
  margin-bottom: 14px;
}
.facilities-copy h2 .accent { color: var(--purple); }

.facility-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 10px;
}
.facility-item {
  border-radius: 16px;
  padding: 18px 20px;
}
.facility-item h3 { color: var(--blue-dark); font-size: 1rem; margin-bottom: 6px; }
.facility-item p { color: #5a5f5e; font-size: 0.86rem; margin: 0; }
.tint-a { background: var(--yellow-light); }
.tint-b { background: #ECEBFF; }

.section-cta { text-align: center; margin-top: 30px; }
.section-cta.left { text-align: left; }

/* Gallery */
.gallery-preview { background: var(--cloud); }
.gallery-grid-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.gallery-photo {
  margin: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s;
}
.gallery-photo:hover { transform: translateY(-6px); }
.gallery-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  background: #fff;
  display: block;
}
.gallery-photo figcaption {
  padding: 14px 18px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--blue-dark);
  text-align: center;
  background: var(--paper);
}

/* Courses */
.courses { background: var(--paper); }
.courses-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.course-chip {
  background: var(--cloud);
  border: 2px solid var(--teal);
  color: var(--teal-dark);
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 1rem;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
}
.course-chip:hover {
  background: var(--teal-dark);
  color: #fff;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 22px rgba(14, 138, 135, 0.28);
}

/* Testimonials */
.testimonials { background: var(--cloud); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  margin: 0;
}
.testimonial-card p {
  color: #45474a;
  font-style: italic;
  margin: 0 0 16px;
}
.testimonial-card cite {
  color: var(--teal-dark);
  font-weight: 700;
  font-style: normal;
  font-size: 0.88rem;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(120deg, var(--teal-dark), var(--blue-dark));
  color: #fff;
  text-align: center;
}
.cta-banner-inner h2 { font-size: 2.2rem; margin-bottom: 12px; }
.cta-banner-inner p { margin-bottom: 26px; opacity: 0.95; }
.cta-banner-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* Contact */
.contact { background: var(--paper); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li {
  padding: 12px 0;
  border-bottom: 1px solid #e6e9e8;
}
.info-list a { color: var(--coral); font-weight: 700; text-decoration: none; }

.enquiry-form {
  background: var(--cloud);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.enquiry-form h3 { color: var(--blue-dark); margin-bottom: 18px; font-size: 1.4rem; }
.enquiry-form label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--blue-dark);
  margin-bottom: 14px;
}
.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 2px solid #e0e5e4;
  font-family: var(--font-body);
  font-size: 0.95rem;
  resize: vertical;
  background: #fff;
}
.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  outline: none;
  border-color: var(--teal);
}

/* Footer */
.site-footer {
  background: var(--blue-dark);
  color: #c9d3de;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 30px;
  padding: 50px 24px 30px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 6px; }
.footer-col a {
  color: #c9d3de;
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-col a:hover { color: #fff; }
.footer-col p { margin: 0; font-size: 0.88rem; }
.footer-brand p { font-weight: 700; color: #fff; }
.footer-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  padding: 18px 24px;
  font-size: 0.82rem;
}
.footer-bottom p { margin: 0; }

/* Responsive */
@media (max-width: 980px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-inner, .about-inner, .contact-inner, .facilities-inner { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .programme-grid-cards { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .facility-list { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    box-shadow: 0 12px 24px rgba(31, 51, 87, 0.12);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav.open { max-height: 420px; }
  .main-nav a {
    padding: 14px 24px;
    border-bottom: 1px solid #eef1f0;
  }
  .main-nav a::after { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .header-inner { padding: 12px 18px; }
  .brand-text strong { font-size: 0.95rem; }
  .hero-inner { padding-bottom: 40px; }
  .hero-actions, .cta-banner-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .cta-banner-actions .btn { text-align: center; }
  .hero-chips { gap: 8px; }
  .programme-grid-cards { grid-template-columns: 1fr; }
  .facilities-media img { aspect-ratio: 4 / 3; }
  .courses-grid { gap: 10px; }
  .course-chip { padding: 10px 18px; font-size: 0.92rem; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: 2rem; }
  .header-ctas .btn-whatsapp { display: none; }
  .header-ctas .btn-primary { padding: 10px 18px; font-size: 0.82rem; }
  .gallery-grid-photos { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .enquiry-form { padding: 22px; }
  .section-title { font-size: 1.6rem; }
}
