/* ==========================================================================
   Kuwait National English School (KNES) - Core Stylesheet
   ========================================================================== */

html {
  scroll-behavior: smooth;
  min-height: 100%;
  position: relative;
}

section[id] {
  scroll-margin-top: 100px;
}

:root {
  --knes-navy: #344092;
  --knes-deep: #252e6d;
  --knes-card: #2c377c;
  --knes-teal: #344092;
  --knes-gold: #f8c62f;
  --knes-gold-light: #f8c62f;
  --knes-accent-yellow: #f8c62f;
  --knes-red: #344092;
  --knes-bg-light: #f8f9ff;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #1e293b;
  background-color: #ffffff;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
.font-heading {
  font-family: "Playfair Display", "Plus Jakarta Sans", sans-serif;
}

/* Strictly remove border radius from all images and image containers */
img,
.img-square,
.carousel-item img,
.photo-frame,
.stage-img-box {
  border-radius: 0px !important;
}

a {
  text-decoration: none;
}

.text-gold {
  color: var(--knes-gold) !important;
}

.text-navy {
  color: var(--knes-navy) !important;
}

.text-muted-custom {
  color: #64748b !important;
}

.card-hover-lift {
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.card-hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(52, 64, 146, 0.15) !important;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */

.btn-gold,
.btn-knes-primary,
.pill-read-more-btn {
  background-color: #f8c62f !important;
  color: #111111 !important;
  font-weight: 700 !important;
  border-radius: 30px !important;
  padding: 10px 24px !important;
  border: none !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  font-size: 13px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(248, 198, 47, 0.3) !important;
}

.btn-gold:hover,
.btn-knes-primary:hover,
.pill-read-more-btn:hover {
  background-color: #e5b420 !important;
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(248, 198, 47, 0.45) !important;
}

.btn-gold i,
.btn-knes-primary i,
.pill-read-more-btn i {
  background: var(--knes-card);
  color: var(--knes-gold);
  padding: 10px;
  border-radius: 100%;
  display: flex;
  font-weight: bold;
}

.btn-outline-navy {
  border: 2px solid #344092 !important;
  color: #344092 !important;
  border-radius: 30px !important;
  padding: 9px 22px !important;
  font-size: 13px !important;
  letter-spacing: 0.05em !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.btn-outline-navy i {
  background: var(--knes-card);
  color: var(--knes-gold);
  padding: 10px;
  border-radius: 100%;
  display: flex;
  font-weight: bold;
}

.btn-outline-navy:hover {
  background-color: #344092 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.section-badge {
  background-color: #eff2fe;
  color: #344092;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid #d7ddfc;
  border-radius: 50rem;
  padding: 4px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(52, 64, 146, 0.12);
  z-index: 1030;
  transition: box-shadow 0.3s ease;
}

.top-bar {
  max-height: 50px;
  opacity: 1;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, padding 0.35s ease, border-color 0.25s ease;
}

.site-header.scrolled .top-bar {
  max-height: 0;
  opacity: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-bottom-color: transparent !important;
}

.top-bar,
.top-bar a {
  font-size: 12px;
  border-bottom: 1px solid rgba(52, 64, 146, 0.08);
  background-color: #f8faff;
  color: #344092;
}

.topbar-phone-link {
  color: #344092 !important;
  transition: color 0.2s ease;
  text-decoration: none;
}

.topbar-phone-link:hover {
  color: #e5b420 !important;
}

.topbar-divider {
  color: rgba(52, 64, 146, 0.3);
}

.site-header .navbar>.container {
  flex-wrap: nowrap !important;
}

.header-logo-box {
  width: auto;
  max-width: 380px;
  height: 80px;
  transition: height 0.3s ease;
}

.header-logo-box img {
  object-position: left center;
}

.site-header.scrolled .header-logo-box {
  height: 68px;
}

.brand-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  line-height: 1;
  font-size: clamp(15px, 3.8vw, 20px);
  letter-spacing: -0.01em;
  color: #344092;
}

.brand-subtitle {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-top: 3px;
}

/* ==========================================================================
   Desktop Header Navigation
   ========================================================================== */

.header-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.header-nav-item {
  position: relative;
}

.header-nav-link {
  font-family: "Playfair Display", serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #344092;
  text-decoration: none;
  padding: 8px 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
  position: relative;
  white-space: nowrap;
}

.header-nav-link:hover,
.header-nav-item:hover>.header-nav-link {
  color: #d4a017;
}

.header-nav-link i {
  font-size: 10px;
  transition: transform 0.22s ease;
}

.header-nav-item:hover>.header-nav-link i {
  transform: rotate(180deg);
}

/* Hover Dropdown Menu */
.header-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background-color: #ffffff;
  border: 1px solid rgba(52, 64, 146, 0.12);
  border-top: 3px solid #f8c62f;
  box-shadow: 0 16px 36px rgba(52, 64, 146, 0.16);
  border-radius: 0 0 8px 8px;
  padding: 8px 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1050;
}

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

.header-dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #2c377c;
  text-decoration: none;
  transition: all 0.18s ease;
}

