* {
  box-sizing: border-box;
}

body {
   background-color: #00f2fe !important;
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  color: #333333;
}

/* Header Main Wrapper */
.header-wrapper {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  z-index: 100;
}

/* 1. TOP BLUE ANNOUNCEMENT BAR */
.top-bar {
  background-color: #031b4e;
  color: #ffffff;
  font-size: 13px;
  height: 38px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 15;
}

.badge-news {
  background-color: #ff2a3b;
  color: #fff;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  letter-spacing: 0.3px;
}

.top-links a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 8px;
  margin-right: 8px;
  font-size: 12px;
  transition: color 0.2s ease;
}

.top-links a:hover {
  color: #ffe066;
  text-decoration: underline;
}

.divider {
  color: rgba(255, 255, 255, 0.4);
}

/* 2. MAIN WHITE HEADER */
.header-main {
  background-color: #eafcfb !important;
  position: relative;
  z-index: 15;
  border-bottom: 1px solid #e2e8f0;
  padding-top: 2px;
  padding-bottom: 2px;
}

/* School Logo & Title */
.school-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0 !important;
  min-width: 0;
  /* Prevents overflow in flexbox */
}

.school-logo {
  height: 82px;
  width: auto;
  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.15));
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.school-title {
  color: #0b2567;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: 0.2px;
  line-height: 1.15;
  margin-bottom: 2px;
  transition: font-size 0.3s ease;
  white-space: normal;
}

.school-subtitle {
  color: #444444;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
  transition: font-size 0.3s ease;
}

/* 3. 3D GLOSSY NAVBAR */
.navbar-container-relative {
  position: relative;
}

