/* ============================================================
   FORE School of Management — Website
   Strategy by Setidure Technologies | May 2026
   Design: Grounded Legacy, Forward Ambition
   ============================================================ */

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

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:      #8B1A1A;   /* FORE Maroon */
  --primary-dark: #6b1010;
  --navy:         #1A1A2E;   /* Deep Navy */
  --gold:         #D4A853;
  --dark:         #1A1A2E;
  --mid:          #5a5a7a;
  --light-bg:     #FAFAFA;
  --white:        #ffffff;
  --border:       #e0dfe8;
  --font-main:    'Inter', 'Segoe UI', Arial, sans-serif;
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-stat:    'Bebas Neue', Impact, sans-serif;
  --transition:   0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--dark);
  font-size: 16px;
  line-height: 1.6;
  background: var(--light-bg);
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--mid);
  margin-bottom: 40px;
  max-width: 600px;
}

.divider {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 12px 0 18px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 2px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  border: none;
  font-family: var(--font-main);
}

.btn:hover { transform: translateY(-1px); text-decoration: none; }

.btn-primary  { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); color: var(--white); }

.btn-navy     { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #0d0d1e; color: var(--white); }

.btn-outline  { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }

.btn-outline-white { background: transparent; border: 2px solid rgba(255,255,255,0.7); color: var(--white); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }

.btn-gold     { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #c08f30; color: var(--navy); }

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  font-size: 0.76rem;
  padding: 7px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: rgba(255,255,255,0.65); }
.top-bar a:hover { color: var(--gold); text-decoration: none; }
.top-bar-links, .top-bar-right { display: flex; gap: 18px; align-items: center; }
.top-bar .highlight { color: var(--gold); font-weight: 600; }

/* ============================================================
   HEADER
   ============================================================ */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(26,26,46,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 20px;
}

.logo-block { display: flex; align-items: center; gap: 10px; flex-shrink: 0; min-width: 0; }

.logo-mark {
  width: 52px;
  height: 52px;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 2px;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.logo-text .name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
}
.logo-text .tagline {
  font-size: 0.68rem;
  color: var(--mid);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* Nav — only the top-level ul is a horizontal flex row;
   nested .dropdown-menu uls stack vertically. */
nav.main-nav > ul { display: flex; gap: 2px; align-items: center; list-style: none; flex-wrap: wrap; justify-content: flex-end; }
nav.main-nav > ul > li { position: relative; list-style: none; white-space: nowrap; }
nav.main-nav > ul > li > a {
  display: block;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  border-radius: 2px;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
nav.main-nav > ul > li > a:hover,
nav.main-nav > ul > li.active > a {
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
}

ul.dropdown-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--white);
  min-width: 220px;
  box-shadow: 0 8px 24px rgba(26,26,46,0.14);
  border-top: 3px solid var(--primary);
  z-index: 999;
}
ul.dropdown-menu li { display: block; list-style: none; }
ul.dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 0.82rem;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
ul.dropdown-menu li:last-child a { border-bottom: none; }
ul.dropdown-menu li a:hover { background: var(--light-bg); color: var(--primary); text-decoration: none; }
nav.main-nav > ul > li:hover > ul.dropdown-menu,
nav.main-nav > ul > li:focus-within > ul.dropdown-menu { display: block; }

/* Apply button in nav */
.nav-apply-btn {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 6px 14px !important;
  border-radius: 2px !important;
  font-size: 0.78rem !important;
}
.nav-apply-btn:hover { background: var(--primary-dark) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); transition: var(--transition); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 620px;
  overflow: hidden;
  background: var(--navy);
}

.hero-slides { height: 100%; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;  /* keep heads in frame on portrait-heavy photos */
  display: block;
}

/* Video slide — YouTube iframe sized to cover, behind a lighter overlay */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
}
.hero-video-wrap iframe {
  position: absolute;
  top: 50%; left: 50%;
  /* 16:9 aspect-ratio cover trick: scale up so the shorter axis still fills */
  width: 100vw;
  height: 56.25vw;         /* 16:9 of 100vw */
  min-height: 100%;
  min-width: 177.78vh;     /* 16:9 of 100vh */
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;    /* let the hero-content buttons stay clickable */
}
/* The default .hero-overlay is 82% opaque — too heavy for video.
   Use a lighter, side-vignette gradient so the footage stays visible. */
