@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=Poppins:wght@400;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

:root {
  --indigo: #2D2D8E;
  --indigo-dark: #1A1A5E;
  --indigo-deeper: #13135A;
  --orange: #E07B22;
  --orange-light: #FFF4EA;
  --orange-hover: #c96b18;
  --green: #2F8B3E;
  --surface: #FAFAF7;
  --sky: #F0F0FB;
  --line: #E2E2F0;
  --text: #1C1C2E;
  --muted: #5A5A7A;
  --white: #ffffff;
  --shadow: 0 8px 32px rgba(45,45,142,0.10);
  --shadow-orange: 0 6px 20px rgba(224,123,34,0.28);
  --radius: 8px;
  --radius-lg: 12px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); font-family: 'Inter', 'Segoe UI', Arial, sans-serif; font-size: 17px; line-height: 1.65; background: var(--white); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { margin: 0; color: var(--indigo); font-family: 'Poppins', 'Segoe UI', Arial, sans-serif; line-height: 1.12; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* TOPBAR */
.topbar { background: var(--indigo-dark); color: var(--white); font-size: 13px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar-links { display: flex; flex-wrap: wrap; gap: 18px; }
.topbar a, .topbar strong { color: var(--white); }
.topbar a { opacity: 0.85; }
.topbar a:hover { opacity: 1; color: #FFD89A; }
.topbar strong { color: #FFD89A; }

/* HEADER */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.97); border-bottom: 1px solid rgba(226,226,240,0.8); backdrop-filter: blur(12px); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 200px; }
.brand-logo { height: 52px; display: block; }
.brand-name { display: grid; line-height: 1.1; }
.brand-name strong { color: var(--indigo); font-size: 17px; font-family: 'Poppins',sans-serif; }
.brand-name span { color: var(--muted); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 18px; color: var(--indigo); font-size: 14px; font-weight: 700; font-family: 'Poppins',sans-serif; }
.main-nav a { padding: 28px 0; border-bottom: 3px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: var(--orange); border-bottom-color: var(--orange); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--white); color: var(--indigo); font-size: 22px; border-radius: var(--radius); cursor: pointer; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 22px; border: 1px solid transparent; border-radius: var(--radius); font-weight: 800; font-family: 'Poppins',sans-serif; font-size: 14px; line-height: 1; cursor: pointer; transition: 0.18s ease; }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-indigo { background: var(--indigo); color: var(--white); }
.btn-indigo:hover { background: var(--indigo-dark); }
.btn-outline { border-color: rgba(255,255,255,0.7); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }

/* EYEBROW */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--orange); font-size: 12px; font-weight: 900; font-family: 'Poppins',sans-serif; letter-spacing: 1.5px; text-transform: uppercase; }
.eyebrow::before { display: inline-block; width: 30px; height: 2px; content: ""; background: currentColor; }

/* HERO */
.hero { position: relative; min-height: 680px; color: var(--white); overflow: hidden; }
.hero::before { position: absolute; inset: 0; content: ""; background: var(--hero-image) center/cover no-repeat; transform: scale(1.02); }
.hero::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(26,26,94,0.92) 0%, rgba(26,26,94,0.60) 55%, rgba(26,26,94,0.18) 100%); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.1fr) 420px; align-items: center; gap: 48px; min-height: 680px; padding: 72px 0; }
.hero h1 { font-family: 'Playfair Display', serif; max-width: 760px; color: var(--white); font-size: clamp(40px,5.5vw,66px); font-weight: 800; }
.hero p { max-width: 640px; margin: 22px 0 30px; color: rgba(255,255,255,0.90); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* TRUST CARD in hero */
.trust-card { padding: 28px; border-radius: var(--radius-lg); background: rgba(255,255,255,0.97); color: var(--text); box-shadow: 0 20px 60px rgba(26,26,94,0.30); }
.trust-card h3 { font-size: 16px; font-family: 'Poppins',sans-serif; color: var(--indigo); margin-bottom: 16px; font-weight: 800; }
.trust-row { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.trust-row:last-of-type { border-bottom: none; }
.trust-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--orange-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px; }
.trust-label strong { display: block; font-size: 14px; color: var(--indigo); font-weight: 700; }
.trust-label span { font-size: 12px; color: var(--muted); }

/* PAGE HERO */
.page-hero { position: relative; padding: 130px 0 88px; color: var(--white); overflow: hidden; }
.page-hero::before { position: absolute; inset: 0; content: ""; background: var(--hero-image) center/cover no-repeat; }
.page-hero::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(26,26,94,0.92), rgba(26,26,94,0.42)); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-family: 'Playfair Display',serif; max-width: 820px; color: var(--white); font-size: clamp(38px,5vw,60px); font-weight: 800; }
.page-hero p { max-width: 700px; margin: 18px 0 0; color: rgba(255,255,255,0.86); font-size: 19px; }

