@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&family=Space+Grotesk:wght@400;500;600&display=swap');

/* ─── CSS Variables ─────────────────────────────── */
:root {
  --sky: #e8f4fd;
  --sky-mid: #c8e6f8;
  --aqua: #5bb8d4;
  --aqua-deep: #2e9dbf;
  --mint: #a8e6cf;
  --mint-soft: #d6f5ea;
  --peach: #ffd6b0;
  --coral: #ff8c6b;
  --cream: #fdfaf6;
  --white: #ffffff;
  --text-dark: #1a2e3b;
  --text-mid: #3a5568;
  --text-soft: #002d4b;
  --border: rgba(91, 184, 212, 0.18);
  --shadow-sm: 0 4px 20px rgba(46, 157, 191, 0.10);
  --shadow-md: 0 8px 40px rgba(46, 157, 191, 0.15);
  --shadow-lg: 0 20px 60px rgba(46, 157, 191, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --nav-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 18px;
}

body {
  font-family: 'DM Sans', sans-serif;
  /* font-family: "Playfair Display", serif; */
  /* background: var(--cream); */
  color: var(--text-dark);
  overflow-x: hidden;

}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ─── Scrollbar ─────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--sky);
}

::-webkit-scrollbar-thumb {
  background: var(--aqua);
  border-radius: 99px;
}

/* ─── Utility ───────────────────────────────────── */
.container {
  width: 92%;
  max-width: 1240px;
  margin: 0 auto;
}

.tag {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aqua-deep);
  background: rgba(91, 184, 212, 0.12);
  padding: 5px 14px;
  border-radius: 100px;
  border-color: #033544;
  margin-bottom: 14px;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-mid);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
  font-size: 1.02rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--aqua), var(--aqua-deep));
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(46, 157, 191, 0.35);
  transition: transform 0.25s, box-shadow 0.25s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(46, 157, 191, 0.45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--aqua-deep);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 13px 26px;
  border-radius: 99px;
  border: 2px solid var(--aqua);
  cursor: pointer;
  transition: all 0.25s;
}

.btn-outline:hover {
  background: var(--aqua);
  color: #fff;
}

/* ─── Top Bar ───────────────────────────────────── */
.topbar {
  background: linear-gradient(90deg, var(--aqua-deep), #1a7fa0);
  color: #fff;
  font-size: 0.8rem;
  font-family: 'Space Grotesk', sans-serif;
  padding: 8px 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar-left {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-left a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}

.topbar-left a:hover {
  color: #fff;
}

.topbar-right {
  display: flex;
  gap: 14px;
  align-items: center;
}

.topbar-right a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  padding: 3px 12px;
  border-radius: 99px;
  transition: all 0.2s;
}

.topbar-right a:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.admit-badge {
  background: var(--coral) !important;
  color: #fff !important;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 140, 107, 0.5);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(255, 140, 107, 0);
  }
}

/* ─── Navbar ────────────────────────────────────── */
#navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(253, 250, 246, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
  height: var(--nav-h);

}

#navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--aqua), var(--aqua-deep));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  flex-shrink: 0;
}

.logo-text {
  line-height: 1.2;
}

.logo-text strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.logo-text span {
  font-size: 0.73rem;
  color: var(--text-soft);
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.04em;
}


.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-item>a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}

.nav-item>a:hover,
.nav-item.active>a {
  color: var(--aqua-deep);
  background: rgba(91, 184, 212, 0.1);
}

.nav-item>a svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.nav-item:hover>a svg {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.22s;
  z-index: 200;
  padding: 8px;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.87rem;
  color: var(--text-mid);
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.18s;
}

.dropdown a:hover {
  background: var(--sky);
  color: var(--aqua-deep);
  padding-left: 18px;
}

.nav-cta {
  margin-left: 8px;
}

