/* ==========================================================================
   1. DESIGN TOKENS & VARIABLES
   ========================================================================== */
:root {
  /* Brand Palette */
  --primary: #8c1d40;
  --primary-2: #b8305b;
  --primary-3: #e04375;
  --secondary: #f3c311;
  --accent: #1f6fb2;
  --accent-2: #59a8eb;
  --green: #19984d;

  /* Neutral Tones */
  --dark: #111827;
  --text: #1f2937;
  --muted: #1f2937;
  --line: #e5e7eb;
  --white: #ffffff;
  --soft: #f5f7fb;
  --soft-2: #fffaf0;

  /* Elevation & Borders */
  --shadow: 0 20px 45px rgba(10, 20, 40, 0.10);
  --shadow-sm: 0 10px 22px rgba(10, 20, 40, 0.08);
  --radius: 24px;
  --radius-sm: 18px;
  --max: 1200px;

  /* Gradients */
  --grad-main: linear-gradient(135deg, var(--primary), var(--primary-3));
  --grad-warm: linear-gradient(135deg, var(--secondary), #ffde69);
}

/* ==========================================================================
   2. GLOBAL BASE & RESET
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Segoe UI, Tahoma, Geneva, Verdana, sans-serif;
  background: radial-gradient(circle at top right, rgba(243, 195, 17, 0.08), transparent 24%),
              linear-gradient(180deg, #fff, #fbfcff 35%, #fff);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  opacity: 0;
  animation: pageFade 0.6s ease forwards;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

input,
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #b5c8ea;
  box-shadow: 0 0 0 4px rgba(31, 111, 178, 0.08);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

form {
  display: grid;
  gap: 14px;
}

/* ==========================================================================
   3. LAYOUT & GRID UTILITIES
   ========================================================================== */
.container {
  width: min(92%, var(--max));
  margin: auto;
}

.section {
  padding: 84px 0;
}

.section-sm {
  padding: 64px 0;
}

.bg-soft {
  background: var(--soft);
}

.bg-warm {
  background: linear-gradient(180deg, #fffdf6, #fff8ea);
}

.text-center {
  text-align: center;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Progress & Scroll Bar */
.progress-bar {
  position: fixed;
  left: 0;
  top: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, var(--secondary), var(--primary), var(--accent));
  z-index: 1300;
  box-shadow: 0 4px 14px rgba(140, 29, 64, 0.25);
}

/* ==========================================================================
   4. TYPOGRAPHY & BUTTONS
   ========================================================================== */
.section-title {
  position: relative;
  font-size: 2.1rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 14px;
  padding-bottom: 16px;
  line-height: 1.2;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 88px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
}

.section-subtitle {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
  color: var(--muted);
}

.inner-title {
  font-size: 2.25rem;
  color: var(--primary);
  margin: 14px 0;
  line-height: 1.18;
}

.lead {
  font-size: 1.06rem;
  color: #374151;
}

.body-copy {
  margin: 14px 0 18px;
  color: #44505d;
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 16px;
}

.eyebrow.dark {
  background: #fff2c2;
  color: #7a4f00;
}

.badges,
.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 700;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  font-size: 0.92rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.28s ease;
  cursor: pointer;
  border: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: -120%;
  left: -40%;
  width: 30%;
  height: 340%;
  transform: rotate(24deg);
  background: rgba(255, 255, 255, 0.28);
  transition: 0.55s ease;
}

.btn-primary:hover::before {
  left: 120%;
}

.btn-secondary {
  background: var(--grad-warm);
  color: #161616;
}

.btn-outline {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: transparent;
}

.btn-outline-dark {
  color: var(--primary);
  border: 2px solid rgba(140, 29, 64, 0.18);
  background: #fff;
}

/* ==========================================================================
   5. NAVIGATION & BRANDING
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  transition: 0.25s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 35px rgba(17, 24, 39, 0.08);
}

.navbar {
  min-height: 84px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-system {
  gap: 16px;
}

.brand-mark {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #fff, #fff8df);
  box-shadow: 0 12px 28px rgba(10, 20, 40, 0.10);
  border: 1px solid rgba(140, 29, 64, 0.12);
  padding: 8px;
}

.site-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff4cc;
  color: #8a5b00;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.logo-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, #fff173, var(--secondary));
  border: 3px solid var(--primary);
  color: var(--primary);
  font-weight: 900;
  letter-spacing: 1px;
  box-shadow: var(--shadow-sm);
}

.brand-text h1 {
  font-size: 1.5rem;
  color: var(--primary);
  line-height: 1.12;
}

.brand-text span {
  display: block;
  font-size: 0.84rem;
  color: var(--accent);
  font-weight: 700;
}

.brand-text span:last-child {
  font-size: 1rem;
}

.nav-toggle {
  display: none;
  font-size: 1.9rem;
  color: var(--primary);
  cursor: pointer;
}

.nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav > ul > li {
  position: relative;
}

.nav a.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  font-weight: 700;
  color: #374151;
  border-radius: 12px;
  transition: 0.22s ease;
}

.nav a.link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.28s ease;
}

.nav a.link:hover,
.nav li:hover > a.link {
  color: var(--primary);
  background: #faf5f7;
}

.nav a.link:hover::after,
.nav li:hover > a.link::after {
  transform: scaleX(1);
}

.chev {
  font-size: 0.75rem;
  opacity: 0.7;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid rgba(229, 231, 235, 0.65);
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 26px 50px rgba(17, 24, 39, 0.14);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.24s ease;
}

.dropdown a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: #374151;
  font-weight: 600;
}

.dropdown a:hover {
  background: #f6f7fb;
  color: var(--primary);
}

.nav li:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav .cta {
  margin-left: 8px;
}

/* ==========================================================================
   6. HERO SECTIONS & SLIDERS
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.92) 82%, #fff);
}

.slides {
  position: relative;
  height: 92vh;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: opacity 0.9s ease, transform 6s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(11, 18, 32, 0.78), rgba(31, 111, 178, 0.22), rgba(140, 29, 64, 0.56));
}

.slide::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(6px);
}

.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
  color: #fff;
}

.hero-copy > * {
  animation: riseIn 0.8s ease both;
}
.hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.24s; }

.hero-copy h2 {
  font-size: 3.2rem;
  line-height: 1.06;
  margin-bottom: 16px;
}

.hero-copy p {
  font-size: 1.06rem;
  max-width: 680px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: 0.25s ease;
}

.dot.active {
  background: #fff;
  transform: scale(1.15);
}

.floating-shapes span,
.hero-orbs span {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  animation: float 7s ease-in-out infinite;
}

.floating-shapes span:nth-child(1) { width: 90px; height: 90px; left: 7%; top: 20%; }
.floating-shapes span:nth-child(2) { width: 26px; height: 26px; right: 18%; top: 18%; animation-delay: 1s; }
.floating-shapes span:nth-child(3) { width: 120px; height: 120px; right: 8%; bottom: 22%; animation-delay: 2s; }

.hero-orbs span {
  background: rgba(255, 255, 255, 0.12);
  filter: blur(3px);
  animation-duration: 8s;
}

.hero-orbs span:nth-child(1) { width: 150px; height: 150px; top: 30px; right: 8%; }
.hero-orbs span:nth-child(2) { width: 48px; height: 48px; top: 64%; right: 23%; animation-delay: 1s; }
.hero-orbs span:nth-child(3) { width: 90px; height: 90px; left: 7%; bottom: 12%; animation-delay: 2s; }

/* Page Hero Variant */
.page-hero {
  position: relative;
  padding: 150px 0 90px;
  overflow: hidden;
  background: linear-gradient(130deg, #111d36, #193d6f 45%, #7b1637 100%);
  color: #fff;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at right top, rgba(255, 255, 255, 0.12), transparent 30%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h2 {
  font-size: 3rem;
  line-height: 1.08;
  margin-bottom: 14px;
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.92);
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: #dbe7ff;
  margin-top: 18px;
}

/* Minimal Premium Hero Variant */
.minimal-premium-hero {
  min-height: 100vh;
}

.minimal-premium-hero .slides {
  height: 100vh;
}

.minimal-premium-hero .hero-content {
  display: flex;
  align-items: flex-end;
  min-height: 100%;
  padding-bottom: 132px;
  width: min(92%, 1200px);
  margin: auto;
}

.minimal-premium-hero .hero-copy {
  max-width: 760px;
  padding: 0;
  border: none;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.minimal-premium-hero .hero-copy h2 {
  font-size: clamp(2.7rem, 5vw, 4.9rem);
  line-height: 1.02;
  max-width: 11ch;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.minimal-premium-hero .hero-copy p {
  max-width: 620px;
  font-size: 1.07rem;
  color: rgba(255, 255, 255, 0.92);
}

.minimal-premium-hero .hero-actions {
  margin-top: 28px;
}

.minimal-premium-hero .slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0) 0%, rgba(17, 24, 39, 0) 38%, rgba(17, 24, 39, 0) 62%, rgba(17, 24, 39, 0) 100%);
}