/* STATS BAND */
.stat-band { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; overflow: hidden; border-radius: var(--radius); background: rgba(255,255,255,0.15); }
.stat { padding: 28px 18px; background: rgba(255,255,255,0.07); text-align: center; }
.stat strong { display: block; color: var(--orange); font-family: 'Poppins',sans-serif; font-size: 28px; line-height: 1; font-weight: 900; }
.stat span { display: block; margin-top: 8px; color: rgba(255,255,255,0.82); font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }

/* SECTIONS */
.section { padding: 88px 0; }
.section-soft { background: var(--surface); }
.section-sky { background: var(--sky); }
.section-dark { background: var(--indigo-dark); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.78); }
.section-head { display: grid; grid-template-columns: minmax(0,0.9fr) minmax(260px,0.7fr); align-items: end; gap: 40px; margin-bottom: 42px; }
.section-head.center { display: block; max-width: 740px; margin-right: auto; margin-left: auto; text-align: center; margin-bottom: 42px; }
.section-head h2 { font-size: clamp(30px,3.8vw,46px); }
.section-head p { margin: 12px 0 0; color: var(--muted); }

/* GRID */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4,minmax(0,1fr)); }

/* CARDS */
.card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); transition: 0.2s ease; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-body { padding: 24px; }
.card h3 { margin-bottom: 8px; font-size: 21px; }
.card p { margin: 0; color: var(--muted); }
.image-card img { width: 100%; height: 240px; object-fit: cover; }
.icon-card { padding: 26px; }
.icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 10px; color: var(--orange); font-size: 22px; font-weight: 900; background: var(--orange-light); }

/* SPLIT */
.split { display: grid; grid-template-columns: minmax(0,0.92fr) minmax(0,1.08fr); align-items: center; gap: 56px; }
.split img { width: 100%; height: 480px; border-radius: var(--radius-lg); object-fit: cover; }
.check-list { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 32px; color: var(--text); font-size: 16px; }
.check-list li::before { position: absolute; top: 2px; left: 0; display: grid; place-items: center; width: 20px; height: 20px; content: "✓"; border-radius: 50%; background: var(--green); color: var(--white); font-size: 10px; font-weight: 900; }

/* FORMS */
.lead-form { padding: 28px; border-radius: var(--radius-lg); background: rgba(255,255,255,0.97); color: var(--text); box-shadow: var(--shadow); }
.lead-form h3 { margin-bottom: 8px; font-size: 22px; }
.lead-form p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.field { width: 100%; min-height: 48px; margin-bottom: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); font: inherit; background: var(--white); }
.field:focus { outline: none; border-color: var(--indigo); }
textarea.field { min-height: 110px; resize: vertical; }
select.field { appearance: none; }