/* Ensure the parent dropdown is the reference point */
.dropdown {
  position: absolute;
  display: none;
  background-color: #fff;
  min-width: 200px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

/* Show main dropdown on hover */
.nav-item:hover .dropdown {
  display: block;
}

/* Nested Dropdown Logic */
.nested-dropdown {
  position: relative;
  /* So submenu positions relative to this item */
}

.submenu {
  display: none;
  position: absolute;
  left: 100%;
  /* Move it to the right of the first menu */
  top: 0;
  background-color: #fff;
  min-width: 180px;
  box-shadow: 4px 8px 16px rgba(0, 0, 0, 0.1);
  border-left: 2px solid #2ecc71;
  /* Accent color matches your theme */
}

/* Show submenu on hover of the nested-dropdown container */
.nested-dropdown:hover .submenu {
  display: block;
}

/* Styling the arrows */
svg {
  width: 12px;
  height: 12px;
  margin-left: 5px;
}

.arrow-right {
  float: right;
  margin-top: 5px;
}

/* Styling links for a modern feel */
.dropdown a {
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  color: #333;
  transition: background 0.3s;
}

.dropdown a:hover {
  background-color: #f1f1f1;
}

/* Main Dropdown Styling */
.dropdown {
  position: absolute;
  display: none;
  background: var(--white);
  min-width: 220px;
  box-shadow: var(--shadow-md);
  border-radius: 4px;
  padding: 5px 0;
  border-top: 3px solid var(--aqua-deep);
  z-index: 999;
}

/* Show Level 1 on Hover and Click */
.nav-item:hover>.dropdown,
.nav-item.show-dropdown>.dropdown {
  display: block;
  opacity: 1;
  visibility: visible;
}

/* The Container for items with sub-menus */
.dropdown-item {
  position: relative;
  /* Crucial for positioning the side-menu */
}

/* The Side Menu (Level 2 & 3) */
.side-menu {
  position: absolute;
  display: none;
  left: 100%;
  /* Push it to the right of the parent */
  top: 0;
  background: var(--white);
  min-width: 200px;
  box-shadow: var(--shadow-md);
  border-radius: 4px;
  padding: 5px 0;
  border-left: 2px solid var(--aqua);
}

/* Show Side Menu on Hover and Click of dropdown-item */
.dropdown-item:hover>.side-menu,
.dropdown-item.show-dropdown>.side-menu {
  display: block;
}

/* General Link Styling inside menus */
.dropdown a,
.side-menu a {
  /* display: flex; */
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 15px;
  transition: background 0.2s;
}

.dropdown a:hover,
.side-menu a:hover {
  background: var(--sky);
  color: var(--aqua-deep);
}

/* Arrow Styling */
.arrow-right {
  font-size: 10px;
  color: #ccc;
}

.arrow-down {
  width: 12px;
  height: 12px;
  margin-left: 5px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 99px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5.5px, 5.5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5.5px, -5.5px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--white);
  z-index: 999;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
  padding: 16px;
  transition: all 0.3s;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-mid);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.mobile-menu a:hover {
  background: var(--sky);
  color: var(--aqua-deep);
}

/* ─── Hero ──────────────────────────────────────── */
#hero {
  min-height: calc(100vh - var(--nav-h));
  background: linear-gradient(150deg, var(--sky) 0%, #d4edf8 40%, var(--mint-soft) 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: rgba(91, 184, 212, 0.3);
  top: -100px;
  right: -100px;
  animation: float1 8s ease-in-out infinite;
}

.shape-2 {
  width: 350px;
  height: 350px;
  background: rgba(168, 230, 207, 0.4);
  bottom: -60px;
  left: -60px;
  animation: float2 10s ease-in-out infinite;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: rgba(255, 214, 176, 0.5);
  top: 40%;
  left: 35%;
  animation: float3 7s ease-in-out infinite;
}

@keyframes float1 {

  0%,
  100% {
    transform: translate(0, 0)
  }

  50% {
    transform: translate(-30px, 30px)
  }
}

@keyframes float2 {

  0%,
  100% {
    transform: translate(0, 0)
  }

  50% {
    transform: translate(20px, -20px)
  }
}

@keyframes float3 {

  0%,
  100% {
    transform: translate(0, 0)
  }

  50% {
    transform: translate(-15px, 25px)
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-tag {
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 22px;
}

.hero-title em {
  font-style: italic;
  color: var(--aqua-deep);
}

.hero-desc {
  color: var(--text-mid);
  font-size: 1.06rem;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}

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

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: left;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--aqua-deep);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-soft);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-card-main {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-img-placeholder {
  height: 320px;
  background: linear-gradient(135deg, var(--aqua) 0%, var(--aqua-deep) 50%, #1a6a85 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #fff;
}

.hero-img-placeholder .campus-icon {
  font-size: 5rem;
}

.hero-img-placeholder p {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  opacity: 0.9;
}

.hero-img-placeholder img {
  object-fit: cover;
}

.hero-card-info {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-card-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--text-dark);
}

.hero-card-info p {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-top: 4px;
}

.accred-badge {
  background: linear-gradient(135deg, var(--mint), #7dd4b0);
  color: var(--text-dark);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 8px 14px;
  border-radius: 12px;
  text-align: center;
  flex-shrink: 0;
}

/* Floating badges */
.float-badge {
  position: absolute;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  z-index: 3;
}

.float-badge .badge-icon {
  font-size: 1.3rem;
}

.badge-1 {
  top: -18px;
  right: -24px;
  animation: floatBadge 4s ease-in-out infinite;
}

.badge-2 {
  bottom: 60px;
  left: -28px;
  animation: floatBadge 4s 1.5s ease-in-out infinite;
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-8px)
  }
}