.minimal-premium-hero .slide::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 85%, #fff 100%);
}

.slider-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 34px;
  z-index: 4;
  width: min(92%, 1200px);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.slider-arrow,
.slider-controls .slider-dots {
  pointer-events: auto;
}

.slider-arrow {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0);
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(12px);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 2rem;
  cursor: pointer;
  transition: 0.25s ease;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.16);
}

.slider-arrow:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.2);
}

.slider-controls .slider-dots {
  position: static;
  transform: none;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.slider-controls .dot.active {
  width: 34px;
  border-radius: 999px;
  background: #fff;
}

/* ==========================================================================
   7. CARDS & CAROUSELS
   ========================================================================== */
.card,
.quick-card,
.split-panel,
.vital-card,
.feature-card,
.faculty-card,
.timeline-card,
.contact-card,
.contact-form {
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(229, 231, 235, 0.8);
}

.card:hover,
.quick-card:hover,
.split-panel:hover,
.vital-card:hover,
.feature-card:hover,
.faculty-card:hover,
.timeline-card:hover,
.contact-card:hover,
.contact-form:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 55px rgba(17, 24, 39, 0.12);
}

/* Quick Strip Cards */
.quick-strip {
  margin-top: -54px;
  position: relative;
  z-index: 4;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.quick-card,
.glass-card,
.quote-card,
.link-card,
.dept-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 1));
  border: 1px solid rgba(229, 231, 235, 0.8);
}

