:root {
  --navy: #0b1f3a;
  --navy-2: #122b4f;
  --maroon: #7b1f31;
  --gold: #d4af37;
  --text: #1f2937;
  --muted: #64748b;
  --white: #fff;
  --light: #f6f8fc;
  --border: #e4e7ee;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.1);
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { width: min(92%, var(--container)); margin-inline: auto; }
.section { padding: 70px 0; }
.section-light { background: var(--light); }
.center { text-align: center; }

h1, h2, h3 {
  font-family: "Playfair Display", serif;
  color: var(--navy);
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 6vw, 3.7rem); }
h2.section-title { font-size: clamp(1.7rem, 5vw, 2.5rem); margin-bottom: 12px; text-align: center; }
.section-subtitle { text-align: center; color: var(--muted); max-width: 760px; margin: 0 auto 34px; }
.white { color: #fff !important; }
.white-90 { color: rgba(255, 255, 255, 0.9) !important; }

.btn {
  border: 0;
  border-radius: 999px;
  padding: 11px 20px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--maroon), #9b2c48);
  box-shadow: 0 8px 20px rgba(123, 31, 49, 0.28);
}
.btn-outline { border: 1px solid #fff; color: #fff; background: transparent; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-light { background: #eef2f9; color: var(--navy); }
.full { width: 100%; }

.announcement {
  background: linear-gradient(90deg, var(--navy), var(--navy-2));
  color: #fff;
  padding: 9px 0;
  font-size: .9rem;
}
.announce-wrap { display: flex; justify-content: space-between; gap: 12px; align-items: center; }

.header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff 10%, var(--gold) 62%, #8f7422);
  display: grid; place-items: center; font-weight: 800; color: var(--navy);
  border: 2px solid #fff;
}
.logo-text { font-weight: 800; color: var(--navy); }

