:root {
  --bg: #f5f6fb;
  --bg-soft: #ffffff;
  --bg-elevated: #fdfdff;
  --accent: #23408f;
  --accent-soft: rgba(35, 64, 143, 0.06);
  --accent-strong: #18254d;
  --accent-gold: #f6b046;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --shadow-soft: 0 18px 52px rgba(15, 23, 42, 0.08);
}

/* -------- GLOBAL RESET -------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  line-height: 1.4;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1180px, 100% - 2.5rem);
  margin: 0 auto;
}

/* ================= NAVBAR ================= */

/* Desktop navbar */
.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 5%;
  background-color: #003366;
  height: 60px;
  position: relative;
  z-index: 50;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  padding: 5px 0;
  position: relative;
  font-weight: 500;
}

/* hover underline */
.nav-links li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-gold), #2563eb);
  transition: width 0.22s ease;
}

.nav-links li a:hover {
  color: #fefefe;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* Hamburger button (desktop pe hidden) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 26px;
  cursor: pointer;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

/* ================= HERO ================= */

.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  color: #f9fafb;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.35);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1) brightness(1) saturate(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 0% 0%,
      rgba(250, 250, 255, 0.26),
      transparent 55%
    ),
    linear-gradient(135deg, rgba(15, 23, 42, 0.35), rgba(6, 8, 20, 0.9));
}

.hero-content {
  position: relative;
  padding: 5.1rem 0 4.2rem;
  max-width: 650px;
}

.hero-eyebrow {
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: #fffdfd;
}

.hero h1 {
  font-size: clamp(2.7rem, 3.9vw, 3.6rem);
  margin: 0.4rem 0 0.7rem;
}

.hero-subtitle {
  font-size: 1rem;
  max-width: 38rem;
  opacity: 0.94;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

/* ================= GENERIC SECTIONS ================= */

.section {
  padding: 3.6rem 0;
}

.section-soft {
  background: radial-gradient(
    circle at 0% 0%,
    #ffffff 0,
    #eff3ff 55%,
    #f5f6fb 100%
  );
}

.section-heading-center {
  text-align: center;
  padding: 40px 0 60px;
}

.section-heading-center h2 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.section-heading-center p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 15px auto 0;
  color: #4b5563;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 3.1fr) minmax(0, 2.4fr);
  gap: 2.6rem;
  align-items: flex-start;
}

/* ================= HIGHLIGHT STRIP ================= */

.highlight-strip {
  margin-top: -1.8rem;
  position: relative;
  z-index: 10;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.highlight-card {
  background: var(--bg-elevated);
  border-radius: 20px;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 18px 52px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.95);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.highlight-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.highlight-value {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent-strong);
}

/* ================= CARDS / STATS / BUTTONS ================= */

.card {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.8rem;
  box-shadow: 0 18px 52px rgba(15, 23, 42, 0.07);
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.glass-card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.96),
    rgba(223, 230, 255, 0.98)
  );
  backdrop-filter: blur(22px);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.13);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 1.7rem;
}

.stat-card {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  background: var(--accent-soft);
}

.stat-number {
  font-weight: 600;
  font-size: 1.55rem;
  color: var(--accent-strong);
}

.stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.12rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.72rem 1.45rem;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #1d4ed8, #4f46e5);
  color: #f9fafb;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.55);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.16);
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.7);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.24);
}

/* Pillars list */

.pillars-list {
  list-style: none;
  padding: 0;
  margin: 0.3rem 0 0;
}

.pillars-list li {
  padding-left: 1.35rem;
  position: relative;
  margin: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.pillars-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-gold), #2563eb);
}

/* ================= LABS ================= */

.labs-section {
  background: #fff;
}

.lab-item {
  padding: 60px 0;
  border-bottom: 1px solid #eee;
}

.lab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.lab-content h3 {
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #007bff;
}

.lab-content p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 25px;
}

/* Scroll animation */
.animate-on-scroll {
  opacity: 0;
  transition: all 0.8s ease-out;
}

.media-right.animate-on-scroll {
  transform: translateX(-50px);
}

.media-left.animate-on-scroll {
  transform: translateX(50px);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ================= SLIDER ================= */

.slider-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 15px;
}

.section-heading {
  text-align: center;
  margin-bottom: 30px;
}

.section-heading h2 {
  font-size: 2.2rem;
  color: #1f2937;
  margin-bottom: 8px;
}