/* TIMELINE */
.timeline { counter-reset: steps; display: grid; gap: 16px; }
.step { counter-increment: steps; display: grid; grid-template-columns: 58px minmax(0,1fr); gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.step::before { display: grid; place-items: center; width: 46px; height: 46px; content: counter(steps); border-radius: 50%; background: var(--indigo); color: var(--orange); font-weight: 900; font-family: 'Poppins',sans-serif; font-size: 18px; }
.step h3 { margin-bottom: 4px; font-size: 19px; }

/* GALLERY */
.gallery { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr; grid-auto-rows: 230px; gap: 16px; }
.gallery img { width: 100%; height: 100%; border-radius: var(--radius-lg); object-fit: cover; }
.gallery img:first-child { grid-row: span 2; }

/* QUOTE */
.quote { padding: 32px; border-left: 5px solid var(--orange); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.quote p { margin: 0; color: var(--text); font-size: 20px; font-style: italic; }
.quote strong { display: block; margin-top: 16px; color: var(--indigo); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); background: var(--white); }
.faq summary { cursor: pointer; padding: 20px 0; color: var(--indigo); font-weight: 800; font-family: 'Poppins',sans-serif; font-size: 16px; }
.faq p { max-width: 820px; margin: 0; padding: 0 0 20px; color: var(--muted); }

/* CONTACT */
.contact-panel { padding: 32px; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.map-placeholder { display: grid; place-items: center; min-height: 420px; border-radius: var(--radius-lg); color: var(--white); text-align: center; background: linear-gradient(rgba(26,26,94,0.72),rgba(26,26,94,0.72)), url("https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=1400&q=80") center/cover; }

/* CTA BAND */
.cta-band { padding: 64px 0; background: var(--indigo); color: var(--white); }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: var(--white); font-size: clamp(28px,4vw,42px); }
.cta-band p { max-width: 600px; margin: 10px 0 0; color: rgba(255,255,255,0.78); }

/* FOOTER */
.site-footer { background: var(--indigo-deeper); color: rgba(255,255,255,0.72); }
.footer-main { display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 32px; padding: 60px 0; }
.footer-logo { height: 50px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-main h3, .footer-main h4 { margin-bottom: 14px; color: var(--white); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.footer-main p { font-size: 14px; line-height: 1.7; }
.footer-main a { display: block; margin: 7px 0; font-size: 14px; color: rgba(255,255,255,0.65); }
.footer-main a:hover { color: var(--orange); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.1); color: var(--white); font-size: 15px; margin: 0; }
.footer-social a:hover { background: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.10); font-size: 13px; color: rgba(255,255,255,0.40); }
.footer-bottom a { color: rgba(255,255,255,0.40); }
.footer-bottom a:hover { color: var(--orange); }

/* WHATSAPP */
.wa-float { position: fixed; bottom: 28px; right: 28px; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.45); z-index: 999; text-decoration: none; font-size: 26px; transition: transform 0.2s ease; }
.wa-float:hover { transform: scale(1.08); }

/* MOBILE CTA */
.mobile-cta { display: none; }