.custom-nav-bar {
  background: linear-gradient(180deg, #186bb5 0%, #083267 50%, #041f43 100%);
  border: 2px solid #d4af37;
  border-radius: 30px;
  padding: 11px 6px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}

.custom-nav-bar .nav-item-btn {
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 600;
  padding: 9px 11px !important;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1.2;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  border-radius: 20px;
  white-space: nowrap;
}

.custom-nav-bar .nav-item-btn:hover,
.custom-nav-bar .nav-item-btn.active-menu {
  background: rgba(255, 255, 255, 0.2);
  color: #ffe066 !important;
  transform: translateY(-1px);
}

.custom-nav-bar .nav-item-btn i {
  font-size: 12px;
}

/* Active Yellow Home Button */
.custom-nav-bar .nav-item-btn.active-home {
  background: linear-gradient(180deg, #ffe066 0%, #d49300 100%);
  color: #000000 !important;
  border-radius: 20px;
  font-weight: 800;
  padding: 10px 13px !important;
  box-shadow:
    inset 0px 1px 2px rgba(255, 255, 255, 0.9),
    0px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Search Button Circle inside Nav Bar */
.search-btn-circle {
  background: #ffffff;
  color: #0b2567;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}

.search-btn-circle:hover {
  background: #ffe066;
  transform: scale(1.08);
}

/* 4. COMPACT BOUNDED DESKTOP MEGA MENU DROPDOWN */
.desktop-mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: 820px;
  max-width: 92vw;
  background: #ffffff;
  border-radius: 16px;
  box-shadow:
    0 15px 35px rgba(3, 27, 78, 0.2),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  border-top: 4px solid #d4af37;
  z-index: 1000;
  display: none;
  opacity: 0;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.desktop-mega-menu.show {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Menu Triangle Arrow Pointer */
.desktop-mega-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 8px 8px 8px;
  border-style: solid;
  border-color: transparent transparent #d4af37 transparent;
}

.mega-menu-inner {
  padding: 18px 20px 20px 20px;
}

.mega-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  height: 100%;
  transition: all 0.25s ease;
}

.mega-card:hover {
  border-color: #186bb5;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.mega-card-title {
  color: #0b2567;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 8px;
  padding-bottom: 5px;
  border-bottom: 2px solid #d4af37;
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.mega-links li {
  margin-bottom: 6px;
}

.mega-links li:last-child {
  margin-bottom: 0;
}

.mega-links a {
  color: #475569;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  padding: 3px 6px;
  border-radius: 5px;
}

.mega-links a:hover {
  color: #0b2567;
  background: #e0f2fe;
  padding-left: 10px;
}

/* Non-blocking invisible backdrop overlay for menu closing */
.mega-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: transparent;
  z-index: 99;
  display: none;
}

.mega-backdrop.show {
  display: block;
}

/* 5. FLOATING FOUNDER BOX */
.founder-wrapper {
  position: absolute;
  top: 0;
  right: 20px;
  z-index: 20;
  text-align: center;
  width: 120px;
  pointer-events: none;
}

.founder-card {
  pointer-events: auto;
  display: inline-block;
  text-decoration: none;
}

.founder-img {
  height: 120px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.25));
  transition: transform 0.3s ease;
}

.founder-card:hover .founder-img {
  transform: scale(1.03);
}

.founder-badge-box {
  background: linear-gradient(180deg, #f5d061 0%, #8c5b05 100%);
  color: #ffffff;
  font-size: 7.5px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 8px;
  border: 1px solid #ffffff;
  margin-top: -10px;
  display: inline-block;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.founder-subtext {
  font-size: 8px;
  color: #fce05f;
  font-style: italic;
  display: block;
  margin-top: 1px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
}
.mobile-nav-toggle {
  background: linear-gradient(180deg, #186bb5 0%, #083267 100%);
  border: 1.5px solid #d4af37;
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 18px;
  font-weight: 700;
  font-size: 11.5px;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  white-space: nowrap;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 290px;
  max-width: 85vw;
  height: 100vh;
  background: #031b4e;
  z-index: 10000;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
  transition: right 0.35s ease-in-out;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  padding: 14px 16px;
  background: #021235;
  border-bottom: 2px solid #d4af37;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-drawer-title {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

.btn-close-drawer {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
}

.mobile-drawer-body {
  padding: 10px;
  flex-grow: 1;
}

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

.mobile-menu-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 8px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffe066;
}

.mobile-submenu {
  display: none;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px 0;
  border-radius: 6px;
  margin-bottom: 6px;
}

.mobile-submenu a {
  display: block;
  padding: 6px 12px 6px 28px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s ease;
}

.mobile-submenu a:hover {
  color: #ffe066;
}

.mobile-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  z-index: 9998;
  display: none;
}

.mobile-backdrop.active {
  display: block;
}

.school-section {
  width: 100%;
}
.school-layout {
  display: flex;
  gap: 15px;
  align-items: stretch;
}
.school-hero {
  position: relative;
  flex: 1;
  min-width: 0;
  height: clamp(350px, 43vw, 510px);
  overflow: hidden;
  background: #e8edf3;
  border: 1px solid #c9d2df;
  isolation: isolate;
}
.school-carousel {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.school-carousel,
.school-carousel .carousel-inner,
.school-carousel .carousel-item {
  height: 100%;
}

.school-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.school-carousel .carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 31, 66, 0.08), transparent 60%);
}
.hero-decoration {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}
.hero-message {
  position: absolute;
  z-index: 4;
  left: 2.2%;
  top: 50%;
  transform: translateY(-50%);
  width: 17%;
  min-width: 150px;
  max-width: 250px;
  color: white;
  text-align: center;

  margin-top: 100px !important;
}
.message-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 0 auto 17px;
  width: 100%;
}
.message-line.bottom {
  margin: 17px auto 0;
}
.message-line span {
  display: block;
  height: 2px;
  flex: 1;
  background: linear-gradient(90deg, transparent, #ffc629, #fff2a0);
}
.message-line i {
  width: 12px;
  height: 12px;
  background: #ffc629;
  transform: rotate(45deg);
  flex-shrink: 0;
}
.hero-message h1 {
  margin: 0;
  font-size: clamp(23px, 2.2vw, 40px);
  line-height: 1.03;
  font-weight: 900;
  letter-spacing: -1.3px;
  text-transform: uppercase;
}

.hero-message h1 .white {
  display: block;
  color: #fff;
}

.hero-message h1 .gold {
  display: block;
  color: #ffc629;
}



.school-carousel .carousel-control-prev{
  z-index: 5;
  width: 62px;
  height: 62px;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  opacity: 1;
}

.school-carousel .carousel-control-prev-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.76);
  background-image: none;

  display: flex;
  align-items: center;
  justify-content: center;
}

