/* ==========================================================================
   Edwards University - Premium Bootstrap 5 Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design Tokens & CSS Variables
   -------------------------------------------------------------------------- */
:root {
  /* ==========================================================================
     Theme Colors: Royal Oxford Navy (#192e59) & Vibrant Academic Gold (#fec917)
     ========================================================================== */
  --theme-navy: #192e59;
  --theme-navy-dark: #0f1e3d;
  --theme-navy-light: #24427e;
  --theme-navy-transparent: rgba(25, 46, 89, 0.92);
  --theme-navy-subtle: rgba(25, 46, 89, 0.08);

  --theme-gold: #fec917;
  --theme-gold-hover: #e5b30b;
  --theme-gold-light: rgba(254, 201, 23, 0.14);
  --theme-gold-subtle: rgba(254, 201, 23, 0.24);
  --theme-gold-glow: 0 8px 24px rgba(254, 201, 23, 0.4);

  /* Primary Brand Aliases */
  --primary-red: var(--theme-gold);
  --primary-red-hover: var(--theme-gold-hover);
  --primary-red-light: var(--theme-gold-light);
  --primary-red-subtle: var(--theme-gold-subtle);

  --deep-navy: var(--theme-navy);
  --navy-dark: var(--theme-navy-dark);
  --navy-light: var(--theme-navy-light);
  --navy-transparent: var(--theme-navy-transparent);

  --dark-bg: #0d1933;
  --dark-surface: #15274e;
  --dark-border: rgba(254, 201, 23, 0.15);

  --body-bg: #ffffff;
  --warm-bg: #f8fafc;
  --warm-surface: #f0f4f9;

  --text-dark: #13203d;
  --text-muted: #55627a;
  --text-light: #f8fafc;

  --border-color: #e2e8f0;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 4px 12px rgba(25, 46, 89, 0.05);
  --shadow-md: 0 10px 30px rgba(25, 46, 89, 0.08);
  --shadow-lg: 0 20px 45px rgba(25, 46, 89, 0.12);
  --shadow-xl: 0 25px 60px rgba(25, 46, 89, 0.16);

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   Global Reset & Base Typography
   -------------------------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--body-bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.font-serif {
  font-family: var(--font-serif);
  color: var(--deep-navy);
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--theme-navy);
}

/* --------------------------------------------------------------------------
   Custom Utility Classes & Buttons
   -------------------------------------------------------------------------- */
.text-crimson { color: var(--theme-gold) !important; }
a.text-crimson {color: #122247 !important;}
a.text-crimson:hover { color: var(--theme-navy) !important; }
.bg-crimson { background-color: var(--theme-gold) !important; color: var(--theme-navy) !important; }
.text-navy { color: var(--theme-navy) !important; }
.bg-navy { background-color: var(--theme-navy) !important; color: #ffffff !important; }
.text-gold { color: var(--theme-gold) !important; }
.bg-gold { background-color: var(--theme-gold) !important; color: var(--theme-navy) !important; }
.bg-warm { background-color: var(--warm-bg) !important; }
.bg-dark-custom { background-color: var(--dark-bg) !important; }

.btn-crimson {
  background-color: #d1143e;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: 6px;
  border: 1px solid #d1143e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  letter-spacing: 0.03em;
  box-shadow: 0 4px 14px rgb(244 67 54 / 37%);
}

.btn-crimson:hover {
  background-color: var(--theme-gold-hover);
  border-color: var(--theme-gold-hover);
  color: var(--theme-navy) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(254, 201, 23, 0.5);
}

.btn-navy {
  background-color: var(--theme-navy);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: 6px;
  border: 1px solid var(--theme-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.btn-navy:hover {
  background-color: var(--theme-navy-dark);
  border-color: var(--theme-gold);
  color: var(--theme-gold) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(25, 46, 89, 0.45);
}

.btn-pill-crimson {
  background-color: #d1143e;
  color: #ffffff !important;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 18px;
  border-radius: 30px;
  display: inline-block;
  transition: var(--transition-fast);
  box-shadow: 0 2px 8px rgb(244 67 54 / 46%);
}

.btn-pill-crimson:hover {
  background-color: var(--theme-gold-hover);
  color: var(--theme-navy) !important;
}

.badge-crimson {
  background-color: var(--theme-gold);
  color: var(--theme-navy) !important;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  display: inline-block;
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.header-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.top-bar {
  font-size: 0.8rem;
  font-weight: 500;
  background-color: var(--deep-navy);
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(254, 201, 23, 0.2);
}

.top-bar a {
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition-fast);
}

.top-bar a:hover {
  color: var(--theme-gold);
}

.top-bar-right {
  background-color: var(--theme-gold);
  padding: 8px 24px;
  clip-path: polygon(15px 0%, 100% 0%, 100% 100%, 0% 100%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.top-bar-right a {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--deep-navy) !important;
}

.top-bar-right a:hover {
  opacity: 0.8;
}

.top-bar-right span {
  color: rgba(25, 46, 89, 0.45) !important;
}

.site-navbar {
  background-color: rgba(25, 46, 89, 0.42);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition-smooth);
}

.site-navbar.navbar-scrolled {
  background-color: rgba(25, 46, 89, 0.98);
  box-shadow: 0 6px 25px rgba(10, 16, 60, 0.35);
  border-bottom: 1px solid rgba(254, 201, 23, 0.25);
  padding: 12px 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff !important;
  letter-spacing: -0.02em;
}
.navbar-brand img{
  height: 100px;
}
.brand-crest {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--theme-gold);
  color: var(--theme-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(254, 201, 23, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.navbar-nav .nav-item {
  padding: 0 6px;
}

.navbar-nav .nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff !important;
  padding: 10px 14px !important;
  position: relative;
  transition: var(--transition-fast);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #ffffff !important;
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 3px;
  background-color: var(--theme-gold);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(254, 201, 23, 0.6);
}

.navbar-search-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.navbar-search-btn:hover {
  background-color: var(--theme-gold);
  border-color: var(--theme-gold);
  color: var(--theme-navy);
}

/* --------------------------------------------------------------------------
   Desktop Hover Navigation, Custom Dropdowns & Mega Menu
   -------------------------------------------------------------------------- */
.nav-badge-pill {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--theme-gold) 0%, #ffde59 100%);
  color: var(--theme-navy) !important;
  padding: 2px 7px;
  border-radius: 12px;
  vertical-align: middle;
  margin-left: 4px;
  box-shadow: 0 2px 6px rgba(254, 201, 23, 0.4);
  display: inline-block;
}

@media (min-width: 992px) {
  .site-navbar {
    position: relative;
  }

  .site-navbar .nav-item.dropdown {
    position: relative;
  }

  .site-navbar .nav-item.has-mega-menu {
    position: static;
  }

  .site-navbar .navbar-nav .nav-link.dropdown-toggle::after {
    margin-left: 0.45em;
    vertical-align: 0.16em;
    border-top-color: rgba(255, 255, 255, 0.7);
    transition: transform 0.25s ease, border-top-color 0.25s ease;
  }

  .site-navbar .nav-item.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
    border-top-color: var(--theme-gold);
  }

  /* Base Dropdown Menu Animations & Elevation */
  .site-navbar .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity 0.26s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.26s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.26s;
    background: #ffffff;
    border: 1px solid rgba(25, 46, 89, 0.08) !important;
    border-top: 3px solid var(--theme-gold) !important;
    border-radius: 14px;
    box-shadow: 0 22px 50px rgba(25, 46, 89, 0.16), 0 4px 15px rgba(0, 0, 0, 0.06);
    margin-top: 0;
  }

  /* Seamless hover bridge to prevent cursor gap dropouts */
  .site-navbar .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -18px;
    left: 0;
    right: 0;
    height: 18px;
    background: transparent;
  }

  /* Standard custom dropdowns (Pages & Admissions) */
  .site-navbar .custom-dropdown-menu {
    min-width: 370px;
    padding: 10px;
    top: calc(100% - 2px);
    left: 0;
  }

  /* Mega Menu (Academics) */
  .site-navbar .mega-menu {
    position: absolute;
    top: calc(100% - 35px);
    left: 50%;
    transform: translateX(-50%) translateY(14px);
    width: 980px;
    max-width: calc(100vw - 60px);
    padding: 26px 28px;
    z-index: 1050;
  }

  /* Hover and active states */
  .site-navbar .nav-item.dropdown:hover > .dropdown-menu,
  .site-navbar .nav-item.dropdown > .dropdown-menu.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  .site-navbar .nav-item.has-mega-menu:hover > .mega-menu,
  .site-navbar .nav-item.has-mega-menu > .mega-menu.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
  }
}

