:root {
  --bg: #000;
  --bg-2: #0b0b0b;
  --bg-card: #111;
  --line: #222;
  --text: #f4f4f4;
  --muted: #d4d4d4;
  --dim: #9a9a9a;
  --orange: #ff5b00;
  --orange-2: #ff7a1a;
  --orange-soft: rgba(255, 91, 0, 0.14);
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: Poppins, system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: #fff; padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.logo { width: 140px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 15px; color: #fff; }
.nav a[aria-current="page"], .nav a:hover { text-decoration: underline; text-underline-offset: 6px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--orange);
  color: #f4f4f4;
  border: 0;
  border-radius: 14px;
  padding: 14px 26px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease;
}

.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-ghost { background: transparent; border: 1px solid #333; color: #fff; }
.btn-lg { padding: 18px 34px; font-size: 18px; border-radius: 16px; }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 8vw 48px 8vw;
  z-index: 2;
}

.kicker {
  color: var(--orange);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero p { color: var(--muted); max-width: 560px; margin-bottom: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }

.hero-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 520px;
  background: #000;
}

.hero-visual img {
  width: auto;
  height: min(88vh, 720px);
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
}

.office {
  position: absolute;
  inset: 12% 8% 18% 6%;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.35)),
    linear-gradient(135deg, #f3e7d3 0%, #d7c4a3 40%, #8aa0b8 100%);
  box-shadow: var(--shadow);
}

.office::before {
  content: "";
  position: absolute;
  inset: 12% 18% auto auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, #ff5b00 0 28%, #fff 29% 46%, #ff5b00 47% 68%, #fff 69% 84%, #ff5b00 85%);
}