/* ─── Ticker ────────────────────────────────────── */
.ticker-wrap {
  background: linear-gradient(90deg, var(--aqua-deep), var(--aqua));
  color: #fff;
  padding: 12px 0;
  overflow: hidden;
  position: relative;
}

.ticker-label {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: rgb(0, 0, 0);
  padding: 0 20px;
  display: flex;
  align-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  z-index: 2;
  white-space: nowrap;
}

.ticker-track {
  display: flex;
  gap: 60px;
  animation: ticker 10s linear infinite;
  padding-left: 180px;
}

.ticker-track span {
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  opacity: 0.9;
}

.ticker-track span::before {
  content: '✦ ';
  color: var(--peach);
  font-size: 0.7rem;
}

@keyframes ticker {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

/* ─── Quick Access Badge Wave ───────────────────── */
#quick-access {
  /* background: linear-gradient(135deg, var(--sky) 0%, var(--sky-mid)); */
  padding: 100px 0;
  overflow: hidden;
  position: relative;

}

.badge-wave {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;

}

.access-badge {
  background: var(--white);
  padding: 14px 22px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 220px;
}

.badge-icon {
  width: 48px;
  height: 48px;
  background: var(--sky);
  color: var(--aqua-deep);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: all 0.3s;
  gap: 50px;
}

.badge-info {
  display: flex;
  flex-direction: column;
}

.badge-info strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.2;
}

.badge-info span {
  font-size: 0.75rem;
  color: var(--text-soft);
  margin-top: 2px;
}

/* Wavy / Staggered Layout */
.access-badge:nth-child(odd) {
  transform: translateY(-20px);
  animation: badge-float-1 6s ease-in-out infinite;
}

.access-badge:nth-child(even) {
  transform: translateY(20px);
  animation: badge-float-2 7s ease-in-out infinite;
}

.access-badge:hover {
  transform: scale(1.08) translateY(-15px) !important;
  box-shadow: 0 20px 60px rgba(91, 184, 212, 0.4);
  background: var(--white);
  z-index: 10;
}

.access-badge:hover .badge-icon {
  background: var(--aqua-deep);
  color: #fff;
  transform: rotate(10deg) scale(1.1);
}

/* Animations */
@keyframes badge-float-1 {

  0%,
  100% {
    transform: translateY(-20px);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes badge-float-2 {

  0%,
  100% {
    transform: translateY(20px);
  }

  50% {
    transform: translateY(5px);
  }
}

/* Responsive */
@media (max-width: 768px) {
  #quick-access {
    padding: 60px 0;
  }

  .badge-wave {
    gap: 20px;
  }

  .access-badge {
    min-width: calc(100% - 40px);
    transform: none !important;
    animation: none !important;
  }
}

.quick-link-btn {
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 99px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.quick-link-btn:hover {
  transform: translateY(-3px);
  background: #111;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border-color: var(--aqua);
}

@media (max-width: 992px) {
  .quick-links-row {
    gap: 10px;
  }

  .quick-link-btn {
    padding: 10px 20px;
    font-size: 0.82rem;
  }
}

@media (max-width: 768px) {
  #quick-access {
    padding: 20px 0;
  }

  .quick-links-row {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 0 5px 10px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .quick-links-row::-webkit-scrollbar {
    display: none;
  }
}


/* ─── About ─────────────────────────────────────── */
#about {
  padding: 100px 0;
  background: var(--white);
}

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

.about-visual {
  position: relative;
}

.about-main-card {
  background: linear-gradient(135deg, var(--sky) 0%, var(--sky-mid) 100%);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-main-card::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(91, 184, 212, 0.15);
  border-radius: 50%;
  top: -60px;
  right: -60px;
}

.about-icon {
  font-size: 4rem;
  margin-bottom: 16px;
}

.about-main-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.about-main-card p {
  color: var(--text-mid);
  line-height: 1.7;
  font-size: 0.95rem;
}

.about-mini-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.mini-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.mini-card .mini-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.mini-card strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  color: var(--text-mid);
}



.about-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.about-content h2 em {
  font-style: italic;
  color: var(--aqua-deep);
}

