:root {
  --brand-pink: #da1f5a;
  --brand-pink-hover: #c32455;
  --brand-navy: #0f3876;
  --brand-navy-light: #003f6b;
  --brand-blue: #0066b2;
  --brand-cyan: #00a3e0;
  --brand-dark-blue: #1a2540;
  --light-bg: #f4f7fa;
  --card-border: #e2e8f0;

  /* --ink: #1a2540; */
  --muted: #5b6785;
  /* --bs-body-font-family: "Source Sans 3", system-ui, sans-serif; */
  --bs-body-color: var(--brand-dark-blue);
}

body {
  font-family: "Inter", sans-serif;
  color: #334155;
  background-color: #ffffff;
  /* overflow-x: hidden; */
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
  font-family: "Montserrat", sans-serif;
}

a {
  text-decoration: none;
}

/* Sticky Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  padding: 0;
}

.navbar-brand {
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.1;
}
.navbar-expand-lg .navbar-collapse {
  flex-basis: revert-rule;
}

.logo {
  height: 55px;
  transition: height 0.3s ease;
}

@media (max-width: 1199.98px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    padding: 1rem 1.5rem;
    border-radius: 0 0 1rem 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    margin-top: 0.5rem;
    margin-bottom: 2rem;
  }
  .agenda-card .badge {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.3;
    text-align: left;
    margin: 5px 0;
  }
}

@media (max-width: 991.98px) {
  .logo {
    height: 60px; /* Slightly smaller logo on mobile */
  }
}

.nav-link {
  font-weight: 600;
  color: #475569;
  /* font-size: 0.92rem; */
  font-size: 14px;
  margin: 0 4px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-pink);
}

.navbar .btn-brand {
  font-size: 14px;
  padding: 8px 10px;
}

.navbar .nav-link {
  padding-left: 1px !important;
  padding-right: 1px !important;
}
/* Optional: Elegant bottom indicator bar for active nav items on Desktop */
@media (min-width: 1200px) {
  .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--brand-pink);
    transition: all 0.3s ease;
    transform: translateX(-50%);
  }
  .nav-link.active::after,
  .nav-link:hover::after {
    width: 60%;
  }
}

/* =========================================
   Animated Hamburger Toggler (Cross Animation)
   ========================================= */
.custom-toggler {
  padding: 8px;
  outline: none !important;
  border: none !important;
}

.hamburger-icon {
  width: 26px;
  height: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger-icon span {
  display: block;
  height: 2.5px;
  width: 100%;
  background-color: var(--brand-navy, #1e293b);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* Transform to 'X' when navbar is expanded */
.custom-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
  transform: translateY(8.75px) rotate(45deg);
}

.custom-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.custom-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
  transform: translateY(-8.75px) rotate(-45deg);
}

/* Buutons */
.btn-brand {
  background-color: var(--brand-pink);
  color: white;
  font-weight: 600;
  border-radius: 50px;
  padding: 8px 22px;
  border: none;
  box-shadow: 0 4px 14px rgba(200, 16, 46, 0.35);
  transition: all 0.3s ease;
}
.btn-brand:hover {
  background-color: var(--brand-pink-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 16, 46, 0.45);
}
.btn-brand-navy {
  background-color: var(--brand-navy);
  color: white;
  font-weight: 600;
  border-radius: 50px;
  padding: 8px 22px;
  border: none;
  transition: all 0.3s ease;
}
.btn-brand-navy:hover {
  background-color: var(--brand-navy-light);
  color: white;
  transform: translateY(-2px);
}

/* Section Headings */
.section-header {
  margin-bottom: 40px;
}
.section-subtitle {
  color: var(--brand-pink);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
  display: block;
}
.section-title {
  color: var(--brand-navy);
  font-weight: 800;
  font-size: 2.25rem;
  letter-spacing: -0.5px;
}
.heading-line {
  width: 60px;
  height: 4px;
  background: var(--brand-pink);
  border-radius: 2px;
  margin-top: 12px;
}

.bg-light {
  background-color: var(--light-bg);
}

/* COUNTDOWN SECTION */
/* Countdown */
.cd-section {
  background: linear-gradient(135deg, #071a40, var(--brand-navy) 55%, #12418a);
  color: #fff;
  position: relative;
  overflow: hidden;
  /* padding: 5rem 0; */
}
.cd-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 36, 94, 0.35), transparent 65%);
  top: -200px;
  right: -120px;
  animation: drift 9s ease-in-out infinite alternate;
}
.cd-glow::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 107, 189, 0.5), transparent 65%);
  left: -760px;
  top: 340px;
}
@keyframes drift {
  to {
    transform: translate(-60px, 50px) scale(1.12);
  }
}