.quick-card {
  border-radius: 22px;
  padding: 24px 20px;
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 5px solid var(--secondary);
}

.quick-card .icon,
.feature-icon,
.mini-icon {
  display: grid;
  place-items: center;
  color: #fff;
}

.quick-card .icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-3));
  font-size: 2.1rem;
  margin: 0 auto 12px;
}

.quick-card h3 {
  color: var(--primary);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.quick-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Feature Cards */
.feature-card {
  padding: 28px 22px;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: auto -30px -50px auto;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(243, 195, 17, 0.10);
}

.feature-icon {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  font-size: 2.1rem;
  margin-bottom: 16px;
  background: var(--grad-main);
}

.feature-card h4 {
  color: var(--primary);
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--muted);
}

/* Media Cards */
.media-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.media-card img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.media-card .media-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 12px 14px;
  border-radius: 16px;
  font-weight: 800;
  color: var(--primary);
}

/* Faculty & Leadership Cards */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.faculty-card {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.faculty-card img {
  width: 100%;
  height: 290px;
  object-fit: cover;
}

.faculty-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.72));
  pointer-events: none;
}

.faculty-info {
  position: relative;
  z-index: 1;
  margin-top: -84px;
  color: #fff;
  text-align: left;
  padding: 20px;
}

.faculty-info h4 {
  color: #fff;
  margin-bottom: 6px;
}

