:root {
  /* Palette taken from the logo */
  --primary: #e8590c;        /* logo orange (button-safe) */
  --primary-dark: #c2410c;   /* deeper orange for hover / small text */
  --gold: #fdb913;           /* logo sun yellow */
  --accent: #1c7c8c;         /* logo graduation-cap teal */
  --charcoal: #231f20;       /* logo letterform black */
  --text: #2b2523;
  --muted: #6b625e;
  --bg: #ffffff;
  --bg-alt: #fff7ed;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(232, 89, 12, 0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-family: "Inter", system-ui, sans-serif; color: var(--text); background: var(--bg); line-height: 1.65; }
h1, h2, h3, h4 { font-family: "Poppins", sans-serif; line-height: 1.2; color: var(--charcoal); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 48px; }
.section h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 16px; }
.section p + p { margin-top: 12px; }
.eyebrow { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: 8px; }
.accent { background: linear-gradient(90deg, var(--primary), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn { display: inline-block; background: var(--primary); color: #fff; padding: 13px 26px; border-radius: 999px; font-weight: 600; border: 2px solid var(--primary); cursor: pointer; font-size: 1rem; transition: transform .15s, background .2s; }
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.btn-small { padding: 8px 18px; font-size: .9rem; color: #fff !important; }
.btn-block { display: block; width: 100%; text-align: center; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 3px solid; border-image: linear-gradient(90deg, var(--primary), var(--gold), var(--accent)) 1; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: "Poppins", sans-serif; font-size: 1.3rem; color: var(--charcoal); }
.logo strong { color: var(--primary); }
.logo-img { width: 54px; height: 54px; object-fit: contain; mix-blend-mode: multiply; }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--primary); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: .3s; }

/* Hero */
.hero { padding: 80px 0 96px; background: radial-gradient(circle at 85% 20%, #fdb91340, transparent 42%), radial-gradient(circle at 5% 90%, #1c7c8c18, transparent 35%), linear-gradient(180deg, #fff4e6, #fff); }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 20px; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0 40px; }
.hero-stats { list-style: none; display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats strong { font-family: "Poppins", sans-serif; font-size: 2rem; color: var(--primary); }
.hero-stats span { color: var(--muted); font-weight: 500; margin-left: 2px; }
.hero-card { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); border-top: 5px solid var(--gold); }
.hero-card h3 { margin-bottom: 18px; }
.batch-list { list-style: none; margin-bottom: 24px; }
.batch-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed #e5e7eb; }
.batch-list em { font-style: normal; color: var(--accent);font-weight: 600; font-size: .9rem; white-space: nowrap; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li { background: var(--bg-alt); padding: 14px 18px 14px 48px; border-radius: 10px; position: relative; font-weight: 500; }
.checklist li::before { content: "✓"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: .75rem; }

/* Founder */
.founder-section { background: linear-gradient(135deg, #fff 0%, #fff4e6 60%, #fde9c8 100%); }
.founder { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: center; }
.founder-photo { position: relative; max-width: 380px; margin-inline: auto; width: 100%; }
.founder-photo img, .founder-placeholder { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; box-shadow: 18px 18px 0 var(--gold), var(--shadow); }
.founder-photo img { aspect-ratio: 1 / 1; object-position: center top; background: #fff; }
.founder-placeholder { display: grid; place-items: center; font-family: "Poppins", sans-serif; font-size: 5rem; font-weight: 700; color: #fff; background: linear-gradient(160deg, var(--primary), var(--gold)); }
.founder-badge { position: absolute; left: -18px; bottom: 28px; background: var(--charcoal); color: #fff; padding: 14px 18px; border-radius: 14px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow); border-left: 5px solid var(--accent); }
.founder-badge strong { font-family: "Poppins", sans-serif; font-size: 2rem; color: var(--gold); }
.founder-badge span { font-size: .85rem; line-height: 1.3; }
.founder-role { color: var(--accent); font-weight: 600; margin: -6px 0 16px; }
.founder-quote { background: #fff; margin: 22px 0; font-style: italic; border-left-color: var(--primary); }
.founder-highlights { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.founder-highlights li { background: #fff; border-radius: 12px; padding: 14px; text-align: center; box-shadow: var(--shadow); display: grid; }
.founder-highlights strong { font-family: "Poppins", sans-serif; color: var(--primary); font-size: 1.2rem; }
.founder-highlights span { color: var(--muted); font-size: .82rem; }

/* Courses */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card { background: #fff; padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .2s, border-color .2s; border-bottom: 4px solid transparent; }
.card:hover { transform: translateY(-6px); border-bottom-color: var(--primary); }
.card-icon { font-size: 2rem; margin-bottom: 12px; }
.card-sub { color: var(--primary); font-weight: 600; font-size: .9rem; margin: 4px 0 10px; }
.card p:last-child { color: var(--muted); }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.feature { text-align: center; padding: 28px 20px; border: 1px solid #fde3cc; border-radius: var(--radius); transition: border-color .2s; }
.feature:hover { border-color: var(--gold); }
.feature span { font-size: 2.2rem; }
.feature h4 { margin: 10px 0 6px; }
.feature p { color: var(--muted); font-size: .95rem; }

/* Faculty */
.faculty { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
/* A lone card on the last row sits in the middle column */
.faculty .teacher:last-child:nth-child(3n+1) { grid-column: 2; }
.teacher { background: #fff; text-align: center; padding: 30px 20px; border-radius: var(--radius); box-shadow: var(--shadow); }
.avatar { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; font-family: "Poppins", sans-serif; font-size: 1.5rem; font-weight: 600; color: #fff; background: linear-gradient(135deg, var(--primary), var(--gold)); box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--accent); }
img.avatar { display: block; object-fit: cover; object-position: center top; background: #fff; }
.teacher p { color: var(--muted); font-size: .9rem; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
blockquote { background: var(--bg-alt); padding: 28px; border-radius: var(--radius); border-left: 4px solid var(--accent); }
blockquote p { font-style: italic; margin-bottom: 14px; }
cite { font-style: normal; font-weight: 600; color: var(--primary-dark); font-size: .9rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.contact-info li { display: flex; gap: 12px; }
.contact-info a:hover { color: var(--primary); }
.form { background: #fff; padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
.form input, .form select, .form textarea { font: inherit; padding: 12px 14px; border: 1px solid #d1d5db; border-radius: 10px; background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--primary); border-color: transparent; }

/* Footer */
.footer { background: var(--charcoal); color: #d6cfcb; padding: 28px 0; font-size: .9rem; border-top: 4px solid var(--primary); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 50%; padding: 3px; }
.footer a:hover { color: var(--gold); }

.whatsapp-float { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 8px 20px rgba(0,0,0,.2); z-index: 60; transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.08); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .about-grid, .contact-grid, .founder { grid-template-columns: 1fr; gap: 40px; }
  .founder-badge { left: 8px; }
  .founder-highlights { grid-template-columns: 1fr; }
  .nav-links.open { max-height: 460px; }
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid #e5e7eb; max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .nav-links.open { max-height: 480px; }
  .nav-links a { padding: 14px 16px; width: 100%; text-align: center; }
  .nav-links .btn-small { width: auto; margin: 8px 0 16px; }
  .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); }
  .section { padding: 64px 0; }
  .cards { grid-template-columns: 1fr; }
  .faculty { grid-template-columns: repeat(2, 1fr); }
  .faculty .teacher:last-child:nth-child(3n+1) { grid-column: auto; }
  .faculty .teacher:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 12px); }
}
@media (max-width: 560px) {
  .faculty { grid-template-columns: 1fr; }
  .faculty .teacher:last-child:nth-child(odd) { width: auto; justify-self: stretch; }
}