.cd-dates {
  font: 600 1.35rem "Inter";
  color: #ffb3cb;
  margin-bottom: 0.4rem;
}
.cd-status {
  opacity: 0.8;
  margin-bottom: 2.2rem;
}
.ring {
  position: relative;
  width: min(100%, 170px);
  aspect-ratio: 1;
  margin: 0 auto;
}
.ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.ring circle {
  fill: none;
  stroke-width: 7;
}
.ring .trk {
  stroke: rgba(255, 255, 255, 0.14);
}
.ring .bar {
  stroke: url(#g);
  stroke: var(--brand-pink);
  stroke-linecap: round;
  stroke-dasharray: 326.7;
  stroke-dashoffset: 326.7;
  transition: stroke-dashoffset 1s linear;
}
.ring[data-unit="m"] .bar {
  stroke: #6fb1ff;
}
.ring[data-unit="h"] .bar {
  stroke: #ff7aa3;
}
.ring[data-unit="d"] .bar {
  stroke: #fff;
}
.ring.pulse {
  animation: pop 0.5s ease-out;
}
.ring .val {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}
.ring .val b {
  font: 700 clamp(2.2rem, 6vw, 2.2rem)/1 "Montserrat";
  font-variant-numeric: tabular-nums;
  display: block;
  overflow: hidden;
}
.ring .val b.flip {
  animation: flip 0.45s ease-out;
}
.ring .val span {
  font-size: 0.85rem;
  opacity: 0.75;
}
@keyframes flip {
  from {
    transform: translateY(-60%);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@keyframes pop {
  50% {
    transform: scale(1.05);
  }
}
.cd-cta {
  animation: glow 2.4s ease-in-out infinite;
}
@keyframes glow {
  50% {
    box-shadow: 0 0 0 10px rgba(224, 36, 94, 0.22);
  }
}
.cd-live .cd-status {
  color: #9bf0c0;
  font-weight: 600;
}

/* About Cards & Highlights */
.about-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(12, 56, 102, 0.05);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Agenda Section */
/* Category Filter Nav */
.filter-btn {
  border: 1px solid var(--card-border);
  background: white;
  color: #64748b;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  cursor: pointer;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--brand-navy);
  color: white;
  border-color: var(--brand-navy);
}
.filter-btn.inactive {
  background: white !important;
  color: #64748b !important;
  border-color: var(--card-border) !important ;
}
.filter-btn.all-btn {
  background-color: var(--brand-pink);
  border-color: var(--brand-pink);
  color: white;
}
.filter-btn.otology-btn {
  background-color: #003f6b;
  border-color: #003f6b;
  color: white;
}
.filter-btn.rhinology-btn {
  background-color: #c8102e;
  border-color: #c8102e;
  color: white;
}
.filter-btn.headneck-btn {
  background-color: #198754;
  border-color: #198754;
  color: white;
}
.filter-btn.vestibular-btn {
  background-color: var(--brand-cyan);
  border-color: var(--brand-cyan);
  color: white;
}

/* Agenda Section (Brochure exact layout) */
.agenda-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--card-border);
  overflow: hidden;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}
.agenda-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: var(--brand-blue);
}
.agenda-date-badge {
  background: var(--brand-navy);
  color: white;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-width: 170px;
}

.agenda-date-badge i {
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: #60a5fa;
}

.agenda-date-text {
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.2;
}
.agenda-day-text {
  font-size: 0.8rem;
  opacity: 0.85;
  text-transform: uppercase;
}
.agenda-content {
  padding: 20px 25px;
}
.agenda-title {
  color: var(--brand-navy);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 8px;
  text-transform: uppercase;
}

/* Otology */
.agenda-card.otology:hover {
  border-color: #003f6b;
}
.course-item.otology .agenda-date-badge {
  background: #003f6b;
}
.course-item.otology .agenda-date-badge i {
  color: #60a5fa;
}
.course-item.otology .agenda-title {
  color: #003f6b;
}
.course-item.otology .badge {
  /* background-color: #003f6b; */
  color: #003f6b;
  border: 1px solid #003f6b;
}