.window {
  position: absolute;
  inset: 0 0 38% 0;
  background: linear-gradient(#87b7e8, #f2c48a);
}

.skyline {
  position: absolute;
  bottom: 38%;
  left: 0; right: 0;
  height: 90px;
  background:
    linear-gradient(90deg, transparent 8%, #2b3a4a 8% 14%, transparent 14% 18%, #1d2a36 18% 28%, transparent 28% 34%, #32475a 34% 48%, transparent 48% 56%, #223140 56% 70%, transparent 70% 76%, #2c3d4d 76% 90%);
}

.floor {
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  background: linear-gradient(#efe6d6, #c9b79a);
}

.chair { position: absolute; bottom: 10%; width: 38px; height: 54px; border-radius: 10px 10px 6px 6px; }
.chair.c1 { left: 18%; background: #7c4dff; }
.chair.c2 { left: 38%; background: #c6e04a; }
.chair.c3 { left: 58%; background: #ffd166; }
.table { position: absolute; bottom: 16%; left: 16%; width: 52%; height: 14px; background: #fff; border-radius: 20px; }

.mascot {
  position: absolute;
  right: 6%;
  bottom: 6%;
  width: 210px;
  height: 320px;
  z-index: 3;
}

.mascot-head {
  position: absolute;
  top: 18px;
  left: 58px;
  width: 78px;
  height: 78px;
  background: #e8b48a;
  border-radius: 50%;
}

.mascot-hair {
  position: absolute;
  top: 10px;
  left: 56px;
  width: 82px;
  height: 42px;
  background: #4a2f1f;
  border-radius: 40px 40px 8px 8px;
}

.mascot-beard {
  position: absolute;
  top: 72px;
  left: 72px;
  width: 50px;
  height: 28px;
  background: #5a3a28;
  border-radius: 0 0 24px 24px;
}

.mascot-body {
  position: absolute;
  top: 92px;
  left: 36px;
  width: 128px;
  height: 148px;
  background: #fff;
  border-radius: 24px 24px 10px 10px;
  border: 8px solid #ff5b00;
}

.mascot-iau {
  position: absolute;
  top: 138px;
  left: 72px;
  color: #ff5b00;
  font-weight: 800;
  font-size: 22px;
}

.mascot-arm {
  position: absolute;
  top: 118px;
  left: 8px;
  width: 86px;
  height: 22px;
  background: #fff;
  border-radius: 20px;
  transform: rotate(-28deg);
  box-shadow: 0 0 0 6px #ff5b00;
}

.mascot-legs {
  position: absolute;
  top: 236px;
  left: 62px;
  width: 76px;
  height: 70px;
  background: #2f5f9a;
  border-radius: 8px;
}

.mascot-shoes {
  position: absolute;
  bottom: 0;
  left: 52px;
  width: 96px;
  height: 18px;
  background: #fff;
  border-radius: 10px;
}

/* Tools */
.tools {
  border-top: 1px solid #161616;
  border-bottom: 1px solid #161616;
  background: #050505;
  padding: 22px 0;
  overflow: hidden;
}

.tools-track {
  display: flex;
  gap: 56px;
  animation: marquee 28s linear infinite;
  width: max-content;
}

.tools-track img {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.05);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
.section { padding: 92px 0; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}
.lead { color: var(--muted); font-size: 18px; }
.orange { color: var(--orange); }

.answer-box {
  background: linear-gradient(180deg, #14110e, #0d0d0d);
  border: 1px solid #2a1c12;
  border-left: 4px solid var(--orange);
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 36px;
}

.answer-box strong { color: #fff; }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 100%;
  transition: border-color .2s ease, transform .2s ease;
}

.card:hover { border-color: #3a3a3a; transform: translateY(-3px); }
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  color: #ececec;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
}

.course-card .badge {
  display: inline-block;
  background: var(--orange-soft);
  color: var(--orange-2);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.yes { border-color: #1e3a24; }
.no { border-color: #3a1e1e; }
.yes h3 { color: #7dffa0; }
.no h3 { color: #ff8b8b; }
.check li, .cross li { position: relative; padding-left: 22px; color: var(--muted); margin: 10px 0; }
.check li::before { content: "✓"; position: absolute; left: 0; color: #7dffa0; }
.cross li::before { content: "✕"; position: absolute; left: 0; color: #ff8b8b; }

/* Faculty / quotes */
.quote {
  background: #111;
  border-radius: 22px;
  padding: 36px;
  border: 1px solid #222;
  font-size: 22px;
  line-height: 1.45;
}

.quote cite { display: block; margin-top: 18px; color: var(--orange); font-style: normal; font-size: 15px; }

.person {
  text-align: center;
  background: #111;
  border: 1px solid #222;
  border-radius: 20px;
  padding: 22px 14px;
}

.avatar {
  width: 86px;
  height: 86px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ff5b00, #5a2200);
  font-weight: 800;
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person small { color: var(--dim); display: block; }

/* Awards / logos */
.awards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.award {
  background: #0f0f0f;
  border: 1px solid #222;
  border-radius: 16px;
  padding: 20px;
  min-height: 140px;
}

/* FAQ */
.faq details {
  background: #111;
  border: 1px solid #222;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 12px;
}

.faq summary { cursor: pointer; font-weight: 700; }
.faq p { color: var(--muted); margin-top: 10px; }

/* Location */
.map-card {
  background: #111;
  border: 1px solid #222;
  border-radius: 22px;
  padding: 32px;
}

/* Footer */
.footer {
  background: #070707;
  border-top: 1px solid #1a1a1a;
  padding: 56px 0 28px;
}

.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
.footer h6 { color: var(--orange); margin-bottom: 14px; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.footer a, .footer p { color: #bdbdbd; font-size: 14px; display: block; margin: 8px 0; }
.copy { margin-top: 28px; color: #777; font-size: 13px; }

.chat-widgets-container {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  z-index: 1000;
}

.whatsapp-widget {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: 0.3s;
  color: #fff !important;
}

.whatsapp-widget:hover .whatsapp-button,
.whatsapp-button:hover {
  background-color: #1ebe5f;
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.whatsapp-button svg {
  display: block;
  fill: currentColor;
}

@media (max-width: 768px) {
  .whatsapp-button { width: 50px; height: 50px; }
}

/* Inner pages */
.page-hero { padding: 72px 0 24px; }
.crumbs { color: var(--dim); font-size: 13px; margin-bottom: 16px; }
.crumbs a:hover { color: #fff; }
.toc { background: #111; border: 1px solid #222; border-radius: 16px; padding: 18px 22px; margin: 24px 0 36px; }
.toc a { display: block; color: var(--muted); margin: 6px 0; }
.prose h2 { margin: 36px 0 12px; font-size: 32px; }
.prose h3 { margin: 26px 0 10px; font-size: 22px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { margin: 12px 0 20px 18px; list-style: disc; }
.prose ol { margin: 12px 0 20px 18px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 28px 0; }
.stat { background: #111; border: 1px solid #222; border-radius: 16px; padding: 18px; }
.stat b { display: block; font-size: 28px; color: #fff; }
.stat span { color: var(--dim); font-size: 13px; }

.byline, .sources, .eeat {
  background: #111;
  border: 1px solid #222;
  border-radius: 16px;
  padding: 18px 20px;
  margin: 24px 0;
}
.byline p, .sources p, .sources li, .eeat p { color: var(--muted); margin: 6px 0; }
.sources ul { margin: 8px 0 0 18px; list-style: disc; }
.updated { color: var(--dim); font-size: 13px; margin: 8px 0 0; }

@media (max-width: 980px) {
  .hero, .grid-2, .grid-3, .grid-4, .split, .footer-grid, .awards, .stat-row { grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; }
  .hero-visual img { height: min(52vh, 480px); }
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 78px;
    left: 0; right: 0;
    background: #000;
    padding: 20px;
    border-bottom: 1px solid #222;
  }
  .menu-toggle { display: block; }
  .hero-copy { padding: 48px 20px 24px; }
}