.hero-slide--video .hero-overlay {
  background: linear-gradient(
    100deg,
    rgba(26,26,46,0.78) 0%,
    rgba(26,26,46,0.55) 35%,
    rgba(0,0,0,0.25) 65%,
    rgba(0,0,0,0.15) 100%
  );
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(26,26,46,0.82) 0%,
    rgba(139,26,26,0.45) 55%,
    rgba(26,26,46,0.2) 100%
  );
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  padding: 0 72px;
  max-width: 680px;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 18px;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 32px;
  line-height: 1.7;
  font-weight: 300;
}

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

.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 72px;
  display: flex;
  gap: 8px;
}
.hero-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background var(--transition);
}
.hero-dots span.active { background: var(--gold); }

/* ============================================================
   SOCIAL PROOF BAR
   ============================================================ */
.proof-bar {
  background: var(--navy);
  padding: 20px 0;
}

.proof-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 32px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.proof-item:last-child { border-right: none; }

.proof-badge {
  background: var(--primary);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 2px;
  text-transform: uppercase;
}

.proof-item .label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.2;
}

.proof-item .value {
  font-family: var(--font-stat);
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
}

/* ============================================================
   PROGRAMME FINDER
   ============================================================ */
.prog-finder-section {
  background: var(--light-bg);
  padding: 70px 0;
}

.prog-finder-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 48px;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(26,26,46,0.06);
}

.finder-step { display: none; }
.finder-step.active { display: block; }

.finder-step-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--mid);
  margin-bottom: 8px;
}

.finder-question {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 28px;
  line-height: 1.25;
}

.finder-options { display: flex; flex-direction: column; gap: 12px; }

.finder-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 2px solid var(--border);
  border-radius: 3px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 500;
  background: var(--white);
}
.finder-option:hover { border-color: var(--primary); background: #fdf7f7; }
.finder-option.selected { border-color: var(--primary); background: #fdf7f7; }

.finder-option .opt-icon {
  width: 36px;
  height: 36px;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.finder-progress { display: flex; gap: 6px; margin-bottom: 30px; }
.finder-progress span {
  height: 3px;
  flex: 1;
  background: var(--border);
  border-radius: 2px;
  transition: background var(--transition);
}
.finder-progress span.done { background: var(--primary); }

.finder-result { display: none; text-align: center; padding: 20px 0; }
.finder-result.show { display: block; }

.finder-result-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.finder-result h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.finder-result p { font-size: 0.95rem; color: var(--mid); margin-bottom: 24px; max-width: 480px; margin-left: auto; margin-right: auto; }

.finder-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.finder-restart {
  background: none;
  border: none;
  color: var(--mid);
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: underline;
  margin-top: 14px;
  font-family: var(--font-main);
}

/* ============================================================
   BENTO OUTCOMES GRID
   ============================================================ */
.bento-section { padding: 70px 0; background: var(--navy); }

.bento-section .section-title { color: var(--white); }
.bento-section .section-subtitle { color: rgba(255,255,255,0.6); }
.bento-section .divider { background: var(--gold); }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.bento-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 28px 24px;
  transition: background var(--transition), transform var(--transition);
}
.bento-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }

.bento-card.large { grid-column: span 2; }
.bento-card.tall { grid-row: span 2; }

.bento-card .bento-num {
  font-family: var(--font-stat);
  font-size: 3.2rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.bento-card .bento-unit {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}

.bento-card .bento-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

.bento-card .bento-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}

.bento-card .bento-icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

/* ============================================================
   PLACEMENTS / RECRUITERS
   ============================================================ */
.placements-section { padding: 70px 0; }

.recruiter-intro {
  text-align: center;
  margin-bottom: 40px;
}

.recruiter-intro .eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--mid);
  margin-bottom: 8px;
}

.recruiter-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.recruiter-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 18px 12px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.recruiter-card:hover { box-shadow: 0 4px 14px rgba(26,26,46,0.1); transform: translateY(-2px); }