/* Rhinology */
.agenda-card.rhinology:hover {
  border-color: #c8102e;
}
.course-item.rhinology .agenda-date-badge {
  background: #c8102e;
}
.course-item.rhinology .agenda-date-badge i {
  color: #ffffff;
}
.course-item.rhinology .agenda-title {
  color: #c8102e;
}
.course-item.rhinology .badge {
  /* background-color: #c8102e; */
  color: #c8102e;
  border: 1px solid #c8102e;
}

/* vestibular */
.agenda-card.vestibular:hover {
  border-color: var(--brand-cyan);
}
.course-item.vestibular .agenda-date-badge {
  background: var(--brand-cyan);
}
.course-item.vestibular .agenda-date-badge i {
  color: #ffffff;
}
.course-item.vestibular .agenda-title {
  color: var(--brand-cyan);
}
.course-item.vestibular .badge {
  /* background-color: var(--brand-cyan); */
  color: var(--brand-cyan);
  border: 1px solid var(--brand-cyan);
}

/* headneck */
.agenda-card.headneck:hover {
  border-color: #198754;
}
.course-item.headneck .agenda-date-badge {
  background: #198754;
}
.course-item.headneck .agenda-date-badge i {
  color: #ffffff;
}
.course-item.headneck .agenda-title {
  color: #198754;
}
.course-item.headneck .badge {
  /* background-color: #198754; */
  color: #198754;
  border: 1px solid #198754;
}

/* Registration Pricing Table Styling */
.skyline {
  position: absolute;
  bottom: 0;
  z-index: 0;
  opacity: 0.05;
}
.pricing-section-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--card-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.pricing-table thead th {
  background-color: var(--brand-navy);
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  padding: 16px;
  border: none;
}
.pricing-table tbody td {
  padding: 16px;
  vertical-align: middle;
  border-bottom: 1px solid var(--card-border);
}
.pricing-table tbody tr:nth-child(even) {
  background-color: var(--brand-navy-light);
}
.early-bird-tag {
  background: var(--brand-pink);
  color: #ffffff;
  font-size: 0.725rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-left: 6px;
}

/* Discount Cards */
.discount-card {
  background: linear-gradient(135deg, #ffffff 0%, var(--light-bg) 100%);
  border: 1px solid rgba(27, 117, 55, 0.3);
  border-radius: 12px;
  padding: 20px;
  height: 100%;
  transition: all 0.2s ease;
}
.discount-card:hover {
  border-color: var(--singhealth-green);
  box-shadow: 0 6px 16px rgba(27, 117, 55, 0.12);
}

/* VENUE DETAIL */
.venue-section {
  background: #ffffff;
}
.venue-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--card-border);
  box-shadow: 0 8px 25px rgba(0, 43, 73, 0.06);
  overflow: hidden;
  height: 100%;
  transition: all 0.3s ease;
}
.venue-card:hover {
  box-shadow: 0 12px 35px rgba(0, 43, 73, 0.12);
}

/* Left Column: Image Card */
.venue-img-wrapper {
  position: relative;
  height: 100%;
  min-height: 320px;
  overflow: hidden;
}
.venue-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.venue-card:hover .venue-img-wrapper img {
  transform: scale(1.05);
}
.venue-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(0, 43, 73, 0.92) 0%,
    rgba(0, 43, 73, 0.3) 70%,
    transparent 100%
  );
  padding: 20px;
  color: #ffffff;
}

/* Middle Column: Details Card */
.venue-details-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.venue-highlight-badge {
  background: rgba(0, 128, 128, 0.1);
  color: var(--teal-brand);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 12px;
}

/* Right Column: Google Maps Card */
.venue-map-wrapper {
  height: 100%;
  min-height: 320px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}
.venue-map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

/* Faculty & Director */
.speaker-card-exact {
  background-color: var(--light-bg);
  border-radius: 22px;
  padding: 30px 20px 24px 20px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}
