/* SmartBrains brand palette.
   White is the background, Deep Blue carries headings, icons and the bold
   bands, Orange is for calls to action and emphasis, Light Blue is the soft
   accent. --tint and --warm are Light Blue and Orange at low strength. */
:root {
  --deep-blue: #1054B7;
  --light-blue: #84CBFF;
  --orange: #FFA801;
  --white: #FFFFFF;
  --black: #000000;
  --tint: #EAF5FF;
  --warm: #FFF3D6;
  --line: rgba(16, 84, 183, 0.14);
  --radius: 24px;
  --shadow: 0 14px 34px rgba(16, 84, 183, 0.14);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: "Nunito", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--deep-blue); }

h1, h2, h3 { color: var(--deep-blue); line-height: 1.15; margin: 0; font-weight: 900; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 800; }

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.container-narrow { max-width: 860px; }

/* Icons */
.icon-sprite { position: absolute; }
.icon {
  width: 1.2em;
  height: 1.2em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-tile {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  flex: none;
  border-radius: 18px;
  background: var(--deep-blue);
  color: var(--white);
  font-size: 1.45rem;
}

/* Sections */
.section { position: relative; padding: 84px 0; }
.section-tint { background: var(--tint); }
.section-blue { background: var(--deep-blue); color: var(--white); overflow: hidden; }
.section-blue h2,
.section-blue h3,
.section-blue .eyebrow { color: var(--white); }
.section-cta { text-align: center; margin: 2.75rem 0 0; }

/* Soft shapes behind the blue band */
.section-blue::before,
.section-blue::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.section-blue::before { width: 340px; height: 340px; left: -120px; top: -140px; background: rgba(132, 203, 255, 0.22); }
.section-blue::after { width: 220px; height: 220px; right: -70px; bottom: -90px; border: 34px solid rgba(255, 168, 1, 0.9); }
.section-blue > .container { position: relative; z-index: 1; }

.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head p:last-child { margin: 14px 0 0; font-size: 1.12rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--warm);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--deep-blue);
}
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.section-blue .eyebrow { background: rgba(255, 255, 255, 0.16); }

/* Buttons: chunky, with a solid offset edge */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn-accent { background: var(--orange); color: var(--black); box-shadow: 0 5px 0 var(--deep-blue); }
.btn-accent:hover { transform: translateY(3px); box-shadow: 0 2px 0 var(--deep-blue); }
.section-blue .btn-accent,
.enquiry-inner .btn-accent { box-shadow: 0 5px 0 rgba(0, 0, 0, 0.35); }
.section-blue .btn-accent:hover,
.enquiry-inner .btn-accent:hover { box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35); }

/* Top bar */
.topbar { background: var(--deep-blue); color: var(--white); font-size: 0.92rem; font-weight: 700; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; color: var(--white); text-decoration: none; white-space: nowrap; }
.topbar a:hover { color: var(--orange); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-contact,
.topbar-portals { display: flex; align-items: center; gap: 22px; }
.topbar .topbar-email,
.topbar-portals { display: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(16, 84, 183, 0.08);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 76px; flex-wrap: wrap; }
.brand img { height: 52px; width: auto; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 8px 18px;
  font: inherit;
  font-weight: 800;
  color: var(--deep-blue);
  background: var(--white);
  border: 2px solid var(--deep-blue);
  border-radius: 999px;
  cursor: pointer;
}
.site-nav { display: none; flex-direction: column; width: 100%; padding: 8px 0 16px; }
.site-nav.is-open { display: flex; }
.site-nav a {
  padding: 10px 4px;
  color: var(--black);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.site-nav a:hover { color: var(--deep-blue); }
.site-nav a.nav-cta {
  margin-top: 14px;
  padding: 11px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: var(--black);
  text-align: center;
  box-shadow: 0 4px 0 var(--deep-blue);
}

@media (min-width: 700px) {
  .topbar .topbar-email { display: inline-flex; }
}
@media (min-width: 1000px) {
  .topbar-portals { display: flex; }
  .nav-toggle,
  .site-nav a.nav-portal { display: none; }
  .header-inner { flex-wrap: nowrap; }
  .site-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: auto;
    margin-left: auto;
    padding: 0;
    gap: 28px;
  }
  .site-nav a { padding: 0; border: 0; }
  .site-nav a.nav-cta { margin-top: 0; white-space: nowrap; }
}

/* Hero */
.hero {
  position: relative;
  padding: 56px 0 0;
  overflow: hidden;
  background: linear-gradient(180deg, #D8ECFF 0%, var(--tint) 62%, var(--white) 100%);
}
.hero-inner { display: grid; gap: 36px; align-items: center; }
.hero-copy { position: relative; z-index: 1; }
.hero .eyebrow { background: var(--white); }
.hero-lead { font-size: clamp(1.1rem, 2vw, 1.3rem); font-weight: 600; margin: 18px 0 20px; max-width: 38ch; }
.highlight {
  background: linear-gradient(transparent 74%, var(--orange) 74%, var(--orange) 94%, transparent 94%);
  padding: 0 0.06em;
}

.hero-points { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.hero-points li { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.hero-points .icon {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 10px;
  background: var(--white);
  color: var(--deep-blue);
  box-shadow: 0 4px 12px rgba(16, 84, 183, 0.12);
}

.hero-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 520px;
  padding: 10px;
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.hero-form input {
  flex: 1 1 180px;
  min-width: 0;
  padding: 12px 16px;
  font: inherit;
  font-weight: 600;
  border: 2px solid var(--line);
  border-radius: 14px;
}
.hero-form input:focus { outline: 3px solid var(--light-blue); border-color: var(--deep-blue); }
.hero-form .btn { flex: 1 1 auto; box-shadow: none; border-radius: 14px; }
.hero-form .btn:hover { transform: none; box-shadow: none; background: var(--deep-blue); color: var(--white); }
.hero-note { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 0.95rem; font-weight: 700; color: var(--deep-blue); }

.hero-art { position: relative; padding: 4% 4% 0; }
.hero-art::before {
  content: "";
  position: absolute;
  inset: 4% 6% 0 8%;
  border-radius: 46% 54% 44% 56% / 54% 46% 54% 46%;
  background: var(--deep-blue);
}
.hero-art::after {
  content: "";
  position: absolute;
  left: 2%;
  bottom: 8%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-image: radial-gradient(var(--orange) 3px, transparent 3.5px);
  background-size: 18px 18px;
}
.hero-art img { position: relative; z-index: 1; margin: 0 auto; }
.hero-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--white);
  color: var(--deep-blue);
  font-weight: 800;
  box-shadow: var(--shadow);
}
.hero-chip-a { left: 0; top: 10%; }
.hero-chip-b { right: 0; bottom: 14%; background: var(--orange); color: var(--black); }

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.05fr 1fr; }
}

