:root {
  --navy: #031632;
  --navy-2: #061f43;
  --gold: #d8a84e;
  --gold-light: #f0c76f;
  --white: #ffffff;
  --text: #172033;
  --muted: #667085;
  --surface: #f6f8fb;
  --border: #e2e7ef;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(3, 22, 50, 0.97);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav-wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 300px;
  max-height: 72px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 600;
}

.main-nav a:hover { color: var(--gold-light); }

.campus-btn {
  padding: 11px 18px;
  border: 1px solid var(--gold);
  color: var(--gold-light) !important;
}

.menu-toggle {
  display: none;
  background: transparent;
  color: white;
  border: 0;
  font-size: 1.8rem;
}

.hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  color: white;
  background:
    linear-gradient(90deg, rgba(3,22,50,.98) 0%, rgba(3,22,50,.88) 42%, rgba(3,22,50,.25) 75%),
    url("assets/hero-ibs.jpg") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,22,50,.08), rgba(3,22,50,.28));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .65fr;
  gap: 70px;
  align-items: end;
}

.eyebrow, .section-label {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 700;
  font-size: .78rem;
  color: var(--gold);
}

.hero h1, h2 {
  font-family: "Playfair Display", serif;
  line-height: 1.08;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.7rem);
  max-width: 780px;
  margin: 12px 0 22px;
}

.hero h1 span {
  color: var(--gold-light);
  font-style: italic;
}

.hero-text {
  max-width: 650px;
  font-size: 1.15rem;
  color: rgba(255,255,255,.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 24px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,.5);
  color: white;
  background: rgba(3,22,50,.35);
}

.hero-card {
  margin-bottom: 25px;
  padding: 28px;
  border-left: 3px solid var(--gold);
  background: rgba(3,22,50,.66);
  backdrop-filter: blur(8px);
}

.quote {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  margin: 0 0 10px;
}

.quote-author {
  color: var(--gold-light);
  margin: 0;
}

.benefits {
  background: var(--navy);
  color: white;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.benefit-grid article {
  padding: 35px 26px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.12);
}

.benefit-grid article:last-child { border-right: 0; }

.benefit-grid span {
  display: block;
  color: var(--gold);
  font-size: 2rem;
}

.benefit-grid h3 {
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 10px 0 8px;
}

.benefit-grid p {
  color: rgba(255,255,255,.72);
  margin: 0;
  font-size: .92rem;
}

.section { padding: 95px 0; }

.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  margin: 8px 0 24px;
  color: var(--navy);
}

.about-panel {
  background: var(--surface);
  padding: 38px;
  border: 1px solid var(--border);
}

.about-panel img {
  margin-bottom: 25px;
}

.about-panel li {
  margin-bottom: 12px;
}

.programs { background: var(--surface); }

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 38px;
}

.program-card {
  background: white;
  border: 1px solid var(--border);
  min-height: 430px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(16, 35, 66, .08);
}

.program-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.program-content {
  padding: 24px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.program-card h3 {
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.25;
}

.program-card p { color: var(--muted); }

.program-content h3 {
  margin-top: 10px;
}

.program-card .tag {
  width: max-content;
  padding: 4px 10px;
  color: var(--navy);
  background: #f5e5bf;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.program-card a {
  margin-top: auto;
  color: #9b6c16;
  text-decoration: none;
  font-weight: 700;
}

.admission {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: white;
}

.admission-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.admission h2 { color: white; }
.light { color: var(--gold-light); }

.contact-form {
  display: grid;
  gap: 16px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 600;
}

input, select, textarea {
  width: 100%;
  border: 1px solid #cfd6e2;
  background: white;
  padding: 13px 14px;
  font: inherit;
}

textarea { resize: vertical; }

footer {
  padding: 35px 0;
  color: rgba(255,255,255,.75);
  background: #020f24;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

footer p { margin: 5px 0; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }

  .main-nav {
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    background: var(--navy);
  }

  .main-nav.open { display: flex; }

  .hero-grid, .two-columns {
    grid-template-columns: 1fr;
  }

  .hero-card { max-width: 560px; }

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

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }

  .brand img { width: 230px; }
  .nav-wrap { min-height: 76px; }

  .main-nav { top: 76px; }

  .hero {
    min-height: 760px;
    background-position: 62% center;
  }

  .hero-grid { gap: 35px; }
  .hero h1 { font-size: 3.1rem; }

  .benefit-grid, .cards { grid-template-columns: 1fr; }

  .benefit-grid article {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .admission-box, .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .section { padding: 70px 0; }
}