.speaker-card-exact:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(0, 56, 101, 0.08);
  background-color: #eef2f8;
}
.speaker-avatar-wrapper {
  position: relative;
  margin-bottom: 18px;
}
.speaker-avatar-img {
  width: 105px;
  height: 105px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
.speaker-name {
  color: #0f172a;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}
.speaker-title-text {
  color: #475569;
  font-size: 0.875rem;
  line-height: 1.4;
  font-weight: 400;
  margin-bottom: 16px;
  /* max-width: 90%; */
}
.speaker-pill-badge {
  background-color: var(--pill-badge-bg);
  color: var(--pill-badge-text);
  font-weight: 700;
  font-size: 0.725rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 30px;
  display: inline-block;
  margin-bottom: 16px;
}
.view-profile-btn {
  color: #0284c7;
  font-weight: 700;
  font-size: 0.775rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s ease;
}
.view-profile-btn:hover {
  color: var(--brand-navy);
  text-decoration: underline;
}

/* Custom Tabs for Directors */
.director-tab-btn {
  background: #ffffff;
  border: 1px solid var(--card-border);
  color: var(--brand-navy);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s;
}
.director-tab-btn.active,
.director-tab-btn:hover {
  background: var(--brand-navy);
  color: #ffffff;
  border-color: var(--brand-navy);
}

/* Footer */
.site-footer {
  background-color: var(--brand-navy);
  color: #cbd5e1;
  font-size: 0.9rem;
  padding-top: 60px;
  padding-bottom: 30px;
}
.site-footer .logo {
  height: 65px;
  margin-bottom: 5px;
}
.site-footer h5 {
  color: white;
  font-weight: 700;
  margin-bottom: 20px;
}
.footer-link {
  color: #94a3b8;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-link:hover {
  color: white;
}

/* Scroll Animations */
.fade-in-element {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}
.fade-in-element.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Floating Badges */
.floating-pill {
  background: white;
  color: var(--brand-navy);
  padding: 8px 16px;
  border-radius: 30px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* WELCOME MESSAGE */
.welcome-section .sec-img img {
  border-radius: 25px;
}
.welcome-section .sec-img {
  padding-top: 25px;
}
.lead-quote {
  font-size: 1.3rem;
  color: var(--brand-navy);
  font-weight: 600;
  border-left: 4px solid var(--brand-pink);
  padding-left: 1rem;
}
.sign {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.sign b {
  display: block;
  /* font: 700 1.35rem/1.1 "Inter"; */
  color: var(--brand-navy);
}
.sign small {
  color: var(--muted);
}
.avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  color: #fff;
  font: 700 1.9rem "Inter";
  background: linear-gradient(135deg, var(--brand-pink), var(--brand-blue));
}
.avatar.sm {
  width: 52px;
  height: 52px;
  margin: 0;
  font-size: 1.2rem;
  overflow: hidden;
  border-radius: 50%;
}
@media (max-width: 767.98px) {
  .welcome-section .sec-img {
    text-align: center;
  }
}

/* COURSE DETAIL */
section.blk {
  padding: 3.5rem 0;
  scroll-margin-top: 130px;
}
h2.st {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--brand-navy);
  margin-bottom: 0.3rem;
}
.rule {
  width: 64px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-pink), var(--brand-blue));
  margin: 0.8rem 0 1.5rem;
}
.bg-sky {
  background: var(--light-bg);
}