@media (max-width: 991.98px) {
  .site-navbar .custom-dropdown-menu,
  .site-navbar .mega-menu {
    display: none !important;
  }
}

/* Custom Dropdown Items */
.custom-dropdown-link {
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 8px 8px;
  border-radius: 9px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: normal;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.custom-dropdown-link:hover {
  background-color: rgba(25, 46, 89, 0.05);
  transform: translateX(4px);
}

.custom-dropdown-link:hover .dd-icon-box {
  background-color: var(--theme-navy);
  color: var(--theme-gold);
  transform: scale(1.08) rotate(2deg);
  box-shadow: 0 4px 12px rgba(25, 46, 89, 0.25);
}

.custom-dropdown-link:hover .dd-title {
  color: var(--theme-navy);
}

.dd-icon-box {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background-color: rgba(25, 46, 89, 0.08);
  color: var(--theme-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: all 0.25s ease;
}

.dd-text-box {
  display: flex;
  flex-direction: column;
}

.dd-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--deep-navy);
  line-height: 1.3;
  transition: color 0.2s ease;
}

.dd-desc {
  font-size: 0.77rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 2px;
}

/* Mega Menu Columns & Links */
.mega-menu-heading {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--deep-navy);
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 2px solid rgba(25, 46, 89, 0.08);
  display: flex;
  align-items: center;
}

.mega-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mega-menu-link {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: all 0.22s ease;
  background: #192e5908;
}

.mega-menu-link:hover {
  background-color: rgba(25, 46, 89, 0.05);
  transform: translateX(4px);
}

.mega-menu-link:hover .mega-icon {
  background-color: var(--theme-navy);
  color: var(--theme-gold);
  transform: scale(1.08);
  box-shadow: 0 4px 10px rgba(25, 46, 89, 0.25);
}

.mega-menu-link:hover .mega-text strong {
  color: var(--theme-navy);
}

.mega-icon {
  width: 28px;
  height: 26px;
  min-width: 26px;
  border-radius: 8px;
  background-color: rgba(25, 46, 89, 0.06);
  color: var(--deep-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all 0.25s ease;
  margin-top: 2px;
}

.mega-text {
  display: flex;
  flex-direction: column;
  font-size: 15px;
}

.mega-text strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--deep-navy);
  line-height: 1.25;
  transition: color 0.2s ease;
}

.mega-text small {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 2px;
}

/* Mega Menu Spotlight Card */
.mega-spotlight-card {
  background: linear-gradient(180deg, #fbfcfe 0%, #f4f6fa 100%);
  border: 1px solid rgba(25, 46, 89, 0.1);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(25, 46, 89, 0.06);
  transition: all 0.3s ease;
}

.mega-spotlight-card:hover {
  box-shadow: 0 10px 28px rgba(25, 46, 89, 0.15);
  border-color: var(--theme-gold);
}

.mega-spotlight-card:hover .mega-spotlight-img {
  transform: scale(1.06);
}

.mega-spotlight-img-wrap {
  position: relative;
  height: 162px;
  overflow: hidden;
}

.mega-spotlight-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.mega-spotlight-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--theme-navy);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--theme-gold);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  border-radius: 4px;
  border: 1px solid rgba(254, 201, 23, 0.35);
}

.mega-spotlight-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.mega-spotlight-title {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: 6px;
}

.mega-spotlight-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 12px;
  flex-grow: 1;
}

.mega-spotlight-body .btn-crimson {
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 6px;
  align-self: flex-start;
}

/* --------------------------------------------------------------------------
   Full-Screen Hero Banner Slider (Bootstrap Carousel)
   -------------------------------------------------------------------------- */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
}

.hero-slider .carousel-inner {
  height: 100%;
}

.hero-slider .carousel-item {
  height: 100vh;
  min-height: 680px;
  background-size: cover;
  background-position: center center;
  position: relative;
}

.hero-slider .carousel-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(25, 46, 89, 0.94) 0%,
    rgba(25, 46, 89, 0.74) 42%,
    rgba(25, 46, 89, 0.28) 75%,
    transparent 100%
  );
  z-index: 1;
}

.hero-caption-wrapper {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 110px; /* Accounts for header height */
  padding-bottom: 90px;
}

.hero-content {
  max-width: 640px;
  color: #ffffff;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.12;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}

.hero-subtitle {
  font-size: 1.08rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2.2rem;
  font-weight: 400;
}

/* Hero Carousel Arrow Controls */
.hero-control-btn {
  width: 48px;
  height: 48px;
  background-color: #ffffff;
  color: var(--deep-navy);
  border: none;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  opacity: 0.92;
  transition: var(--transition-fast);
}

.hero-control-btn:hover {
  background-color: var(--theme-gold);
  color: var(--theme-navy);
  opacity: 1;
  box-shadow: 0 6px 20px rgba(254, 201, 23, 0.5);
}

.hero-control-prev { left: 28px; }
.hero-control-next { right: 28px; }

/* --------------------------------------------------------------------------
   Feature Bar Below Banner (Exact Replica of Attached Image)
   -------------------------------------------------------------------------- */
.feature-bar-wrapper {
  position: relative;
  z-index: 30;
  margin-top: -72px; /* Overlaps bottom of full screen banner */
}

.feature-bar-container {
  border-radius: 4px;
  box-shadow: 0 16px 45px rgba(25, 46, 89, 0.16);
  overflow: hidden;
  background-color: #ffffff;
  border-top: 3px solid var(--theme-gold);
}

/* Left Navy Section */
.feature-navy-section {
  background: linear-gradient(135deg, var(--theme-navy) 0%, var(--theme-navy-dark) 100%);
  color: #ffffff;
}

.feature-navy-col {
  padding: 24px 26px;
  display: flex;
  align-items: center;
}

.feature-navy-col-border {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-navy-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

.feature-navy-text {
  flex: 1;
}

.feature-navy-heading {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.18;
  margin-bottom: 12px;
}

.feature-navy-hr {
  width: 100%;
  height: 1px;
  background-color: rgba(254, 201, 23, 0.25);
  margin-bottom: 10px;
}

.feature-navy-link {
  font-size: 0.76rem;
  color: #c0d3ef;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  transition: var(--transition-fast);
}

.feature-navy-link:hover {
  color: var(--theme-gold);
}

.feature-navy-star {
  color: var(--theme-gold);
  font-size: 0.85rem;
  font-weight: 700;
}

.feature-navy-circle {
  flex-shrink: 0;
}

.feature-circle-img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--theme-gold);
}

/* Right White Section (4 Columns) */
.feature-white-section {
  background-color: #ffffff;
}

.feature-white-col {
  border-right: 1px solid #eef2f7;
  padding: 22px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: var(--transition-fast);
}

.feature-white-col:last-child {
  border-right: none;
}

.feature-white-col:hover {
  background-color: #fafbfd;
  transform: translateY(-2px);
  border-bottom: 3px solid var(--theme-gold);
}

.feature-white-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.feature-white-icon-box {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-white-icon-img {
  max-height: 46px;
  width: auto;
  object-fit: contain;
}

.feature-white-label {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--theme-navy);
  line-height: 1.25;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Section Common Styling
   -------------------------------------------------------------------------- */
.section-padding {
  padding: 90px 0;
}

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

.section-title {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--deep-navy);
  margin-bottom: 12px;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 600px;
}

/* --------------------------------------------------------------------------
   Section 5A: "About Kuwait National English School" (Narrative & Image)
   -------------------------------------------------------------------------- */
.about-knes-section {
  position: relative;
  padding: 110px 0 100px;
  background: radial-gradient(circle at 75% 35%, rgba(254, 201, 23, 0.08) 0%, rgba(25, 46, 89, 0.03) 45%, #ffffff 85%);
  overflow: hidden;
}

.about-bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(25, 46, 89, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 46, 89, 0.02) 1px, transparent 1px);
  background-size: 38px 38px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(circle at 60% 40%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 60% 40%, black 40%, transparent 80%);
}

.about-bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  z-index: 0;
}
.about-bg-orb-1 {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(254, 201, 23, 0.12) 0%, transparent 70%);
  top: 10%;
  right: -60px;
}
.about-bg-orb-2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(25, 46, 89, 0.06) 0%, transparent 70%);
  bottom: 5%;
  left: -60px;
}

/* About Left Column Typography */
.about-content-wrap {
  position: relative;
  z-index: 2;
}

.about-badge-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px;
  background: rgba(25, 46, 89, 0.05);
  border: 1px solid rgba(25, 46, 89, 0.12);
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--theme-navy);
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(25, 46, 89, 0.04);
}