.header-dropdown-link:hover {
  background-color: #f8faff;
  color: #344092;
  padding-left: 22px;
}

.header-dropdown-link i {
  font-size: 11px;
  opacity: 0.6;
}

.header-dropdown-link:hover i {
  opacity: 1;
  color: #f8c62f;
}

.hamburger-toggle-btn {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(52, 64, 146, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  position: relative;
  border-radius: 6px !important;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}

.hamburger-toggle-btn:hover {
  background-color: var(--knes-card);
}

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2.5px;
  background-color: #344092;
  border-radius: 2px !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
  transform-origin: center;
}

.hamburger-toggle-btn:hover .hamburger-bar {
  background-color: var(--knes-gold);
}

.hamburger-toggle-btn.is-active .hamburger-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
  background-color: #344092;
}

.hamburger-toggle-btn.is-active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-toggle-btn.is-active .hamburger-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
  background-color: #344092;
}

/* Mega Menu Dropdown Panel */
#megaMenuDropdown {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, visibility 0.4s ease;
  background-color: #344092;
  box-shadow: 0 25px 50px -12px rgba(52, 64, 146, 0.4);
  border-bottom: 4px solid #f8c62f;
}

#megaMenuDropdown.menu-open {
  max-height: 85vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 1;
  visibility: visible;
}

.mega-main-link {
  font-size: clamp(20px, 2.3vw, 34px);
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-decoration: none;
  display: inline-block;
  transition: all 0.22s ease;
}

.mega-main-link:hover {
  color: #f8c62f;
  transform: translateX(8px);
}

.mega-sub-link {
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 500;
  color: #e2e8f0;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}

.mega-sub-link:hover {
  color: #f8c62f;
  transform: translateX(4px);
}

.mega-title {
  color: #f8c62f;
  font-size: 22px;
  font-family: "Playfair Display", serif;
  letter-spacing: -0.01em;
}

.mega-bottom-highlight {
  background-color: #f8c62f;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.mega-bottom-highlight:hover {
  background-color: #e5b420;
}

.mega-bottom-highlight:hover .mega-arrow-circle {
  transform: translateX(6px);
}

.mega-arrow-circle {
  width: 40px;
  height: 40px;
  background-color: #344092;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
  transition: transform 0.25s ease;
}

.mega-banner-text {
  font-size: clamp(13px, 3.5vw, 17px);
  letter-spacing: -0.01em;
}

.border-top-subtle {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   Hero Intro & Full Width Banner Slider
   ========================================================================== */

.hero-intro-section {
  background-color: #ffffff;
  padding-top: clamp(4rem, 6vw, 6rem);
  padding-bottom: clamp(3.5rem, 5vw, 5rem);
}

.hero-main-title {
  color: #111827;
  font-family: "Playfair Display", serif;
  letter-spacing: -0.025em;
  font-size: clamp(1.85rem, 4.8vw, 3.6rem);
}

.hero-intro-lead {
  color: #4b5563;
  font-size: 16.5px;
  line-height: 1.75;
}

.hero-slider-frame {
  height: clamp(400px, 55vw, 660px);
  width: 100%;
}

.banner-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(52, 64, 146, 0.3) 0%,
      rgba(37, 46, 109, 0.15) 50%,
      rgba(37, 46, 109, 0.5) 100%);
}