.recruiter-card .r-logo {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.recruiter-card .r-sector {
  font-size: 0.65rem;
  color: var(--mid);
  margin-top: 4px;
}

/* ============================================================
   FACULTY SPOTLIGHT
   ============================================================ */
.faculty-spotlight { padding: 70px 0; background: var(--light-bg); }

.faculty-spot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.faculty-spot-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  display: block;
  color: inherit;
  text-decoration: none;
}
.faculty-spot-card:hover { box-shadow: 0 8px 24px rgba(26,26,46,0.1); transform: translateY(-4px); text-decoration: none; }
a.faculty-spot-card:hover h4 { color: var(--primary); }

.faculty-spot-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  background: var(--light-bg);
}

.faculty-spot-body { padding: 18px 16px; }

.faculty-spot-body .area {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary);
  margin-bottom: 6px;
}

.faculty-spot-body h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.faculty-spot-body .designation {
  font-size: 0.78rem;
  color: var(--mid);
  margin-bottom: 10px;
}

.faculty-spot-body .research-hook {
  font-size: 0.82rem;
  color: var(--dark);
  line-height: 1.5;
  font-style: italic;
  border-left: 2px solid var(--gold);
  padding-left: 10px;
}

/* ============================================================
   CAMPUS LIFE GRID
   ============================================================ */
.campus-life-section { padding: 70px 0; }

.campus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 14px;
}

.campus-card {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  cursor: pointer;
}

.campus-card.large { grid-column: span 2; }

.campus-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.campus-card.large img { height: 260px; }
.campus-card:hover img { transform: scale(1.05); }

.campus-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.85), transparent);
  padding: 28px 16px 14px;
  color: var(--white);
}

.campus-card-label h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
}

.campus-card-label p { font-size: 0.75rem; color: rgba(255,255,255,0.75); margin-top: 2px; }

/* ============================================================
   INSIGHTS (THOUGHT LEADERSHIP)
   ============================================================ */
.insights-section { padding: 70px 0; background: var(--light-bg); }

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.insight-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.insight-card:hover { box-shadow: 0 6px 20px rgba(26,26,46,0.1); }

.insight-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.insight-card-body { padding: 22px; }

.insight-card-body .tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary);
  margin-bottom: 8px;
}

.insight-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 8px;
}

.insight-card-body .author {
  font-size: 0.78rem;
  color: var(--mid);
  margin-top: 12px;
}

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  background: var(--primary);
  padding: 54px 0;
}

.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-strip-text h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.cta-strip-text p { font-size: 0.95rem; color: rgba(255,255,255,0.8); }

.cta-strip-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   SECTIONS GENERIC
   ============================================================ */
section { padding: 70px 0; }
section.bg-light { background: var(--light-bg); }
section.bg-navy { background: var(--navy); }

.section-header { margin-bottom: 44px; }

/* ============================================================
   PROGRAMS GRID
   ============================================================ */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.program-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: 3px;
  padding: 28px 22px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.program-card:hover { box-shadow: 0 8px 24px rgba(26,26,46,0.1); transform: translateY(-3px); }

.program-card .prog-icon {
  width: 44px;
  height: 44px;
  background: #fdf7f7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.program-card h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.program-card .meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.program-card .tag {
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--light-bg);
  color: var(--mid);
  padding: 3px 10px;
  border-radius: 20px;
}

.program-card p { font-size: 0.86rem; color: var(--mid); line-height: 1.65; margin-bottom: 18px; }

/* ============================================================
   RESEARCH CARDS
   ============================================================ */
.research-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.research-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.research-card:hover { box-shadow: 0 6px 20px rgba(26,26,46,0.1); }

.research-card img { width: 100%; height: 170px; object-fit: cover; display: block; }

.research-card-body { padding: 20px; }
.research-card-body .category {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gold);
  margin-bottom: 8px;
}
.research-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.4;
}
.research-card-body p { font-size: 0.83rem; color: var(--mid); line-height: 1.6; margin-bottom: 12px; }
.research-card-body .author { font-size: 0.78rem; color: var(--primary); font-weight: 600; }