.about-content>p {
  color: var(--text-mid);
  line-height: 1.78;
  margin-bottom: 28px;
  font-size: 0.98rem;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: var(--sky);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--aqua);
  transition: all 0.25s;
}

.pillar:hover {
  background: var(--sky-mid);
  transform: translateX(4px);
}

.pillar-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.pillar h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.pillar p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.5;
}

/* ─── Academics ─────────────────────────────────── */
#academics {
  padding: 100px 0;
  background: var(--sky);
}

.schools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.school-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.school-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--aqua), var(--aqua-deep));
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 0;
}

.school-card:hover::before {
  opacity: 1;
}

.school-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.school-card>* {
  position: relative;
  z-index: 1;
}

.school-card:hover .school-icon,
.school-card:hover h3,
.school-card:hover p {
  color: #fff;
}

.school-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  transition: all 0.3s;
}

.school-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--text-dark);
  transition: color 0.3s;
}

.school-card p {
  font-size: 0.84rem;
  color: var(--text-soft);
  line-height: 1.55;
  transition: color 0.3s;
}

.school-card .prog-count {
  margin-top: 16px;
  display: inline-block;
  background: rgba(91, 184, 212, 0.12);
  color: var(--aqua-deep);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.77rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 99px;
  transition: all 0.3s;
}

.school-card:hover .prog-count {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* ─── Admissions ────────────────────────────────── */
#admissions {
  padding: 100px 0;
  background: var(--white);
}

.admission-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.admission-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 24px;
  background: var(--sky);
  border-radius: var(--radius);
  position: relative;
  transition: all 0.3s;
}

.step:hover {
  background: var(--sky-mid);
  transform: translateX(6px);
}

.step-num {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--aqua), var(--aqua-deep));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.step-body h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.step-body p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.info-card {
  background: linear-gradient(135deg, var(--aqua), var(--aqua-deep));
  border-radius: 24px;
  padding: 40px 36px;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.info-card .big-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.info-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.info-card p {
  opacity: 0.88;
  line-height: 1.65;
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.info-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

.hi-item {
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
}

.hi-item strong {
  display: block;
  font-size: 1.3rem;
  font-family: 'Playfair Display', serif;
}

.hi-item span {
  font-size: 0.78rem;
  opacity: 0.8;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--aqua-deep);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 30px;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* ─── Stats Banner ──────────────────────────────── */
#stats {
  background: linear-gradient(135deg, var(--aqua-deep) 0%, #1a6a85 60%, #14556e 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

#stats::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  top: -200px;
  right: -100px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.stat-box {
  text-align: center;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  transition: all 0.3s;
}

.stat-box:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
}

.stat-box .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-box .icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.stat-box .lbl {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.05em;
}

/* ─── News & Events ─────────────────────────────── */
#news {
  padding: 100px 0;
  background: var(--cream);
}

.news-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 28px;
}

.news-featured {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.news-featured:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.news-featured-img {
  height: 240px;
  background: linear-gradient(135deg, var(--aqua) 0%, var(--aqua-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
}

.news-featured-img img {
  height: 240px;
  width: 1200px;
  object-fit: cover;
}

.news-featured-img .date-chip {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--white);
  color: var(--aqua-deep);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 5px 14px;
  border-radius: 99px;
}

.news-featured-body {
  padding: 28px;
}

.news-featured-body .news-cat {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aqua-deep);
  background: rgba(91, 184, 212, 0.12);
  padding: 3px 12px;
  border-radius: 99px;
  display: inline-block;
  margin-bottom: 12px;
}

.news-featured-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.news-featured-body p {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.65;
}

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

.news-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: all 0.25s;
  cursor: pointer;
}

.news-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
  border-left: 3px solid var(--aqua);
}

.news-item-icon {
  width: 46px;
  height: 46px;
  background: var(--sky);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.news-item-body h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
  line-height: 1.4;
}

.news-item-body span {
  font-size: 0.78rem;
  color: var(--text-soft);
}

/* ─── Facilities ────────────────────────────────── */
#facilities {
  padding: 100px 0;
  background: var(--white);
}

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

@media (max-width: 768px) {
  .facilities-grid {
    grid-template-columns: 1fr;
  }
}

.facility-card {
  background: var(--sky);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.facility-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--aqua), var(--mint));
  transform: scaleX(0);
  transition: transform 0.3s;
}