.hero-carousel-btn {
  width: 48px;
  height: 48px;
  background: rgba(52, 64, 146, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50% !important;
  color: #ffffff;
  transition: all 0.25s ease;
  opacity: 0.9;
}

.hero-carousel-btn:hover {
  background: #f8c62f;
  color: #111111;
  opacity: 1;
  transform: scale(1.05);
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50% !important;
  margin: 0 5px;
  background-color: #ffffff;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.carousel-indicators .active {
  background-color: #f8c62f;
  opacity: 1;
}

/* ==========================================================================
   Overlaid Stat Cards
   ========================================================================== */

.stat-overlay-section {
  position: relative;
  z-index: 20;
  margin-top: -3.5rem;
}

@media (min-width: 768px) {
  .stat-overlay-section {
    margin-top: -5.5rem;
  }
}

@media (min-width: 1200px) {
  .stat-overlay-section {
    margin-top: -6.5rem;
  }
}

.stat-card {
  background-color: #344092 !important;
  border-color: rgba(248, 198, 47, 0.2) !important;
}

.stat-icon-box {
  width: 48px;
  height: 48px;
  background-color: rgba(248, 198, 47, 0.2);
  color: #f8c62f;
  font-size: 22px;
}

.stat-card-text {
  font-size: 13.5px;
  line-height: 1.6;
}

/* ==========================================================================
   About Us & Campus Facilities (100% Full Width Sections)
   ========================================================================== */

.about-section {
  background-color: #ffffff;
  border-color: #e2e8f0 !important;
}

.facilities-section {
  background-color: #f8faff;
  border-color: #e2e8f0 !important;
}

.split-text-col {
  padding-left: clamp(2rem, 6vw, 6rem) !important;
  padding-right: clamp(1.5rem, 4vw, 4rem) !important;
}

.split-facilities-col {
  padding-left: clamp(1.5rem, 4vw, 4rem) !important;
  padding-right: clamp(2rem, 6vw, 6rem) !important;
}

.section-heading {
  color: #344092;
  font-family: "Playfair Display", serif;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1.2;
}

.section-lead-p {
  font-size: 15.5px;
  line-height: 1.8;
}

.split-image-box {
  min-height: 680px;
}

.split-image-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 1.5rem;
  padding: 0.5rem 1rem;
  background-color: #344092;
  color: #ffffff;
}

.split-badge-text {
  font-size: 12px;
  letter-spacing: 0.04em;
}

.facilities-list {
  font-size: 13.5px;
}

/* ==========================================================================
   Stages of Learning
   ========================================================================== */

.stages-section {
  background-color: #f7f6f2;
  padding-top: 5.5rem !important;
  padding-bottom: 6rem !important;
}

.dept-header-label {
  color: #64748b;
  font-size: 13.5px;
  letter-spacing: 0.12em;
}

.stages-main-title {
  font-family: "Playfair Display", serif;
  letter-spacing: -0.02em;
  color: #344092;
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
}

.stepper-circles-row {
  margin-bottom: 14px;
}

.stepper-circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50% !important;
  border: 2px solid #cbd5e1;
  background-color: #ffffff;
  color: #64748b;
  font-family: "Playfair Display", serif;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  position: relative;
  outline: none;
}

.stepper-circle-btn:hover {
  border-color: #344092;
  color: #344092;
  transform: translateY(-2px);
}

.stepper-circle-btn.active {
  background-color: #344092 !important;
  border-color: #344092 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(52, 64, 146, 0.35);
  transform: scale(1.12);
}

.stepper-track {
  height: 4px;
  background-color: #cbd5e1;
  border-radius: 999px;
  margin-bottom: 14px;
}

.stepper-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 13%;
  background-color: #344092;
  border-radius: 999px;
  transition: all 0.35s ease;
}

.stepper-nav-bar {
  width: 100%;
}

.stepper-nav-item {
  cursor: pointer;
  font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  letter-spacing: clamp(0.01em, 1vw, 0.05em);
  font-size: clamp(10.5px, 2.6vw, 13.5px);
  transition: color 0.2s ease;
  padding: 4px 6px !important;
  white-space: nowrap;
}