.faculty-info span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.leadership-section {
  position: relative;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.leader-card {
  overflow: hidden;
}

.leader-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.leader-content {
  padding: 22px;
}

.leader-tag {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff4cc;
  color: #8a5b00;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.leader-content h4 {
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.leader-content p {
  color: #5a6471;
  margin-bottom: 12px;
}

.leader-content a {
  font-weight: 800;
  color: var(--accent);
}

/* Miscellaneous Specialty Cards */
.link-card {
  display: block;
  padding: 28px 22px;
}

.link-card h4 {
  color: var(--primary);
  margin: 10px 0 8px;
}

.link-card p {
  color: var(--muted);
}

.quote-card {
  padding: 34px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  text-align: center;
  font-size: 1.15rem;
  color: #364152;
}

.dept-card {
  padding: 26px;
}

.dept-card h4 {
  color: var(--primary);
  margin-bottom: 10px;
}

.tilt-card {
  transform-style: preserve-3d;
}

.tilt-card:hover {
  transform: perspective(900px) rotateX(1.7deg) rotateY(-2.5deg) translateY(-6px);
}

/* ==========================================================================
   8. PAGE SECTIONS & CONTENT BLOCKS
   ========================================================================== */
/* Announcements Marquee */
.announce-strip {
  padding: 16px 0 0;
  position: relative;
  z-index: 5;
}

.announce-inner {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(229, 231, 235, 0.92);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  padding: 10px 12px;
}

.announce-badge {
  flex: 0 0 auto;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-3));
  color: #fff;
  font-weight: 800;
}

.announce-marquee {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  flex: 1;
}

.announce-track {
  display: inline-flex;
  gap: 42px;
  min-width: max-content;
  animation: marqueeMove 24s linear infinite;
  color: #4b5563;
  font-weight: 700;
}

.announce-track span {
  position: relative;
}

.announce-track span::after {
  content: '•';
  position: absolute;
  right: -24px;
  color: var(--secondary);
}

/* About & Principal Wrappers */
.about-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
  align-items: center;
}

.principal-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: center;
  padding: 30px;
  background: linear-gradient(135deg, #fff8eb, #f7fbff);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.principal-wrap img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 24px;
}

.principal-text h3 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.principal-text p {
  color: #444;
  margin-bottom: 14px;
}

/* Stats Sections */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-card {
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff, #fff9ed);
  box-shadow: var(--shadow-sm);
  text-align: center;
  border: 1px solid rgba(243, 195, 17, 0.18);
}

.stat-card h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.stat-card p {
  color: var(--muted);
  font-weight: 600;
}

.stats-luxe-section {
  position: relative;
  overflow: hidden;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.counter-card {
  padding: 28px 22px;
  border-radius: 24px;
  background: #fff;
  text-align: center;
}

.counter-card .counter {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.counter-card p {
  margin-top: 10px;
  color: #5d6674;
  font-weight: 700;
}

/* Banners & Split Panels */
.split-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.split-panel {
  padding: 34px;
  border-radius: 26px;
  background: linear-gradient(135deg, #fff, #f9fbff);
  box-shadow: var(--shadow);
}

.split-panel h3 {
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 1.5rem;
}

/* Detail Sections */
.detail-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 28px;
}

.detail-section.reverse .detail-media {
  order: 2;
}

.detail-media img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.detail-content h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin: 14px 0 12px;
}

.detail-content p {
  color: #45505d;
}

.detail-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin-top: 16px;
}

.detail-list li {
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(229, 231, 235, 0.86);
  box-shadow: var(--shadow-sm);
}