/* Header */
.phead {
  background: linear-gradient(135deg, #071a40, var(--brand-navy) 55%, #12418a);
  color: #fff;
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.phead::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  right: -120px;
  top: -180px;
  background: radial-gradient(circle, rgba(224, 36, 94, 0.35), transparent 65%);
  animation: drift 9s ease-in-out infinite alternate;
}
@keyframes drift {
  to {
    transform: translate(-50px, 40px) scale(1.1);
  }
}
.phead .container {
  position: relative;
  z-index: 1;
}
.crumb a {
  color: #bcd0f0;
  text-decoration: none;
}
.crumb {
  font-size: 0.95rem;
  color: #bcd0f0;
  margin-bottom: 0.8rem;
}
.phead h1 {
  /* font-size: clamp(2.4rem, 6vw, 4rem); */
  font-size: 45px;
  margin-bottom: 1rem;
  font-weight: 700;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50rem;
  padding: 0.35rem 1rem;
  margin: 0 0.5rem 0.5rem 0;
  font-weight: 600;
}
.chip i {
  color: #ff9fbd;
}

/* Scrollable tab bar */
.tabbar {
  position: sticky;
  top: 71px;
  z-index: 1020;
  background: #fff;
  border-bottom: 1px solid rgba(11, 37, 89, 0.12);
}
.tabbar .nav {
  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  gap: 0.25rem;
  padding: 0.55rem 0;
  -webkit-overflow-scrolling: touch;
}
.tabbar .nav::-webkit-scrollbar {
  display: none;
}
.tabbar .nav-link {
  border-radius: 50rem;
  padding: 0.4rem 1.1rem;
  color: var(--brand-navy);
}
.tabbar .nav-link.active {
  background: var(--brand-navy);
  color: #fff;
}
.tabbar .fade-edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 28px;
  pointer-events: none;
  z-index: 2;
}
.fade-edge.l {
  left: 0;
  background: linear-gradient(90deg, #fff, transparent);
}
.fade-edge.r {
  right: 0;
  background: linear-gradient(-90deg, #fff, transparent);
}

/* Content */
.lead-in {
  font-size: 16px;
  color: var(--brand-navy);
  font-weight: 600;
  border-left: 4px solid var(--brand-pink);
  padding-left: 1rem;
}
.new-box {
  background: #fff;
  border: 2px solid var(--brand-pink);
  border-radius: 16px;
  padding: 1.3rem 1.5rem;
  position: relative;
  margin-top: 1.5rem;
}
.new-box .badge-new {
  position: absolute;
  top: -14px;
  left: 18px;
  background: var(--brand-pink);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 50rem;
  padding: 0.2rem 0.9rem;
  font-size: 0.8rem;
}
.hl {
  background: #fff;
  border: 1px solid rgba(11, 37, 89, 0.1);
  border-radius: 14px;
  padding: 1.3rem;
  height: 100%;
  transition:
    box-shadow 0.25s,
    transform 0.25s;
}
.hl:hover {
  box-shadow: 0 10px 28px rgba(11, 37, 89, 0.12);
  transform: translateY(-3px);
}
.hl i {
  font-size: 1.8rem;
  color: var(--brand-blue);
}
.hl p {
  margin: 0.5rem 0 0;
}
.fac {
  background: #fff;
  border-radius: 16px;
  padding: 1.6rem 1rem;
  text-align: center;
  height: 100%;
  border: 1px solid rgba(11, 37, 89, 0.1);
}
.avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  color: #fff;
  font: 700 1.8rem "Barlow Condensed";
  background: linear-gradient(135deg, var(--brand-pink), var(--brand-blue));
}
.fac h3 {
  font-size: 1.35rem;
  color: var(--brand-navy);
  margin-bottom: 0.1rem;
}
.fac p {
  margin: 0;
  color: var(--muted);
}
.tick {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tick li {
  padding: 0.55rem 0 0.55rem 2rem;
  position: relative;
  border-bottom: 1px solid rgba(11, 37, 89, 0.08);
}
.tick li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  position: absolute;
  left: 0;
  top: 0.5rem;
  color: var(--brand-pink);
}
.panel {
  background: #fff;
  border-radius: 16px;
  padding: 1.6rem;
  height: 100%;
  border: 1px solid rgba(11, 37, 89, 0.1);
}
.panel h3 {
  font-size: 1.5rem;
  color: var(--brand-navy);
}
.obj {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border-radius: 14px;
  padding: 12px 15px;
  margin-bottom: 0.9rem;
  border: 1px solid rgba(11, 37, 89, 0.1);
  /* align-items: center; */
  font-size: 18px;
  line-height: 1.4;
}
.obj b {
  flex: 0 0 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
  font: 700 1.3rem "Inter";
}
.who {
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
  color: #fff;
  border-radius: 18px;
  padding: 2rem;
}

/* Tabs */
.nav-tabs {
  border-bottom: 2px solid rgba(11, 37, 89, 0.15);
  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.nav-tabs .nav-link {
  font-weight: 600;
  color: var(--muted);
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: 0.8rem 1.3rem;
}
.nav-tabs .nav-link.active {
  color: var(--brand-pink);
  border-color: var(--brand-pink);
  background: transparent;
}
.tab-pane {
  padding-top: 1.8rem;
}
.fl a {
  color: var(--brand-blue);
  font-weight: 600;
}
.track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #fff;
  border: 1px solid rgba(11, 37, 89, 0.12);
  border-radius: 12px;
  padding: 0.8rem 1.1rem;
  margin-bottom: 0.7rem;
  text-decoration: none;
  color: var(--brand-navy);
  font-weight: 600;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.track:hover {
  border-color: var(--brand-pink);
  transform: translateX(4px);
}
.notice {
  background: #fff3f7;
  border-left: 4px solid var(--brand-pink);
  border-radius: 10px;
  padding: 1.1rem 1.3rem;
}
.cta {
  background: var(--brand-navy);
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
  border-bottom: 1px solid #4570b0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* FACULTY DROPDOWN */
.grp-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  border-radius: 14px;
  padding: 1.1rem 1.4rem;
  color: #fff;
  background: #0b2559;
  font:
    700 1.5rem "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.01em;
  text-align: left;
  transition: filter 0.2s;
}
.grp-btn .chev {
  animation: bounceDown 1.5s infinite;
}
.grp-btn[aria-expanded="true"] .chev:before {
  content: "\f077";
}

/* Style for your accordion container to give it a glowing shadow */
.overseas-accordion-trigger {
  /* cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center; */
  /* padding: 15px 20px; */
  /* background-color: #f8f9fa; */
  /* border-radius: 8px; */
  /* border: 2px solid #007bff; */

  /* Pulsing shadow effect */
  animation: pulseGlow 2s infinite ease-in-out;
}

/* Flex container for the hint */
/* .click-hint-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}


.click-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #007bff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
} */

/* Bouncing Down Arrow Animation */
/* .animated-arrow {
  color: #007bff;
  font-size: 1rem;
  animation: bounceDown 1.5s infinite;
} */

/* Keyframe for Pulsing Glow */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
  }
}