.tab-btn-active {
  color: #344092 !important;
  font-weight: 800 !important;
}

.tab-btn-inactive {
  color: #64748b !important;
}

@media (max-width: 575.98px) {
  .stepper-circle-btn {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
}

.stepper-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50% !important;
  border: 1.5px solid #344092;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #344092;
  transition: all 0.2s ease;
}

.stepper-arrow-btn:hover {
  background: #344092;
  border-color: #344092;
  color: #f8c62f;
}

.stage-main-box {
  height: clamp(180px, 30vw, 250px);
}

.stage-sub-box {
  height: clamp(120px, 20vw, 180px);
}

.stage-subtitle {
  color: #344092;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.stage-title {
  color: #111827;
  font-family: "Playfair Display", serif;
  letter-spacing: -0.02em;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
}

.stage-desc {
  color: #4b5563;
  font-size: 15px;
  line-height: 1.8;
}

/* ==========================================================================
   Term Calendar
   ========================================================================== */

.calendar-section {
  background-color: #f1f5f9;
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.icon-box-navy {
  width: 44px;
  height: 44px;
  background-color: #eff2fe;
  color: #344092;
  font-size: 24px;
}

.calendar-title {
  color: #344092;
  font-family: "Playfair Display", serif;
  letter-spacing: -0.02em;
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
}

.badge-navy-pill {
  background-color: #344092;
  color: #ffffff;
  font-size: 13px;
  border-radius: 6px;
}

.calendar-card {
  background-color: #ffffff;
  border-radius: 0;
}

.calendar-mini-box {
  background-color: #f8faff;
  border-color: #e2e8f0 !important;
}

.card-navy-heading {
  color: #344092;
  font-family: "Playfair Display", serif;
}

.cal-weekday-row {
  font-size: 13px;
}

.cal-days-row {
  font-size: 13.5px;
}

.cal-active-gold {
  width: 32px;
  display: flex;
  height: 32px;
  background-color: #f8c62f;
  border-radius: 4px;
  margin: auto;
  justify-content: center;
  align-items: center;
}

.cal-active-navy {
  width: 32px;
  height: 32px;
  background-color: #344092;
  color: #fff;
  border-radius: 4px;
  display: flex;
  margin: auto;
  justify-content: center;
  align-items: center;
}

.cal-subheading {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #64748b;
}

.cal-event-item {
  background-color: #f8faff;
  border: 1px solid #e2e8f0;
}

.cal-date-gold {
  width: 58px;
  height: 58px;
  background-color: #f8c62f;
  color: #111111;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}

.cal-date-gold .cal-date-month {
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.cal-date-navy {
  width: 58px;
  height: 58px;
  background-color: #344092;
  color: #ffffff;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}

/* ==========================================================================
   Student Life
   ========================================================================== */

.student-life-section {
  background-color: #ffffff;
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}

.section-title-box {
  max-width: 680px;
}

.student-life-title {
  color: #344092;
  font-family: "Playfair Display", serif;
}

.student-life-card {
  height: clamp(300px, 60vw, 380px);
}

.student-life-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top,
      rgba(52, 64, 146, 0.9) 0%,
      rgba(52, 64, 146, 0.2) 60%,
      transparent 100%);
}

.student-life-badge {
  background-color: #f8c62f;
  color: #111111;
  font-size: 12px;
  letter-spacing: 0.06em;
  border-radius: 4px;
}

/* ==========================================================================
   Panoramic Tour Banner
   ========================================================================== */

.panoramic-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: clamp(240px, 42vw, 420px);
  background-color: #344092;
}

.panoramic-img {
  opacity: 0.75;
}

.panoramic-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(52, 64, 146, 0.65);
}

.tour-play-btn {
  width: clamp(56px, 12vw, 76px);
  height: clamp(56px, 12vw, 76px);
  background-color: #f8c62f;
  border: none;
  color: #111111;
  font-size: clamp(20px, 4vw, 26px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-radius: 50% !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}

.tour-play-btn::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  border: 2px solid rgba(248, 198, 47, 0.7);
  animation: tour-pulse 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  pointer-events: none;
}