.about-badge-eyebrow i {
  color: #d89e00;
  font-size: 0.95rem;
}

.about-heading {
  font-family: var(--font-serif);
  font-size: 2.85rem;
  font-weight: 800;
  color: #13203d;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.about-heading-highlight {
  position: relative;
  display: inline-block;
  color: var(--theme-navy);
}

.about-heading-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 100%;
  height: 10px;
  background: rgba(254, 201, 23, 0.38);
  border-radius: 6px;
  z-index: -1;
}

.about-lead {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 500;
  color: #2b3950;
  line-height: 1.74;
  margin-bottom: 16px;
}

.about-subtext {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* 4 Trust Highlights Grid */
.about-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
  margin-bottom: 34px;
}

.about-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(25, 46, 89, 0.08);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 4px 14px rgba(25, 46, 89, 0.03);
  transition: all 0.25s ease;
}

.about-highlight-item:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: rgba(254, 201, 23, 0.6);
  box-shadow: 0 8px 22px rgba(25, 46, 89, 0.08);
}

.about-hl-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(25, 46, 89, 0.06), rgba(254, 201, 23, 0.16));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--theme-navy);
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.about-highlight-item:hover .about-hl-icon {
  background: var(--theme-gold);
  color: var(--theme-navy);
  transform: scale(1.05);
}

.about-hl-text h6 {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  color: #13203d;
  margin: 0 0 3px 0;
}

.about-hl-text p {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

/* Action Buttons */
.about-actions-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.btn-royal-crimson {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #d1143e 0%, #a80c30 100%);
  color: #ffffff !important;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 34px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(209, 20, 62, 0.35);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-royal-crimson:hover {
  background: linear-gradient(135deg, #e51745 0%, #b80d34 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(209, 20, 62, 0.52);
  color: #ffffff !important;
}

.btn-royal-crimson i {
  transition: transform 0.25s ease;
}

.btn-royal-crimson:hover i {
  transform: translateX(4px);
}

.btn-outline-navy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: var(--theme-navy) !important;
  border: 1.5px solid rgba(25, 46, 89, 0.22);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 50px;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-outline-navy:hover {
  background: var(--theme-navy);
  color: #ffffff !important;
  border-color: var(--theme-navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(25, 46, 89, 0.15);
}

/* Right Column: Campus Image Showcase */
.about-image-showcase {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.about-image-halo {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 108%;
  height: 108%;
  background: radial-gradient(ellipse at center, rgba(254, 201, 23, 0.18) 0%, rgba(25, 46, 89, 0.06) 50%, transparent 75%);
  pointer-events: none;
  z-index: 0;
  filter: blur(25px);
}

.about-decorative-ring {
  position: absolute;
  top: -25px;
  right: -25px;
  width: 150px;
  height: 150px;
  border: 2px dashed rgba(254, 201, 23, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: rotateRing 32s linear infinite;
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.about-image-frame {
  position: relative;
  z-index: 1;
  border-radius: 30px;
  overflow: hidden;
  background: #ffffff;
  padding: 10px;
  box-shadow: 0 25px 60px rgba(25, 46, 89, 0.16), 0 0 0 1px rgba(25, 46, 89, 0.06);
  transition: all 0.4s ease;
}

.about-image-inner {
  position: relative;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
}

.about-campus-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-frame:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 75px rgba(25, 46, 89, 0.22), 0 0 28px rgba(254, 201, 23, 0.22);
}

.about-image-frame:hover .about-campus-img {
  transform: scale(1.05);
}

.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(25, 46, 89, 0.02) 0%, rgba(25, 46, 89, 0.14) 55%, rgba(25, 46, 89, 0.52) 100%);
  pointer-events: none;
}

/* Floating Top Badge */
.about-float-tag {
  position: absolute;
  z-index: 2;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 30px rgba(25, 46, 89, 0.16);
  border-radius: 50px;
  padding: 9px 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--theme-navy);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.about-float-tag-top {
  top: 28px;
  left: 28px;
}

.about-float-tag-top i {
  color: #d89e00;
  font-size: 0.95rem;
}

/* Floating Bottom Experience Card */
.about-float-card-bottom {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 2;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(21, 39, 78, 0.9);
  border: 1px solid rgba(254, 201, 23, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  border-radius: 18px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #ffffff;
}

.about-float-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--theme-gold);
  color: var(--theme-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(254, 201, 23, 0.45);
}

.about-float-info strong {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  display: block;
}

.about-float-info span {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.88);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Section 5B: "School Portals & Essentials" (Prestigious Royal Navy Canvas)
   -------------------------------------------------------------------------- */
.knes-portals-section {
  position: relative;
  padding: 105px 0 115px;
  background-color: #0c172e;
  border-top: 1px solid rgba(254, 201, 23, 0.3);
  border-bottom: 1px solid rgba(254, 201, 23, 0.22);
  overflow: hidden;
  isolation: isolate;
}

/* Cinematic Campus Background Image */
.portals-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('../images/portals_bg_campus.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  opacity: 0.28;
  filter: contrast(1.1) brightness(0.95);
  pointer-events: none;
  z-index: 0;
}

/* Gradient Overlay Ensuring Perfect Contrast & Brand Tone */
.portals-bg-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 50% 25%, rgba(25, 46, 89, 0.72) 0%, rgba(14, 26, 51, 0.92) 65%, #0a1426 100%),
    linear-gradient(180deg, rgba(14, 26, 51, 0.85) 0%, transparent 40%, rgba(10, 20, 38, 0.96) 100%);
  pointer-events: none;
  z-index: 0;
}

.portals-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(254, 201, 23, 0.16) 1.5px, transparent 1.5px),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 32px 32px, 32px 32px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(circle at 50% 50%, black 50%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 50%, transparent 85%);
}

/* Multi-layer Ambient Lighting Orbs */
.portals-bg-glow-center {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 680px;
  height: 340px;
  background: radial-gradient(ellipse at center, rgba(254, 201, 23, 0.16) 0%, rgba(25, 46, 89, 0.4) 60%, transparent 80%);
  pointer-events: none;
  filter: blur(65px);
  z-index: 0;
}

.portals-bg-glow-orb-left {
  position: absolute;
  bottom: 5%;
  left: -40px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(25, 46, 89, 0.6) 0%, transparent 70%);
  filter: blur(85px);
  pointer-events: none;
  z-index: 0;
}

.portals-bg-glow-orb-right {
  position: absolute;
  bottom: 5%;
  right: -40px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(209, 20, 62, 0.08) 0%, transparent 70%);
  filter: blur(85px);
  pointer-events: none;
  z-index: 0;
}

/* Header Styling (Luminous on Dark Canvas) */
.portals-header {
  margin-bottom: 56px;
}

.portals-badge-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 22px;
  background: rgba(254, 201, 23, 0.12);
  border: 1px solid rgba(254, 201, 23, 0.38);
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fec917;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.portals-badge-eyebrow i {
  color: #fec917;
  font-size: 0.92rem;
}

.portals-title {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 16px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.portals-title-highlight {
  position: relative;
  display: inline-block;
  color: #fec917;
  text-shadow: 0 0 25px rgba(254, 201, 23, 0.5);
}

.portals-title-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 6px;
  background: rgba(254, 201, 23, 0.45);
  border-radius: 4px;
  z-index: -1;
}

.portals-subtitle {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: #c7d4ea;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

/* 4 Portal Feature Cards (Floating Crisp White Cards on Royal Navy) */
.portal-feature-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  padding: 30px 24px 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32), 0 0 20px rgba(25, 46, 89, 0.2);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.portal-feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #fec917 0%, #ff9800 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.portal-feature-card:hover {
  transform: translateY(-9px);
  border-color: rgba(254, 201, 23, 0.7);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45), 0 0 30px rgba(254, 201, 23, 0.3);
}

.portal-feature-card:hover::before {
  opacity: 1;
}