/* ============================================================
   NEWS
   ============================================================ */
.news-events-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 36px; }

.news-list { display: flex; flex-direction: column; gap: 20px; }

.news-item {
  display: flex;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.news-item:last-child { border-bottom: none; }

.news-item img {
  width: 110px;
  height: 80px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

.news-item-body .date { font-size: 0.73rem; color: var(--mid); margin-bottom: 4px; }
.news-item-body h4 { font-family: var(--font-serif); font-size: 0.96rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; line-height: 1.4; }
.news-item-body h4 a { color: var(--navy); }
.news-item-body h4 a:hover { color: var(--primary); text-decoration: none; }
.news-item-body p { font-size: 0.82rem; color: var(--mid); line-height: 1.55; }

.events-sidebar h3 { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); }

.event-item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.event-item:last-child { border-bottom: none; }

.event-date-box { text-align: center; background: var(--primary); color: var(--white); min-width: 48px; padding: 8px 6px; border-radius: 2px; flex-shrink: 0; }
.event-date-box .day { font-family: var(--font-stat); font-size: 1.4rem; line-height: 1; }
.event-date-box .month { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.5px; }

.event-info h5 { font-size: 0.86rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; line-height: 1.3; }
.event-info p { font-size: 0.76rem; color: var(--mid); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.about-intro img { width: 100%; height: 380px; object-fit: cover; border-radius: 3px; display: block; }

.about-intro-text h2 { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.about-intro-text p { font-size: 0.92rem; color: var(--mid); line-height: 1.8; margin-bottom: 14px; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { background: var(--white); border: 1px solid var(--border); border-radius: 3px; padding: 26px 20px; border-top: 3px solid var(--gold); transition: box-shadow var(--transition); }
.value-card:hover { box-shadow: 0 4px 14px rgba(26,26,46,0.08); }
.value-card .icon { font-size: 1.8rem; margin-bottom: 12px; }
.value-card h3 { font-family: var(--font-serif); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.value-card p { font-size: 0.84rem; color: var(--mid); line-height: 1.6; }

.leadership-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.leader-card { background: var(--white); border: 1px solid var(--border); border-radius: 3px; overflow: hidden; text-align: center; padding-bottom: 22px; }
.leader-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.leader-card h4 { font-family: var(--font-serif); font-size: 1rem; font-weight: 700; color: var(--navy); margin: 16px 14px 4px; }
.leader-card .designation { font-size: 0.8rem; color: var(--primary); margin: 0 14px 8px; }
.leader-card p { font-size: 0.8rem; color: var(--mid); margin: 0 14px; line-height: 1.5; }

/* ============================================================
   FACULTY DIRECTORY
   ============================================================ */
.faculty-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.faculty-card { background: var(--white); border: 1px solid var(--border); border-radius: 3px; overflow: hidden; text-align: center; transition: box-shadow var(--transition); }
.faculty-card:hover { box-shadow: 0 6px 20px rgba(26,26,46,0.1); }

.faculty-card img { width: 100%; height: 200px; object-fit: cover; display: block; }

.faculty-card-body { padding: 16px; }
.faculty-card-body h4 { font-family: var(--font-serif); font-size: 0.94rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.faculty-card-body .designation { font-size: 0.78rem; color: var(--primary); margin-bottom: 3px; }
.faculty-card-body .area { font-size: 0.75rem; color: var(--mid); }

/* ============================================================
   EXEC ED
   ============================================================ */
.exec-ed-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-bottom: 40px; }
.exec-card { background: var(--white); border: 1px solid var(--border); border-radius: 3px; overflow: hidden; display: flex; flex-direction: column; }
.exec-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.exec-card-body { padding: 24px; flex: 1; }
.exec-card-body h3 { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.exec-card-body p { font-size: 0.86rem; color: var(--mid); line-height: 1.6; margin-bottom: 18px; }

/* ============================================================
   STUDENT LIFE
   ============================================================ */
.life-section { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.life-card { border-radius: 3px; overflow: hidden; position: relative; cursor: pointer; }
.life-card img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform 0.4s ease; }
.life-card:hover img { transform: scale(1.05); }

.life-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.85), transparent);
  padding: 28px 16px 14px;
}
.life-card-overlay h3 { font-family: var(--font-serif); font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.life-card-overlay p { font-size: 0.76rem; color: rgba(255,255,255,0.75); }

/* ============================================================
   ALUMNI
   ============================================================ */
.alumni-highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 50px; }
.alumni-highlight-card { text-align: center; background: var(--white); border: 1px solid var(--border); border-radius: 3px; padding: 26px 14px; }
.alumni-highlight-card .number { font-family: var(--font-stat); font-size: 2.8rem; color: var(--primary); margin-bottom: 6px; }
.alumni-highlight-card p { font-size: 0.82rem; color: var(--mid); }

.alumni-stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.alumni-story-card { background: var(--white); border: 1px solid var(--border); border-radius: 3px; overflow: hidden; }
.alumni-story-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.alumni-story-card-body { padding: 20px; }
.alumni-story-card-body .name { font-family: var(--font-serif); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.alumni-story-card-body .role { font-size: 0.8rem; color: var(--primary); margin-bottom: 10px; }
.alumni-story-card-body p { font-size: 0.83rem; color: var(--mid); line-height: 1.6; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 28px 22px;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.12;
  position: absolute;
  top: 8px;
  left: 18px;
  line-height: 1;
}

.testimonial-card p { font-size: 0.88rem; color: var(--mid); line-height: 1.75; margin-bottom: 20px; font-style: italic; }

.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.testimonial-author .info .name { font-size: 0.88rem; font-weight: 700; color: var(--navy); }
.testimonial-author .info .batch { font-size: 0.76rem; color: var(--mid); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info h3 { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; color: var(--navy); margin-bottom: 20px; }

.contact-detail { display: flex; gap: 14px; margin-bottom: 20px; }
.contact-detail .icon-box {
  width: 42px; height: 42px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1rem;
  flex-shrink: 0;
}
.contact-detail-text h5 { font-size: 0.88rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.contact-detail-text p { font-size: 0.83rem; color: var(--mid); line-height: 1.6; }

.contact-form { background: var(--white); border: 1px solid var(--border); border-radius: 3px; padding: 36px; }
.contact-form h3 { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 22px; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--navy); margin-bottom: 5px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 0.86rem;
  font-family: var(--font-main);
  color: var(--navy);
  background: var(--white);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { height: 110px; resize: vertical; }

.map-box { height: 300px; margin-top: 48px; border-radius: 3px; overflow: hidden; }
.map-box img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  padding: 70px 0 60px;
  overflow: hidden;
  background-color: var(--navy);
  isolation: isolate;
}
.page-hero > .container { position: relative; z-index: 2; }
/* Ensure inline overlay divs sit between background and text */
.page-hero > div[style*="absolute"][style*="inset:0"],
.page-hero > div[style*="absolute"][style*="inset: 0"] {
  z-index: 1;
}
.page-hero img { width: 100%; height: 300px; object-fit: cover; display: block; }
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(26,26,46,0.88) 0%, rgba(139,26,26,0.55) 100%);
  display: flex;
  align-items: center;
  z-index: 1;
}

/* Defensive: white text applies whether the markup wraps in .page-hero-text or not */
.page-hero-text { padding: 0 40px; }
.page-hero .breadcrumb,
.page-hero-text .breadcrumb {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
}
.page-hero .breadcrumb a,
.page-hero-text .breadcrumb a { color: rgba(255,255,255,0.85); }
.page-hero .breadcrumb a:hover,
.page-hero-text .breadcrumb a:hover { color: var(--gold); text-decoration: none; }
.page-hero .breadcrumb span,
.page-hero-text .breadcrumb span { margin: 0 6px; }
.page-hero h1,
.page-hero-text h1 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.15;
}
.page-hero p,
.page-hero-text p {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.92);
  max-width: 620px;
  line-height: 1.55;
}

/* Video-background variant of .page-hero — full-width looping clip behind the text */
.page-hero--video-bg {
  background-color: var(--navy);
  min-height: 320px;
}
.page-hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}
.page-hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(26,26,46,0.82), rgba(139,26,26,0.45));
  z-index: 1;
  pointer-events: none;
}
.page-hero--video-bg > .container { position: relative; z-index: 2; }