.school-carousel .carousel-control-prev-icon::before {
  content: "";
  width: 17px;
  height: 17px;
  border-top: 4px solid #fff;
  border-right: 4px solid #fff;
  transform: rotate(-135deg);
  margin-left: -7px;
}



.school-carousel .carousel-control-next {
  z-index: 5;
  width: 62px;
  height: 62px;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  opacity: 1;
}

.school-carousel .carousel-control-next-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.76);
  background-image: none;

  display: flex;
  align-items: center;
  justify-content: center;
}

.school-carousel .carousel-control-next-icon::before {
  content: "";
  width: 17px;
  height: 17px;
  border-top: 4px solid #fff;
  border-right: 4px solid #fff;
  transform: rotate(45deg);
  margin-left: -7px;
}

.school-carousel .carousel-indicators {
  z-index: 6;
  bottom: 13px;
  margin-bottom: 0;
  gap: 12px;
}

.school-carousel .carousel-indicators [data-bs-target] {
  width: 14px;
  height: 14px;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background-color: #d9e0eb;
  opacity: 0.85;
}

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

.notice-board {
  width: 350px;
  min-width: 350px;
  height: auto;

  background: #ffffff;

  border-radius: 12px;
  overflow: hidden;

  border: 3px solid #d59b18;

  box-shadow:
    0 5px 20px rgba(0, 0, 0, 0.35),
    inset 0 0 0 2px #fff4c7;
}

.notice-header {
  position: relative;

  padding: 16px 15px;

  background: linear-gradient(135deg, #002b5c, #004b8d);

  color: white;

  text-align: center;

  border-bottom: 4px solid #e5aa22;
}

.notice-header::before,
.notice-header::after {
  content: "";
  position: absolute;

  width: 35px;
  height: 2px;

  top: 50%;

  background: #ffc629;
}

.notice-header::before {
  left: 12px;
}

.notice-header::after {
  right: 12px;
}

.notice-header h2 {
  margin: 0;

  font-size: 25px;
  font-weight: 900;

  text-transform: uppercase;

  color: #ffffff;

  letter-spacing: 1px;
}

.notice-header h2 span {
  color: #ffc629;
}

.notice-content {
  padding: 12px;
  background: #f7f9fc;
}

.notice-item {
  position: relative;

  display: flex;
  gap: 10px;

  padding: 16.4px 5px;

  border-bottom: 1px solid #d9dee6;
}

.notice-item:last-child {
  border-bottom: none;
}

.notice-date {
  width: 48px;
  min-width: 48px;
  height: 52px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background: #003b78;

  color: white;

  border-radius: 5px;

  overflow: hidden;
}

.notice-date strong {
  width: 100%;

  padding: 2px;

  background: #ffc629;

  color: #002b5c;

  font-size: 11px;

  text-align: center;
}

.notice-date span {
  font-size: 18px;
  font-weight: 800;
  line-height: 25px;
}

.notice-text {
  flex: 1;
}

.notice-text h4 {
  margin: 0 0 4px;

  color: #003b78;

  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.notice-text p {
  margin: 0;

  color: #666;

  font-size: 14px;
  line-height: 1.4;
}

.notice-footer {
  padding: 12px;

  background: #002b5c;

  text-align: center;
}

.notice-footer a {
  display: inline-block;

  padding: 7px 20px;

  color: #002b5c;
  background: #ffc629;

  border-radius: 20px;

  font-size: 13px;
  font-weight: 800;

  text-decoration: none;

  transition: 0.3s;
}

.notice-footer a:hover {
  background: white;
  color: #003b78;
}

/* =====================================
   TABLET + MOBILE
===================================== */

@media (max-width: 991px) {
  .school-layout {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  /* Carousel */
  .school-hero {
    position: relative;
    width: 100%;
    height: 430px;
    min-height: 430px;
    flex: none;
    overflow: hidden;
  }

  .school-carousel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .school-carousel .carousel-inner,
  .school-carousel .carousel-item {
    width: 100%;
    height: 100%;
  }

  .school-carousel .carousel-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Notice board */
  .notice-board {
    width: 100%;
    min-width: 100%;
  }

  .notice-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 15px;
  }

  .notice-item {
    border-bottom: 1px solid #d9dee6;
  }
}

/* =====================================
   SMALL MOBILE
===================================== */

@media (max-width: 576px) {
  .school-section {
    width: 100%;
  }

  .school-layout {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  /* MOBILE CAROUSEL */
  .school-hero {
    position: relative;
    width: 100%;
    height: 300px;
    min-height: 300px;
    max-height: 300px;
    flex: none;
    display: block;
    overflow: hidden;
    border-radius: 8px;
  }

  .school-carousel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

  .school-carousel .carousel-inner {
    width: 100%;
    height: 100%;
  }

  .school-carousel .carousel-item {
    width: 100%;
    height: 100%;
  }

  .school-carousel .carousel-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Left blue/gold text */
  .hero-message {
    left: 1%;
    width: 20%;
    min-width: 100px;
  }

  .hero-message h1 {
    font-size: clamp(19px, 5vw, 20px);
  }

  .message-line {
    margin-bottom: 12px;
  }

  .message-line.bottom {
    margin-top: 12px;
  }

  .message-line i {
    width: 8px;
    height: 8px;
  }

  /* Next arrow */
  .school-carousel .carousel-control-next {
    width: 40px;
    height: 40px;
    right: 5px;
  }

  .school-carousel .carousel-control-next-icon {
    width: 40px;
    height: 40px;
  }

  .school-carousel .carousel-control-next-icon::before {
    width: 11px;
    height: 11px;
    border-width: 3px;
  }

  .school-carousel .carousel-control-prev {
    width: 40px;
    height: 40px;
    right: 5px;
  }

  .school-carousel .carousel-control-prev-icon {
    width: 40px;
    height: 40px;
  }

  .school-carousel .carousel-control-prev-icon::before {
    width: 11px;
    height: 11px;
    border-width: 3px;
  }

  /* Indicators */
  .school-carousel .carousel-indicators {
    bottom: 10px;
    gap: 8px;
  }

  .school-carousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
  }

  /* Notice board */
  .notice-board {
    width: 100%;
    min-width: 100%;
  }

  .notice-content {
    display: block;
  }

  .notice-header h2 {
    font-size: 21px;
  }
}

/* CXOURSOL & NOTICEBOARD */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@600;700;800&display=swap");
.sn-nav-wrapper * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
}

.sn-nav-wrapper {
  width: 100%;
   background-color: #eafcfb !important;
}

.sn-nav-frame {
 background-color: #eafcfb !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 16px;
 /* box-shadow:
    0 10px 30px -5px rgba(0, 0, 0, 0.05),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;*/
  /*border: 1px solid rgba(226, 232, 240, 0.8);*/
  width: 100%;
}

.sn-nav-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 12px;
  width: 100%;
}