/* Proof strip under the hero */
.proof {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 20px;
  margin-top: 44px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.proof-item { display: flex; align-items: center; gap: 16px; }
.proof-item > div { display: flex; flex-direction: column; }
.proof-item:nth-child(2) .icon-tile { background: var(--orange); color: var(--black); }
.proof-number { font-size: 2.4rem; font-weight: 900; line-height: 1.05; color: var(--deep-blue); }
.proof-label { font-size: 0.98rem; font-weight: 600; }
.proof-name { font-weight: 900; font-size: 1.15rem; color: var(--deep-blue); }
.proof-partner img { width: 60px; height: 60px; object-fit: contain; }

@media (min-width: 800px) {
  .proof { grid-template-columns: repeat(3, 1fr); padding: 28px 32px; }
  .proof-item + .proof-item { padding-left: 24px; border-left: 2px dashed var(--line); }
}

/* Courses */
.card-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.course-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(16, 84, 183, 0.1);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.course-art { position: relative; background: var(--tint); padding: 18px; }
.course-card:nth-child(even) .course-art { background: var(--warm); }
.course-art img { width: 100%; height: 140px; object-fit: contain; border-radius: 14px; }
.course-tag {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--deep-blue);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
}
.course-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.course-body p { margin: 6px 0 16px; flex: 1; }
.course-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.course-actions a { font-weight: 800; font-size: 0.95rem; text-decoration: none; color: var(--deep-blue); white-space: nowrap; }
.course-actions a:first-child { display: inline-flex; align-items: center; gap: 8px; }
.course-actions a:first-child .icon { transition: transform 0.15s ease; }
.course-actions a:first-child:hover .icon { transform: translateX(4px); }
.course-book { padding: 6px 14px; border-radius: 999px; background: var(--orange); color: var(--black) !important; font-size: 0.92rem; }
.course-book:hover { background: var(--deep-blue); color: var(--white) !important; }
.course-meta { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 16px; padding: 0; }
.course-meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--deep-blue);
  font-size: 0.88rem;
  font-weight: 700;
}

/* How it works (on the blue band) */
.steps { position: relative; display: grid; gap: 28px; list-style: none; margin: 0; padding: 0; }
.step { position: relative; text-align: center; padding: 0 12px; }
.step .icon-tile { display: none; }
.step-number {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 20px;
  border: 6px solid var(--white);
  border-radius: 50%;
  background: var(--orange);
  color: var(--black);
  font-weight: 900;
  font-size: 2rem;
}
.step p { margin: 10px auto 0; max-width: 30ch; font-size: 1.05rem; }
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps::before {
    content: "";
    position: absolute;
    left: 17%;
    right: 17%;
    top: 42px;
    border-top: 4px dashed rgba(255, 255, 255, 0.55);
  }
}