@keyframes tour-pulse {
  0% {
    transform: scale(0.92);
    opacity: 0.95;
  }

  50% {
    transform: scale(1.18);
    opacity: 0.45;
  }

  100% {
    transform: scale(1.36);
    opacity: 0;
  }
}

.tour-play-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 0 25px rgba(248, 198, 47, 0.65) !important;
}

.tour-text {
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px;
  transition: color 0.2s ease;
}

.tour-text:hover {
  color: #f8c62f;
}

/* YouTube Video Popup Modal */
.tour-video-modal .modal-content {
  background: transparent;
  border: none;
  box-shadow: none;
}

.tour-video-modal .video-frame-box {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #000000;
}

.tour-video-modal .modal-close-btn {
  position: absolute;
  top: -44px;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
  z-index: 1056;
}

.tour-video-modal .modal-close-btn:hover {
  opacity: 1;
  transform: scale(1.12);
  color: #f8c62f;
}

/* ==========================================================================
   Blog & Insights
   ========================================================================== */

.blog-section {
  background-color: #f7f6f2;
  padding-top: 5.5rem !important;
  padding-bottom: 6rem !important;
}

.blog-title-box {
  max-width: 720px;
}

.blog-main-title {
  color: #344092;
  font-family: "Playfair Display", serif;
  letter-spacing: -0.02em;
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
}

.blog-card {
  background: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(52, 64, 146, 0.08), 0 8px 10px -6px rgba(52, 64, 146, 0.04);
  transition: all 0.3s ease;
}

.blog-card:hover {
  box-shadow: 0 20px 35px -5px rgba(52, 64, 146, 0.16), 0 10px 15px -6px rgba(52, 64, 146, 0.08);
  transform: translateY(-4px);
}

.blog-featured-img-wrap {
  height: clamp(190px, 35vw, 290px);
}

.blog-category-badge {
  background-color: #f8c62f;
  color: #111111;
  font-size: 11px;
  letter-spacing: 0.05em;
  border-radius: 4px;
  font-weight: 700;
}

.blog-read-more-link {
  font-size: 12px;
  font-weight: 700;
  color: #344092;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.blog-read-more-link:hover {
  color: #e5b420;
  transform: translateX(4px);
}

/* ==========================================================================
   Admissions CTA Section (Blue Background)
   ========================================================================== */

.admissions-cta-section {
  background: linear-gradient(135deg, #1b2361 0%, #283380 50%, #344092 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 50px;
  padding-bottom: 0 !important;
}

.admissions-cta-cutout-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  line-height: 0;
}

.admissions-cta-cutout-img {
  max-height: 440px;
  width: auto;
  max-width: 100%;
  display: block;
  margin-bottom: 0 !important;
  vertical-align: bottom;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.28));
  transition: transform 0.3s ease;
}

.admissions-cta-cutout-img:hover {
  transform: translateY(-4px);
}

.admissions-cta-badge {
  color: #f8c62f;
  font-size: 13px;
  letter-spacing: 0.18em;
  font-family: "Plus Jakarta Sans", sans-serif;
  border-bottom: 2px solid #f8c62f;
  padding-bottom: 4px;
}

.admissions-cta-heading {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.admissions-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 30px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
}

@media (max-width: 991.98px) {
  .admissions-cta-section {
    padding-top: 36px;
  }

  .admissions-cta-cutout-img {
    max-height: 340px;
  }
}


/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: #252e6d;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.border-white-subtle {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.footer-logo-box {
  width: 100%;
  height: 100px;
}

.footer-accred-badge {
  background-color: rgba(255, 255, 255, 0.06);
  font-size: 11.5px;
  color: #cbd5e1;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.12) !important;
  border-radius: 4px !important;
  transition: all 0.2s ease;
}

.footer-social-btn:hover {
  background-color: #f8c62f !important;
  color: #111111 !important;
}

.footer-accreditation-section {
  position: relative;
}

.footer-accred-title {
  font-size: 13px;
  letter-spacing: 0.15em;
  color: #cbd5e1;
}

.footer-accred-logo-item {
  background-color: #ffffff;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  border-radius: 0 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  text-decoration: none;
}