.sn-nav-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 105px;
  border-radius: 16px;
  text-decoration: none;
  color: #ffffff;
  padding: 10px 6px;
  text-align: center;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  isolation: isolate;
}

/* Subtle Light Glow Overlay */
.sn-nav-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transition: left 0.6s ease;
  z-index: 1;
}

.sn-nav-card:hover::before {
  left: 100%;
}

.sn-nav-card:hover {
  transform: translateY(-6px) scale(1.02);
}

.sn-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  margin-bottom: 8px;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.3s ease;
  z-index: 2;
}
.modern-header-wrapper {
  text-align: center;
  margin: 40px 0 30px;
}

.modern-header-wrapper h2.page-header {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #0f172a 0%, #0073e6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  border-bottom: none;
}

.modern-header-wrapper .header-accent {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0073e6, #00d2ff);
  margin: 0 auto;
  border-radius: 4px;
}
.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.sn-nav-card:hover .sn-icon-box {
  transform: scale(1.15) rotate(4deg);
  background: rgba(255, 255, 255, 0.3);
}

.sn-icon {
  font-size: 20px;
  color: inherit;
}

.sn-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.3px;
  word-break: break-word;
  z-index: 2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.sn-title small {
  font-size: 8px;
  font-weight: 600;
  display: block;
  margin-top: 2px;
  opacity: 0.9;
  letter-spacing: 0.1px;
}