/* Why choose us */
.perk-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .perk-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .perk-grid { grid-template-columns: repeat(3, 1fr); } }
.perk {
  padding: 28px 26px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 6px 22px rgba(16, 84, 183, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.perk:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.perk:nth-child(3n + 2) .icon-tile { background: var(--orange); color: var(--black); }
.perk:nth-child(3n) .icon-tile { background: var(--light-blue); color: var(--deep-blue); }
.perk h3 { margin-top: 18px; }
.perk p { margin: 8px 0 0; }

/* Director */
.director-inner { display: grid; gap: 36px; align-items: center; }
.director-copy p:not(.eyebrow) { font-size: 1.12rem; margin: 14px 0 26px; }
.video-frame {
  position: relative;
  border-radius: var(--radius);
  box-shadow: 14px 14px 0 var(--orange);
  background: var(--black);
}
.video-frame video { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); }
@media (min-width: 900px) {
  .director-inner { grid-template-columns: 4fr 7fr; gap: 56px; }
}

/* Gallery */
.gallery-grid { display: grid; gap: 18px; grid-template-columns: 1fr; grid-auto-rows: 220px; }
.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(16, 84, 183, 0.12);
}
.gallery-item > img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-item:hover > img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: var(--white);
  color: var(--deep-blue);
  font-weight: 800;
  font-size: 0.92rem;
}
.gallery-item figcaption img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
@media (min-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; }
  .gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery-item:last-child { grid-column: span 2; }
}

/* Testimonials */
.testimonial-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 24px;
}
.testimonial {
  flex: 1 0 min(260px, 82vw);
  scroll-snap-align: start;
  margin: 0;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  background: var(--tint);
  border-radius: var(--radius);
}
.testimonial:nth-child(even) { background: var(--warm); }
.testimonial p { margin: 0; font-size: 1.05rem; font-weight: 600; }
.testimonial p::before {
  content: "\201C";
  display: block;
  height: 0.5em;
  font-size: 4rem;
  line-height: 1;
  font-weight: 900;
  color: var(--orange);
}
.testimonial footer { display: flex; align-items: center; gap: 12px; }
.testimonial footer span { display: flex; flex-direction: column; font-size: 0.92rem; }
.testimonial footer strong { color: var(--deep-blue); font-size: 1.02rem; font-weight: 900; }
.testimonial footer .avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  background: var(--deep-blue);
  color: var(--white);
  font-weight: 900;
}

/* Enquiry: a blue panel with the form on top */
.enquiry-inner {
  position: relative;
  display: grid;
  gap: 32px;
  align-items: center;
  padding: 36px 22px;
  border-radius: 32px;
  background: var(--deep-blue);
  color: var(--white);
  overflow: hidden;
}
.enquiry-inner::before {
  content: "";
  position: absolute;
  left: -90px;
  bottom: -110px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(132, 203, 255, 0.25);
}
.enquiry-copy,
.enquiry-form { position: relative; }
.enquiry-copy h2 { color: var(--white); }
.enquiry-copy .eyebrow { background: rgba(255, 255, 255, 0.16); color: var(--white); }
.enquiry-copy p { font-size: 1.1rem; }
.contact-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-weight: 800; }
.contact-list .icon-tile { width: 48px; height: 48px; border-radius: 14px; background: var(--white); color: var(--deep-blue); font-size: 1.2rem; }
.contact-list a { color: var(--white); text-decoration: none; }
.contact-list a:hover { color: var(--orange); }
.enquiry-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  background: var(--white);
  color: var(--black);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}
.field label { display: block; margin-bottom: 6px; font-weight: 800; color: var(--deep-blue); }
.field .optional { font-weight: 600; color: var(--black); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  color: var(--black);
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 14px;
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: 3px solid var(--light-blue); border-color: var(--deep-blue); }

@media (min-width: 600px) {
  .enquiry-form { grid-template-columns: 1fr 1fr; }
  .field-wide { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .enquiry-inner { grid-template-columns: 5fr 6fr; gap: 56px; padding: 56px; }
}

/* FAQ */
.faq-list details {
  border-radius: 18px;
  margin-bottom: 14px;
  background: var(--tint);
}
.faq-list details[open] { background: var(--white); box-shadow: var(--shadow); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--deep-blue);
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: var(--orange);
  color: var(--black);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { margin: 0; padding: 0 22px 20px; }

/* Footer */
.site-footer { background: var(--deep-blue); color: var(--white); padding: 60px 0 0; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.site-footer p { margin: 0 0 8px; }
.with-icon { display: inline-flex; align-items: center; gap: 10px; }
.footer-inner { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.footer-logo { height: 64px; width: auto; margin-bottom: 16px; background: var(--white); border-radius: 14px; padding: 6px 10px; }
.footer-heading { font-weight: 900; font-size: 1.15rem; color: var(--light-blue); }
.social-list { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.social-list a { display: inline-block; padding: 6px 14px; border: 2px solid var(--light-blue); border-radius: 999px; font-size: 0.92rem; font-weight: 700; }
.social-list a:hover { background: var(--orange); border-color: var(--orange); color: var(--black); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 18px;
  padding-bottom: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.9rem;
  text-align: center;
}
.footer-bottom p { margin: 0; }

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: 3px solid var(--white);
  border-radius: 999px;
  background: var(--deep-blue);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.whatsapp-float:hover { background: var(--orange); color: var(--black); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn,
  .course-card,
  .perk,
  .gallery-item > img,
  .course-actions a:first-child .icon { transition: none; }
}

/* On phones the picture is small, so the floating labels would cover it */
@media (max-width: 599px) {
  .hero-chip { display: none; }
}