/* Editorial Style Elements */
.editorial-hero {
  position: relative;
  overflow: hidden;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.58fr;
  gap: 28px;
  align-items: end;
}

.hero-editorial-card,
.hero-scroll-card,
.editorial-note,
.counter-card,
.ribbon-item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 50px rgba(10, 20, 40, 0.16);
}

.hero-editorial-card {
  color: #fff;
  border-radius: 28px;
  padding: 24px;
  max-width: 360px;
  justify-self: end;
  transform: translateY(14px);
}

.hero-editorial-card h3 {
  font-size: 1.45rem;
  line-height: 1.2;
  margin: 12px 0 10px;
}

.hero-editorial-card p {
  color: rgba(255, 255, 255, 0.88);
}

.editorial-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}

.editorial-mini-grid div {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.editorial-mini-grid strong {
  display: block;
  color: #fff;
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.editorial-mini-grid span {
  color: #fff;
  font-weight: 700;
}

.hero-scroll-card {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  padding: 14px 18px;
  border-radius: 999px;
  color: #fff;
  display: flex;
  gap: 10px;
  align-items: center;
}

.hero-scroll-card span {
  opacity: 0.8;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.hero-scroll-card strong {
  font-size: 0.95rem;
}

.editorial-ribbon {
  margin-top: -42px;
  position: relative;
  z-index: 8;
}

.editorial-ribbon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ribbon-item {
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(229, 231, 235, 0.9);
}

.ribbon-label {
  display: inline-block;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.ribbon-item h3 {
  font-size: 1.16rem;
  line-height: 1.4;
  color: var(--primary);
}

.editorial-strip .quick-card {
  position: relative;
  overflow: hidden;
}

.editorial-strip .quick-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--primary), var(--accent));
  opacity: 0.95;
}

.editorial-about-grid {
  align-items: center;
}

.editorial-media-stack {
  display: grid;
  gap: 18px;
}

.editorial-note {
  padding: 24px;
  border-radius: 24px;
  background: #fff;
}

.editorial-note p {
  color: #4a5563;
  margin-top: 10px;
}

.editorial-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 24px;
}

.editorial-title {
  font-size: 2.2rem;
  color: var(--primary);
  line-height: 1.15;
  margin-top: 10px;
}

.editorial-board {
  position: relative;
  overflow: hidden;
}

.editorial-board::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--secondary), var(--primary), var(--accent));
}

/* Mosaic & Image Collage Grid */
.editorial-mosaic {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 280px 280px;
  gap: 18px;
}

.editorial-mosaic a {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.editorial-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.editorial-mosaic a:hover img {
  transform: scale(1.06);
}

.editorial-mosaic a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.22), rgba(17, 24, 39, 0.7));
}

.mosaic-large { grid-row: span 2; }
.mosaic-wide { grid-column: 2; }

.mosaic-card::before,
.mosaic-large::before,
.mosaic-wide::before {
  content: 'Open Image';
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 9px 14px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  font-size: 0.85rem;
}