.portal-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.portal-icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(25, 46, 89, 0.05) 0%, rgba(254, 201, 23, 0.16) 100%);
  border: 1px solid rgba(25, 46, 89, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.9), 0 4px 14px rgba(25, 46, 89, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.portal-icon-wrap img {
  max-width: 100%;
  max-height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

.portal-feature-card:hover .portal-icon-wrap {
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 8px 22px rgba(254, 201, 23, 0.35);
  border-color: rgba(254, 201, 23, 0.55);
}

.portal-category-tag {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #192e59;
  background: rgba(25, 46, 89, 0.07);
  padding: 5px 12px;
  border-radius: 20px;
}

/* Yellow Badge Button */
.portal-badge-wrap {
  margin-bottom: 16px;
}

.study-badge-btn-modern {
  display: inline-block;
  background-color: var(--theme-gold);
  color: var(--theme-navy) !important;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 800;
  padding: 8px 22px;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(254, 201, 23, 0.4);
}

.portal-feature-card:hover .study-badge-btn-modern {
  background-color: var(--theme-gold-hover);
  box-shadow: 0 6px 18px rgba(254, 201, 23, 0.6);
  transform: translateY(-2px);
}

.portal-card-desc {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.64;
  color: #64748b;
  margin-bottom: 22px;
  flex-grow: 1;
}

/* Card Footer */
.portal-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px dashed rgba(25, 46, 89, 0.12);
}

.portal-meta-item {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 6px;
}

.portal-action-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(25, 46, 89, 0.07);
  color: var(--theme-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  transition: all 0.25s ease;
  text-decoration: none;
}

.portal-feature-card:hover .portal-action-arrow {
  background: var(--theme-navy);
  color: #ffffff;
  transform: translateX(3px);
}

/* Preserved Dept Advisor styles */
.dept-advisor-strip img {
  width: 93%;
}
.dept-advisor-strip h3 {
  background: #fec917;
  padding: 9px 15px;
  border-radius: 20px 0 0 20px;
  font-size: 22px;
}

/* --------------------------------------------------------------------------
   "Departments" Interactive Experience Section
   -------------------------------------------------------------------------- */
.dept-showcase-section {
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  overflow: hidden;
}

/* Subtle architectural dot grid pattern */
.dept-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(25, 46, 89, 0.06) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.85;
}

/* Ambient gradient orbs */
.dept-glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.dept-glow-orb-1 {
  top: -120px;
  left: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(25, 46, 89, 0.08) 0%, transparent 70%);
}

.dept-glow-orb-2 {
  bottom: -100px;
  right: -100px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(254, 201, 23, 0.14) 0%, transparent 70%);
}

/* Header Elements */
.dept-header-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  background: rgba(25, 46, 89, 0.05);
  border: 1px solid rgba(25, 46, 89, 0.12);
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--theme-navy);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}

.dept-header-pill .pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--theme-gold);
  box-shadow: 0 0 10px var(--theme-gold);
}

.dept-main-title {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--theme-navy);
  line-height: 1.15;
  margin-bottom: 14px;
}

.dept-title-gradient {
  position: relative;
  display: inline-block;
  color: var(--theme-navy);
}

.dept-title-gradient::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 8px;
  background: rgba(254, 201, 23, 0.38);
  border-radius: 4px;
  z-index: -1;
}

.dept-main-subtitle {
  font-size: 1.05rem;
  color: #475569;
  max-width: 680px;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Accreditation Badge on Desktop */
.dept-accreditation-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: #ffffff;
  border: 1.5px solid rgba(25, 46, 89, 0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(25, 46, 89, 0.06);
}

.dept-accreditation-badge .accred-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--theme-navy) 0%, var(--theme-navy-light) 100%);
  color: var(--theme-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(25, 46, 89, 0.2);
}

.dept-accreditation-badge .accred-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--theme-navy);
  line-height: 1.2;
}

.dept-accreditation-badge .accred-sub {
  display: block;
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Interactive Department Left Tabs List
   -------------------------------------------------------------------------- */
.campus-tabs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.campus-tab-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 14px;
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(25, 46, 89, 0.03);
  overflow: hidden;
  user-select: none;
}

.dept-tab-indicator {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(180deg, var(--theme-gold) 0%, #e5b30b 100%);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dept-tab-icon-wrap {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background-color: rgba(25, 46, 89, 0.06);
  color: var(--theme-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.dept-tab-info {
  flex: 1;
  min-width: 0;
}

.dept-tab-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}

.dept-tab-name {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--theme-navy);
  transition: color 0.25s ease;
}

.dept-tab-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 20px;
  background-color: rgba(25, 46, 89, 0.07);
  color: var(--theme-navy);
  border: 1px solid rgba(25, 46, 89, 0.1);
  transition: all 0.25s ease;
}

.dept-tab-sub {
  font-size: 0.84rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.25s ease;
}

.dept-tab-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f1f5f9;
  color: #94a3b8;
  font-size: 0.85rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Tab Hover */
.campus-tab-item:hover {
  transform: translateX(6px);
  border-color: rgba(254, 201, 23, 0.65);
  box-shadow: 0 10px 24px rgba(25, 46, 89, 0.08);
}

.campus-tab-item:hover .dept-tab-icon-wrap {
  background-color: rgba(254, 201, 23, 0.2);
  color: #b48500;
  transform: scale(1.05);
}

.campus-tab-item:hover .dept-tab-arrow {
  background-color: var(--theme-gold);
  color: var(--theme-navy-dark);
  transform: translateX(3px);
}

/* Tab Active */
.campus-tab-item.active {
  background: linear-gradient(135deg, var(--theme-navy) 0%, #0c1453 100%);
  border-color: var(--theme-navy);
  box-shadow: 0 14px 32px rgba(25, 46, 89, 0.28), 0 0 0 1px rgba(254, 201, 23, 0.3);
  transform: translateX(4px);
}

.campus-tab-item.active .dept-tab-indicator {
  width: 5px;
}

.campus-tab-item.active .dept-tab-icon-wrap {
  background: linear-gradient(135deg, var(--theme-gold) 0%, #e5b30b 100%);
  color: var(--theme-navy-dark);
  box-shadow: 0 4px 14px rgba(254, 201, 23, 0.4);
  transform: scale(1.05);
}

.campus-tab-item.active .dept-tab-name {
  color: #ffffff;
}

.campus-tab-item.active .dept-tab-badge {
  background-color: rgba(254, 201, 23, 0.22);
  color: var(--theme-gold);
  border-color: rgba(254, 201, 23, 0.45);
}

.campus-tab-item.active .dept-tab-sub {
  color: rgba(255, 255, 255, 0.82);
}

.campus-tab-item.active .dept-tab-arrow {
  background-color: var(--theme-gold);
  color: var(--theme-navy-dark);
  transform: translateX(3px);
  box-shadow: 0 2px 10px rgba(254, 201, 23, 0.45);
}

/* Advisor strip under tabs */
.dept-advisor-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #ffffff;
  border: 1.5px dashed rgba(25, 46, 89, 0.2);
  border-radius: 12px;
}

.dept-advisor-strip .advisor-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: rgba(254, 201, 23, 0.16);
  color: #b48500;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.dept-advisor-strip .advisor-text {
  flex: 1;
  font-size: 0.84rem;
  line-height: 1.35;
}

.dept-advisor-strip .advisor-text strong {
  display: block;
  color: var(--theme-navy);
  font-size: 0.88rem;
}

.dept-advisor-strip .advisor-text span {
  color: #64748b;
}

.dept-advisor-strip .advisor-link {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--theme-navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.dept-advisor-strip .advisor-link:hover {
  background: var(--theme-gold);
  color: var(--theme-navy-dark);
  transform: scale(1.08);
}

/* --------------------------------------------------------------------------
   Dynamic Right Showcase Stage Card
   -------------------------------------------------------------------------- */
.campus-preview-card.dept-feature-card {
  border-radius: 20px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 20px 50px rgba(25, 46, 89, 0.09);
  border: 1px solid rgba(25, 46, 89, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.campus-preview-card.dept-feature-card:hover {
  box-shadow: 0 26px 65px rgba(25, 46, 89, 0.13);
}

/* Visual Media Frame */
.dept-media-frame {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
  background-color: #0b124a;
}

.campus-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.campus-preview-card.dept-feature-card:hover .campus-preview-img {
  transform: scale(1.03);
}

.dept-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 20, 83, 0.25) 0%, rgba(12, 20, 83, 0) 45%, rgba(12, 20, 83, 0.8) 100%);
  pointer-events: none;
}

/* Floating Top Badges */
.dept-floating-top {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
  z-index: 2;
}

.dept-tag-glass {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: rgba(12, 20, 83, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(254, 201, 23, 0.4);
  border-radius: 30px;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: opacity 0.25s ease;
}

.dept-tag-age {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 30px;
  color: var(--theme-navy);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: opacity 0.25s ease;
}

/* Floating Quote Banner */
.dept-media-quote {
  position: absolute;
  bottom: 14px;
  left: 18px;
  right: 18px;
  padding: 10px 16px;
  background: rgba(10, 16, 69, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  color: #ffffff;
  font-size: 0.88rem;
  font-style: italic;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  z-index: 2;
  transition: opacity 0.25s ease;
}

/* Dynamic Content Body */
.campus-preview-body.dept-content-body {
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dept-content-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 10px;
}

.dept-category-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #b48500;
  margin-bottom: 3px;
  transition: opacity 0.25s ease;
}

.dept-title-heading {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--theme-navy);
  margin-bottom: 0;
  line-height: 1.2;
  transition: opacity 0.25s ease;
}