.section-heading p {
  font-size: 1.1rem;
  color: #6b7280;
}

.slider-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 450px;
  border-radius: 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.slide {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Slider nav buttons */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 15px 20px;
  background: rgba(31, 41, 55, 0.6);
  color: #ffffff;
  border: none;
  cursor: pointer;
  font-size: 1.8rem;
  transition: background 0.3s ease;
}

.nav-btn:hover {
  background: rgba(217, 219, 223, 0.9);
}

.prev-btn {
  left: 0;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

.next-btn {
  right: 0;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

/* ================= STREAM CARDS ================= */

.streams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.stream-card {
  background-color: #34495e;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stream-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.stream-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.stream-card:hover img {
  opacity: 0.9;
}

/* ================= GALLERY ================= */

.gallery-grid-compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item-compact {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  border: 1px solid #e0e0e0;
}

.gallery-item-compact > div {
  position: absolute;
  bottom: -60px;
  left: 0;
  width: 100%;
  background-color: rgba(0, 121, 107, 0.95);
  color: #ffffff;
  padding: 15px 10px;
  text-align: center;
  transition: bottom 0.3s ease-out;
}

.gallery-item-compact:hover > div {
  bottom: 0;
}

/* ================= CAMPUS VIDEO ================= */

.campus-content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.campus-video-column video {
  width: 100% !important;
  height: auto !important;
}

/* ================= DOCUMENT GRID ================= */

.document-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* ================= FOOTER MAP ================= */

.footer-map-wrapper iframe {
  width: 100% !important;
  height: 100% !important;
}

/* ================= ADMISSION BANNER RESPONSIVE FIX ================= */

.admission-banner {
  width: 100% !important;
  flex-wrap: wrap !important;
  height: auto !important;
}

.admission-banner > div {
  position: static !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 20px !important;
}

.admission-banner img {
  width: 100% !important;
  height: auto !important;
  max-height: 280px !important;
  object-fit: contain !important;
}

/* ================= RESPONSIVE BREAKPOINTS ================= */

/* 992px and below */
@media (max-width: 992px) {
  .two-column {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .highlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lab-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Header text smaller */
  header {
    padding: 8px 12px !important;
  }

  header .logo-area img {
    width: 80px !important;
    height: auto !important;
    margin-right: 10px !important;
  }

  header h2 {
    font-size: 1.3rem !important;
    line-height: 1.2 !important;
  }

  header h4 {
    font-size: 0.9rem !important;
    margin: 2px 0 !important;
  }

  header p {
    font-size: 0.75rem !important;
    margin: 0 !important;
  }
}

/* 720px and below (mobile) */
@media (max-width: 720px) {
  body {
    font-size: 14px;
  }

  /* Top logo bar stack */
  .top-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 10px 16px !important;
    height: auto !important;
  }

  .logo-area {
    width: 100%;
    justify-content: flex-start;
  }

  .logo-area img {
    width: 80px !important;
    height: auto !important;
    margin-right: 10px !important;
  }

  /* NAVBAR mobile */
  .main-nav {
    justify-content: center;
    padding: 0 16px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #003366;
    text-align: center;
    padding: 8px 0 12px 0;
    gap: 0;
  }

  .nav-links li {
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .nav-links li:first-child {
    border-top: none;
  }

  .nav-links.active {
    display: flex;
  }

  /* Hero */
  .hero {
    min-height: 78vh;
    border-radius: 0 0 26px 26px;
  }

  .hero-content {
    padding: 4.3rem 1.3rem 3.2rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Grids stack */
  .highlight-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .lab-grid,
  .card-grid,
  .streams-grid,
  .gallery-grid-compact,
  .document-grid {
    grid-template-columns: 1fr !important;
  }

  .campus-content-wrapper {
    flex-direction: column !important;
  }

  .footer-map-wrapper {
    height: 220px !important;
  }

  footer {
    padding: 40px 16px 16px !important;
  }

  footer > div {
    flex-direction: column !important;
  }

  footer > div > div {
    max-width: 100% !important;
  }
}

/* 600px and below: slider tweaks */
@media (max-width: 600px) {
  .slider-container {
    height: 40vh;
    min-height: 300px;
  }

  .nav-btn {
    padding: 10px 15px;
    font-size: 1.5rem;
  }
}


  