.image-collage {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.image-collage .stack {
  display: grid;
  gap: 18px;
}

.image-collage img {
  border-radius: 22px;
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tall { min-height: 420px; }
.stack img { min-height: 200px; }

/* Grid Specifics (Objectives, Values, Facilities) */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-card {
  padding: 28px 22px;
  text-align: center;
}

.value-card h4 {
  margin: 12px 0 8px;
  color: var(--primary);
}

.mega-facilities-grid,
.objective-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.mega-card,
.objective-card {
  padding: 24px 20px;
}

.mega-card h4,
.objective-card h4 {
  margin: 12px 0 8px;
  color: var(--primary);
}

.objective-card {
  padding: 26px 22px;
}

/* Distinctions & Pillars */
.distinction-wrap {
  align-items: center;
}

.distinction-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.distinction-list span {
  padding: 12px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(229, 231, 235, 0.94);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  color: #4b5563;
}

.pillars .pillar {
  padding: 24px;
  text-align: center;
}

.pillar h4 {
  color: var(--primary);
  margin-bottom: 8px;
}

/* Admissions Journey */
.admissions-journey {
  background: linear-gradient(180deg, #fff, #fbfbff);
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.journey-step {
  padding: 26px 22px;
  position: relative;
  overflow: hidden;
}

.journey-step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--secondary), var(--primary), var(--accent));
}

.journey-no {
  font-size: 2rem;
  font-weight: 900;
  color: rgba(140, 29, 64, 0.15);
  line-height: 1;
}

.journey-step h4 {
  color: var(--primary);
  margin: 10px 0 8px;
}

/* Testimonials / Trust Grid */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.trust-card {
  padding: 28px;
  position: relative;
}

.trust-card p {
  font-size: 1.03rem;
  color: #46515f;
  line-height: 1.75;
}

.trust-card h4 {
  margin-top: 16px;
  color: var(--primary);
}

.trust-card::before {
  content: '“';
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 4rem;
  line-height: 1;
  color: rgba(140, 29, 64, 0.08);
  font-weight: 900;
}

/* Timeline */
.timeline {
  display: grid;
  gap: 18px;
  position: relative;
}

.timeline-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
}

.timeline-badge {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--grad-main);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}

.timeline-card {
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.timeline-card h4 {
  color: var(--primary);
  margin-bottom: 6px;
}

/* News & FAQ Lists */
.notice-board,
.news-card {
  padding: 28px;
}

.news-list,
.faq-list {
  display: grid;
  gap: 14px;
}

.news-item,
.faq-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.news-item:last-child,
.faq-item:last-child {
  border-bottom: none;
}

.news-item h4,
.faq-item h4 {
  color: var(--primary);
  margin-bottom: 5px;
  font-size: 1rem;
}

.news-item p,
.faq-item p {
  color: var(--muted);
  font-size: 0.96rem;
}

/* Vitals & Icon Lists */
.vital-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.vital-card {
  padding: 22px;
  border: 1px solid var(--line);
}

.vital-card h4 {
  color: var(--accent);
  margin-bottom: 8px;
}

.vital-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.icon-list {
  display: grid;
  gap: 14px;
}

.icon-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.icon-item:last-child {
  border-bottom: none;
}

.mini-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--grad-main);
  font-size: 1rem;
}

/* Tables */
.table-wrap {
  padding: 26px;
  overflow: auto;
}

.disclosure-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.disclosure-table th,
.disclosure-table td {
  border: 1px solid var(--line);
  padding: 14px;
  text-align: left;
  vertical-align: top;
}

.disclosure-table th {
  background: #fff3c9;
  color: var(--primary);
}

.disclosure-table tr:nth-child(even) td {
  background: #fafafa;
}

.disclosure-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Media/Video Placeholders */
.video-placeholder {
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(135deg, #f4f8ff, #fff9eb);
  border: 1px dashed #cbd5e1;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.video-placeholder h3 {
  color: var(--primary);
  margin: 12px 0 10px;
}

.video-placeholder p {
  color: #4e5968;
}

/* ==========================================================================
   9. GALLERIES & LIGHTBOX
   ========================================================================== */
.gallery-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 6px 0 28px;
}

.gallery-filter {
  border: none;
  padding: 12px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(229, 231, 235, 0.95);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  transition: 0.24s ease;
}

.gallery-filter:hover {
  transform: translateY(-2px);
}

.gallery-filter.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-color: transparent;
}

.category-gallery .gallery-item.hidden {
  display: none;
}

.category-gallery .gallery-item {
  transform-origin: center;
}

.category-gallery .gallery-item.fade-in {
  animation: galleryIn 0.35s ease;
}

.category-gallery .gallery-item img {
  background: #fff;
}

