
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #102a43;
  --navy-light: #183f5d;
  --teal: #159b91;
  --teal-dark: #087f78;
  --mint: #e8f6f3;
  --cream: #faf8f3;
  --white: #ffffff;
  --text: #506176;
  --border: #e4eaf0;
  --gold: #f4b860;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--navy);
  background: white;
  line-height: 1.7;
}

img { display: block; width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(1160px, 90%); margin-inline: auto; }

.site-header {
  background: rgba(255,255,255,.97);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #e9eef2;
}

.nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Manrope, sans-serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.15;
  flex-shrink: 0;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  color: white;
  border-radius: 13px 13px 13px 4px;
  background: var(--teal);
  font-size: 25px;
}

.logo small {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 8px;
  letter-spacing: 2px;
  font-weight: 700;
  color: #8492a0;
  margin-top: 5px;
}

.teal { color: var(--teal); }

nav { display: flex; gap: 25px; align-items: center; }
nav a { font-size: 13px; font-weight: 700; color: #4b5d70; }
nav a:hover, .text-link:hover, .card-link:hover { color: var(--teal); }

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  background: var(--teal);
  color: white;
  padding: 14px 21px;
  border: 1px solid var(--teal);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  transition: .25s ease;
  cursor: pointer;
}

.btn:hover { background: var(--teal-dark); transform: translateY(-2px); }
.nav-cta { padding: 11px 16px; white-space: nowrap; }
.menu-toggle { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  padding: 76px 0 25px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr .94fr;
  align-items: center;
  gap: 65px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--teal-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  line-height: 1.7;
}

.live-dot, .caption-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  display: inline-block;
}

.hero h1, h2 {
  font-family: Manrope, sans-serif;
  font-weight: 800;
  letter-spacing: -1.8px;
  line-height: 1.14;
}

.hero h1 { font-size: clamp(42px, 5.1vw, 66px); margin: 24px 0; }
.hero h1 span { color: var(--teal); }
.hero-copy > p { max-width: 500px; font-size: 15px; color: var(--text); line-height: 1.9; }