.dept-step-counter {
  display: flex;
  align-items: baseline;
  font-family: var(--font-sans);
  font-weight: 800;
  background: rgba(25, 46, 89, 0.04);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(25, 46, 89, 0.08);
}

.dept-step-counter .step-num-active {
  font-size: 1.35rem;
  color: var(--theme-navy);
  font-weight: 800;
}

.dept-step-counter .step-divider {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin: 0 3px;
}

.dept-step-counter .step-num-total {
  font-size: 0.85rem;
  color: #94a3b8;
}

.dept-description {
  font-size: 0.96rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 22px;
  transition: opacity 0.25s ease;
}

/* Highlights Chips */
.dept-highlights-wrapper {
  margin-bottom: 22px;
}

.dept-highlights-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #64748b;
  margin-bottom: 10px;
}

.dept-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  transition: opacity 0.25s ease;
}

.dept-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--theme-navy);
  transition: all 0.25s ease;
}

.dept-chip:hover {
  background: rgba(25, 46, 89, 0.05);
  border-color: rgba(254, 201, 23, 0.6);
  transform: translateY(-1px);
}

/* Key Metrics / Stats Row */
.dept-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(25, 46, 89, 0.03) 0%, rgba(254, 201, 23, 0.06) 100%);
  border: 1px solid rgba(25, 46, 89, 0.08);
  border-radius: 12px;
  margin-bottom: 26px;
  transition: opacity 0.25s ease;
}

.dept-stat-box {
  text-align: center;
  position: relative;
}

.dept-stat-box:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: rgba(25, 46, 89, 0.12);
}

.dept-stat-val {
  font-family: var(--font-sans);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--theme-navy);
  line-height: 1.2;
}

.dept-stat-lbl {
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  margin-top: 2px;
}

/* Action Bar & Controls */
.dept-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: auto;
  padding-top: 10px;
}

.dept-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.dept-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: linear-gradient(135deg, #d1143e 0%, #d1143e 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(25, 46, 89, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.dept-btn-primary:hover {
  background: linear-gradient(135deg, var(--theme-gold) 0%, #e5b30b 100%);
  color: var(--theme-navy-dark);
  box-shadow: 0 8px 24px rgba(254, 201, 23, 0.4);
  transform: translateY(-2px);
}

.dept-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: #ffffff;
  color: var(--theme-navy);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1.5px solid #cbd5e1;
  transition: all 0.25s ease;
}

.dept-btn-secondary:hover {
  border-color: var(--theme-navy);
  background-color: rgba(25, 46, 89, 0.04);
  color: var(--theme-navy);
  transform: translateY(-1px);
}