/* MPD PAGE SPECIFIC */
.mpd-section { margin-bottom: 48px; }
.mpd-section-title { display: flex; align-items: center; gap: 12px; background: var(--indigo); color: var(--white); padding: 14px 20px; border-radius: var(--radius) var(--radius) 0 0; font-family: 'Poppins',sans-serif; font-size: 15px; font-weight: 800; letter-spacing: 0.5px; margin-bottom: 0; }
.mpd-section-title span { background: var(--orange); color: var(--white); border-radius: 50%; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 900; flex-shrink: 0; }
.mpd-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-top: none; }
.mpd-table th { background: var(--sky); color: var(--indigo); font-family: 'Poppins',sans-serif; font-size: 13px; font-weight: 800; padding: 12px 16px; text-align: left; border-bottom: 2px solid var(--line); letter-spacing: 0.3px; }
.mpd-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--text); vertical-align: middle; }
.mpd-table tr:last-child td { border-bottom: none; }
.mpd-table tr:hover td { background: #FAFAFE; }
.mpd-table td:first-child { width: 52px; text-align: center; color: var(--muted); font-weight: 700; font-size: 14px; }
.mpd-table td.doc-label { font-weight: 600; color: var(--indigo); }
.btn-view-doc { display: inline-flex; align-items: center; gap: 6px; background: var(--indigo); color: var(--white); padding: 7px 14px; border-radius: 6px; font-size: 13px; font-weight: 700; font-family: 'Poppins',sans-serif; white-space: nowrap; transition: 0.18s; }
.btn-view-doc:hover { background: var(--orange); }
.btn-view-doc svg { width: 14px; height: 14px; }
.btn-view-video { display: inline-flex; align-items: center; gap: 6px; background: #FF0000; color: var(--white); padding: 7px 14px; border-radius: 6px; font-size: 13px; font-weight: 700; font-family: 'Poppins',sans-serif; transition: 0.18s; }
.btn-view-video:hover { background: #cc0000; }
.mpd-note { background: var(--orange-light); border: 1px solid #f5c68a; border-radius: var(--radius); padding: 14px 18px; font-size: 14px; color: #7a4a10; margin-top: 8px; line-height: 1.6; }
.mpd-note strong { color: var(--indigo); }

/* FACULTY PAGE */
.faculty-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: 0.2s ease; text-align: center; }
.faculty-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.faculty-avatar { width: 100%; height: 200px; object-fit: cover; object-position: top; background: var(--sky); display: block; }
.faculty-avatar-placeholder { width: 100%; height: 200px; background: linear-gradient(135deg, var(--sky), #E2E2F0); display: flex; align-items: center; justify-content: center; font-family: 'Poppins',sans-serif; font-size: 48px; font-weight: 900; color: var(--indigo); opacity: 0.3; }
.faculty-card-body { padding: 18px 16px; }
.faculty-card-body h3 { font-size: 16px; margin-bottom: 4px; }
.faculty-card-body .subject { font-size: 13px; color: var(--orange); font-weight: 700; margin-bottom: 4px; }
.faculty-card-body .qual { font-size: 13px; color: var(--muted); }
.principal-card { display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; padding: 0; }
.principal-card img { width: 280px; height: 320px; object-fit: cover; object-position: top; }
.principal-card-placeholder { width: 280px; height: 320px; background: linear-gradient(160deg, var(--sky), var(--indigo-dark)); display: flex; align-items: center; justify-content: center; font-size: 72px; color: rgba(255,255,255,0.2); font-family: 'Poppins',sans-serif; font-weight: 900; }
.principal-info { padding: 32px 32px 32px 0; }
.principal-info h2 { font-size: 26px; margin-bottom: 6px; }
.principal-info .title-tag { font-size: 14px; color: var(--orange); font-weight: 700; margin-bottom: 16px; display: block; }
.principal-info p { color: var(--muted); margin: 0 0 12px; font-size: 15px; }

/* RESPONSIVE */
@media (max-width: 1020px) {
  .main-nav, .nav-actions .btn { display: none; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .main-nav.open { position: absolute; top: 100%; right: 20px; left: 20px; display: grid; gap: 0; padding: 8px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); z-index: 100; }
  .main-nav.open a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .hero-inner, .split, .section-head, .principal-card { grid-template-columns: 1fr; }
  .principal-card img, .principal-card-placeholder { width: 100%; height: 260px; }
  .principal-info { padding: 24px; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero-inner { padding-bottom: 52px; }
  .stat-band { grid-template-columns: repeat(2,1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { width: min(100% - 28px, var(--max)); }
  .topbar { display: none; }
  .hero, .hero-inner { min-height: auto; }
  .hero-inner { gap: 28px; padding: 64px 0 42px; }
  .section { padding: 64px 0; }
  .grid-4, .grid-3, .grid-2, .stat-band, .footer-main { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery img:first-child { grid-row: auto; }
  .split img { height: 300px; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .mpd-table td, .mpd-table th { padding: 10px 10px; font-size: 13px; }
  .btn-view-doc, .btn-view-video { font-size: 12px; padding: 6px 10px; }
  .mobile-cta { position: fixed; right: 0; bottom: 0; left: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 -8px 24px rgba(26,26,94,0.18); }
  .mobile-cta a { padding: 14px 12px; text-align: center; font-weight: 900; font-family: 'Poppins',sans-serif; }
  .mobile-cta a:first-child { background: var(--white); color: var(--indigo); }
  .mobile-cta a:last-child { background: var(--orange); color: var(--white); }
  .wa-float { bottom: 72px; }
}