.hero-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 29px; }
.text-link { font-size: 12px; font-weight: 700; }
.play-icon { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 6px; border: 1px solid #dce4e8; border-radius: 50%; font-size: 9px; color: var(--teal); }

.hero-trust { display: flex; align-items: center; gap: 12px; margin-top: 35px; }
.trust-icon { width: 33px; height: 33px; display: grid; place-items: center; background: #dff3eb; color: var(--teal-dark); border-radius: 50%; font-weight: 800; }
.hero-trust p { font-size: 12px; line-height: 1.6; }
.hero-trust small { color: #7c8996; }

.hero-visual { position: relative; padding: 0 0 25px 18px; }
.hero-main-img { height: 485px; border-radius: 180px 180px 14px 14px; box-shadow: 0 25px 70px #102a431b; }
.floating-card { position: absolute; background: white; box-shadow: 0 12px 40px #102a4319; border-radius: 10px; display: flex; gap: 12px; align-items: center; padding: 15px 18px; }
.floating-card strong, .floating-card small { display: block; }
.floating-card strong { font-size: 12px; }
.floating-card small { font-size: 10px; color: #7a8795; margin-top: 3px; }
.floating-top { top: 55px; left: -35px; }
.floating-bottom { bottom: 52px; right: -22px; }
.float-icon, .book-icon { width: 37px; height: 37px; border-radius: 9px; display: grid; place-items: center; background: #fff1dc; color: #c18430; font-size: 22px; }
.book-icon { background: var(--mint); color: var(--teal); }
.image-caption { position: absolute; bottom: 0; left: 40px; font-size: 10px; font-weight: 700; color: #617284; display: flex; align-items: center; gap: 8px; }
.hero-bottom { display: flex; align-items: center; gap: 17px; padding-top: 55px; color: #82909b; font-size: 9px; letter-spacing: 1.8px; font-weight: 800; }
.hero-bottom-line { height: 1px; background: #dce3e4; flex: 1; }
.shape-one { position: absolute; width: 360px; height: 360px; border-radius: 50%; border: 1px solid #e5e5dc; right: -180px; top: -170px; }

.section { padding: 100px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 42px; }
h2 { font-size: clamp(32px, 4vw, 45px); margin-top: 13px; }
.section-heading > p { max-width: 380px; font-size: 14px; color: var(--text); padding-bottom: 6px; }

.program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.program-card { border: 1px solid var(--border); border-radius: 13px; overflow: hidden; background: white; transition: .3s; }
.program-card:hover { transform: translateY(-7px); box-shadow: 0 18px 45px #102a4310; }
.card-image { height: 230px; position: relative; overflow: hidden; }
.card-image img { height: 100%; transition: transform .5s; }
.program-card:hover .card-image img { transform: scale(1.05); }
.image-tag { position: absolute; left: 16px; bottom: 15px; padding: 7px 10px; border-radius: 4px; background: white; font-size: 9px; letter-spacing: 1px; font-weight: 800; }
.program-content { padding: 24px; }
.card-number { font-size: 9px; font-weight: 800; letter-spacing: 1.4px; color: var(--teal-dark); }
.program-content h3 { font-family: Manrope, sans-serif; font-size: 20px; line-height: 1.35; margin: 12px 0; }
.program-content p { color: var(--text); font-size: 12px; line-height: 1.9; min-height: 70px; }
.card-link { display: inline-flex; gap: 15px; align-items: center; margin-top: 22px; font-size: 11px; font-weight: 800; color: var(--navy); }

.islamic-section { background: #edf7f3; padding: 95px 0; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 85px; }
.split-image { position: relative; }
.split-image img { height: 485px; border-radius: 12px 130px 12px 12px; }
.image-stamp { position: absolute; right: -25px; bottom: 25px; background: white; border-radius: 9px; padding: 18px 23px; box-shadow: 0 12px 40px #102a4314; }
.image-stamp span { display: block; font-size: 22px; color: var(--teal-dark); }
.image-stamp small { display: block; margin-top: 7px; font-size: 8px; letter-spacing: 1px; font-weight: 800; color: #7b8b96; }
.split-copy h2 { font-size: clamp(32px, 4vw, 46px); margin: 16px 0; }
.split-copy > p { font-size: 13px; color: var(--text); line-height: 2; }
.feature-list { display: grid; gap: 19px; margin: 28px 0; }
.feature-list > div { display: flex; gap: 13px; align-items: start; }
.feature-check { display: grid; place-items: center; width: 26px; height: 26px; background: white; color: var(--teal-dark); border-radius: 50%; flex-shrink: 0; }
.feature-list strong, .feature-list small { display: block; }
.feature-list strong { font-size: 12px; }
.feature-list small { color: #788897; font-size: 11px; margin-top: 3px; }

.academic-section { background: white; }
.level-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.level-card { padding: 25px 20px; border: 1px solid var(--border); border-radius: 10px; transition: .25s; }
.level-card:hover { border-color: var(--teal); background: #f8fcfb; transform: translateY(-4px); }
.level-icon { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 10px; background: var(--mint); color: var(--teal-dark); font-size: 22px; margin-bottom: 20px; }
.level-card > small { color: var(--teal-dark); font-size: 9px; font-weight: 800; letter-spacing: 1px; }
.level-card h3 { font-size: 16px; line-height: 1.5; margin: 9px 0; }
.level-card p { color: var(--text); font-size: 11px; line-height: 1.9; min-height: 63px; }
.level-card a { display: inline-block; font-size: 10px; font-weight: 800; color: var(--teal-dark); margin-top: 15px; }

.skills-section { background: var(--navy); color: white; padding: 75px 0 35px; overflow: hidden; }
.skills-grid { display: grid; grid-template-columns: .85fr 1fr; gap: 70px; align-items: center; }
.skills-copy .eyebrow { color: #8de0d4; }
.skills-copy h2 { font-size: clamp(36px, 4vw, 48px); margin: 18px 0; }
.skills-copy h2 span { color: #8de0d4; }
.skills-copy > p { max-width: 450px; font-size: 13px; color: #c2d0dc; line-height: 2; margin-bottom: 25px; }
.btn-light { background: white; border-color: white; color: var(--navy); }
.btn-light:hover { background: #e9f8f5; color: var(--navy); }
.skills-photo img { height: 350px; border-radius: 12px 100px 12px 12px; }
.skill-pills { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 30px; }
.skill-pills span { border: 1px solid #426078; color: #e0e9ef; border-radius: 5px; padding: 7px 12px; font-size: 10px; }

.tutor-section { background: var(--cream); }
.tutor-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.tutor-photo img { height: 440px; border-radius: 100px 12px 12px 12px; }
.tutor-copy h2 { font-size: clamp(32px, 4vw, 45px); margin: 15px 0; }
.tutor-copy > p { color: var(--text); font-size: 13px; line-height: 2; }
.tutor-copy ul { list-style: none; display: grid; gap: 12px; margin: 22px 0 28px; }
.tutor-copy li { font-size: 12px; color: #405368; }
.tutor-copy li::before { content: "✓"; color: var(--teal); font-weight: 800; margin-right: 10px; }

.values-section { background: white; }
.center-heading { text-align: center; max-width: 690px; margin: 0 auto 45px; }
.center-heading > p { color: var(--text); font-size: 13px; margin-top: 15px; }
.values-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.value-card { padding: 25px 20px; border: 1px solid var(--border); border-radius: 10px; }
.value-card > span { font-size: 27px; color: var(--teal); }
.value-card h3 { font-size: 15px; margin: 14px 0 9px; }
.value-card p { font-size: 11px; line-height: 1.9; color: var(--text); }

.contact-section { background: #edf7f3; }
.contact-grid { display: grid; grid-template-columns: .8fr 1fr; gap: 90px; align-items: start; }
.contact-copy { position: sticky; top: 125px; }
.contact-copy h2 { font-size: clamp(34px, 4vw, 47px); margin: 15px 0; }
.contact-copy > p { font-size: 13px; color: var(--text); line-height: 2; }
.contact-note { display: flex; gap: 13px; margin-top: 30px; padding: 17px; background: white; border-radius: 8px; }
.contact-note > span { color: var(--teal); font-size: 23px; }
.contact-note p { font-size: 11px; color: var(--text); }
.contact-note strong { color: var(--navy); }
#trialForm { background: white; padding: 32px; border-radius: 12px; box-shadow: 0 15px 50px #102a430a; }
#trialForm h3 { font-family: Manrope, sans-serif; font-size: 23px; }
.form-intro { font-size: 12px; color: #788897; margin: 4px 0 23px; }
#trialForm label { display: block; font-size: 11px; font-weight: 700; margin: 15px 0 6px; }
#trialForm input, #trialForm select, #trialForm textarea { width: 100%; padding: 13px; border: 1px solid #dce5e9; background: #fcfdfd; border-radius: 6px; outline: none; font-size: 12px; color: var(--navy); }
#trialForm input:focus, #trialForm select:focus, #trialForm textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px #159b9115; }
#trialForm textarea { min-height: 100px; resize: vertical; }
.submit-btn { width: 100%; margin-top: 20px; }
#formMessage { color: var(--teal-dark); font-size: 12px; margin-top: 12px; }
.form-disclaimer { display: block; color: #8b969e; font-size: 10px; margin-top: 12px; text-align: center; }

.footer { background: #0b2034; color: #d8e3eb; }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; padding-top: 55px; padding-bottom: 45px; }
.footer-logo { color: white; }
.footer-main > div:first-child > p { font-size: 11px; color: #a7b9c8; margin-top: 18px; }
.footer-main > div:not(:first-child) { display: flex; flex-direction: column; align-items: start; gap: 12px; }
.footer-main > div > strong { color: white; font-size: 12px; margin-bottom: 6px; }
.footer-main > div > a:not(.logo) { font-size: 11px; color: #a7b9c8; }
.footer-main > div > a:hover { color: white; }
.footer-bottom { border-top: 1px solid #294054; padding: 18px 0; }
.footer-bottom > div { display: flex; justify-content: space-between; gap: 15px; color: #9eb0be; font-size: 10px; }

@media (max-width: 1000px) {
  .nav { gap: 15px; }
  nav { gap: 13px; }
  nav a { font-size: 11px; }
  .hero-grid { gap: 35px; }
  .hero-main-img { height: 420px; }
  .split-grid, .tutor-grid { gap: 45px; }
  .level-grid, .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { gap: 45px; }
}

@media (max-width: 760px) {
  .container { width: min(92%, 600px); }
  .nav { min-height: 72px; flex-wrap: wrap; position: relative; }
  .logo { font-size: 19px; }
  .logo-mark { width: 38px; height: 38px; }
  .menu-toggle { display: block; border: 1px solid var(--border); background: white; border-radius: 6px; width: 40px; height: 40px; color: var(--navy); font-size: 22px; cursor: pointer; margin-left: auto; }
  nav { display: none; order: 4; width: 100%; flex-direction: column; align-items: stretch; padding: 12px 0 18px; gap: 0; }
  nav.open { display: flex; }
  nav a { padding: 12px 5px; border-top: 1px solid var(--border); font-size: 13px; }
  .nav-cta { font-size: 11px; padding: 10px 12px; }
  .hero { padding-top: 48px; }
  .hero-grid, .split-grid, .skills-grid, .tutor-grid, .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero h1 { font-size: clamp(40px, 10vw, 58px); }
  .hero-visual { max-width: 500px; width: 100%; margin: 0 auto; padding-left: 10px; }
  .hero-main-img { height: 390px; border-radius: 130px 130px 12px 12px; }
  .floating-top { left: -2px; top: 40px; }
  .floating-bottom { right: -2px; bottom: 50px; }
  .hero-bottom { padding-top: 32px; font-size: 8px; }
  .section { padding: 70px 0; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 17px; }
  .program-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .card-image { height: 250px; }
  .split-image img { height: 370px; }
  .image-stamp { right: -3px; }
  .skills-photo img { height: 310px; }
  .tutor-photo img { height: 340px; }
  .contact-copy { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 35px; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 440px) {
  .nav-cta { display: none; }
  .hero h1 { font-size: 39px; }
  .hero-copy > p { font-size: 13px; }
  .hero-buttons { align-items: flex-start; flex-direction: column; gap: 16px; }
  .hero-main-img { height: 315px; }
  .floating-card { padding: 10px 12px; }
  .floating-card strong { font-size: 10px; }
  .floating-card small { font-size: 9px; }
  .hero-bottom { letter-spacing: .7px; gap: 9px; }
  .level-grid, .values-grid { grid-template-columns: 1fr; }
  .split-image img { height: 300px; }
  .skills-photo img { height: 250px; border-radius: 10px 65px 10px 10px; }
  .tutor-photo img { height: 270px; }
  #trialForm { padding: 22px 17px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 25px; }
  .footer-bottom > div { flex-direction: column; }
}