.dept-nav-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dept-nav-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: var(--theme-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.dept-nav-arrow:hover {
  background: var(--theme-navy);
  color: #ffffff;
  border-color: var(--theme-navy);
  transform: scale(1.06);
}

/* Crossfade transitions */
.dept-switching {
  opacity: 0.35 !important;
  transform: scale(0.99);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .dept-main-title {
    font-size: 2.2rem;
  }
  .dept-media-frame {
    height: 280px;
  }
  .campus-preview-body.dept-content-body {
    padding: 24px 20px;
  }
  .dept-title-heading {
    font-size: 1.7rem;
  }
}

@media (max-width: 575px) {
  .dept-main-title {
    font-size: 1.85rem;
  }
  .dept-media-frame {
    height: 230px;
  }
  .dept-floating-top {
    top: 12px;
    left: 12px;
    right: 12px;
  }
  .dept-tag-glass, .dept-tag-age {
    font-size: 0.72rem;
    padding: 4px 10px;
  }
  .dept-media-quote {
    bottom: 10px;
    left: 12px;
    right: 12px;
    font-size: 0.8rem;
    padding: 8px 12px;
  }
  .dept-stats-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .dept-stat-box:not(:last-child)::after {
    display: none;
  }
  .dept-cta-group {
    width: 100%;
  }
  .dept-btn-primary, .dept-btn-secondary {
    width: 100%;
  }
  .dept-action-bar {
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   "KNES at a Glance" Facts Section
   -------------------------------------------------------------------------- */
.facts-section {
  position: relative;
  background: linear-gradient(135deg, var(--theme-navy) 0%, var(--theme-navy-dark) 100%);
  color: #ffffff;
  padding: 85px 0 95px;
  border-top: 4px solid var(--theme-gold);
  border-bottom: 4px solid var(--theme-gold);
  overflow: hidden;
  isolation: isolate;
}

.facts-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/kuwait_bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.14;
  mix-blend-mode: luminosity;
  pointer-events: none;
  z-index: 0;
}

.facts-section .container {
  position: relative;
  z-index: 1;
}

.facts-header {
  margin-bottom: 50px;
}

.facts-title {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.facts-subtitle {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 auto;
  max-width: 650px;
  line-height: 1.6;
}

.facts-grid-box {
  max-width: 940px;
  margin: 0 auto;
}

/* 2x2 Divider Lines */
.facts-row-top {
  border-bottom: 1px solid rgba(254, 201, 23, 0.22);
}

.facts-col-left {
  border-right: 1px solid rgba(254, 201, 23, 0.22);
}

.fact-cell {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 40px 40px;
}

.fact-cell-left {
  justify-content: flex-end;
}

.fact-cell-right {
  justify-content: flex-start;
}

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

.fact-num {
  font-family: var(--font-serif);
  font-size: 2.45rem;
  font-weight: 700;
  color: var(--theme-gold);
  line-height: 1.1;
  margin-bottom: 3px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.fact-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  white-space: nowrap;
}

.fact-icon-wrap {
  flex-shrink: 0;
  width: 85px;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.fact-cell:hover .fact-icon-wrap {
  transform: scale(1.08);
}

.fact-icon-img {
  width: 85px;
  height: 85px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.fact-cell:hover .fact-icon-img {
  transform: scale(1.12);
  filter: drop-shadow(0 0 12px rgba(254, 201, 23, 0.65));
}

/* --------------------------------------------------------------------------
   "Excellence in Teaching and Learning / Statement Of Educamb" Section
   (Exact 2x2 Checkerboard Split Section Replica)
   -------------------------------------------------------------------------- */
.excellence-community-section {
  width: 100%;
  background-color: #ffffff;
  overflow: hidden;
  position: relative;
}

.excellence-row {
  min-height: 520px;
}

/* --- Common Text Columns --- */
.excellence-text-col {
  display: flex;
  align-items: center;
  position: relative;
}

/* Top-Left Column */
.excellence-top-left {
  background-color: #ffffff;
  justify-content: flex-end;
  padding: 60px 65px 60px 40px;
}

@media (min-width: 1200px) {
  .excellence-top-left {
    padding-left: calc((100vw - 1200px) / 2 + 30px);
  }
}

.excellence-content-box {
  width: 100%;
  max-width: 485px;
}

.excellence-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: #131213;
  line-height: 1.22;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.excellence-desc {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  color: #84858e;
  line-height: 1.7;
  margin-bottom: 20px;
}

.excellence-subhead-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.excellence-red-line {
  display: inline-block;
  width: 36px;
  height: 2px;
  background-color: #fec917;
  flex-shrink: 0;
}

.excellence-subhead {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 700;
  color: #122247;
  margin: 0;
}

/* Checklist with red diamond bullets */
.excellence-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
}

.excellence-checklist li {
  display: flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: #636b75;
  font-weight: 500;
  margin-bottom: 11px;
  padding-left: 15px;
}

.bullet-diamond {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #122247;
  transform: rotate(45deg);
  margin-right: 8px;
  flex-shrink: 0;
}

/* Button */
.btn-excellence-readmore {
  display: inline-block;
  background-color: #d1143e;
  color: #ffffff !important;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 32px;
  border-radius: 0;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgb(244 67 54 / 43%);
}

.btn-excellence-readmore:hover {
  background-color: #fec917;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgb(205 161 14);
}

/* --- Common Image Columns (Width maintained full column, Height balanced properly) --- */
.excellence-img-col {
  position: relative;
  overflow: hidden;
  height: 600px;
  max-height: 600px;
}

.excellence-stairs-wrap,
.excellence-library-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 600px;
  overflow: hidden;
}

.excellence-full-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.excellence-stairs-wrap .excellence-full-img {
  object-position: center;
}

.excellence-library-wrap .excellence-full-img {
  object-position: center top;
}

/* Floating President Quote Box (Top Right) */
.president-quote-card {
  position: absolute;
  top: 50%;
  left: 60px;
  transform: translateY(-50%);
  width: calc(100% - 120px);
  max-width: 420px;
  background-color: rgb(254 201 23);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 34px 36px 30px;
  border-radius: 0;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.32);
  z-index: 2;
}

.president-quote-line {
  width: 50px;
  height: 2px;
  background-color: #15274e;
  margin-bottom: 18px;
}

.president-quote-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #122247;
  line-height: 1.45;
  margin: 0 0 18px 0;
  padding: 0;
  border: none;
}

.president-signature-wrap {
  margin-bottom: 10px;
}

.president-signature-img {
  height: 42px;
  width: auto;
  display: block;
  filter: brightness(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.president-name {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.president-title {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: #f8fdfe;
}

/* --- Bottom-Right: Statement of Educamb University --- */
.excellence-bottom-right {
  background-color: #f9f5f2;
  justify-content: flex-start;
  padding: 60px 40px 60px 65px;
}

@media (min-width: 1200px) {
  .excellence-bottom-right {
    padding-right: calc((100vw - 1200px) / 2 + 30px);
  }
}

.statement-content-box {
  width: 100%;
  max-width: 485px;
}

.statement-circle-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #d1143e;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  box-shadow: 0 4px 14px rgba(209, 20, 62, 0.3);
}

.statement-main-title {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 700;
  color: #131213;
  line-height: 1.22;
  margin-bottom: 34px;
  letter-spacing: -0.02em;
}

.statement-slider-container {
  position: relative;
  min-height: 220px;
}

.statement-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.statement-slide.active {
  display: block;
  opacity: 1;
}

.statement-feature-group {
  margin-bottom: 24px;
}

.statement-feature-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.feature-diamond-icon {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #d1143e;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.statement-feature-heading h4 {
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 700;
  color: #131213;
  margin: 0;
}

.statement-feature-desc {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: #84858e;
  line-height: 1.7;
  margin: 0 0 0 20px;
}

/* Navigation arrows */
.statement-arrow-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
}

.statement-nav-arrow {
  background: transparent;
  border: none;
  padding: 6px 12px 6px 0;
  color: #91908e;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.25s ease;
  line-height: 1;
}

.statement-nav-arrow:hover {
  color: #d1143e;
  transform: translateX(3px);
}

.statement-nav-arrow#statementPrevArrow:hover {
  transform: translateX(-3px);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .excellence-row {
    min-height: auto;
  }
  .excellence-top-left {
    padding: 50px 30px;
    justify-content: flex-start;
  }
  .excellence-bottom-right {
    padding: 50px 30px;
  }
  .excellence-content-box,
  .statement-content-box {
    max-width: 100%;
  }
  .excellence-img-col {
    height: 420px;
    max-height: 420px;
  }
  .excellence-stairs-wrap,
  .excellence-library-wrap {
    height: 420px;
    max-height: 420px;
  }
  .president-quote-card {
    left: 24px;
    width: calc(100% - 48px);
    max-width: 380px;
    padding: 24px 22px;
  }
  .president-quote-text {
    font-size: 1.1rem;
    line-height: 1.4;
  }
}

@media (max-width: 575.98px) {
  .excellence-title,
  .statement-main-title {
    font-size: 1.75rem;
  }
  .excellence-top-left,
  .excellence-bottom-right {
    padding: 38px 20px;
  }
  .excellence-img-col {
    height: 330px;
    max-height: 330px;
  }
  .excellence-stairs-wrap,
  .excellence-library-wrap {
    height: 330px;
    max-height: 330px;
  }
  .president-quote-card {
    left: 14px;
    width: calc(100% - 28px);
    padding: 16px 16px;
  }
  .president-quote-line {
    width: 35px;
    margin-bottom: 10px;
  }
  .president-quote-text {
    font-size: 0.95rem;
    line-height: 1.35;
    margin-bottom: 10px;
  }
  .president-signature-img {
    height: 28px;
  }
  .president-signature-wrap {
    margin-bottom: 6px;
  }
  .president-name {
    font-size: 0.92rem;
  }
  .president-title {
    font-size: 0.78rem;
  }
}

/* --------------------------------------------------------------------------
   "Overview of Education" Section (One-By-One Carousel Slider)
   -------------------------------------------------------------------------- */
.edu-slider {
  position: relative;
  width: 100%;
}

.edu-slider-viewport {
  overflow: hidden;
  width: 100%;
  padding: 12px 0 24px;
}

.edu-slider-track {
  display: flex;
  gap: 24px;
  will-change: transform;
  width: max-content;
}

.edu-slider-item {
  width: var(--edu-item-width, 424px);
  flex: 0 0 var(--edu-item-width, 424px);
  box-sizing: border-box;
}

.education-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.education-img-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.education-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.education-card:hover .education-card-img {
  transform: scale(1.05);
}

.education-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 38px;
  height: 38px;
  background: rgba(25, 46, 89, 0.9);
  backdrop-filter: blur(4px);
  border-radius: 6px;
  color: var(--theme-gold);
  border: 1px solid rgba(254, 201, 23, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.education-card-split {
  display: flex;
  flex: 1;
}

.education-split-left {
  flex: 0 0 30%;
  padding: 16px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.education-split-left.bg-crimson {
  background-color: var(--theme-gold) !important;
}

.education-split-left.bg-crimson h5 {
  color: var(--theme-navy) !important;
  font-weight: 800;
}

.education-split-left.bg-navy {
  background-color: var(--theme-navy) !important;
}

.education-split-left.bg-navy h5 {
  color: #ffffff !important;
  font-weight: 800;
}

.education-split-left h5 {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 0;
  line-height: 1.3;
}

.education-split-right {
  flex: 0 0 65%;
  background-color: #ffffff;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.education-split-right p {
  font-size: 0.82rem;
  line-height: 1.5;
  margin-bottom: 0;
  color: var(--text-muted);
}

/* Custom Carousel Controls for Education Section */
.edu-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

.edu-ctrl-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--deep-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.edu-ctrl-btn:hover {
  background-color: var(--theme-gold);
  color: var(--theme-navy);
  border-color: var(--theme-gold);
  box-shadow: 0 4px 12px rgba(254, 201, 23, 0.4);
}

.edu-ctrl-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.edu-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #cbd5e1;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.edu-dot.active {
  background-color: var(--theme-gold);
  width: 22px;
  border-radius: 5px;
}

/* --------------------------------------------------------------------------
   "Latest From Our Blog" Section (Exact Replica of Attached Image)
   -------------------------------------------------------------------------- */
.blog-section {
  padding: 85px 0 0;
  background-color: #ffffff;
}

.blog-header {
  margin-bottom: 48px;
}

.blog-title {
  font-family: var(--font-serif, "Playfair Display", Georgia, serif);
  font-size: 2.35rem;
  font-weight: 700;
  color: #172437;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.blog-subtitle {
  font-family: var(--font-sans, "Roboto", sans-serif);
  font-size: 0.94rem;
  color: #727e8c;
  margin: 0 auto;
  max-width: 650px;
}

/* Card 1: Modern Left Blog Card */
.blog-card-modern {
  background-color: #ffffff;
  border: 1px solid #ebe5e1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(25, 46, 89, 0.1);
  border-color: rgba(254, 201, 23, 0.3);
}

.blog-card-img-wrap {
  position: relative;
  overflow: visible;
  height: 200px;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.blog-card-modern:hover .blog-card-img {
  transform: scale(1.04);
}

.blog-badge-awards {
  display: inline-flex;
  align-items: center;
  background-color: var(--theme-gold);
  color: var(--theme-navy);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 3px;
}

.blog-card-img-wrap .blog-badge-awards {
  position: absolute;
  bottom: 0;
  left: 20px;
  transform: translateY(50%);
  z-index: 2;
}

.blog-card-body {
  padding: 28px 24px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-title {
  font-family: var(--font-serif, "Playfair Display", Georgia, serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
}

.blog-card-title a {
  color: #172437 !important;
  text-decoration: none;
  transition: color 0.25s ease;
}

.blog-card-title a:hover {
  color: var(--theme-navy) !important;
}

.blog-card-excerpt {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  color: #727e8c;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f0ece9;
  padding-top: 14px;
}

.blog-read-more-btn {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--theme-navy);
  text-decoration: none;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  transition: color 0.25s ease;
}

.blog-read-more-btn:hover {
  color: #b88200;
}

.blog-date-text {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  color: #727e8c;
  display: inline-flex;
  align-items: center;
}

/* Card 2: Center Tall Portrait Card */
.blog-portrait-card {
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-portrait-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(25, 46, 89, 0.12);
}

.blog-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex: 1;
  display: block;
}

/* Card 3: Right Column Stack */
.blog-right-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.blog-text-card {
  background-color: #ffffff;
  border: 1px solid #ebe5e1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-text-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(25, 46, 89, 0.1);
  border-color: rgba(254, 201, 23, 0.3);
}

/* 5x2 Interactive Feed / Social Grid */
.blog-5x2-wrapper {
 /* max-width: 1360px;*/
 margin: 90px auto 0;
 padding: 0 20px;
}

.blog-5x2-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.grid-tile {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.grid-tile-photo {
  padding: 0;
}

.grid-tile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.grid-tile-photo:hover .grid-tile-img {
  transform: scale(1.05);
}

.grid-tile-navy {
  background-color: var(--theme-navy);
  color: #ffffff;
}

.grid-tile-crimson {
  background-color: var(--theme-gold);
  color: var(--theme-navy);
}

.grid-tile-white {
  background-color: #ffffff;
  border: 1px solid #ebe5e1;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.04);
  color: #172437;
}

.grid-tile-header {
  display: flex;
  align-items: center;
}

.grid-avatar-img {
  width: 36px;
  height: 36px;
  display: block;
  flex-shrink: 0;
}

/* Navy & Crimson Tiles */
.grid-tile-navy .grid-date {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  color: #ffffff;
  opacity: 0.95;
}

.grid-tile-crimson .grid-date {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--theme-navy);
  opacity: 0.9;
}

.grid-tile-navy .grid-tile-title,
.grid-tile-navy .grid-tile-title a {
  font-family: var(--font-serif, "Playfair Display", Georgia, serif);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.32;
  color: #ffffff !important;
  text-decoration: none;
  margin: 8px 0 6px;
  display: block;
}

.grid-tile-crimson .grid-tile-title,
.grid-tile-crimson .grid-tile-title a {
  font-family: var(--font-serif, "Playfair Display", Georgia, serif);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.32;
  color: var(--theme-navy) !important;
  text-decoration: none;
  margin: 8px 0 6px;
  display: block;
}

.grid-tile-navy .grid-tile-text {
  font-family: var(--font-sans);
  font-size: .9rem;
  line-height: 1.45;
  color: #ffffff;
  opacity: 0.82;
  margin-bottom: 6px;
  overflow: hidden;
}

.grid-tile-crimson .grid-tile-text {
  font-family: var(--font-sans);
  font-size: .9rem;
  line-height: 1.45;
  color: var(--theme-navy);
  opacity: 0.85;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.grid-tile-navy .grid-tile-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: #ffffff;
  opacity: 0.88;
}

.grid-tile-crimson .grid-tile-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--theme-navy);
  opacity: 0.85;
  font-weight: 600;
}

/* White Tile */
.grid-tile-white .grid-date {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  color: #b88200;
}

.grid-tile-white .grid-tile-title,
.grid-tile-white .grid-tile-title a {
  font-family: var(--font-serif, "Playfair Display", Georgia, serif);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.32;
  color: #172437 !important;
  text-decoration: none;
  margin: 8px 0 6px;
  display: block;
}

.grid-tile-white .grid-tile-text {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.45;
  color: #727e8c;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.grid-tile-white .grid-tile-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: #727e8c;
}

@media (max-width: 1200px) {
  .blog-5x2-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-5x2-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .blog-5x2-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   "Top Companies are Hiring" Section (Accreditations / Partners Grid)
   -------------------------------------------------------------------------- */
.companies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1100px;
  margin: 36px auto 0;
}

.company-logo-card {
  background-color: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 3px 12px rgba(25, 46, 89, 0.03);
}

.company-logo-card img {
  max-width: 170px;
  max-height: 68px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.company-logo-card:hover {
  border-color: var(--theme-gold);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(25, 46, 89, 0.09);
}

.company-logo-card:hover img {
  transform: scale(1.05);
}

.company-icon {
  font-size: 2rem;
  color: var(--deep-navy);
  transition: var(--transition-fast);
}

.company-logo-card:hover .company-icon {
  color: var(--theme-navy);
}

.company-name {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

/* Responsive Alignment: Tablet & Mobile */
@media (max-width: 991px) {
  .companies-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px;
  }
  .company-logo-card {
    height: 115px;
    padding: 16px 18px;
  }
  .company-logo-card img {
    max-width: 140px;
    max-height: 58px;
  }
}

@media (max-width: 767px) {
  .companies-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 24px;
  }
  /* Center the 9th item on 2-column mobile layout */
  .companies-grid .company-logo-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 60%;
    margin: 0 auto;
    width: 100%;
  }
  .company-logo-card {
    height: 105px;
    padding: 14px 16px;
  }
  .company-logo-card img {
    max-width: 130px;
    max-height: 52px;
  }
}