/* Vibrant Modern Gradients */
.sn-bg-red {
  background: linear-gradient(135deg, #ff4b4b, #dc2626);
  box-shadow: 0 6px 16px -4px rgba(220, 38, 38, 0.4);
}

.sn-bg-blue {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  box-shadow: 0 6px 16px -4px rgba(29, 78, 216, 0.4);
}

.sn-bg-orange {
  background: linear-gradient(135deg, #ff8c00, #ea580c);
  box-shadow: 0 6px 16px -4px rgba(234, 88, 12, 0.4);
}

.sn-bg-green {
  background: linear-gradient(135deg, #10b981, #047857);
  box-shadow: 0 6px 16px -4px rgba(4, 120, 87, 0.4);
}

.sn-bg-purple {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  box-shadow: 0 6px 16px -4px rgba(109, 40, 217, 0.4);
}

.sn-bg-teal {
  background: linear-gradient(135deg, #14b8a6, #0f766e);
  box-shadow: 0 6px 16px -4px rgba(15, 118, 110, 0.4);
}

.sn-bg-pink {
  background: linear-gradient(135deg, #f43f5e, #be123c);
  box-shadow: 0 6px 16px -4px rgba(190, 18, 60, 0.4);
}

.sn-bg-violet {
  background: linear-gradient(135deg, #a855f7, #7e22ce);
  box-shadow: 0 6px 16px -4px rgba(126, 34, 206, 0.4);
}

.sn-bg-yellow {
  background: linear-gradient(135deg, #facc15, #eab308);
  color: #1e293b;
  box-shadow: 0 6px 16px -4px rgba(234, 179, 8, 0.4);
}

.sn-bg-yellow .sn-icon-box {
  background: rgba(0, 0, 0, 0.08);
}

.sn-bg-yellow:hover .sn-icon-box {
  background: rgba(0, 0, 0, 0.14);
}

.sn-bg-yellow .sn-title {
  text-shadow: none;
}

.hcs-pm-section-wrapper * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.hcs-pm-section-wrapper {
  background-color: #ebf1f8;
  padding: 24px 16px;
  width: 100%;
}

.hcs-pm-equal-card {
  height: 100%;
  min-height: 380px;
  display: flex;
  flex-direction: column;
}

.hcs-pm-principal-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 34, 84, 0.06);
  border: 1px solid #dbe5f0;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hcs-pm-principal-inner {
  display: flex;
  align-items: flex-end;
  height: 100%;
  position: relative;
  z-index: 2;
}

.hcs-pm-photo-container {
  width: auto;
  min-width: auto;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  align-self: flex-end;
  padding-left: 10px;
}

.hcs-pm-photo {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  object-position: bottom left;
  display: block;
}

.hcs-pm-text-container {
  flex: 1;
  padding: 28px 24px 28px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 3;
}

.hcs-pm-subtag {
  color: #d97706;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hcs-pm-title {
  color: #002254;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
}

.hcs-pm-description {
  color: #334155;
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 16px;
}

.hcs-pm-description strong {
  color: #0f172a;
  font-weight: 700;
}

.hcs-pm-author {
  margin-bottom: 18px;
}

.hcs-pm-author-name {
  color: #002b66;
  font-size: 1rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}

.hcs-pm-author-title {
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 500;
  margin: 0;
}

.hcs-pm-btn-read {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #002b66;
  color: #ffffff !important;
  padding: 9px 22px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
  transition: all 0.25s ease;
  box-shadow: 0 3px 8px rgba(0, 43, 102, 0.25);
}

.hcs-pm-btn-read:hover {
  background-color: #001f4d;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 43, 102, 0.35);
}

.hcs-pm-watermark-overlay {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  pointer-events: none;
  z-index: 1;
}

.hcs-pm-quote-icon {
  font-size: 5rem;
  color: rgba(219, 234, 254, 0.65);
  line-height: 1;
  margin-bottom: -15px;
  font-family: sans-serif;
  font-weight: 900;
}

.hcs-pm-script-text {
  font-family: "Caveat", cursive;
  font-size: 1.85rem;
  color: #002254;
  font-weight: 700;
  line-height: 1.05;
  position: relative;
  display: inline-block;
}

.hcs-pm-script-underline {
  width: 80%;
  height: 4px;
  background: #ffcc00;
  border-radius: 4px;
  margin-top: 4px;
  transform: rotate(-2deg);
}

.hcs-pm-events-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 34, 84, 0.06);
  border: 1px solid #dbe5f0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hcs-pm-events-header {
  background-color: #002b66;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
}

.hcs-pm-events-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hcs-pm-events-header-icon {
  color: #ffcc00;
  font-size: 1.35rem;
}

.hcs-pm-btn-view-all {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 4px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hcs-pm-btn-view-all:hover {
  background: #ffffff;
  color: #002b66;
}

/* Events List Body */
.hcs-pm-events-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 6px 0;
}

.hcs-pm-event-row {
  display: flex;
  align-items: center;
  padding: 11px 18px;
  text-decoration: none;
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.2s ease;
}

.hcs-pm-event-row:last-child {
  border-bottom: none;
}

.hcs-pm-event-row:hover {
  background-color: #f8fafc;
}

.hcs-pm-date-badge {
  background: linear-gradient(180deg, #0066ff 0%, #0052cc 100%);
  color: #ffffff;
  width: 48px;
  min-width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  box-shadow: 0 2px 6px rgba(0, 102, 255, 0.25);
}

.hcs-pm-date-badge .month {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
  margin-bottom: 2px;
}

.hcs-pm-date-badge .day {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
}

.hcs-pm-event-info {
  flex: 1;
  padding-right: 10px;
}

.hcs-pm-event-title {
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 3px;
}

.hcs-pm-event-location {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.hcs-pm-event-location i {
  color: #ef4444;
  font-size: 0.75rem;
}

.hcs-pm-event-arrow {
  color: #0052cc;
  font-size: 0.85rem;
  font-weight: bold;
  opacity: 0.7;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.hcs-pm-event-row:hover .hcs-pm-event-arrow {
  opacity: 1;
  transform: translateX(3px);
}

#desktopMegaMenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition:
    width 0.3s ease,
    max-width 0.3s ease;
  z-index: 1050;
  display: none;
}

#desktopMegaMenu.show {
  display: block;
}

#desktopMegaMenu[data-cards="1"] {
  width: 340px !important;
  max-width: 90vw;
}
#desktopMegaMenu[data-cards="2"] {
  width: 620px !important;
  max-width: 90vw;
}
#desktopMegaMenu[data-cards="3"] {
  width: 900px !important;
  max-width: 95vw;
}
#desktopMegaMenu[data-cards="4"] {
  width: 1140px !important;
  max-width: 95vw;
}
:root {
  --navy-primary: #002b7f;
  --navy-dark: #001f5c;
  --cream-bg: #ebe7d0;
  --cream-border: #f7efcb;
  --card-radius: 18px;
  --inner-radius: 14px;
  --text-dark: #0f172a;
}