.footer-accred-logo-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.footer-accred-logo-item img {
  max-height: 42px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

footer li a {
  font-size: 15px;
}

/* ==========================================================================
   Mobile Responsiveness Enhancements
   ========================================================================== */

@media (max-width: 575.98px) {

  .btn-gold,
  .btn-knes-primary,
  .pill-read-more-btn {
    padding: 8px 16px !important;
    font-size: 11.5px !important;
    letter-spacing: 0.03em !important;
  }

  .brand-title {
    font-size: clamp(14px, 4vw, 17px) !important;
  }
}

/* ==========================================================================
   Calendar, Blog & Footer Component Helpers
   ========================================================================== */

.cal-event-desc {
  font-size: 13px;
}

.cal-date-month-gold {
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.05em;
  color: #f8c62f;
}

.cal-date-month-slate {
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.05em;
  color: #cbd5e1;
}

.cal-date-deep {
  width: 58px;
  height: 58px;
  background-color: #252e6d;
  color: #ffffff;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}

.blog-side-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
}

.blog-side-thumb {
  min-height: 195px;
}

.blog-card-heading-sm {
  color: #344092;
  font-family: "Playfair Display", serif;
  line-height: 1.35;
}

.blog-tag-navy {
  background-color: #344092;
  color: #ffffff;
  font-size: 10px;
  letter-spacing: 0.05em;
  border-radius: 3px;
}

.blog-tag-gold {
  background-color: #f8c62f;
  color: #111111;
  font-size: 10px;
  letter-spacing: 0.05em;
  border-radius: 3px;
}

.footer-col-title {
  font-size: 13px !important;
  letter-spacing: 0.08em;
  color: #f8c62f !important;
}

.footer-link-list {
  font-size: 13px;
}

.footer-contact-block {
  font-size: 13px;
}

.footer-stroke-icon {
  color: #f8c62f;
  line-height: 1.2;
  width: 22px;
}

.footer-contact-heading {
  font-size: 11px;
  letter-spacing: 0.08em;
  font-family: "Playfair Display", serif;
}

.footer-contact-block a {
  color: #94a3b8;

}

.footer-contact-desc {
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.55;
}

.footer-maps-link {
  color: #f8c62f;
  font-size: 12px;
  text-decoration: underline;
  font-weight: 500;
}

.footer-maps-link:hover {
  color: #e5b420;
}

/* ==========================================================================
   Header & Navbar Responsive Optimizations (Mobile & Tablet)
   ========================================================================== */

@media (max-width: 991.98px) {
  .header-logo-box {
    height: 58px;
    max-width: 250px;
  }

  .site-header.scrolled .header-logo-box {
    height: 50px;
  }
}

@media (max-width: 767.98px) {
  .site-header .navbar>.container {
    flex-wrap: nowrap !important;
  }

  .header-logo-box {
    height: 48px;
    max-width: 190px;
  }

  .site-header.scrolled .header-logo-box {
    height: 42px;
  }
}

@media (max-width: 575.98px) {
  .site-header .navbar {
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
  }

  .header-logo-box {
    height: 40px;
    max-width: 190px;
  }

  .site-header.scrolled .header-logo-box {
    height: 36px;
  }

  .hamburger-toggle-btn {
    width: 38px;
    height: 38px;
    gap: 4px;
    border-radius: 6px !important;
  }

  .hamburger-bar {
    width: 18px;
    height: 2px;
  }

  .hamburger-toggle-btn.is-active .hamburger-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .hamburger-toggle-btn.is-active .hamburger-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-register-btn {
    padding: 6px 11px !important;
    font-size: 11px !important;
    gap: 6px !important;
    letter-spacing: 0.03em !important;
  }

  .nav-register-btn i {
    padding: 5px !important;
    font-size: 10px !important;
  }
}

@media (max-width: 380px) {
  .header-logo-box {
    height: 36px;
    max-width: 120px;
  }

  .nav-register-btn {
    padding: 5px 8px !important;
    font-size: 10px !important;
    gap: 4px !important;
  }

  .nav-register-btn i {
    padding: 4px !important;
    font-size: 9px !important;
  }

  .hamburger-toggle-btn {
    width: 36px;
    height: 36px;
  }
}