.category-gallery .gallery-item[data-category="branding"] img {
  object-fit: contain;
  background: linear-gradient(180deg, #fffdf3, #fff);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-grid a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.gallery-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-grid a::after {
  content: "View";
  position: absolute;
  inset: auto 14px 14px auto;
  background: rgba(17, 24, 39, 0.75);
  color: #fff;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.8rem;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.25s ease;
}

.gallery-grid a:hover img {
  transform: scale(1.05);
}

.gallery-grid a:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.premium-gallery a {
  border-radius: 24px;
}

.gallery-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.84rem;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 30px;
  background: rgba(8, 12, 20, 0.84);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: 0.28s ease;
  z-index: 1400;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-stage {
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  text-align: center;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 24px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.32);
}

.lightbox-caption {
  color: #fff;
  margin-top: 14px;
  font-size: 1rem;
}

.lightbox-close,
.lightbox-nav {
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(10px);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-nav {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 2rem;
  display: grid;
  place-items: center;
}

.lightbox-nav:hover,
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.24);
}

/* ==========================================================================
   10. CONTACT, FOOTER & STICKY ELEMENTS
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.contact-card,
.contact-form {
  padding: 28px;
}

.contact-line {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.contact-line:last-child {
  border-bottom: none;
}

.contact-line h4 {
  color: var(--accent);
  margin-bottom: 4px;
}

.contact-line p {
  color: #444;
}

.map-placeholder {
  display: grid;
  place-items: center;
  min-height: 260px;
  border-radius: 22px;
  background: linear-gradient(135deg, #eaf1fb, #fff8df);
  border: 1px dashed #cbd5e1;
  color: #475569;
  font-weight: 700;
  text-align: center;
  padding: 20px;
}

/* Sticky Bottom Bar */
.sticky-enquiry-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  padding: 12px 18px;
  background: rgba(18, 24, 39, 0.92);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(0);
  box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.15);
}

.sticky-inner {
  width: min(94%, 1200px);
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: #fff;
}

.sticky-inner strong {
  display: block;
  font-size: 1rem;
}

.sticky-inner span {
  color: rgba(255, 255, 255, 0.78);
}

.sticky-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Back to Top Button */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s ease;
  z-index: 1000;
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Footer */
.footer {
  background: #121827;
  color: #dbe3f3;
  padding: 62px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.footer-brand-logo {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  padding: 10px;
}

.footer-logo {
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.18));
}