.main-card-container {
  background: #ffffff;
  border-radius: var(--card-radius);
  box-shadow: 0 10px 30px rgba(0, 43, 127, 0.07);
  border: 1px solid rgba(0, 43, 127, 0.08);
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.section-header-title {
  color: var(--navy-primary);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-icon-wrapper {
  background-color: var(--navy-primary);
  color: white;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(0, 43, 127, 0.2);
}

.btn-learn-more {
  background-color: var(--navy-primary);
  color: white;
  border-radius: 10px;
  padding: 8px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
}

.btn-learn-more:hover {
  background-color: var(--navy-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 43, 127, 0.25);
}

.program-card {
  border-radius: var(--inner-radius);
  overflow: hidden;
  border: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 43, 127, 0.12);
}

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

.program-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

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

.program-card-body {
  background-color: var(--cream-bg);
  padding: 18px 16px 14px 16px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: none;
}

.program-title {
  color: var(--navy-primary);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.program-subtitle {
  color: #1e293b;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.2px;
}

.program-arrow {
  color: var(--navy-primary);
  font-size: 0.9rem;
  font-weight: bold;
  transition: transform 0.2s ease;
}

.program-card:hover .program-arrow {
  transform: translateY(3px);
}

.ai-assistant-card {
  background: #ffffff;
  border-radius: var(--card-radius);
  box-shadow: 0 10px 30px rgba(0, 43, 127, 0.08);
  border: 1px solid rgba(0, 43, 127, 0.08);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ai-header {
  background-color: var(--navy-primary);
  color: white;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-bot-avatar {
  width: 42px;
  height: 42px;
  background: white;
  color: var(--navy-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-right: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.ai-status-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  margin-right: 4px;
}

.ai-status-text {
  font-size: 0.75rem;
  color: #bbf7d0;
  font-weight: 500;
}

.ai-title {
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  margin: 0;
}

.ai-body {
  padding: 18px;
  background-color: #f8fafc;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.chat-container {
  max-height: 220px;
  overflow-y: auto;
  margin-bottom: 12px;
  padding-right: 4px;
}

.chat-bubble {
  background-color: #eef2ff;
  border-radius: 16px 16px 16px 4px;
  padding: 12px 16px;
  color: #1e293b;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.45;
}

.chat-bubble.user-msg {
  background-color: var(--navy-primary);
  color: white;
  border-radius: 16px 16px 4px 16px;
  align-self: flex-end;
  margin-left: auto;
  max-width: 85%;
}

.chip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.chip-btn {
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  text-align: left;
  width: 100%;
}

.chip-btn i {
  font-size: 1rem;
  color: var(--navy-primary);
}

.chip-btn:hover {
  border-color: var(--navy-primary);
  background-color: #f0f7ff;
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 43, 127, 0.05);
}

.ai-input-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-input {
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 10px 18px;
  font-size: 0.85rem;
  width: 100%;
  outline: none;
  transition: border-color 0.2s ease;
  background-color: #ffffff;
}

.ai-input:focus {
  border-color: var(--navy-primary);
}

.ai-send-btn {
  background-color: var(--navy-primary);
  color: white;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
  flex-shrink: 0;
}

.ai-send-btn:hover {
  background-color: var(--navy-dark);
  transform: scale(1.05);
}

.minimize-btn {
  color: white;
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.minimize-btn:hover {
  opacity: 1;
}
:root {
  --navy-text: #041240;
  --navy-btn: #00227b;
  --navy-btn-hover: #001754;
  --card-radius: 16px;
}

.banner-section {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.quick-card {
  border-radius: var(--card-radius);
  padding: 16px;
  height: 100%;
  min-height: 110px;
  display: flex;
  align-items: center;
  text-decoration: none !important;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

.quick-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 34, 123, 0.12);
}

.card-achievements {
  background: linear-gradient(135deg, #ffcf33 0%, #f7b700 100%);
  border-color: #f0b000;
}

.btn-view-more {
  background-color: var(--navy-btn);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 18px;
  border-radius: 8px;
  display: inline-block;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 34, 123, 0.2);
  text-align: center;
  border: none;
  width: fit-content;
  text-decoration: none;
}

.btn-view-more:hover {
  background-color: var(--navy-btn-hover);
  color: #ffffff;
  transform: scale(1.03);
}

.card-cisce-hub {
  background: linear-gradient(135deg, #fffcf7 0%, #fbf3e6 100%);
  border-color: #f5e4cd;
}

.card-sports {
  background: linear-gradient(135deg, #f0f6ff 0%, #e1edff 100%);
  border-color: #d6e5fd;
}

.card-campus {
  background: linear-gradient(135deg, #eff7ff 0%, #dbeeff 100%);
  border-color: #d0e6fd;
}

.card-title-text {
  color: var(--navy-text);
  font-weight: 900;
  font-size: 1.05rem;
  line-height: 1.15;
  letter-spacing: -0.2px;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.card-subtitle-text {
  color: #2b3e6d;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0;
}

.arrow-icon {
  color: var(--navy-btn);
  font-size: 1.05rem;
  font-weight: 800;
  margin-left: auto;
  padding-left: 8px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.quick-card:hover .arrow-icon {
  transform: translateX(4px);
}
.card-img-icon {
  width: 76px;
  height: 76px;
  object-fit: contain;
  flex-shrink: 0;
}

.card-graphic-img {
  width: 82px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}
.custom-breadcrumb {
  font-size: 0.95rem;
  font-weight: 500;
}

.custom-breadcrumb .home-link {
  color: #4a4a4a;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.custom-breadcrumb .home-link:hover {
  color: #111111;
}

.custom-breadcrumb .separator {
  color: #888888;
  margin: 0 0.4rem;
}

.custom-breadcrumb .active-link {
  color: #c68b59;
  font-weight: 500;
}

.banner-quote {
  font-family: "Playfair Display", Georgia, serif;
  color: #ffffff;
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  max-width: 900px;
  margin: 0 auto;
}

.banner-verse {
  color: #e0e0e0;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.9;
}