/* Keyframe for Bouncing Arrow */
@keyframes bounceDown {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(6px); /* Moves down 6px */
  }
  60% {
    transform: translateY(3px); /* Moves down 3px */
  }
}

/* *********** Subscription Section (Homepage) ********* */
/* Mailing list */
.mail-card {
  /*margin-top: 3rem;*/
  border-radius: 20px;
  padding: 2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
  position: relative;
  overflow: hidden;
  text-align: left;
}
.mail-card::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  right: -80px;
  top: -120px;
  background: radial-gradient(circle, rgba(224, 36, 94, 0.45), transparent 65%);
}
.mail-card .row {
  position: relative;
  z-index: 1;
}
.mail-card h3 {
  /* font-size: 1.8rem; */
  font-size: 24px;
  margin: 0 0 13px;
}
.mail-card p {
  margin: 0;
  opacity: 0.85;
}
.mail-ico {
  flex: 0 0 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  background: rgba(255, 255, 255, 0.15);
  animation: ping 2.6s ease-in-out infinite;
}
@keyframes ping {
  50% {
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.08);
  }
}
.mail-card .form-control {
  border: 0;
  border-radius: 50rem 0 0 50rem;
  padding: 0.85rem 1.3rem;
}
.mail-card .btn-brand {
  border-radius: 0 50rem 50rem 0;
  padding: 0.85rem 1.6rem;
}
.mail-hint {
  font-size: 0.88rem;
  opacity: 0.75;
  margin-top: 0.5rem;
  margin-left: 20px;
  margin-right: 20px;
}
@media (max-width: 575px) {
  .mail-card .form-control {
    border-radius: 50rem;
    margin-bottom: 0.6rem;
  }
  .mail-card .btn-brand {
    border-radius: 50rem;
    width: 100%;
  }
}

.mail-thanks {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #eaf5ff;
  color: var(--brand-blue);
  border: 1px solid #4d89c1;
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}
.mail-thanks[hidden] {
  display: none;
}
.mail-thanks.show {
  animation: thanksIn 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}