.footer-motto {
  display: block;
  color: #f6d56b;
  margin-top: 8px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.footer h4 {
  color: #fff;
  margin-bottom: 12px;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 8px;
  color: #d1d5db;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  text-align: center;
  color: #b5bfd4;
  font-size: 0.92rem;
}

/* ==========================================================================
   11. ANIMATIONS & REVEAL CLASSES
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.float {
  animation: float 6s ease-in-out infinite;
}

.pulse {
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pageFade {
  to { opacity: 1; }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(243, 195, 17, 0.25); }
  50% { box-shadow: 0 0 0 14px rgba(243, 195, 17, 0); }
}

@keyframes marqueeMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes galleryIn {
  from {
    opacity: 0;
    transform: scale(0.97) translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   12. MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */
/* --- Desktop Breakpoint (Max-width: 1100px) --- */
@media (max-width: 1100px) {
  .grid-4,
  .quick-grid,
  .vital-grid,
  .faculty-grid,
  .gallery-grid,
  .footer-grid,
  .stat-row,
  .values-grid,
  .leadership-grid,
  .mega-facilities-grid,
  .journey-grid,
  .trust-grid,
  .editorial-grid,
  .counter-grid,
  .editorial-ribbon-grid,
  .editorial-mosaic,
  .objective-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .principal-wrap,
  .contact-grid,
  .image-collage,
  .split-banner,
  .grid-2,
  .detail-section {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-section.reverse .detail-media {
    order: 0;
  }

  .hero-editorial-card {
    max-width: none;
  }

  .editorial-mosaic {
    grid-template-rows: 260px 260px;
  }

  .mosaic-large { grid-row: auto; }
  .mosaic-wide { grid-column: auto; }
}

/* --- Tablet Breakpoint (Max-width: 860px) --- */
@media (max-width: 860px) {
  body {
    padding-bottom: 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid rgba(229, 231, 235, 0.8);
    box-shadow: 0 16px 26px rgba(0, 0, 0, 0.08);
    display: none;
  }

  .nav.open {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .nav > ul > li {
    width: 100%;
  }

  .nav a.link {
    justify-content: space-between;
    width: 100%;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 12px;
    display: none;
  }

  .nav li.open > .dropdown {
    display: block;
  }

  .nav li:hover > .dropdown {
    transform: none;
  }

  .nav .cta {
    margin-left: 0;
  }

  .hero-copy h2,
  .page-hero h2 {
    font-size: 2.2rem;
  }

  .section {
    padding: 70px 0;
  }

  .sticky-inner,
  .editorial-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .editorial-grid,
  .editorial-ribbon-grid,
  .counter-grid,
  .editorial-mosaic,
  .announce-inner,
  .leadership-grid,
  .values-grid,
  .mega-facilities-grid,
  .journey-grid,
  .trust-grid,
  .objective-grid {
    grid-template-columns: 1fr;
  }

  .announce-inner {
    border-radius: 24px;
    align-items: flex-start;
    flex-direction: column;
  }

  .announce-badge {
    padding: 8px 14px;
  }

  .hero-scroll-card {
    display: none;
  }

  .hero-editorial-card {
    justify-self: start;
  }

  .editorial-title {
    font-size: 1.9rem;
  }

  .inner-title {
    font-size: 1.95rem;
  }

  .mosaic-large,
  .mosaic-wide {
    grid-row: auto;
    grid-column: auto;
  }

  .lightbox {
    padding: 18px;
  }

  .lightbox-nav {
    display: none;
  }

  .minimal-premium-hero .hero-content {
    padding-bottom: 118px;
  }

  .minimal-premium-hero .hero-copy h2 {
    font-size: clamp(2.2rem, 8vw, 3.4rem);
    max-width: 12ch;
  }

  .slider-controls {
    bottom: 22px;
  }

  .slider-arrow {
    width: 52px;
    height: 52px;
  }

  .brand-mark {
    width: 60px;
    height: 60px;
    border-radius: 18px;
  }

  .brand-text h1 {
    font-size: 0.92rem;
  }

  .brand-kicker {
    font-size: 0.66rem;
    padding: 4px 8px;
  }
}

/* --- Mobile Breakpoint (Max-width: 640px) --- */
@media (max-width: 640px) {
  .grid-3,
  .grid-4,
  .quick-grid,
  .vital-grid,
  .faculty-grid,
  .gallery-grid,
  .footer-grid,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 86vh;
  }

  .slides {
    height: 86vh;
  }

  .hero-copy h2,
  .page-hero h2 {
    font-size: 1.9rem;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .brand-text h1 {
    font-size: 0.93rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-badge {
    width: 48px;
    height: 48px;
  }

  .counter-card .counter {
    font-size: 1.85rem;
  }

  .sticky-enquiry-bar {
    padding: 10px 12px;
  }

  .sticky-actions {
    width: 100%;
  }

  .sticky-actions .btn {
    flex: 1;
  }

  .minimal-premium-hero,
  .minimal-premium-hero .slides {
    min-height: 88vh;
    height: 88vh;
  }

  .minimal-premium-hero .hero-content {
    padding-bottom: 108px;
  }

  .minimal-premium-hero .hero-copy p {
    font-size: 1rem;
  }

  .slider-controls {
    width: min(94%, 1200px);
  }

  .slider-arrow {
    width: 48px;
    height: 48px;
    font-size: 1.7rem;
  }

  .slider-controls .slider-dots {
    padding: 10px 12px;
    gap: 8px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }

  .slider-controls .dot.active {
    width: 28px;
  }
}