@media (max-width: 480px) {
  .companies-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .companies-grid .company-logo-card:last-child:nth-child(odd) {
    max-width: 75%;
  }
  .company-logo-card {
    height: 90px;
    padding: 10px 12px;
  }
  .company-logo-card img {
    max-width: 110px;
    max-height: 44px;
  }
}

/* --------------------------------------------------------------------------
   Newsletter Floating Ribbon
   -------------------------------------------------------------------------- */
.newsletter-ribbon-wrapper {
  position: relative;
  z-index: 20;
  margin-bottom: -45px;
}

.newsletter-ribbon {
  background: linear-gradient(135deg, #d1143e 0%, #0f1e3d 100%);
  padding: 45px 40px;
  box-shadow: 0 16px 36px rgba(25, 46, 89, 0.35);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.newsletter-text h4 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.newsletter-text p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  margin-bottom: 0;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex: 0 0 420px;
  max-width: 100%;
}

.newsletter-input {
  flex: 1;
  padding: 12px 18px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.88rem;
  color: var(--text-dark);
}

.newsletter-input:focus {
  outline: 2px solid var(--theme-gold);
}

.newsletter-btn {
  background-color: var(--theme-gold);
  color: var(--theme-navy);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 12px 24px;
  border-radius: 4px;
  border: 2px solid var(--theme-gold);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.newsletter-btn:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  color: var(--theme-navy);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

/* --------------------------------------------------------------------------
   Footer Section
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--dark-bg);
  color: rgba(255, 255, 255, 0.7);
  padding: 110px 0 30px;
  position: relative;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.86rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 20px;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.footer-contact-list li {
  font-size: 0.85rem;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact-list i {
  color: var(--theme-gold);
  margin-top: 3px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

.footer-social-btn:hover {
  background-color: var(--theme-gold);
  color: var(--theme-navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(254, 201, 23, 0.4);
}

.footer-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: var(--theme-gold);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--theme-gold);
  transform: translateX(4px);
}

.footer-links a::before {
  content: '›';
  color: var(--theme-gold);
  font-size: 1.1rem;
  line-height: 1;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
  margin-left: 14px;
}

.footer-bottom a:hover {
  color: var(--theme-gold);
}

/* --------------------------------------------------------------------------
   Back to Top Button
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background-color: var(--theme-gold);
  color: var(--theme-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border: none;
  box-shadow: 0 6px 18px rgba(254, 201, 23, 0.45);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--theme-navy);
  color: var(--theme-gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(25, 46, 89, 0.45);
}

/* --------------------------------------------------------------------------
   Responsive Design Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 991.98px) {
  .site-navbar {
    padding: 0;
  }
  .navbar-collapse {
    background-color: #ffffff;
    padding: 20px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    margin-top: 12px;
  }
  .hero-title {
    font-size: 2.6rem;
  }
  .hero-slider .carousel-item {
    height: 580px;
  }
  .feature-bar-wrapper {
    margin-top: -20px;
  }
  .social-grid-wrapper,
  .blog-5x2-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .companies-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767.98px) {
  .top-bar-right {
    clip-path: none;
    justify-content: center;
    padding: 8px 12px;
  }
  .hero-slider .carousel-item {
    height: auto;
    min-height: 520px;
    padding: 60px 0 80px;
  }
  .hero-content {
    padding: 20px 0 40px;
    text-align: center;
  }
  .hero-content .d-flex {
    justify-content: center;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 0.95rem;
  }
  .feature-bar-wrapper {
    margin-top: 30px;
  }
  .hero-control-btn {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }
  .hero-control-prev { left: 10px; }
  .hero-control-next { right: 10px; }
  .section-padding {
    padding: 60px 0;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .about-knes-section {
    padding: 70px 0 60px;
  }
  .about-heading {
    font-size: 2.2rem;
  }
  .about-campus-img {
    height: 420px;
  }
  .about-image-showcase {
    margin-top: 24px;
    max-width: 440px;
  }
  .about-highlights-grid {
    gap: 12px;
  }
  .knes-portals-section {
    padding: 70px 0 80px;
  }
  .portals-title {
    font-size: 2.1rem;
  }
  .social-grid-wrapper,
  .blog-5x2-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .blog-portrait-card {
    min-height: 320px;
  }
  .facts-section {
    padding: 55px 0 65px;
  }
  .facts-title {
    font-size: 1.85rem;
  }
  .facts-grid-box {
    max-width: 100%;
  }
  .facts-col-left {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  }
  .facts-row-top {
    border-bottom: none;
  }
  .fact-cell {
    padding: 18px 20px;
    justify-content: center !important;
  }
  .fact-num {
    font-size: 2.1rem;
  }
  .fact-name {
    font-size: 0.92rem;
  }
  .newsletter-ribbon-wrapper {
    margin-bottom: -30px;
  }
  .newsletter-ribbon {
    padding: 24px;
    text-align: center;
  }
  .newsletter-text {
    width: 100%;
  }
  .newsletter-form {
    flex: 1 1 100%;
    flex-direction: column;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom a {
    margin: 0 8px;
  }
}

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

/* --------------------------------------------------------------------------
   Full-Screen Search Window Overlay
   -------------------------------------------------------------------------- */
.fullscreen-search-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100000;
  background: radial-gradient(circle at 50% 30%, rgb(20 30 115 / 54%), rgb(10 16 60 / 57%));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.fullscreen-search-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-overlay-container {
  width: 100%;
  max-width: 860px;
  position: relative;
  z-index: 2;
}

.search-overlay-close-btn {
  position: fixed;
  top: 32px;
  right: 40px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 10;
}

.search-overlay-close-btn:hover {
  background-color: var(--theme-gold);
  border-color: var(--theme-gold);
  color: var(--theme-navy);
  transform: rotate(90deg) scale(1.08);
  box-shadow: 0 0 20px rgba(254, 201, 23, 0.6);
}

.search-modal-inner {
  text-align: center;
  transform: translateY(24px) scale(0.96);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.fullscreen-search-overlay.open .search-modal-inner {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.search-modal-badge {
  display: inline-flex;
  align-items: center;
  background-color: rgba(254, 201, 23, 0.18);
  color: var(--theme-gold);
  border: 1px solid rgba(254, 201, 23, 0.4);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.search-modal-title {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.search-modal-subtitle {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.fullscreen-search-form {
  position: relative;
  width: 100%;
  margin-bottom: 30px;
}

.fullscreen-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 8px 12px 8px 24px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.fullscreen-search-input-wrap:focus-within {
  border-color: var(--theme-gold);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 40px rgba(254, 201, 23, 0.35);
}

.search-icon-left {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.5);
  margin-right: 14px;
}

.fullscreen-search-input-wrap:focus-within .search-icon-left {
  color: var(--theme-gold);
}

.fullscreen-search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.15rem;
  font-family: var(--font-sans);
  outline: none;
  padding: 10px 0;
}

.fullscreen-search-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.fullscreen-search-submit {
  background-color: var(--theme-gold);
  color: var(--theme-navy) !important;
  border: none;
  border-radius: 40px;
  padding: 12px 28px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: all 0.25s ease;
}

.fullscreen-search-submit:hover {
  background-color: var(--theme-gold-hover);
  box-shadow: 0 4px 15px rgba(254, 201, 23, 0.55);
}

.search-quick-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.tags-heading {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.6);
  margin-right: 6px;
}

.search-tag-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.search-tag-pill:hover {
  background: var(--theme-gold);
  border-color: var(--theme-gold);
  color: var(--theme-navy);
  transform: translateY(-2px);
}

.search-feedback-box {
  margin-top: 28px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 0.95rem;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Full-Screen Responsive Side Menu (Slides from side & covers full screen)
   -------------------------------------------------------------------------- */
.navbar-toggler-custom {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.25s ease;
}

.navbar-toggler-custom:hover {
  background-color: var(--theme-gold);
  color: var(--theme-navy);
}

.fullscreen-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99998;
  background: linear-gradient(135deg, #192e59 0%, #0f1e3d 100%);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.fullscreen-nav-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.drawer-close-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.drawer-close-btn:hover {
  background-color: var(--theme-gold);
  border-color: var(--theme-gold);
  color: var(--theme-navy);
  transform: rotate(90deg);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 32px 32px 48px;
  display: flex;
  flex-direction: column;
  max-width: 620px;
  width: 100%;
  margin: 0 auto;
}

.drawer-search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 12px 20px;
  border-radius: 30px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  cursor: pointer;
  margin-bottom: 28px;
  transition: all 0.25s ease;
}

.drawer-search-box:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--theme-gold);
  color: #ffffff;
}

.drawer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.drawer-nav-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-nav-link-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-nav-link {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  padding: 14px 0;
  transition: color 0.25s ease, transform 0.25s ease;
}

.drawer-nav-link:hover,
.drawer-nav-link.active {
  color: var(--theme-gold);
  transform: translateX(6px);
}

.submenu-toggle-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  padding: 12px;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.25s ease;
}

.submenu-toggle-btn:hover {
  color: #ffffff;
}

.submenu-toggle-btn.expanded {
  transform: rotate(180deg);
  color: var(--theme-gold);
}

.drawer-submenu {
  list-style: none;
  padding: 0 0 10px 18px;
  margin: 0;
  display: none;
}

.drawer-submenu.show {
  display: block;
}

.drawer-submenu li a {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  padding: 8px 0;
  transition: all 0.2s ease;
}

.drawer-submenu li a:hover {
  color: var(--theme-gold);
  transform: translateX(4px);
}

.drawer-contact-info {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}

.drawer-social-icons {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}

.drawer-social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}
.dept-advisor-strip{
  margin-top: 30px;
}
.drawer-social-icons a:hover {
  background-color: var(--theme-gold);
  border-color: var(--theme-gold);
  color: var(--theme-navy);
  transform: translateY(-2px);
}
footer .footer-brand img{
  width: 150px;
}
.top-bar .container-fluid.px-lg-5{
      padding-right: 0 !important;
    }