.facility-card:hover {
  background: var(--sky-mid);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.facility-card:hover::after {
  transform: scaleX(1);
}

.facility-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.facility-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.facility-card p {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.5;
}

/* ─── Testimonials ──────────────────────────────── */
#testimonials {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--sky) 0%, var(--mint-soft) 100%);
}

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

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--sky-mid);
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stars {
  color: #fbbf24;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.testimonial-card p {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.72;
  margin-bottom: 22px;
  font-style: italic;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.t-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--aqua), var(--aqua-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  flex-shrink: 0;
}

.t-info strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.t-info span {
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* ─── CTA Banner ────────────────────────────────── */
#cta {
  padding: 90px 0;
  background: var(--white);
}

.cta-inner {
  background: linear-gradient(135deg, var(--aqua) 0%, var(--aqua-deep) 60%, #1a6a85 100%);
  border-radius: 28px;
  padding: 64px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  top: -150px;
  right: -100px;
}

.cta-inner::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(168, 230, 207, 0.1);
  border-radius: 50%;
  bottom: -100px;
  left: -80px;
}

.cta-inner>* {
  position: relative;
  z-index: 1;
}

.cta-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 16px;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ─── Footer ────────────────────────────────────── */
footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo-text strong {
  color: #fff;
}

.footer-brand .logo-text span {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin: 16px 0 24px;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.25s;
  text-decoration: none;
}

.social-link:hover {
  background: var(--aqua);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.58);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a::before {
  content: '›';
  color: var(--aqua);
  font-size: 1rem;
}

.footer-col ul li a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.c-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.6);
}

.c-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a {
  color: var(--aqua);
}

/* ─── Resources ─────────────────────────────────── */
#resources {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--white) 0%, #f4faff 100%);
}

.resource-group {
  margin-bottom: 40px;
}

.group-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;

}

.group-label::after {
  content: '';
  flex-grow: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);

}

h3.group-label {
  display: block;
  font-size: 2.2em;
  font-weight: bold;
  unicode-bidi: isolate;
  text-align: center;
  font-family: 'Playfair Display', serif;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 24px;
}

.resource-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);

}

.resource-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--aqua);
}

.resource-icon {
  width: 50px;
  height: 50px;
  background: rgba(91, 184, 212, 0.1);
  color: var(--aqua-deep);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  transition: all 0.3s;
}

.resource-icon.small {
  width: 44px;
  height: 44px;
  font-size: 2.5rem;
}

.resource-item:hover .resource-icon {
  background: var(--aqua-deep);
  color: #fff;
  transform: scale(1.1) rotate(5deg);
}

.resource-item h4 {
  /* font-family: 'Playfair Display', serif; */
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-top: 4px;
}

.resource-link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--aqua-deep);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  opacity: 0.8;
  transition: all 0.2s;
}

.resource-link i {
  transition: transform 0.2s;
}

.resource-item:hover .resource-link {
  opacity: 1;
  gap: 10px;
}

.resource-item:hover .resource-link i {
  transform: translateX(4px);
}

/* Exam specific adjustments */
.exams-grid {
  grid-template-columns: repeat(5, 1fr);
}

.exam-item {
  padding: 22px 24px;
}

.exam-item h4 {
  font-size: 1.05rem;
}

/* Base Grid */
.exams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* Exam Card */
.exam-item {
  padding: 20px;
  text-align: center;
}

/* Title */
.exam-item h4 {
  font-size: 1rem;
}

/* 🔽 Tablet (≤ 992px) */
@media (max-width: 992px) {
  .exams-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 🔽 Mobile (≤ 600px) */
@media (max-width: 600px) {
  .exams-grid {
    grid-template-columns: 1fr;
  }

  .exam-item {
    padding: 16px;
  }

  .exam-item h4 {
    font-size: 0.95rem;
  }
}

/* ─── Animations ────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s, transform 0.65s;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) {
  transition-delay: 0.1s;
}

.fade-up:nth-child(3) {
  transition-delay: 0.2s;
}

.fade-up:nth-child(4) {
  transition-delay: 0.3s;
}

/* ─── Responsive ────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 0 50px;
  }

  .hero-visual {
    max-width: 480px;
    margin: 0 auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .admission-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

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

@media (max-width: 768px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .topbar-left {
    display: none;
  }

  .hero-stats {
    gap: 24px;
  }

  .testimonials-slider {
    grid-template-columns: 1fr;
  }

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

  .facilities-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .cta-inner {
    padding: 44px 28px;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .schools-grid {
    grid-template-columns: 1fr;
  }

  .about-mini-cards {
    grid-template-columns: 1fr;
  }

  .info-highlights {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-btns {
    flex-direction: column;
    align-items: center;
  }
}