.mail-thanks p {
  margin: 0;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--brand-navy);
  opacity: 0;
  animation: fadeUp 0.5s 0.55s ease-out forwards;
}
.mail-thanks .check {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
}
.mail-thanks .check circle {
  fill: var(--brand-navy);
  stroke: var(--brand-blue);
  stroke-width: 2;
  transform-origin: center;
  transform: scale(0);
  animation: pop 0.45s 0.1s cubic-bezier(0.2, 0.9, 0.3, 1.4) forwards;
}
.mail-thanks .check path {
  fill: none;
  stroke: #fff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: draw 0.4s 0.45s ease-out forwards;
}
.burst {
  position: absolute;
  left: 28px;
  top: 50%;
  width: 0;
  height: 0;
}
.burst i {
  position: absolute;
  left: -4px;
  top: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--crimson);
  opacity: 0;
}
.mail-thanks.show .burst i {
  animation: burst 0.8s 0.35s ease-out forwards;
}
.burst i:nth-child(1) {
  --x: 46px;
  --y: 0;
}
.burst i:nth-child(2) {
  --x: 33px;
  --y: 33px;
  background: #198754;
}
.burst i:nth-child(3) {
  --x: 0;
  --y: 46px;
}
.burst i:nth-child(4) {
  --x: -33px;
  --y: 33px;
  background: #198754;
}
.burst i:nth-child(5) {
  --x: -46px;
  --y: 0;
}
.burst i:nth-child(6) {
  --x: -33px;
  --y: -33px;
  background: #198754;
}
.burst i:nth-child(7) {
  --x: 0;
  --y: -46px;
}
.burst i:nth-child(8) {
  --x: 33px;
  --y: -33px;
  background: #198754;
}
.mail-thanks.leave {
  animation: thanksOut 0.45s ease-in forwards !important;
}
@keyframes thanksOut {
  to {
    opacity: 0;
    transform: translateY(-12px) scale(0.97);
  }
}
@keyframes thanksIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes pop {
  to {
    transform: scale(1);
  }
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes burst {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--x), var(--y)) scale(0.3);
  }
}
@media (prefers-reduced-motion: reduce) {
  .mail-thanks *,
  .mail-thanks {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .mail-thanks .check circle {
    transform: none;
  }
  .mail-thanks .check path {
    stroke-dashoffset: 0;
  }
}

/* Global Health Popup */
.badge-off {
  display: inline-block;
  font: 700 0.8rem "Inter";
  border-radius: 8px;
  padding: 0.25rem 0.7rem;
  color: #fff;
}
.b-yellow {
  background: #ffc107;
  color: #2b2200;
}
.discount-card.clickable {
  cursor: pointer;
  position: relative;
}
.discount-card.clickable:hover,
.discount-card.clickable:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(11, 37, 89, 0.15);
  border-color: #ffc107;
  outline: 0;
}
.discount-card .view {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 5px;
  font-weight: 600;
  color: var(--brand-pink);
  font-size: 0.9rem;
}
.discount-card .view i {
  transition: transform 0.25s;
}
.discount-card.clickable:hover .view i {
  transform: translateX(4px);
}

/* Popup */
.gh-modal .modal-content {
  border: 0;
  border-radius: 20px;
  overflow: hidden;
}
.gh-modal .modal-header {
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
  color: #fff;
  border: 0;
  padding: 1.4rem 1.6rem;
}
.gh-modal .modal-title {
  font:
    700 1.8rem/1.1 "Montserrat",
    sans-serif;
}
.gh-modal .btn-close {
  filter: invert(1);
  opacity: 0.9;
}
.gh-modal .modal-dialog {
  transition: transform 0.35s ease;
}
.gh-modal.fade .modal-dialog {
  transform: translateY(24px) scale(0.97);
}
.gh-modal.show .modal-dialog {
  transform: none;
}
.gh-search {
  position: relative;
}
.gh-search i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}
.gh-search input {
  padding-left: 2.6rem;
  border-radius: 50rem;
  font-size: 0.9rem;
}
.gh-table {
  margin: 0;
}
.gh-table thead th {
  position: sticky;
  top: 0;
  background: #eef4fb;
  color: var(--brand-navy);
  z-index: 1;
  border-bottom: 2px solid #cfe0f3;
}
.gh-table tbody tr {
  animation: rowIn 0.35s ease both;
}
@keyframes rowIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.gh-table td:first-child,
.gh-table th:first-child {
  width: 64px;
  color: var(--muted);
}
.gh-group {
  margin-bottom: 1.6rem;
}
.gh-group h6 {
  font:
    600 0.8rem "Inter",
    sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #5a9e3a;
  margin: 0 0 0.3rem;
}
.gh-group .n {
  font-size: 0.8rem;
  color: var(--brand-dark-blue);
  margin-bottom: 0.7rem;
}
.gh-grid {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin-top: 20px;
}
.gh-grid td {
  font-size: 0.9rem;
  border: 1px solid #dde3f4;
  padding: 0.75rem 1rem;
  color: #444b5f;
  word-wrap: break-word;
  transition: background 0.2s;
}
.gh-grid td:hover:not(:empty) {
  background: #f1f6fd;
}
.gh-grid td.b {
  font-weight: 700;
  color: var(--brand-dark-blue);
}
.gh-grid tr {
  animation: rowIn 0.35s ease both;
}
.gh-empty {
  text-align: center;
  color: var(--muted);
  padding: 2rem 1rem;
}
.gh-count {
  font-size: 0.9rem;
  color: var(--muted);
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 767.98px) {
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 575.98px) {
  .section-title {
    font-size: 26px;
  }
}