@media (max-width:1564px) {
  .navbar-nav .nav-link {
    padding: 10px 8px !important;
  }
}
@media (max-width:1480px) {
 
  .btn-crimson {
    background-color: #d1143e;
    padding: 12px 12px;
  }
  .navbar-brand img {
    height: 80px;
}
}
@media (max-width:1371px) {
  .navbar-nav .nav-item {
    padding: 0 !important;
}
.navbar-nav .nav-link {
    font-size: 0.9rem;
}
}
@media (max-width:1276px) {
   .btn-crimson.rgistrbtn{
    display: none;
  }
}
@media (max-width: 1150px) {
    .navbar-brand img {
        height: 60px;
    }
}
@media (max-width:996px) {
.hero-slider {
    position: relative;
    width: 100%;
    height: 70vh;;
    min-height: 480px;
    overflow: hidden;
}
.navbar-brand img {
    height: 80px;
}
.dept-advisor-strip h3 {
    font-size: 16px;
}
.fact-name {
    font-family: var(--font-serif);
    font-size: 1.2rem;
}
.fact-num {
    font-family: var(--font-serif);
    font-size: 2.15rem;
}
}
@media (max-width: 768px) {
  .mob-justify-content-center{
    justify-content: center;

  }
      .dept-advisor-strip h3 {
        font-size: 20px;
        border-radius: 15px 15px 0 0;
        text-align: center;
    }
  .hero-control-btn {
    background-color: #ffffff87;
  }
  .mob_hide{
    display: none !important;
  }
  .search-modal-title {
    font-size: 1.5rem;
  }
  .search-overlay-close-btn {
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }
  .fullscreen-search-submit {
    padding: 10px 18px;
    font-size: 0.8rem;
  }
}

@media (max-width: 580px) {
  .drawer-nav-link {
    font-size: 1.2rem;
  }
    .navbar-brand img {
        height: 65px;
    }
    .excellence-checklist {
    display: block;
}
.president-quote-card {
    position: absolute;
    top: 24%;
}
    .social-grid-wrapper, .blog-5x2-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 12px;
    }
        .companies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .top-bar .container-fluid.px-lg-5{
      padding-right: 12px !important;
    }
  }