/* ============================================================
   TABS & ACCORDION
   ============================================================ */
.tabs-wrapper {}
.tabs { border-bottom: 2px solid var(--border); margin-bottom: 32px; display: flex; gap: 4px; flex-wrap: wrap; }
.tab-btn { padding: 10px 20px; font-size: 0.86rem; font-weight: 600; color: var(--mid); background: none; border: none; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: color var(--transition), border-color var(--transition); font-family: var(--font-main); }
.tab-btn:hover { color: var(--primary); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }

.accordion-group {}
.accordion-item { border: 1px solid var(--border); border-radius: 3px; margin-bottom: 8px; overflow: hidden; }
.accordion-header { padding: 15px 18px; font-size: 0.93rem; font-weight: 600; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: var(--white); transition: background var(--transition); }
.accordion-header:hover { background: var(--light-bg); }
.accordion-header.active { background: var(--primary); color: var(--white); }
.accordion-header .chevron { font-size: 0.8rem; transition: transform var(--transition); }
.accordion-header.active .chevron { transform: rotate(180deg); }
.accordion-body { display: none; padding: 16px 18px; font-size: 0.87rem; color: var(--mid); line-height: 1.7; border-top: 1px solid var(--border); }
.accordion-body.open { display: block; }

/* ============================================================
   RANKINGS
   ============================================================ */