.menu { list-style: none; display: flex; gap: 18px; align-items: center; }
.menu a { color: #334155; font-weight: 500; font-size: .94rem; }
.menu a:hover { color: var(--maroon); }

.nav-cta { display: flex; gap: 8px; }
.mobile-toggle { display: none; border: 0; background: transparent; font-size: 1.3rem; color: var(--navy); }

.hero {
  min-height: 86vh;
  display: grid; place-items: center;
  background:
    linear-gradient(130deg, rgba(8, 22, 44, .85), rgba(8, 22, 44, .52)),
    url("https://images.unsplash.com/photo-1562774053-701939374585?q=80&w=2000&auto=format&fit=crop") center/cover no-repeat;
  color: #fff;
}
.hero-content { text-align: center; padding: 50px 0; }
.badge {
  display: inline-block;
  margin-bottom: 12px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: .84rem;
}
.hero p { max-width: 760px; margin: 12px auto 20px; color: #e2e8f0; }
.hero-buttons { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

.stats { margin-top: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stat-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px; padding: 12px;
}
.stat-card h3 { color: #fff; font-family: "Inter", sans-serif; font-size: 1.35rem; }
.stat-card p { color: #dbe7ff; font-size: .84rem; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; }
.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 330px;
  object-fit: cover;
}
.ticks { list-style: none; margin-top: 12px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ticks li { background: #f8fafc; border: 1px solid var(--border); border-radius: 10px; padding: 10px; font-weight: 600; color: var(--navy); font-size: .92rem; }
.ticks i { color: var(--maroon); margin-right: 5px; }

.grid { display: grid; gap: 14px; }
.cards-grid { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 18px; box-shadow: 0 8px 20px rgba(2,6,23,.05); transition: .28s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 15px 28px rgba(2,6,23,.12); }
.icon-wrap {
  width: 44px; height: 44px; border-radius: 10px;
  display: grid; place-items: center; margin-bottom: 10px;
  background: #f1f5ff; color: var(--maroon); font-size: 1.1rem;
}
.card h3 { font-size: 1.07rem; margin-bottom: 5px; }
.card p { color: var(--muted); font-size: .9rem; }
.card small { color: #0f766e; font-weight: 600; display: block; margin-top: 8px; }

.why-grid { grid-template-columns: repeat(3, 1fr); }
.feature-card {
  border: 1px solid var(--border); border-radius: 12px; background: #fff;
  padding: 18px; box-shadow: 0 8px 18px rgba(15,23,42,.05);
}
.feature-card i { color: var(--maroon); font-size: 1.15rem; margin-bottom: 8px; }

.placement-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; align-items: center; }
.metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 12px; }
.metric { border: 1px solid var(--border); border-radius: 10px; background: #fff; padding: 12px; }
.metric h4 { color: var(--maroon); font-family: "Inter", sans-serif; font-size: 1.2rem; }

.logo-cloud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.logo-cloud div { border: 1px dashed #cbd5e1; border-radius: 10px; min-height: 58px; display: grid; place-items: center; font-size: .85rem; color: #64748b; background: #fff; }

.scholarship {
  background:
    linear-gradient(100deg, rgba(123, 31, 49, .88), rgba(11,31,58,.86)),
    url("https://images.unsplash.com/photo-1523580846011-d3a5bc25702b?q=80&w=1800&auto=format&fit=crop") center/cover no-repeat;
}

.alumni-grid { grid-template-columns: repeat(4, 1fr); }
.alumni-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 15px; box-shadow: 0 8px 18px rgba(2,6,23,.06); }
.alumni-card img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin-bottom: 9px; }
.meta { color: var(--maroon); font-weight: 600; font-size: .86rem; margin-bottom: 6px; }
blockquote { color: #475569; font-size: .9rem; }

.campus-grid { grid-template-columns: repeat(3, 1fr); }
.campus-card { position: relative; border-radius: 14px; overflow: hidden; min-height: 260px; box-shadow: var(--shadow); }
.campus-card img { height: 100%; width: 100%; object-fit: cover; transition: .5s ease; }
.campus-card:hover img { transform: scale(1.06); }
.overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 16px; background: linear-gradient(to top, rgba(2,6,23,.85), rgba(2,6,23,.1));
}
.overlay h3, .overlay p { color: #fff; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gallery img { height: 180px; width: 100%; object-fit: cover; border-radius: 10px; cursor: pointer; }

.cta {
  background: linear-gradient(120deg, var(--navy), #153562);
  color: #fff;
}

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-card, .form-card {
  border: 1px solid var(--border); border-radius: 12px; background: #fff;
  padding: 16px; box-shadow: 0 8px 18px rgba(2,6,23,.06);
}
.contact-card ul { list-style: none; margin-top: 10px; }
.contact-card li { margin-bottom: 10px; color: #334155; }
.contact-card i { color: var(--maroon); margin-right: 7px; }
.form-card label { display: block; margin-bottom: 8px; font-size: .92rem; color: #334155; }
input, textarea {
  width: 100%; border: 1px solid #d1d5db; border-radius: 8px;
  padding: 10px 11px; margin-top: 4px; font-family: inherit;
}
textarea { min-height: 110px; resize: vertical; }

footer { background: #081427; color: #cbd5e1; padding: 46px 0 18px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
footer h4 { color: #fff; margin-bottom: 8px; font-family: "Inter", sans-serif; }
footer a, footer p { display: block; color: #cbd5e1; margin-bottom: 6px; font-size: .9rem; }

.socials { display: flex; gap: 8px; margin: 8px 0; }
.socials a {
  width: 32px; height: 32px; border-radius: 50%; background: #122746;
  display: grid; place-items: center; border: 1px solid #20406f; color: #fff;
}
.newsletter { display: flex; gap: 8px; }
.newsletter input { background: #0f1f38; color: #fff; border: 1px solid #24406a; }
.copyright { border-top: 1px solid #1f3f67; margin-top: 16px; padding-top: 12px; text-align: center; font-size: .86rem; color: #93a7c6; }

.mobile-sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; padding: 8px 12px;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-top: 1px solid #e5e7eb; z-index: 1200; display: none;
}
.mobile-sticky-cta .btn { padding: 12px; }

.lightbox {
  position: fixed; inset: 0; background: rgba(2,6,23,.9); z-index: 2000;
  display: none; align-items: center; justify-content: center; padding: 16px;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 96vw; max-height: 86vh; border-radius: 10px; }
.lightbox button {
  position: absolute; top: 12px; right: 12px; border: 0; width: 38px; height: 38px;
  border-radius: 50%; background: #fff; cursor: pointer;
}

.reveal { opacity: 0; transform: translateY(22px); transition: .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Tablet */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .alumni-grid { grid-template-columns: repeat(2, 1fr); }
  .campus-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .about-grid, .placement-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .announce-wrap { flex-direction: column; text-align: center; }

  .mobile-toggle { display: inline-block; }
  .nav-cta { display: none; }

  .menu {
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    display: none; flex-direction: column; gap: 12px; padding: 14px;
  }
  .menu.active { display: flex; }
  .mobile-only { display: block; }

  .hero { min-height: 88vh; }
  .hero-buttons .btn { width: 100%; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .ticks { grid-template-columns: 1fr; }

  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img { height: 150px; }

  .footer-grid { grid-template-columns: 1fr; }
  .mobile-sticky-cta { display: block; }
  body { padding-bottom: 70px; }
}

@media (max-width: 480px) {
  .cards-grid, .why-grid, .alumni-grid, .stats, .metrics, .campus-grid, .gallery { grid-template-columns: 1fr; }
}