.rankings-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ranking-card { background: var(--white); border: 1px solid var(--border); border-radius: 3px; padding: 24px; text-align: center; transition: box-shadow var(--transition); }
.ranking-card:hover { box-shadow: 0 4px 14px rgba(26,26,46,0.1); }
.ranking-card .rank-num { font-family: var(--font-stat); font-size: 2.8rem; color: var(--primary); line-height: 1; margin-bottom: 6px; }
.ranking-card .rank-source { font-size: 0.8rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.ranking-card .rank-desc { font-size: 0.74rem; color: var(--mid); }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 60px 0 0; }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }

.footer-brand .logo-mark-footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 2px;
  margin-bottom: 16px;
}

.footer-brand p { font-size: 0.84rem; line-height: 1.7; color: rgba(255,255,255,0.5); margin-bottom: 20px; }

.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 34px; height: 34px; background: rgba(255,255,255,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); font-size: 0.78rem; font-weight: 700; transition: background var(--transition), color var(--transition); }
.footer-social a:hover { background: var(--primary); color: var(--white); text-decoration: none; }

.footer-col h4 { font-size: 0.88rem; font-weight: 700; color: var(--white); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.12); letter-spacing: 0.3px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 0.82rem; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--gold); text-decoration: none; }

.footer-bottom { padding: 16px 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.76rem; color: rgba(255,255,255,0.3); }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { color: rgba(255,255,255,0.3); }
.footer-bottom-links a:hover { color: var(--gold); text-decoration: none; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
[data-reveal].visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .faculty-grid, .faculty-spot-grid { grid-template-columns: repeat(3, 1fr); }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card.large { grid-column: span 1; }
  .recruiter-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1100px) {
  /* Collapse the desktop nav into a hamburger earlier so it never wraps/overflows */
  nav.main-nav { display: none; }
  nav.main-nav.open {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); padding: 10px 0;
    box-shadow: 0 8px 24px rgba(26,26,46,0.14); z-index: 999;
    max-height: calc(100vh - 120px); overflow-y: auto;
  }
  nav.main-nav.open > ul { flex-direction: column; gap: 0; }
  nav.main-nav.open > ul > li > a { padding: 12px 20px; border-radius: 0; }
  nav.main-nav.open ul.dropdown-menu {
    position: static; box-shadow: none; border-top: none;
    border-left: 3px solid var(--primary); margin-left: 20px; display: none;
  }
  nav.main-nav.open > ul > li:hover .dropdown-menu,
  nav.main-nav.open > ul > li:focus-within .dropdown-menu { display: block; }
  .hamburger { display: flex; }

  /* Top bar wraps to a second row instead of pushing off-screen on tablet */
  .top-bar .container { flex-wrap: wrap; gap: 8px 14px; }
  .top-bar-links, .top-bar-right { flex-wrap: wrap; }
}

@media (max-width: 768px) {
  .hero { height: 480px; }
  .hero-title { font-size: 2.2rem; }
  .hero-content { padding: 0 24px; max-width: 100%; }
  .hero-dots { left: 24px; }

  .programs-grid, .research-grid, .testimonials-grid, .news-events-grid, .about-intro, .contact-grid, .exec-ed-grid { grid-template-columns: 1fr; }
  .values-grid, .leadership-grid, .life-section, .alumni-stories, .campus-grid { grid-template-columns: repeat(2, 1fr); }
  .campus-card.large { grid-column: span 1; }
  .rankings-grid, .alumni-highlights, .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card.large { grid-column: span 1; }
  .faculty-grid, .faculty-spot-grid { grid-template-columns: repeat(2, 1fr); }
  .recruiter-grid { grid-template-columns: repeat(3, 1fr); }
  .insights-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .section-title { font-size: 1.7rem; }
  .hero-title { font-size: 2rem; }
  .cta-strip-inner { flex-direction: column; text-align: center; }
  .proof-bar-inner { flex-direction: column; gap: 10px; }
  .proof-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); width: 100%; justify-content: center; }
  .proof-item:last-child { border-bottom: none; }
  .prog-finder-box { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .values-grid, .leadership-grid, .life-section, .alumni-stories, .campus-grid { grid-template-columns: 1fr; }
  .rankings-grid, .alumni-highlights { grid-template-columns: repeat(2, 1fr); }
  .faculty-grid, .faculty-spot-grid { grid-template-columns: repeat(2, 1fr); }
  .recruiter-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 1.7rem; }
  .hero-actions { flex-direction: column; }
  .cta-strip-actions { flex-direction: column; width: 100%; }
}

/* ============================================================
   GLOBAL FIXES — overflow guard, eyebrow, focus, logo image
   ============================================================ */

/* Portrait placeholder: when FORE logo is used as a stand-in headshot,
   render it contained on a brand-coloured background instead of awkwardly cropped. */
.faculty-card img[src*="/logo.png"],
.leader-card img[src*="/logo.png"],
.alumni-card img[src*="/logo.png"],
.alumni-mentor img[src*="/logo.png"],
img.headshot[src*="/logo.png"] {
  object-fit: contain !important;
  padding: 30px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 100%);
}


/* Stop sub-elements from breaking layout width */
html, body { overflow-x: hidden; max-width: 100%; }
img, video, iframe { max-width: 100%; height: auto; }

/* Real FORE logo image — replaces the CSS-rendered .logo-mark block.
   The PNG is a full lockup (mark + institutional name + tagline), so we
   hide the adjacent .logo-text block to avoid duplication. */
.logo-img {
  height: 52px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.logo-block .logo-text { display: none; }

@media (max-width: 600px) {
  .logo-img { height: 50px; }
}

/* Eyebrow / kicker label — readable on light backgrounds (was gold #D4A853 = 2.2:1) */
.eyebrow,
[style*="color:var(--gold)"],
[style*="color: var(--gold)"] {
  color: var(--primary) !important;   /* maroon on light bg = 8.9:1, passes AA */
}
.eyebrow,
[style*="color:var(--gold)"][style*="letter-spacing"],
[style*="color: var(--gold)"][style*="letter-spacing"] {
  font-family: var(--font-stat);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
/* On dark backgrounds keep gold as an accent */
.bg-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow,
.cta-strip .eyebrow,
.bg-dark [style*="color:var(--gold)"],
.cta-strip [style*="color:var(--gold)"],
.hero [style*="color:var(--gold)"],
.proof-bar [style*="color:var(--gold)"],
.footer [style*="color:var(--gold)"] {
  color: var(--gold) !important;
}

/* Global focus ring — accessibility */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Reduce motion for users who request it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============================================================
   FORE Assistant — JotForm AI Agent (default launcher)
   ============================================================ */


