/* ==========================================================================
   Lyceum Northwestern University - College of Medicine Custom Homepage CSS
   ========================================================================== */

/* Color Tokens & Reset Overrides */
:root {
  --med-burgundy: #69201c;
  --med-burgundy-light: #a31432;
  --med-burgundy-dark: #66081b;
  --med-burgundy-subtle: rgba(105, 32, 28, 0.06);
  --med-dark: #110C2D;
  --med-body: #525560;
  --med-heading: #1e1e24;
  --med-bg-light: #f8f9fa;
  --med-border: rgba(0, 0, 0, 0.08);
}

/* --------------------------------------------------------------------------
   General Component & Editorial Utilities
   -------------------------------------------------------------------------- */
.med-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--med-burgundy);
  background: var(--med-burgundy-subtle);
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.med-eyebrow-light {
  color: #ffb8c6;
  background: rgba(255, 255, 255, 0.12);
}

.med-section-title {
  font-family: var(--font-secondary);
  font-size: 28px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--med-heading);
  margin-bottom: 18px;
}

.med-section-title.text-white {
  color: #ffffff !important;
}

.med-section-desc {
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
  color: var(--med-body);
  max-width: 680px;
}

.med-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--med-burgundy);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 14px;
  padding: 13px 26px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(105, 32, 28, 0.2);
}

.med-btn-primary:hover {
  background-color: var(--med-burgundy-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(105, 32, 28, 0.3);
}

.med-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: transparent;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.med-btn-secondary:hover {
  background-color: #ffffff;
  color: var(--med-burgundy) !important;
  border-color: #ffffff;
  transform: translateY(-2px);
}

.med-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: transparent;
  color: var(--med-burgundy) !important;
  border: 1.5px solid var(--med-burgundy);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

/* --------------------------------------------------------------------------
   01. HERO BANNER
   -------------------------------------------------------------------------- */
.med-hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.med-hero-slide {
  position: relative;
  height: calc(100vh - 90px);
  min-height: 500px;
  max-height: 650px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Subtle text readability layer on the left side - image remains 100% visible on center/right */
.med-hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(0, 0, 0, 0.65) 0%,
      rgba(0, 0, 0, 0.40) 35%,
      rgba(0, 0, 0, 0.12) 65%,
      rgba(0, 0, 0, 0) 100%);
  z-index: 1;
  pointer-events: none;
}

.med-hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  padding: 40px 0;
}

.med-hero-title {
  font-family: var(--font-secondary), "Rufina", serif;
  font-size: 52px;
  line-height: 1.15;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
}

.med-hero-desc {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  max-width: 580px;
  margin-bottom: 32px;
}

/* Slide Entrance Animations */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.swiper-slide .med-hero-title,
.swiper-slide .med-hero-desc,
.swiper-slide .med-btn-primary {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.swiper-slide-active .med-hero-title {
  animation: heroFadeUp 0.7s cubic-bezier(0.25, 1, 0.5, 1) 0.2s forwards;
}

.swiper-slide-active .med-hero-desc {
  animation: heroFadeUp 0.7s cubic-bezier(0.25, 1, 0.5, 1) 0.35s forwards;
}

.swiper-slide-active .med-btn-primary {
  animation: heroFadeUp 0.7s cubic-bezier(0.25, 1, 0.5, 1) 0.5s forwards;
}

/* Swiper pagination tweaks for hero */
.banner.v__2 .swiper-pagination {
  position: absolute;
  bottom: 30px;
  left: auto;
  right: 50px;
  width: auto;
  z-index: 10;
  display: flex;
  gap: 8px;
}

.banner.v__2 .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition: all 0.3s ease;
  margin: 0 !important;
  border-radius: 50%;
}

.banner.v__2 .swiper-pagination-bullet-active {
  background: #ffffff !important;
  width: 28px;
  border-radius: 5px;
}

/* --------------------------------------------------------------------------
   02. WELCOME / ABOUT SECTION
   -------------------------------------------------------------------------- */
.med-about-img-wrap {
  position: relative;
  padding-bottom: 30px;
  padding-right: 30px;
}

.med-about-img-main {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.med-about-img-overlap {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
  border: 6px solid #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.med-highlight-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 32px;
}

.med-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--med-bg-light);
  border: 1px solid var(--med-border);
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: var(--med-dark);
}

.med-pill i {
  color: var(--med-burgundy);
}

/* --------------------------------------------------------------------------
   03. WHY CHOOSE US
   -------------------------------------------------------------------------- */
.med-why-section {
  background-color: var(--med-burgundy);
  color: #ffffff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.med-why-feature-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 24px 28px;
  margin-bottom: 18px;
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.med-why-feature-card:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateX(8px);
  border-color: rgba(255, 255, 255, 0.3);
}

.med-why-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #ffffff;
}

.med-why-card-title {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.med-why-card-desc {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

/* --------------------------------------------------------------------------
   04. BS + MD INTEGRATED PATHWAY
   -------------------------------------------------------------------------- */
.med-pathway-container {
  position: relative;
  margin-top: 40px;
}

.med-pathway-line {
  position: absolute;
  top: 45px;
  left: 5%;
  right: 5%;
  height: 4px;
  background: #e5e7eb;
  z-index: 1;
}

.med-pathway-step {
  position: relative;
  z-index: 2;
  text-align: center;
}

.med-pathway-badge {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid var(--med-burgundy);
  color: var(--med-burgundy);
  font-size: 26px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.med-pathway-step:hover .med-pathway-badge {
  background: var(--med-burgundy);
  color: #ffffff;
  transform: scale(1.08);
}

.med-pathway-card {
  background: #ffffff;
  border: 1px solid var(--med-border);
  border-radius: 8px;
  padding: 24px 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  min-height: 180px;
  transition: all 0.3s ease;
}

.med-pathway-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  border-color: var(--med-burgundy);
}

.med-pathway-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--med-dark);
  margin-bottom: 10px;
}

.med-pathway-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--med-body);
  margin: 0;
}

/* --------------------------------------------------------------------------
   05. PROGRAMS OVERVIEW
   -------------------------------------------------------------------------- */
.med-program-panel {
  background: #ffffff;
  border: 1px solid var(--med-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
  transition: all 0.3s ease;
}

.med-program-panel:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.09);
  border-color: rgba(105, 32, 28, 0.3);
}

.med-program-img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.med-program-content {
  padding: 50px 40px;
}

.med-program-tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--med-burgundy);
  background: var(--med-burgundy-subtle);
  padding: 5px 12px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 16px;
}

.med-program-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 30px;
}

.med-program-list li {
  font-size: 15px;
  font-weight: 600;
  color: var(--med-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.med-program-list li i {
  color: var(--med-burgundy);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   06. ADMISSION PROCESS
   -------------------------------------------------------------------------- */
.med-admission-timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 50px;
}

.med-admission-step {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--med-border);
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.med-admission-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(105, 32, 28, 0.12);
  border-color: var(--med-burgundy);
}

.med-admission-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--med-burgundy-subtle);
  color: var(--med-burgundy);
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  transition: all 0.3s ease;
}

.med-admission-step:hover .med-admission-num {
  background: var(--med-burgundy);
  color: #ffffff;
}

.med-admission-step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--med-dark);
  margin-bottom: 8px;
}

.med-admission-step-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--med-body);
  margin: 0;
}

/* --------------------------------------------------------------------------
   07. ELIGIBILITY FOR INDIAN STUDENTS
   -------------------------------------------------------------------------- */
.med-eligibility-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.med-eligibility-block {
  background: #ffffff;
  border: 1px solid var(--med-border);
  border-left: 4px solid var(--med-burgundy);
  border-radius: 6px;
  padding: 18px 22px;
  margin-bottom: 14px;
  transition: all 0.3s ease;
}

.med-eligibility-block:hover {
  transform: translateX(6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.med-eligibility-head {
  font-size: 17px;
  font-weight: 700;
  color: var(--med-dark);
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.med-eligibility-head i {
  color: var(--med-burgundy);
  font-size: 14px;
}

.med-eligibility-desc {
  font-size: 14px;
  color: var(--med-body);
  margin: 0;
}

/* --------------------------------------------------------------------------
   08. TUITION FEES
   -------------------------------------------------------------------------- */
.med-fee-box {
  background: #ffffff;
  border: 1px solid var(--med-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.med-fee-header {
  background: var(--med-dark);
  color: #ffffff;
  padding: 30px 40px;
  text-align: center;
}

.med-fee-header h4 {
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

.med-fee-table {
  width: 100%;
  margin: 0;
}

.med-fee-table th {
  background: var(--med-bg-light);
  color: var(--med-dark);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 16px 24px;
  border-bottom: 2px solid var(--med-border);
}

.med-fee-table td {
  padding: 20px 24px;
  font-size: 15px;
  color: var(--med-body);
  border-bottom: 1px solid var(--med-border);
  vertical-align: middle;
}

.med-fee-badge {
  background: var(--med-burgundy-subtle);
  color: var(--med-burgundy);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 13px;
  display: inline-block;
}

.med-fee-note {
  font-size: 13.5px;
  color: var(--med-body);
  font-style: italic;
  margin-top: 15px;
}

/* --------------------------------------------------------------------------
   09. HOSTEL & STUDENT LIFE
   -------------------------------------------------------------------------- */
.med-collage-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  height: 560px;
}

.med-collage-item-1 {
  grid-row: span 2;
  border-radius: 8px;
  overflow: hidden;
}

.med-collage-item-2,
.med-collage-item-3 {
  border-radius: 8px;
  overflow: hidden;
}

.med-collage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.med-collage-item-1:hover .med-collage-img,
.med-collage-item-2:hover .med-collage-img,
.med-collage-item-3:hover .med-collage-img {
  transform: scale(1.04);
}

.med-life-feature {
  margin-bottom: 24px;
}

.med-life-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--med-dark);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.med-life-title i {
  color: var(--med-burgundy);
}

.med-life-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--med-body);
  margin: 0;
}

/* --------------------------------------------------------------------------
   10. CLINICAL TRAINING
   -------------------------------------------------------------------------- */
.med-clinical-card {
  border-left: 3px solid var(--med-burgundy);
  padding: 16px 20px;
  background: var(--med-bg-light);
  border-radius: 0 6px 6px 0;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.med-clinical-card:hover {
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transform: translateX(6px);
}

.med-clinical-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--med-dark);
  margin-bottom: 4px;
}

.med-clinical-desc {
  font-size: 14px;
  color: var(--med-body);
  margin: 0;
}

/* --------------------------------------------------------------------------
   11. NMC GUIDELINES
   -------------------------------------------------------------------------- */
.med-nmc-box {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.med-nmc-left {
  background: var(--med-burgundy);
  color: #ffffff;
  padding: 50px 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.med-nmc-right {
  background: #ffffff;
  padding: 50px 40px;
  height: 100%;
}

.med-nmc-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--med-border);
}

.med-nmc-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.med-nmc-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--med-burgundy);
  background: var(--med-burgundy-subtle);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
}

/* --------------------------------------------------------------------------
   12. CONTACT / ENQUIRY CTA
   -------------------------------------------------------------------------- */
.med-cta-banner {
  background: linear-gradient(135deg, var(--med-dark) 0%, var(--med-burgundy) 100%);
  color: #ffffff;
  padding: 80px 0;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(105, 32, 28, 0.25);
}

.med-cta-contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 30px;
}

.med-cta-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
}

.med-cta-info-item i {
  color: #ffb8c6;
  font-size: 18px;
}

/* --------------------------------------------------------------------------
   RESPONSIVE LAYOUT ADJUSTMENTS
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .med-hero-slide {
    height: 600px;
    min-height: 550px;
  }

  .med-hero-slide::before {
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.20) 0%,
        rgba(0, 0, 0, 0.50) 45%,
        rgba(0, 0, 0, 0.78) 100%);
  }

  .med-hero-title {
    font-size: 46px;
  }

  .med-hero-desc {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .banner.v__2 .swiper-pagination {
    right: 50%;
    transform: translateX(50%);
    bottom: 20px;
  }

  .med-about-img-main {
    height: 380px;
  }

  .med-about-img-overlap {
    width: 60%;
    height: 200px;
  }

  .med-pathway-line {
    display: none;
  }

  .med-pathway-step {
    margin-bottom: 25px;
  }

  .med-admission-timeline {
    flex-direction: column;
  }

  .med-admission-step {
    margin-bottom: 15px;
  }

  .med-collage-grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  .med-collage-item-1 {
    height: 280px;
  }

  .med-collage-item-2,
  .med-collage-item-3 {
    height: 200px;
  }

  .med-nmc-left,
  .med-nmc-right {
    padding: 35px 25px;
  }
}

@media (max-width: 575px) {
  .med-hero-title {
    font-size: 30px;
  }

  .med-section-title {
    font-size: 28px;
  }

  .med-program-content {
    padding: 30px 20px;
  }

  .med-fee-header {
    padding: 20px 15px;
  }

  .med-fee-table th,
  .med-fee-table td {
    padding: 12px 10px;
    font-size: 13px;
  }

  .med-cta-banner {
    padding: 45px 20px;
  }
}

/* ==========================================================================
   ABOUT PAGE CUSTOM STYLES
   ========================================================================== */

/* 01. About Banner – NEW VERSION */
.med-about-hero-v2 {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--med-dark);
}

.med-about-hero-v2-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.med-about-hero-v2-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 28, 0.58);
  z-index: 1;
}

.med-about-hero-v2-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  padding: 50px 0;
}

.med-about-v2-title {
  font-family: var(--font-secondary), "Rufina", serif;
  font-size: 52px;
  line-height: 1.15;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
}

.med-about-v2-desc {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin-bottom: 22px;
}

.med-about-hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  padding: 40px 0;
}

.med-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 18px;
}

.med-breadcrumb a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.med-breadcrumb a:hover {
  color: #ffb8c6;
}

.med-breadcrumb span.sep {
  opacity: 0.5;
}

/* 02. About Section Narrative */
.med-about-narrative p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--med-body);
  margin-bottom: 18px;
}

.med-accent-bar {
  width: 50px;
  height: 3px;
  background-color: var(--med-burgundy);
  margin-bottom: 24px;
  border-radius: 2px;
}

/* 03. History Timeline */
.med-history-wrapper {
  position: relative;
  padding-left: 30px;
}

.med-history-line {
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 11px;
  width: 2px;
  background: linear-gradient(to bottom, var(--med-burgundy), rgba(137, 12, 37, 0.15));
}

.med-history-item {
  position: relative;
  margin-bottom: 36px;
  padding-left: 25px;
  transition: transform 0.3s ease;
}

.med-history-item:last-child {
  margin-bottom: 0;
}

.med-history-item:hover {
  transform: translateX(6px);
}

.med-history-dot {
  position: absolute;
  left: -24px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--med-burgundy);
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 3px rgba(137, 12, 37, 0.2);
}

.med-history-badge {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--med-burgundy);
  background: var(--med-burgundy-subtle);
  padding: 3px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
}

.med-history-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--med-heading);
  margin-bottom: 6px;
}

.med-history-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--med-body);
  margin: 0;
}

.med-history-img-box {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.med-history-img-box img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.about-vision-card {
  background: #ffffff;
  border: 1px solid var(--med-border);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.about-vision-statement {
  font-size: 17px;
  line-height: 1.7;
  color: var(--med-body);
  border-left: 4px solid var(--med-burgundy);
  padding-left: 20px;
  margin-bottom: 0;
  font-weight: 500;
}

.about-vision-features {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
}

.about-vision-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.about-vision-feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: var(--med-burgundy-subtle);
  color: var(--med-burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
}

.about-vision-feature:hover .about-vision-feature-icon {
  background: var(--med-burgundy);
  color: #ffffff;
}

.about-vision-feature-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--med-heading);
  margin-bottom: 4px;
}

.about-vision-feature-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--med-body);
  margin: 0;
}

.about-vision-img-box {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about-vision-img-box img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* 05. Mission Section */
.med-mission-card {
  background: #ffffff;
  border: 1px solid var(--med-border);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.med-theme-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.med-theme-pill {
  background: var(--med-bg-light);
  border: 1px solid var(--med-border);
  border-left: 3px solid var(--med-burgundy);
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--med-heading);
}

/* Mission Supporting Items */
.about-mission-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.about-mission-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 18px;
  background: var(--med-bg-light);
  border: 1px solid var(--med-border);
  border-left: 3px solid var(--med-burgundy);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.about-mission-item:hover {
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(105, 32, 28, 0.08);
  transform: translateX(4px);
}

.about-mission-num {
  font-size: 15px;
  font-weight: 800;
  color: var(--med-burgundy);
  background: var(--med-burgundy-subtle);
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-mission-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--med-heading);
  margin-bottom: 3px;
}

.about-mission-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--med-body);
  margin: 0;
}

/* 06. Core Values – Redesigned 3×2 Grid (scoped to about page) */
.about-core-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-value-card {
  background: #ffffff;
  border: 1px solid var(--med-border);
  border-radius: 12px;
  padding: 30px 28px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.about-value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--med-burgundy);
  transform: scaleX(0.3);
  transition: transform 0.35s ease;
  transform-origin: left;
}

.about-value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(105, 32, 28, 0.1);
  border-color: rgba(105, 32, 28, 0.2);
}

.about-value-card:hover::before {
  transform: scaleX(1);
}

.about-value-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.about-value-num {
  font-size: 32px;
  font-weight: 800;
  font-family: var(--font-secondary), "Rufina", serif;
  color: var(--med-burgundy);
  opacity: 0.25;
  line-height: 1;
}

.about-value-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--med-burgundy-subtle);
  color: var(--med-burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s ease;
}

.about-value-card:hover .about-value-icon {
  background: var(--med-burgundy);
  color: #ffffff;
}

.about-value-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--med-heading);
  margin-bottom: 10px;
}

.about-value-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--med-body);
  margin: 0;
}

/* 07. University Highlights – Redesigned (scoped to about page) */
.about-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 5th card centered on second row */
.about-highlights-grid .about-highlight-card:last-child {
  grid-column: 2 / 3;
}

.about-highlight-card {
  background: #ffffff;
  border: 1px solid var(--med-border);
  border-radius: 12px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.about-highlight-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--med-burgundy);
  transform: scaleX(0);
  transition: transform 0.35s ease;
  transform-origin: center;
}

.about-highlight-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 36px rgba(105, 32, 28, 0.12);
  border-color: rgba(105, 32, 28, 0.2);
}

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

.about-highlight-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--med-burgundy-subtle);
  color: var(--med-burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 14px;
  transition: all 0.3s ease;
}

.about-highlight-card:hover .about-highlight-icon {
  background: var(--med-burgundy);
  color: #ffffff;
  transform: scale(1.08);
}

.about-highlight-num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--med-burgundy);
  margin-bottom: 10px;
  opacity: 0.6;
}

.about-highlight-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--med-heading);
  margin-bottom: 10px;
}

.about-highlight-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--med-body);
  margin: 0;
}

/* 08. Why Study Here */
.med-why-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--med-border);
  transition: transform 0.3s ease;
}

.med-why-row:last-child {
  border-bottom: none;
}

.med-why-row:hover {
  transform: translateX(6px);
}

.med-why-num {
  font-size: 18px;
  font-weight: 800;
  color: var(--med-burgundy);
  background: var(--med-burgundy-subtle);
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.med-why-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--med-heading);
  margin-bottom: 4px;
}

.med-why-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--med-body);
  margin: 0;
}

/* 09. Campus Gallery – Uniform 3×2 Grid (scoped to about page) */
.about-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.about-gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.about-gallery-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.about-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 12, 45, 0.78) 0%, rgba(17, 12, 45, 0) 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  padding: 18px;
}

.about-gallery-item:hover .about-gallery-img {
  transform: scale(1.05);
}

.about-gallery-item:hover .about-gallery-overlay {
  opacity: 1;
}

.about-gallery-caption {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Responsive CSS Breakpoints for About Page */
@media (max-width: 1199px) {
  .med-about-hero-v2 {
    height: 440px;
  }

  .about-core-values-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .about-highlights-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-highlights-grid .about-highlight-card:last-child {
    grid-column: 2 / 3;
  }
}

@media (max-width: 1024px) {
  .med-about-v2-title {
    font-size: 42px;
  }

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

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

  .about-highlights-grid .about-highlight-card:last-child {
    grid-column: auto;
  }

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

@media (max-width: 991px) {
  .med-about-hero-v2 {
    height: 400px;
  }

  .med-about-v2-title {
    font-size: 38px;
  }

  .med-about-v2-desc {
    font-size: 16px;
  }

  .about-core-values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

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

  .about-highlights-grid .about-highlight-card:last-child {
    grid-column: auto;
  }

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

  .about-vision-card {
    padding: 28px;
  }

  .med-mission-card {
    padding: 28px;
  }
}

@media (max-width: 768px) {
  .med-about-hero-v2 {
    height: 360px;
  }

  .med-about-v2-title {
    font-size: 32px;
  }

  .about-core-values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .about-highlights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .about-highlights-grid .about-highlight-card:last-child {
    grid-column: auto;
  }

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

@media (max-width: 575px) {
  .med-about-hero-v2 {
    height: 320px;
  }

  .med-about-v2-title {
    font-size: 28px;
  }

  .med-about-v2-desc {
    font-size: 15px;
  }

  .about-core-values-grid {
    grid-template-columns: 1fr;
  }

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

  .about-highlights-grid .about-highlight-card:last-child {
    grid-column: 1;
  }

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

  .about-vision-card {
    padding: 22px;
  }

  .med-mission-card {
    padding: 22px;
  }
}

@media (max-width: 425px) {
  .med-about-hero-v2 {
    height: 300px;
  }

  .med-about-v2-title {
    font-size: 26px;
  }
}

@media (max-width: 375px) {
  .med-about-hero-v2 {
    height: 280px;
  }

  .med-about-v2-title {
    font-size: 24px;
  }
}

@media (max-width: 320px) {
  .med-about-hero-v2 {
    height: 260px;
  }

  .med-about-v2-title {
    font-size: 22px;
  }
}

/* ==========================================================================
   CONTACT PAGE CUSTOM STYLES
   ========================================================================== */

/* 01. Contact Banner */
.med-contact-banner {
  position: relative;
  height: 480px;
  min-height: 420px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.med-contact-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(17, 12, 45, 0.88) 0%,
      rgba(105, 32, 28, 0.65) 50%,
      rgba(17, 12, 45, 0.40) 100%);
  z-index: 1;
}

.med-contact-banner-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.med-contact-banner-title {
  font-family: var(--font-secondary), "Rufina", serif;
  font-size: 48px;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.med-contact-banner-desc {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 680px;
  margin-bottom: 24px;
}

.med-contact-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 16px;
  border-radius: 30px;
}

.med-contact-breadcrumb a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.med-contact-breadcrumb a:hover {
  color: #ffb8c6;
}

/* 02. Contact Info Cards */
.med-contact-info-card {
  background: #ffffff;
  border: 1px solid var(--med-border);
  border-radius: 12px;
  padding: 30px 24px;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.med-contact-info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(105, 32, 28, 0.12);
  border-color: var(--med-burgundy);
}

.med-contact-info-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--med-burgundy-subtle);
  color: var(--med-burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.med-contact-info-card:hover .med-contact-info-icon {
  background: var(--med-burgundy);
  color: #ffffff;
  transform: scale(1.05);
}

.med-contact-info-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--med-dark);
  margin-bottom: 10px;
}

.med-contact-info-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--med-body);
  margin: 0;
}

.med-contact-info-link {
  color: var(--med-burgundy);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.med-contact-info-link:hover {
  color: var(--med-dark);
  text-decoration: underline;
}

/* 03. Enquiry Form Section */
.med-enquiry-card {
  background: #ffffff;
  border: 1px solid var(--med-border);
  border-radius: 20px;
  padding: 44px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
}

.med-form-group {
  margin-bottom: 22px;
}

.med-form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}

.med-enquiry-card input.med-form-control,
.med-enquiry-card select.med-form-control,
.med-enquiry-card textarea.med-form-control,
.med-form-control {
  width: 100% !important;
  height: 50px !important;
  padding: 0 16px !important;
  font-size: 15px !important;
  color: #1e293b !important;
  background-color: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 10px !important;
  transition: all 0.3s ease !important;
  outline: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

.med-enquiry-card textarea.med-form-control {
  height: auto !important;
  min-height: 120px !important;
  padding: 14px 16px !important;
}

.med-enquiry-card input.med-form-control:focus,
.med-enquiry-card select.med-form-control:focus,
.med-enquiry-card textarea.med-form-control:focus,
.med-form-control:focus {
  background-color: #ffffff !important;
  border-color: #69201c !important;
  box-shadow: 0 0 0 4px rgba(105, 32, 28, 0.12) !important;
}

.med-enquiry-card select.med-form-control,
select.med-form-control {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2369201c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 18px !important;
  padding-right: 44px !important;
}

.med-btn-submit-enquiry {
  width: auto;
  min-width: 220px;
  max-width: 280px;
  height: 48px;
  padding: 0 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  background-color: #69201c;
  color: #ffffff;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(105, 32, 28, 0.2);
}

.med-btn-submit-enquiry:hover {
  background-color: #521815;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(105, 32, 28, 0.3);
}

.med-btn-submit-enquiry:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

/* Custom SwalFire Success Modal matching user reference design */
.custom-swal-popup {
  border-radius: 16px !important;
  padding: 40px 30px 32px 30px !important;
  max-width: 480px !important;
  width: 90% !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.custom-swal-confirm-btn {
  background-color: #091b47 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 10px 36px !important;
  border-radius: 6px !important;
  border: none !important;
  outline: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(9, 27, 71, 0.2) !important;
  transition: all 0.2s ease-in-out !important;
}

.custom-swal-confirm-btn:hover {
  background-color: #05102d !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(9, 27, 71, 0.3) !important;
}

/* 04. Map & Office Hours Section */
.med-map-frame {
  width: 100%;
  height: 420px;
  border: 1px solid var(--med-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.med-location-card {
  background: #ffffff;
  border: 1px solid var(--med-border);
  border-radius: 14px;
  padding: 36px 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.med-hours-panel {
  background: #ffffff;
  border: 1px solid var(--med-border);
  border-left: 4px solid var(--med-burgundy);
  border-radius: 12px;
  padding: 24px 32px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.04);
}

@media (max-width: 991px) {
  .med-contact-banner {
    height: 400px;
  }

  .med-contact-banner-title {
    font-size: 36px;
  }

  .med-contact-banner-desc {
    font-size: 16px;
  }

  .med-enquiry-card {
    padding: 30px 24px;
  }

  .med-map-frame {
    height: 350px;
  }
}

@media (max-width: 575px) {
  .med-contact-banner {
    height: 360px;
  }

  .med-contact-banner-title {
    font-size: 28px;
  }

  .med-hours-panel {
    padding: 20px;
  }
}

/* ==========================================================================
   BS PRE-MEDICINE PROGRAM PAGE STYLES
   ========================================================================== */

/* 01. Program Hero Banner */
.med-bs-banner {
  position: relative;
  height: 580px;
  min-height: 500px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.med-bs-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(17, 12, 45, 0.85) 0%,
      rgba(105, 32, 28, 0.55) 50%,
      rgba(17, 12, 45, 0.30) 100%);
  z-index: 1;
}

.med-bs-banner-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.med-bs-banner-title {
  font-family: var(--font-secondary), "Rufina", serif;
  font-size: 52px;
  line-height: 1.15;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
}

.med-bs-banner-desc {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  max-width: 620px;
  margin-bottom: 28px;
}

/* 02. Program Glance Cards */
.med-glance-card {
  background: #ffffff;
  border: 1px solid var(--med-border);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  height: 100%;
}

.med-glance-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(105, 32, 28, 0.12);
  border-color: var(--med-burgundy);
}

.med-glance-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--med-burgundy-subtle);
  color: var(--med-burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 14px;
  transition: all 0.3s ease;
}

.med-glance-card:hover .med-glance-icon {
  background: var(--med-burgundy);
  color: #ffffff;
}

.med-glance-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--med-body);
  margin-bottom: 6px;
}

.med-glance-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--med-dark);
  margin: 0;
}

/* 03. Curriculum Timeline */
.med-curriculum-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 40px;
}

.med-curriculum-line {
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: #e5e7eb;
  z-index: 1;
}

.med-curriculum-step {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
  padding: 0 15px;
}

.med-curriculum-num {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--med-burgundy);
  color: var(--med-burgundy);
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.med-curriculum-step:hover .med-curriculum-num {
  background: var(--med-burgundy);
  color: #ffffff;
  transform: scale(1.1);
}

.med-curriculum-card {
  background: #ffffff;
  border: 1px solid var(--med-border);
  border-radius: 10px;
  padding: 22px 18px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  min-height: 160px;
}

.med-curriculum-step:hover .med-curriculum-card {
  border-color: var(--med-burgundy);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.med-curriculum-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--med-dark);
  margin-bottom: 8px;
}

.med-curriculum-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--med-body);
  margin: 0;
}

/* 04. Subject Cards */
.med-subject-card {
  background: #ffffff;
  border: 1px solid var(--med-border);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  height: 100%;
}

.med-subject-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(105, 32, 28, 0.1);
  border-color: var(--med-burgundy);
}

.med-subject-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--med-burgundy-subtle);
  color: var(--med-burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  transition: all 0.3s ease;
}

.med-subject-card:hover .med-subject-icon {
  background: var(--med-burgundy);
  color: #ffffff;
}

.med-subject-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--med-dark);
  margin-bottom: 8px;
}

.med-subject-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--med-body);
  margin: 0;
}

/* 05. Outcome Items */
.med-outcome-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid var(--med-border);
  border-radius: 10px;
  margin-bottom: 14px;
  transition: all 0.3s ease;
}

.med-outcome-item:hover {
  transform: translateX(6px);
  border-color: var(--med-burgundy);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.med-outcome-num {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: var(--med-burgundy);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.med-outcome-title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--med-dark);
  margin-bottom: 4px;
}

.med-outcome-desc {
  font-size: 14px;
  color: var(--med-body);
  margin: 0;
}

/* 06. Career Pathway Steps */
.med-pathway-flow {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin-top: 40px;
}

.med-pathway-flow-card {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--med-border);
  border-top: 4px solid var(--med-burgundy);
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  position: relative;
  transition: all 0.3s ease;
}

.med-pathway-flow-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(105, 32, 28, 0.12);
}

.med-pathway-flow-step {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--med-burgundy);
  background: var(--med-burgundy-subtle);
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 14px;
}

.med-pathway-flow-icon {
  font-size: 28px;
  color: var(--med-dark);
  margin-bottom: 12px;
}

.med-pathway-flow-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--med-dark);
  margin-bottom: 8px;
}

.med-pathway-flow-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--med-body);
  margin: 0;
}

/* Responsive CSS for BS Pre-Med */
@media (max-width: 991px) {
  .med-bs-banner {
    height: 460px;
  }

  .med-bs-banner-title {
    font-size: 38px;
  }

  .med-curriculum-timeline {
    flex-direction: column;
    gap: 20px;
  }

  .med-curriculum-line {
    display: none;
  }

  .med-curriculum-step {
    padding: 0;
  }

  .med-pathway-flow {
    flex-direction: column;
  }
}

@media (max-width: 575px) {
  .med-bs-banner {
    height: 400px;
  }

  .med-bs-banner-title {
    font-size: 30px;
  }

  .med-bs-banner-desc {
    font-size: 15px;
  }
}

/* ==========================================================================
   DOCTOR OF MEDICINE (MD) PROGRAM PAGE STYLES
   ========================================================================== */

/* 01. Hero Banner */
.med-md-banner {
  position: relative;
  height: 480px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.med-md-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(17, 12, 45, 0.75) 0%,
      rgba(105, 32, 28, 0.70) 60%,
      rgba(17, 12, 45, 0.85) 100%);
  z-index: 1;
}

.med-md-banner-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  text-align: center;
  max-width: 800px;
}

.med-md-banner-title {
  font-family: var(--font-secondary), "Rufina", serif;
  font-size: 52px;
  line-height: 1.15;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.med-md-banner-subtitle {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 26px;
}

/* 04. Curriculum Category Cards */
.med-curriculum-card-grid {
  background: #ffffff;
  border: 1px solid var(--med-border);
  border-radius: 12px;
  padding: 30px 24px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  height: 100%;
}

.med-curriculum-card-grid:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(105, 32, 28, 0.12);
  border-color: var(--med-burgundy);
}

.med-curriculum-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--med-burgundy-subtle);
  color: var(--med-burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.med-curriculum-card-grid:hover .med-curriculum-icon {
  background: var(--med-burgundy);
  color: #ffffff;
}

.med-curriculum-cat-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--med-dark);
  margin-bottom: 14px;
}

.med-curriculum-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.med-curriculum-list li {
  font-size: 14.5px;
  color: var(--med-body);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px dashed #f0f0f0;
}

.med-curriculum-list li:last-child {
  border-bottom: none;
}

.med-curriculum-list li i {
  color: var(--med-burgundy);
  font-size: 12px;
}

/* 06. Department Cards */
.med-dept-card {
  background: #ffffff;
  border: 1px solid var(--med-border);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.med-dept-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(105, 32, 28, 0.12);
  border-color: var(--med-burgundy);
}

.med-dept-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--med-burgundy-subtle);
  color: var(--med-burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  transition: all 0.3s ease;
}

.med-dept-card:hover .med-dept-icon {
  background: var(--med-burgundy);
  color: #ffffff;
}

.med-dept-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--med-dark);
  margin-bottom: 10px;
}

.med-dept-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--med-body);
  margin-bottom: 16px;
  flex-grow: 1;
}

.med-dept-arrow {
  color: var(--med-burgundy);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.3s ease;
}

.med-dept-card:hover .med-dept-arrow {
  transform: translateX(6px);
}

/* 07. Internship Burgundy Banner */
.med-internship-section {
  background: var(--med-burgundy);
  color: #ffffff;
  border-radius: 16px;
  padding: 50px 40px;
  box-shadow: 0 12px 40px rgba(105, 32, 28, 0.2);
}

.med-internship-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.med-internship-feature-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* Responsive CSS for MD Program */
@media (max-width: 991px) {
  .med-md-banner {
    height: 400px;
  }

  .med-md-banner-title {
    font-size: 38px;
  }

  .med-md-banner-subtitle {
    font-size: 16px;
  }

  .med-internship-section {
    padding: 35px 24px;
  }
}

@media (max-width: 575px) {
  .med-md-banner {
    height: 360px;
  }

  .med-md-banner-title {
    font-size: 30px;
  }
}

/* ==========================================================================
   ADMISSION PROCESS PAGE CUSTOM STYLES
   ========================================================================== */

/* 01. Admission Hero Banner */
.med-admission-banner {
  position: relative;
  height: 480px;
  min-height: 400px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.med-admission-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(17, 12, 45, 0.88) 0%,
      rgba(105, 32, 28, 0.65) 50%,
      rgba(17, 12, 45, 0.35) 100%);
  z-index: 1;
}

.med-admission-banner-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.med-admission-banner-title {
  font-family: var(--font-secondary), "Rufina", serif;
  font-size: 50px;
  line-height: 1.15;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.med-admission-banner-desc {
  font-size: 18.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  max-width: 650px;
  margin-bottom: 24px;
}

/* 03. Step-by-Step Admission Timeline */
.med-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.med-step-card {
  background: #ffffff;
  border: 1px solid var(--med-border);
  border-radius: 12px;
  padding: 26px 20px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
}

.med-step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(105, 32, 28, 0.12);
  border-color: var(--med-burgundy);
}

.med-step-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--med-burgundy);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.med-step-icon {
  font-size: 22px;
  color: var(--med-burgundy);
  margin-bottom: 12px;
}

.med-step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--med-dark);
  margin-bottom: 8px;
}

.med-step-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--med-body);
  margin: 0;
}

/* 05. Milestone Summary Timeline */
.med-milestone-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-top: 30px;
}

.med-milestone-line {
  position: absolute;
  top: 26px;
  left: 5%;
  right: 5%;
  height: 3px;
  background: #e5e7eb;
  z-index: 1;
}

.med-milestone-item {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
  padding: 0 8px;
}

.med-milestone-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--med-burgundy);
  color: var(--med-burgundy);
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.med-milestone-item:hover .med-milestone-num {
  background: var(--med-burgundy);
  color: #ffffff;
  transform: scale(1.1);
}

.med-milestone-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--med-dark);
  margin-bottom: 4px;
}

.med-milestone-sub {
  font-size: 12.5px;
  color: var(--med-body);
  margin: 0;
}

/* Responsive CSS for Admission Process */
@media (max-width: 1199px) {
  .med-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .med-admission-banner {
    height: 400px;
  }

  .med-admission-banner-title {
    font-size: 38px;
  }

  .med-admission-banner-desc {
    font-size: 16px;
  }

  .med-milestone-flow {
    flex-direction: column;
    gap: 20px;
  }

  .med-milestone-line {
    display: none;
  }
}

@media (max-width: 575px) {
  .med-admission-banner {
    height: 360px;
  }

  .med-admission-banner-title {
    font-size: 28px;
  }

  .med-steps-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ELIGIBILITY FOR INDIAN STUDENTS PAGE CUSTOM STYLES
   ========================================================================== */

/* 01. Banner */
.med-eligibility-banner {
  position: relative;
  height: 460px;
  min-height: 380px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.med-eligibility-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(17, 12, 45, 0.85) 0%,
      rgba(105, 32, 28, 0.65) 55%,
      rgba(17, 12, 45, 0.40) 100%);
  z-index: 1;
}

.med-eligibility-banner-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.med-eligibility-banner-title {
  font-family: var(--font-secondary), "Rufina", serif;
  font-size: 48px;
  line-height: 1.15;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.med-eligibility-banner-sub {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  max-width: 680px;
}

/* 03. Eligibility Criteria Cards */
.med-criteria-card {
  background: #ffffff;
  border: 1px solid var(--med-border);
  border-radius: 12px;
  padding: 26px 22px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  height: 100%;
}

.med-criteria-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(105, 32, 28, 0.12);
  border-color: var(--med-burgundy);
}

.med-criteria-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.med-criteria-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--med-burgundy-subtle);
  color: var(--med-burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.med-criteria-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--med-burgundy);
  background: rgba(105, 32, 28, 0.08);
  padding: 4px 10px;
  border-radius: 20px;
}

.med-criteria-title {
  font-size: 18.5px;
  font-weight: 700;
  color: var(--med-dark);
  margin-bottom: 8px;
}

.med-criteria-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--med-body);
  margin: 0;
}

/* 04. Academic Units Dashboard Cards */
.med-unit-card {
  background: #ffffff;
  border: 1px solid var(--med-border);
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  text-align: center;
  transition: all 0.3s ease;
}

.med-unit-card:hover {
  border-color: var(--med-burgundy);
  box-shadow: 0 8px 24px rgba(105, 32, 28, 0.1);
  transform: translateY(-4px);
}

.med-unit-val {
  font-size: 34px;
  font-weight: 800;
  color: var(--med-burgundy);
  line-height: 1;
  margin-bottom: 4px;
}

.med-unit-lbl {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--med-body);
  margin-bottom: 10px;
}

.med-unit-subject {
  font-size: 16px;
  font-weight: 700;
  color: var(--med-dark);
  margin: 0;
}

/* 06. NEET Section Burgundy Banner */
.med-neet-section {
  background: var(--med-burgundy);
  color: #ffffff;
  border-radius: 16px;
  padding: 50px 40px;
  box-shadow: 0 12px 40px rgba(105, 32, 28, 0.2);
}

.med-neet-box {
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid #ffffff;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 24px;
}

/* 08. FAQ Accordion Styling */
.med-faq-accordion .accordion-item {
  border: 1px solid var(--med-border);
  border-radius: 10px !important;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.med-faq-accordion .accordion-button {
  font-size: 17px;
  font-weight: 700;
  color: var(--med-dark);
  background: #ffffff;
  padding: 20px 24px;
  box-shadow: none;
}

.med-faq-accordion .accordion-button:not(.collapsed) {
  color: var(--med-burgundy);
  background: var(--med-burgundy-subtle);
}

.med-faq-accordion .accordion-button::after {
  background-size: 16px;
}

.med-faq-accordion .accordion-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--med-body);
  padding: 20px 24px;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Responsive CSS for Eligibility */
@media (max-width: 991px) {
  .med-eligibility-banner {
    height: 380px;
  }

  .med-eligibility-banner-title {
    font-size: 36px;
  }

  .med-eligibility-banner-sub {
    font-size: 16px;
  }

  .med-neet-section {
    padding: 35px 24px;
  }
}

@media (max-width: 575px) {
  .med-eligibility-banner {
    height: 340px;
  }

  .med-eligibility-banner-title {
    font-size: 28px;
  }
}

/* ==========================================================================
   TUITION FEES PAGE CUSTOM STYLES
   ========================================================================== */

/* 01. Banner */
.med-fees-banner {
  position: relative;
  height: 460px;
  min-height: 380px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.med-fees-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(17, 12, 45, 0.85) 0%,
      rgba(105, 32, 28, 0.65) 55%,
      rgba(17, 12, 45, 0.40) 100%);
  z-index: 1;
}

.med-fees-banner-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.med-fees-banner-title {
  font-family: var(--font-secondary), "Rufina", serif;
  font-size: 50px;
  line-height: 1.15;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.med-fees-banner-sub {
  font-size: 18.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  max-width: 680px;
}

/* 02. Fee Table Styling */
.med-fee-table {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--med-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.med-fee-table table {
  width: 100%;
  margin-bottom: 0;
  border-collapse: collapse;
}

.med-fee-table thead tr {
  background: var(--med-burgundy);
  color: #ffffff;
}

.med-fee-table thead th {
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: none;
}

.med-fee-table tbody tr {
  border-bottom: 1px solid var(--med-border);
  transition: background 0.2s ease;
}

.med-fee-table tbody tr:hover {
  background: var(--med-burgundy-subtle);
}

.med-fee-table tbody td {
  padding: 18px 24px;
  font-size: 15px;
  color: var(--med-body);
  vertical-align: middle;
}

.med-fee-table tbody tr:last-child {
  border-bottom: none;
}

/* Mobile Fee Cards */
.med-fee-card-mobile {
  background: #ffffff;
  border: 1px solid var(--med-border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  margin-bottom: 16px;
}

/* 05. Other Charges Cards */
.med-charge-card {
  background: #ffffff;
  border: 1px solid var(--med-border);
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.med-charge-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(105, 32, 28, 0.12);
  border-color: var(--med-burgundy);
}

.med-charge-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--med-burgundy-subtle);
  color: var(--med-burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.med-charge-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--med-dark);
  margin-bottom: 8px;
}

.med-charge-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--med-body);
  margin-bottom: 14px;
  flex-grow: 1;
}

.med-charge-status {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--med-burgundy);
  background: rgba(105, 32, 28, 0.08);
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
}

/* Responsive CSS for Tuition Fees */
@media (max-width: 991px) {
  .med-fees-banner {
    height: 380px;
  }

  .med-fees-banner-title {
    font-size: 38px;
  }

  .med-fees-banner-sub {
    font-size: 16px;
  }
}

@media (max-width: 575px) {
  .med-fees-banner {
    height: 340px;
  }

  .med-fees-banner-title {
    font-size: 28px;
  }
}

/* ==========================================================================
   HOSTEL & STUDENT LIFE PAGE CUSTOM STYLES
   ========================================================================== */

/* 01. Banner */
.med-hostel-banner {
  position: relative;
  height: 460px;
  min-height: 380px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.med-hostel-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(17, 12, 45, 0.85) 0%,
      rgba(105, 32, 28, 0.65) 55%,
      rgba(17, 12, 45, 0.40) 100%);
  z-index: 1;
}

.med-hostel-banner-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.med-hostel-banner-title {
  font-family: var(--font-secondary), "Rufina", serif;
  font-size: 50px;
  line-height: 1.15;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.med-hostel-banner-sub {
  font-size: 18.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  max-width: 680px;
}

/* 04. Campus Facilities Card Styling */
.med-facility-card {
  background: #ffffff;
  border: 1px solid var(--med-border);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  height: 100%;
}

.med-facility-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(105, 32, 28, 0.12);
  border-color: var(--med-burgundy);
}

.med-facility-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--med-burgundy-subtle);
  color: var(--med-burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.med-facility-card:hover .med-facility-icon {
  background: var(--med-burgundy);
  color: #ffffff;
}

.med-facility-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--med-dark);
  margin-bottom: 10px;
}

.med-facility-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--med-body);
  margin-bottom: 0;
}

/* 07. Photo Gallery Grid */
.med-gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  height: 260px;
}

.med-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.med-gallery-item:hover img {
  transform: scale(1.06);
}

.med-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(17, 12, 45, 0.85) 0%,
      rgba(17, 12, 45, 0.1) 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.med-gallery-item:hover .med-gallery-overlay {
  opacity: 1;
}

.med-gallery-caption {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
}

/* Responsive CSS for Hostel Page */
@media (max-width: 991px) {
  .med-hostel-banner {
    height: 380px;
  }

  .med-hostel-banner-title {
    font-size: 38px;
  }

  .med-hostel-banner-sub {
    font-size: 16px;
  }

  .med-gallery-item {
    height: 220px;
  }
}

@media (max-width: 575px) {
  .med-hostel-banner {
    height: 340px;
  }

  .med-hostel-banner-title {
    font-size: 28px;
  }

  .med-gallery-item {
    height: 200px;
  }
}

/* ==========================================================================
   CLINICAL TRAINING & INTERNSHIP PAGE CUSTOM STYLES
   ========================================================================== */

/* 01. Banner */
.med-clinical-banner {
  position: relative;
  height: 460px;
  min-height: 380px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.med-clinical-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(17, 12, 45, 0.85) 0%,
      rgba(105, 32, 28, 0.65) 55%,
      rgba(17, 12, 45, 0.40) 100%);
  z-index: 1;
}

.med-clinical-banner-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.med-clinical-banner-title {
  font-family: var(--font-secondary), "Rufina", serif;
  font-size: 50px;
  line-height: 1.15;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.med-clinical-banner-sub {
  font-size: 18.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  max-width: 680px;
}

/* 03. Hospital Affiliation Card */
.med-hospital-card {
  background: #ffffff;
  border: 1px solid var(--med-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.med-hospital-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(105, 32, 28, 0.12);
  border-color: var(--med-burgundy);
}

.med-hospital-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--med-burgundy-subtle);
  color: var(--med-burgundy);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* 05. Hands-on Learning Cards */
.med-skill-card {
  background: #ffffff;
  border: 1px solid var(--med-border);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  height: 100%;
}

.med-skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(105, 32, 28, 0.12);
  border-color: var(--med-burgundy);
}

.med-skill-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--med-burgundy-subtle);
  color: var(--med-burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.med-skill-card:hover .med-skill-icon {
  background: var(--med-burgundy);
  color: #ffffff;
}

.med-skill-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--med-dark);
  margin-bottom: 10px;
}

.med-skill-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--med-body);
  margin-bottom: 0;
}

/* Responsive CSS for Clinical Page */
@media (max-width: 991px) {
  .med-clinical-banner {
    height: 380px;
  }

  .med-clinical-banner-title {
    font-size: 38px;
  }

  .med-clinical-banner-sub {
    font-size: 16px;
  }
}

@media (max-width: 575px) {
  .med-clinical-banner {
    height: 340px;
  }

  .med-clinical-banner-title {
    font-size: 28px;
  }
}

/* ==========================================================================
   LYCEUM NORTHWESTERN UNIVERSITY - HEADER & FOOTER BRANDING
   ========================================================================== */

/* Header Branding */
.header__brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}

.header__brand-logo {
  height: 52px;
  width: auto;
  max-width: 100%;
  flex-shrink: 0;
  object-fit: contain;
  transition: all 0.3s ease;
}

.header__brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.header__brand-text .brand-name-top,
.header__brand-text .brand-name-bottom {
  font-family: var(--font-primary);
  font-size: 19px;
  font-weight: 700;
  color: var(--rt-primary, #69201c);
  line-height: 1.15;
  letter-spacing: 0.2px;
  white-space: nowrap;
  display: block;
}

/* Footer Branding */
.footer__brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none !important;
}

.footer__brand-logo {
  height: 110px;
  width: auto;
  max-width: 100%;
  flex-shrink: 0;
  object-fit: contain;
  transition: all 0.3s ease;
}

.footer__brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.footer__brand-text .brand-name-top,
.footer__brand-text .brand-name-bottom {
  font-family: var(--font-primary);
  font-size: 23px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: 0.2px;
  white-space: normal;
  display: block;
}

.footer__widget--description {
  margin-top: 16px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.6;
}

/* Responsive Rules */
@media (max-width: 1199px) {
  .header__brand-logo {
    height: 46px;
  }

  .header__brand-link {
    gap: 10px;
  }

  .header__brand-text .brand-name-top,
  .header__brand-text .brand-name-bottom {
    font-size: 17px;
  }

  .footer__brand-logo {
    height: 60px;
  }

  .footer__brand-text .brand-name-top,
  .footer__brand-text .brand-name-bottom {
    font-size: 21px;
  }
}

@media (max-width: 991px) {
  .header__brand-logo {
    height: 42px;
  }

  .header__brand-link {
    gap: 10px;
  }

  .header__brand-text .brand-name-top,
  .header__brand-text .brand-name-bottom {
    font-size: 15px;
  }

  .footer__brand-logo {
    height: 54px;
  }

  .footer__brand-text .brand-name-top,
  .footer__brand-text .brand-name-bottom {
    font-size: 19px;
  }
}

@media (max-width: 767px) {
  .header__brand-logo {
    height: 38px;
  }

  .header__brand-link {
    gap: 8px;
  }

  .header__brand-text .brand-name-top,
  .header__brand-text .brand-name-bottom {
    font-size: 14px;
  }

  .footer__brand-logo {
    height: 48px;
  }

  .footer__brand-text .brand-name-top,
  .footer__brand-text .brand-name-bottom {
    font-size: 17px;
    white-space: normal;
  }
}

@media (max-width: 425px) {
  .header__brand-logo {
    height: 34px;
  }

  .header__brand-link {
    gap: 8px;
  }

  .header__brand-text .brand-name-top,
  .header__brand-text .brand-name-bottom {
    font-size: 13px;
  }

  .footer__brand-logo {
    height: 44px;
  }

  .footer__brand-text .brand-name-top,
  .footer__brand-text .brand-name-bottom {
    font-size: 16px;
  }
}

@media (max-width: 375px) {
  .header__brand-logo {
    height: 30px;
  }

  .header__brand-link {
    gap: 6px;
  }

  .header__brand-text .brand-name-top,
  .header__brand-text .brand-name-bottom {
    font-size: 12px;
  }

  .footer__brand-logo {
    height: 40px;
  }

  .footer__brand-text .brand-name-top,
  .footer__brand-text .brand-name-bottom {
    font-size: 15px;
  }
}

@media (max-width: 320px) {
  .header__brand-logo {
    height: 28px;
  }

  .header__brand-link {
    gap: 5px;
  }

  .header__brand-text .brand-name-top,
  .header__brand-text .brand-name-bottom {
    font-size: 11px;
  }

  .footer__brand-logo {
    height: 36px;
  }

  .footer__brand-text .brand-name-top,
  .footer__brand-text .brand-name-bottom {
    font-size: 14px;
  }
}

/* ==========================================================================
   REFINE UI/UX STYLES FOR LYCEUM NORTHWESTERN UNIVERSITY
   ========================================================================== */

/* 01. Remove Navbar Hover Underline */
.navigation__menu--item:hover .navigation__menu--item__link::before,
.header.v__2 .navigation__menu--item:hover .navigation__menu--item__link::before,
.header.v__3 .navigation__menu--item:hover .navigation__menu--item__link::before,
.header.v__5 .navigation__menu--item:hover .navigation__menu--item__link::before {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
}

.navigation__menu--item__link:hover {
  color: var(--med-burgundy, #69201c) !important;
}

/* 02. Standardize All Button Hover Colors */
.med-btn-primary {
  background-color: var(--med-burgundy, #69201c) !important;
  border: 1.5px solid var(--med-burgundy, #69201c) !important;
  color: #ffffff !important;
  transition: all 0.3s ease;
}

.med-btn-primary:hover {
  background-color: var(--med-burgundy-dark, #501613) !important;
  border-color: var(--med-burgundy-dark, #501613) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(105, 32, 28, 0.3);
}

.med-btn-secondary {
  background-color: transparent !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.8) !important;
  transition: all 0.3s ease;
}

.med-btn-secondary:hover {
  background-color: #ffffff !important;
  color: var(--med-burgundy, #69201c) !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
}

.med-btn-outline {
  background-color: transparent !important;
  color: var(--med-burgundy, #69201c) !important;
  border: 1.5px solid var(--med-burgundy, #69201c) !important;
  transition: all 0.3s ease;
}

.med-btn-outline:hover {
  background-color: var(--med-burgundy, #69201c) !important;
  color: #ffffff !important;
  border-color: var(--med-burgundy, #69201c) !important;
  transform: translateY(-2px);
}

/* Generic button hover overrides to ensure consistency */
.rts-btn:hover,
.btn-primary:hover {
  background-color: var(--med-burgundy, #69201c) !important;
  border-color: var(--med-burgundy, #69201c) !important;
  color: #ffffff !important;
}

/* 04. Home About Section Styling */
.med-home-about-img-wrap {
  position: relative;
  padding-bottom: 40px;
  padding-right: 40px;
}

.med-home-about-img-main {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.med-home-about-img-sub {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 58%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  border: 6px solid #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.med-about-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0 32px;
}

.med-about-card-item {
  background: #ffffff;
  border: 1px solid var(--med-border, rgba(0, 0, 0, 0.08));
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.med-about-card-item:hover {
  border-color: var(--med-burgundy, #69201c);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(105, 32, 28, 0.08);
}

.med-about-card-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 8px;
  background: var(--med-burgundy-subtle, rgba(105, 32, 28, 0.06));
  color: var(--med-burgundy, #69201c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.med-about-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--med-heading, #1e1e24);
  line-height: 1.3;
}

/* 05. Why Choose Section Balanced Layout */
.med-why-section-light {
  background-color: #f8f9fa;
  padding: 90px 0;
}

.med-why-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 575.98px) {
  .med-why-cards-grid {
    grid-template-columns: 1fr;
  }
}

.med-why-feature-card-clean {
  background: #ffffff;
  border: 1px solid var(--med-border, rgba(0, 0, 0, 0.08));
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 0;
  height: 100%;
  width: 100%;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.035);
}

.med-why-feature-card-clean .med-why-card-content {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

.med-why-feature-card-clean .med-why-card-title {
  color: var(--med-heading, #1e1e24) !important;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
  width: 100%;
  display: block;
  word-break: normal !important;
  overflow-wrap: normal !important;
  word-wrap: normal !important;
}

.med-why-feature-card-clean .med-why-card-desc {
  color: var(--med-body, #525560) !important;
  font-size: 13.5px;
  line-height: 1.45;
  margin: 0;
  width: 100%;
  display: block;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

.med-why-feature-card-clean:hover {
  transform: translateY(-4px);
  border-color: var(--med-burgundy, #69201c);
  box-shadow: 0 10px 28px rgba(105, 32, 28, 0.12);
}

.med-why-icon-clean {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--med-burgundy-subtle, rgba(105, 32, 28, 0.08));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--med-burgundy, #69201c);
  flex-shrink: 0;
  margin-bottom: 14px;
}

.med-why-support-box {
  background: #ffffff;
  border-left: 4px solid var(--med-burgundy, #69201c);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

/* 06. Balanced Programs Section */
.med-program-panel-balanced {
  background: #ffffff;
  border: 1px solid var(--med-border, rgba(0, 0, 0, 0.08));
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  margin-bottom: 35px;
  transition: all 0.3s ease;
}

.med-program-panel-balanced:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(105, 32, 28, 0.25);
}

.med-program-img-balanced {
  width: 100%;
  height: 100%;
  min-height: 380px;
  max-height: 420px;
  object-fit: cover;
}

.med-program-content-balanced {
  padding: 40px 35px;
}

.med-program-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 20px;
}

.med-program-meta-item {
  font-size: 13px;
  font-weight: 600;
  color: var(--med-burgundy, #69201c);
  background: var(--med-burgundy-subtle, rgba(105, 32, 28, 0.06));
  padding: 5px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 07. Visual Medicine Journey Timeline */
.med-journey-timeline {
  position: relative;
  margin-top: 40px;
}

.med-journey-card {
  background: #ffffff;
  border: 1px solid var(--med-border, rgba(0, 0, 0, 0.08));
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  height: 100%;
}

.med-journey-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(105, 32, 28, 0.12);
  border-color: var(--med-burgundy, #69201c);
}

.med-journey-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.med-journey-body {
  padding: 20px 18px;
}

.med-journey-step-tag {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--med-burgundy, #69201c);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.med-journey-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--med-heading, #1e1e24);
  margin-bottom: 8px;
}

.med-journey-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--med-body, #525560);
  margin: 0;
}

/* 08. Hostel & Student Life Expansion */
.med-hostel-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.med-hostel-feature-card {
  background: #ffffff;
  border: 1px solid var(--med-border, rgba(0, 0, 0, 0.08));
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.med-hostel-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--med-burgundy, #69201c);
  box-shadow: 0 8px 20px rgba(105, 32, 28, 0.08);
}

.med-hostel-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--med-burgundy-subtle, rgba(105, 32, 28, 0.08));
  color: var(--med-burgundy, #69201c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

/* 09. Clinical Learning Image Container */
.med-clinical-img-expanded {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* 10. NMC Guidelines Clean Layout */
.med-nmc-box-clean {
  background: #ffffff;
  border: 1px solid var(--med-border, rgba(0, 0, 0, 0.08));
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.med-nmc-left-clean {
  background: #fdfdfd;
  border-right: 1px solid var(--med-border, rgba(0, 0, 0, 0.08));
  padding: 45px 35px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.med-nmc-grid-clean {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 35px;
}

.med-nmc-card-clean {
  background: #f8f9fa;
  border: 1px solid var(--med-border, rgba(0, 0, 0, 0.06));
  border-radius: 10px;
  padding: 18px;
  transition: all 0.3s ease;
}

.med-nmc-card-clean:hover {
  background: #ffffff;
  border-color: var(--med-burgundy, #69201c);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.med-nmc-card-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--med-burgundy, #69201c);
  margin-bottom: 4px;
}

.med-nmc-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--med-heading, #1e1e24);
  margin-bottom: 6px;
}

.med-nmc-card-desc {
  font-size: 13px;
  line-height: 1.45;
  color: var(--med-body, #525560);
  margin: 0;
}

/* 11. Clean Contact Section Redesign */
.med-contact-section {
  background-color: #ffffff;
  padding: 80px 0;
}

.med-contact-img-wrap {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  position: relative;
}

.med-contact-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.med-contact-block-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 25px 0 30px;
}

.med-contact-block-item {
  background: #f8f9fa;
  border: 1px solid var(--med-border, rgba(0, 0, 0, 0.08));
  border-radius: 10px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all 0.3s ease;
}

.med-contact-block-item:hover {
  border-color: var(--med-burgundy, #69201c);
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(105, 32, 28, 0.08);
}

.med-contact-block-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 8px;
  background: var(--med-burgundy-subtle, rgba(105, 32, 28, 0.08));
  color: var(--med-burgundy, #69201c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.med-contact-block-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--med-heading, #1e1e24);
  margin-bottom: 4px;
}

.med-contact-block-text {
  font-size: 13px;
  color: var(--med-body, #525560);
  margin: 0;
  line-height: 1.4;
}

/* 13. College Opening Hours Footer Panel & Footer Content Colors */
.footer,
.footer p,
.footer__widget--description,
.footer__widget--menu ul li,
.footer__widget--menu ul li a,
.footer__widget--menu ul li a strong,
.footer__widget--menu ul li a i,
.copyright,
.copyright p,
.copyright a,
.copyright__wrapper,
.copyright__wrapper p,
.copyright__wrapper a {
  color: #ffffff;
  transition: all 0.3s ease;
}

.footer__opening-hours {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__opening-hours li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13.5px;
  color: #ffffff;
}

.footer__opening-hours li:last-child {
  border-bottom: none;
}

.footer__opening-hours .day-name {
  font-weight: 600;
  color: #ffffff;
}

.footer__opening-hours .day-time {
  color: #ffffff;
}

.footer__opening-hours .day-time.closed {
  color: #ff6b6b !important;
  font-weight: 600;
}

/* Footer Link & Icon Hover Color Standardization - Both text and icon change color on hover */
.footer a:hover,
.footer a:hover i,
.footer a:hover span,
.footer a:hover strong,
.footer__widget--menu ul li a:hover,
.footer__widget--menu ul li a:hover i,
.footer__widget--menu ul li a:hover span,
.footer__widget--menu ul li a:hover strong,
.copyright a:hover,
.copyright a:hover span,
.copyright__wrapper a:hover,
.copyright__wrapper a:hover span,
.sai-techno-link:hover {
  color: #B71A34 !important;
  transition: all 0.3s ease;
}

/* Footer Social Media Icon Hover – #fff icon color and #B71A34 background color */
.footer__widget--social .social li a,
.social__link a {
  transition: all 0.3s ease;
}

.footer__widget--social .social li a:hover,
.social__link a:hover {
  background-color: #B71A34 !important;
  border-color: #B71A34 !important;
  transition: all 0.3s ease;
}

.footer__widget--social .social li a:hover i,
.social__link a:hover i {
  color: #ffffff !important;
}

/* ==========================================================================
   AFFILIATED HOSPITALS SHOWCASE SWIPER CAROUSEL
   ========================================================================== */
.swiper-hosp-carousel {
  padding-bottom: 48px !important;
}

.swiper-hosp-carousel .swiper-slide {
  height: auto;
  display: flex;
}

.med-hosp-swiper-card {
  background: #ffffff;
  border: 1px solid var(--med-border, rgba(0, 0, 0, 0.08));
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.med-hosp-swiper-card:hover {
  transform: translateY(-6px);
  border-color: var(--med-burgundy, #69201c);
  box-shadow: 0 12px 30px rgba(105, 32, 28, 0.12);
}

.med-hosp-card-img-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  min-height: 240px;
  overflow: hidden;
}

.med-hosp-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.med-hosp-swiper-card:hover .med-hosp-card-img-wrap img {
  transform: scale(1.05);
}

.med-hosp-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(105, 32, 28, 0.9);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.med-hosp-card-body {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.med-hosp-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--med-heading, #1e1e24);
  margin-bottom: 8px;
  line-height: 1.3;
}

.med-hosp-card-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--med-body, #525560);
  margin-bottom: 18px;
  flex: 1 1 auto;
}

.med-hosp-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--med-border, rgba(0, 0, 0, 0.08));
  margin-top: auto;
}

.med-hosp-location {
  font-size: 12.5px;
  font-weight: 600;
  color: #706f6c;
  display: flex;
  align-items: center;
  gap: 5px;
}

.med-hosp-location i {
  color: var(--med-burgundy, #69201c);
}

.med-hosp-learn-btn {
  font-size: 13px;
  font-weight: 700;
  color: var(--med-burgundy, #69201c);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.med-hosp-learn-btn:hover {
  color: var(--med-burgundy-dark, #501613);
  transform: translateX(3px);
}

.swiper-hosp-carousel .swiper-pagination-bullet-active {
  background: var(--med-burgundy, #69201c) !important;
}

/* ==========================================================================
   ELIGIBILITY & ADMISSION STANDARDS CARDS STYLING
   ========================================================================== */
.med-curriculum-img-card {
  background: #ffffff;
  border: 1px solid var(--med-border, rgba(0, 0, 0, 0.08));
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.med-curriculum-img-card:hover {
  transform: translateY(-5px);
  border-color: var(--med-burgundy, #69201c);
  box-shadow: 0 12px 30px rgba(105, 32, 28, 0.12);
}

.med-curriculum-thumb-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  min-height: 200px;
  overflow: hidden;
}

.med-curriculum-thumb-wrap img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.med-curriculum-img-card:hover .med-curriculum-thumb-wrap img {
  transform: scale(1.05);
}

.med-curriculum-subject-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(105, 32, 28, 0.9);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.med-curriculum-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.med-curriculum-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--med-heading, #1e1e24);
  margin-bottom: 8px;
}

.med-curriculum-learn-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--med-burgundy, #69201c);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  transition: all 0.2s ease;
}

.med-curriculum-learn-more:hover {
  color: var(--med-burgundy-dark, #501613);
  transform: translateX(3px);
}

/* Overview / Who Can Apply Section Image Container Height Alignment */
.med-overview-modern-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
  border-radius: 16px;
  overflow: hidden;
}

.med-overview-modern-img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   PROFESSIONAL ADMISSION FORM REDESIGN & INPUT ALIGNMENT
   ========================================================================== */
.med-form-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 44px 48px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.med-form-group-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--med-burgundy, #69201c);
  margin-top: 36px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(105, 32, 28, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
}

.med-form-group-title:first-of-type {
  margin-top: 0;
}

.med-form-group-title i {
  color: var(--med-burgundy, #69201c);
  font-size: 18px;
}

.med-form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #212529;
  margin-bottom: 8px;
  line-height: 1.4;
}

.med-form-control {
  width: 100%;
  height: 48px;
  padding: 10px 16px;
  font-size: 14.5px;
  color: #212529;
  background-color: #ffffff;
  border: 1.5px solid #dee2e6;
  border-radius: 10px;
  transition: all 0.25s ease-in-out;
}

select.med-form-control {
  appearance: auto;
  cursor: pointer;
}

textarea.med-form-control {
  height: auto;
  min-height: 100px;
  padding: 12px 16px;
}

.med-form-control:focus {
  border-color: var(--med-burgundy, #69201c);
  box-shadow: 0 0 0 0.25rem rgba(105, 32, 28, 0.15);
  outline: 0;
}

.med-form-control.is-invalid {
  border-color: #dc3545;
  background-image: none;
}

/* File Upload Controls & Label Alignment Fix */
.med-file-label {
  min-height: 42px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: 8px;
  line-height: 1.3;
}

input[type="file"].med-form-control {
  display: flex;
  align-items: center;
  height: 52px;
  padding: 0 12px;
  font-size: 13.5px;
  line-height: 50px;
  background-color: #ffffff;
  border: 1.5px solid #ced4da;
  border-radius: 8px;
  box-sizing: border-box;
  color: #6c757d;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

input[type="file"].med-form-control::-webkit-file-upload-button,
input[type="file"].med-form-control::file-selector-button {
  height: 28px;
  line-height: 26px;
  margin-top: auto;
  margin-bottom: auto;
  margin-right: 12px;
  margin-left: 0;
  padding: 0 10px;
  border: 1px solid #8f8f8f;
  border-radius: 4px;
  background-color: #efefef;
  color: #111827;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  box-sizing: border-box;
}

input[type="file"].med-form-control::-webkit-file-upload-button:hover,
input[type="file"].med-form-control::file-selector-button:hover {
  background-color: #e2e2e2;
  border-color: #767676;
}

/* DECREASED WIDTH (COMPACT FIT-CONTENT) SUBMIT BUTTON STYLING */
.med-btn-submit-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--med-burgundy, #69201c) 0%, #4a1512 100%);
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 700;
  padding: 12px 32px;
  min-width: auto;
  width: auto;
  border-radius: 10px;
  border: none;
  box-shadow: 0 6px 20px rgba(105, 32, 28, 0.22);
  transition: all 0.3s ease;
  cursor: pointer;
}

.med-btn-submit-app:hover:not(:disabled) {
  background: linear-gradient(135deg, #7c2621 0%, #5a1916 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(105, 32, 28, 0.32);
}

.med-btn-submit-app:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

/* ==========================================================================
   CUSTOM SWEETALERT2 MODAL STYLING (MATCHING REFERENCE DESIGN)
   ========================================================================== */
.med-custom-swal-popup {
  border-radius: 20px !important;
  padding: 38px 32px !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15) !important;
  border: none !important;
  max-width: 480px !important;
}

.med-custom-swal-title {
  color: #69201c !important;
  font-family: var(--font-secondary), 'Playfair Display', Georgia, serif !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  margin-top: 14px !important;
  margin-bottom: 8px !important;
  letter-spacing: -0.3px !important;
}

.med-custom-swal-text {
  color: #7c2621 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  margin-bottom: 22px !important;
}

.med-custom-swal-btn {
  background-color: #0b192c !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  letter-spacing: 0.5px !important;
  padding: 10px 32px !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 12px rgba(11, 25, 44, 0.28) !important;
  border: none !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}

.med-custom-swal-btn:hover {
  background-color: #030a14 !important;
  box-shadow: 0 6px 16px rgba(11, 25, 44, 0.4) !important;
}

/* Green Checkmark Ring inside SweetAlert Modal */
.swal2-icon.swal2-success {
  border-color: #4ade80 !important;
  color: #22c55e !important;
}
.swal2-icon.swal2-success [class^='swal2-success-line'] {
  background-color: #22c55e !important;
}
.swal2-icon.swal2-success .swal2-success-ring {
  border: 4px solid rgba(74, 222, 128, 0.3) !important;
}

@media (max-width: 767px) {
  .med-form-card {
    padding: 28px 20px;
  }
  .med-btn-submit-app {
    width: 100%;
    min-width: 100%;
  }
}

/* Responsive Rules for Refined Components */
@media (max-width: 991px) {
  .med-home-about-img-wrap {
    padding-bottom: 25px;
    padding-right: 25px;
    margin-bottom: 25px;
  }

  .med-home-about-img-main {
    height: 380px;
  }

  .med-home-about-img-sub {
    height: 190px;
  }

  .med-nmc-grid-clean,
  .med-contact-block-grid,
  .med-hostel-feature-grid {
    grid-template-columns: 1fr;
  }

  .med-clinical-img-expanded {
    min-height: 360px;
    margin-top: 25px;
  }
}

@media (max-width: 575px) {
  .med-about-card-grid {
    grid-template-columns: 1fr;
  }

  .med-program-content-balanced {
    padding: 25px 20px;
  }

  .med-program-img-balanced {
    min-height: 260px;
  }
}

/* ==========================================================================
   UNIFORM INNER PAGE HERO / BANNER STYLES (MATCHING REFERENCE IMAGE)
   ========================================================================== */
.med-page-banner {
  position: relative;
  width: 100%;
  height: 380px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.med-page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 10, 30, 0.62);
  z-index: 1;
}

.med-page-banner-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  text-align: center;
  max-width: 850px;
  padding: 40px 15px;
  margin: 0 auto;
}

.med-page-banner-title {
  font-family: var(--font-primary);
  font-size: 52px;
  line-height: 1.15;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.med-page-banner-breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.med-page-banner-breadcrumb a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.med-page-banner-breadcrumb a:hover {
  color: var(--med-burgundy-light, #ffb8c6);
}

.med-page-banner-breadcrumb span.sep {
  opacity: 0.8;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 991px) {
  .med-page-banner {
    height: 320px;
    min-height: 270px;
  }

  .med-page-banner-title {
    font-size: 40px;
  }

  .med-page-banner-breadcrumb {
    font-size: 15px;
  }
}

@media (max-width: 575px) {
  .med-page-banner {
    height: 260px;
    min-height: 220px;
  }

  .med-page-banner-title {
    font-size: 28px;
  }

  .med-page-banner-breadcrumb {
    font-size: 14px;
  }
}

/* ==========================================================================
   ACTIVE PAGE NAVBAR LINK COLOR & HOVER STYLES
   ========================================================================== */
.navigation__menu--item.active>a.navigation__menu--item__link,
.navigation__menu--item__link.active,
.header.v__2 .navigation__menu--item.active>.navigation__menu--item__link,
.header.v__2 .navigation__menu--item:hover>.navigation__menu--item__link {
  color: var(--med-burgundy, #69201c) !important;
  font-weight: 700 !important;
}

.navigation__menu--item.active>a.navigation__menu--item__link::before,
.navigation__menu--item__link.active::before,
.header.v__2 .navigation__menu--item.active>.navigation__menu--item__link::before {
  background: var(--med-burgundy, #69201c) !important;
  width: 100% !important;
  opacity: 1 !important;
}

/* Submenu active item & options - no underlines */
.navigation__menu--item ul.submenu li a,
.navigation__menu--item .sub__style li a {
  text-decoration: none !important;
  border-bottom: none !important;
}

.navigation__menu--item ul.submenu li.active>a,
.navigation__menu--item ul.submenu li a.active,
.navigation__menu--item .sub__style li.active>a {
  color: var(--med-burgundy, #69201c) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

.navigation__menu--item ul.submenu li a::before,
.navigation__menu--item .sub__style li a::before,
.navigation__menu--item ul.submenu li a:hover::before,
.navigation__menu--item .sub__style li a:hover::before,
.navigation__menu--item ul.submenu li.active>a::before,
.navigation__menu--item ul.submenu li a.active::before,
.navigation__menu--item .sub__style li.active>a::before {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
}

/* ==========================================================================
   BS PRE-MEDICINE PROGRAM PAGE REDESIGN STYLES
   ========================================================================== */

/* Program Overview Image Wrap */
.med-overview-img-wrap {
  width: 100%;
  height: 100%;
  min-height: 440px;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.med-overview-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.med-overview-img-wrap:hover img {
  transform: scale(1.03);
}

.med-overview-pill-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background-color: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--med-heading, #110C2D);
  transition: all 0.3s ease;
}

.med-overview-pill-item:hover {
  background-color: #ffffff;
  border-color: var(--med-burgundy, #69201c);
  box-shadow: 0 4px 12px rgba(105, 32, 28, 0.08);
}

.med-why-prog-highlight {
  background-color: rgba(105, 32, 28, 0.04);
  border-left: 4px solid var(--med-burgundy, #69201c);
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.5;
}

/* Key Information Glance Swiper Cards */
.swiper-bs-glance {
  padding-bottom: 50px !important;
}

.med-bs-glance-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.med-bs-glance-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(105, 32, 28, 0.12);
  border-color: rgba(105, 32, 28, 0.2);
}

.med-bs-glance-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #f1f3f5;
}

.med-bs-glance-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.med-bs-glance-card:hover .med-bs-glance-img-wrap img {
  transform: scale(1.05);
}

.med-bs-glance-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.med-bs-glance-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--med-body, #525560);
  margin-bottom: 6px;
}

.med-bs-glance-val {
  font-size: 19px;
  font-weight: 700;
  color: var(--med-heading, #110C2D);
  margin-bottom: 8px;
}

.med-bs-glance-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--med-body, #525560);
  margin-bottom: 0;
}

/* Subjects Covered Modern Cards */
.med-subject-card-v2 {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-top: 3.5px solid var(--med-burgundy, #69201c);
  border-radius: 12px;
  padding: 26px 24px;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.med-subject-card-v2:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(105, 32, 28, 0.12);
  border-top-color: var(--med-burgundy-light, #a31432);
}

.med-subject-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.med-subject-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--med-burgundy, #69201c);
  background-color: rgba(105, 32, 28, 0.08);
  padding: 4px 10px;
  border-radius: 20px;
}

.med-subject-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: rgba(105, 32, 28, 0.06);
  color: var(--med-burgundy, #69201c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.med-subject-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--med-heading, #110C2D);
  margin-bottom: 10px;
}

.med-subject-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--med-body, #525560);
  margin-bottom: 0;
}

/* Learning Outcomes Image Wrap */
.med-outcomes-img-wrap {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.med-outcomes-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.med-outcomes-img-wrap:hover img {
  transform: scale(1.03);
}

@media (max-width: 991px) {
  .med-outcomes-img-wrap {
    min-height: 380px;
    height: 380px;
  }
}

/* Admission Requirements Image Wrap */
.med-admission-img-wrap {
  width: 100%;
  height: 100%;
  min-height: 520px;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.med-admission-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.med-admission-img-wrap:hover img {
  transform: scale(1.03);
}


/* ==========================================================================
   Lyceum Northwestern University - Doctor of Medicine (MD) Page Redesign CSS
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. PROGRAM OVERVIEW (SECTION 1)
   -------------------------------------------------------------------------- */
.med-overview-modern-wrap {
  position: relative;
  padding: 15px;
}

.med-overview-accent-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
  height: 90%;
  background: var(--med-burgundy-subtle);
  border: 2px solid rgba(105, 32, 28, 0.12);
  border-radius: 20px;
  z-index: 0;
}

.med-overview-modern-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 490px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.med-overview-floating-badge {
  position: absolute;
  bottom: -15px;
  right: -10px;
  z-index: 2;
  background: #ffffff;
  border: 1px solid var(--med-border);
  border-left: 5px solid var(--med-burgundy);
  border-radius: 10px;
  padding: 14px 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 14px;
}

.med-overview-badge-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: var(--med-burgundy-subtle);
  color: var(--med-burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.med-overview-badge-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--med-dark);
  margin: 0;
}

.med-overview-badge-sub {
  font-size: 12px;
  color: var(--med-body);
  margin: 0;
}

.med-overview-mini-card {
  background: #ffffff;
  border: 1px solid var(--med-border);
  border-radius: 10px;
  padding: 16px 20px;
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.med-overview-mini-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(105, 32, 28, 0.08);
  border-color: rgba(105, 32, 28, 0.3);
}

.med-overview-mini-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: var(--med-burgundy-subtle);
  color: var(--med-burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
}

.med-overview-mini-card:hover .med-overview-mini-icon {
  background: var(--med-burgundy);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   02. CURRICULUM SECTION (SECTION 2 - IMAGE BASED CARDS)
   -------------------------------------------------------------------------- */
.med-curriculum-img-card {
  background: #ffffff;
  border: 1px solid var(--med-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.med-curriculum-img-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(105, 32, 28, 0.12);
  border-color: var(--med-burgundy);
}

.med-curriculum-thumb-wrap {
  position: relative;
  height: 175px;
  overflow: hidden;
  background: var(--med-dark);
}

.med-curriculum-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.med-curriculum-img-card:hover .med-curriculum-thumb-wrap img {
  transform: scale(1.08);
}

.med-curriculum-subject-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(17, 12, 45, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.med-curriculum-card-body {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.med-curriculum-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--med-heading);
  margin-bottom: 14px;
  line-height: 1.3;
}

.med-curriculum-topic-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.med-curriculum-topic-list li {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--med-body);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.med-curriculum-topic-list li i {
  color: var(--med-burgundy);
  font-size: 12px;
  margin-top: 4px;
}

.med-curriculum-learn-more {
  font-size: 14px;
  font-weight: 700;
  color: var(--med-burgundy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  margin-top: auto;
}

.med-curriculum-learn-more:hover {
  color: var(--med-burgundy-light);
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   03. CLINICAL PRACTICE SECTION (SECTION 3)
   -------------------------------------------------------------------------- */
.med-clinical-large-wrap {
  position: relative;
  height: 100%;
  min-height: 520px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.med-clinical-large-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.med-clinical-large-wrap:hover img {
  transform: scale(1.03);
}

.med-clinical-img-overlay-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(17, 12, 45, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 16px 20px;
  color: #ffffff;
}

.med-clinical-feature-item {
  background: #ffffff;
  border: 1px solid var(--med-border);
  border-radius: 10px;
  padding: 16px 20px;
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

.med-clinical-feature-item:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 24px rgba(105, 32, 28, 0.08);
  border-color: var(--med-burgundy);
}

.med-clinical-feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--med-burgundy-subtle);
  color: var(--med-burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
}

.med-clinical-feature-item:hover .med-clinical-feature-icon {
  background: var(--med-burgundy);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   04. CLINICAL EXPERIENCE SECTION (SECTION 4 - TIMELINE & 50/50 SPLIT)
   -------------------------------------------------------------------------- */
.med-exp-hero-wrap {
  position: relative;
  height: 100%;
  min-height: 420px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.med-exp-hero-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.med-exp-hero-wrap:hover img {
  transform: scale(1.03);
}

.med-exp-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.med-exp-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--med-border);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--med-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.med-exp-pill:hover {
  border-color: var(--med-burgundy);
  color: var(--med-burgundy);
  transform: translateY(-2px);
}

.med-exp-pill i {
  color: var(--med-burgundy);
}

.med-exp-timeline-card {
  background: #ffffff;
  border: 1px solid var(--med-border);
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.med-exp-timeline-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(105, 32, 28, 0.12);
  border-color: var(--med-burgundy);
}

.med-exp-year-badge {
  display: inline-block;
  background: var(--med-burgundy);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
  align-self: flex-start;
}

.med-exp-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--med-burgundy-subtle);
  color: var(--med-burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.med-exp-timeline-card:hover .med-exp-icon-box {
  background: var(--med-burgundy);
  color: #ffffff;
  transform: scale(1.08);
}

.med-exp-timeline-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--med-dark);
  margin-bottom: 8px;
}

.med-exp-timeline-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--med-body);
  margin: 0;
}

/* --------------------------------------------------------------------------
   05. CTA SECTION (SECTION 5 - MODERN BOXED admission CARD)
   -------------------------------------------------------------------------- */
.med-cta-box-modern {
  position: relative;
  background-size: cover;
  background-position: center center;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  padding: 65px 45px;
}

.med-cta-box-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(17, 12, 45, 0.94) 0%,
      rgba(105, 32, 28, 0.90) 100%);
  z-index: 1;
}

.med-cta-box-content {
  position: relative;
  z-index: 2;
}

.med-cta-pathway-bar {
  padding-top: 24px;
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

@media (min-width: 992px) {
  .col-lg-2-4 {
    flex: 0 0 auto;
    width: 20%;
  }
}

/* Responsive Tweaks */
@media (max-width: 991px) {

  .med-overview-modern-img,
  .med-clinical-large-wrap,
  .med-exp-hero-wrap {
    min-height: 340px;
    height: 340px;
  }

  .med-overview-floating-badge {
    position: relative;
    bottom: 0;
    right: 0;
    margin-top: 15px;
  }

  .med-cta-box-modern {
    padding: 45px 25px;
  }

  /* --------------------------------------------------------------------------
   ADMISSION FORM & CHECKLIST REDESIGN STYLES
   -------------------------------------------------------------------------- */
  .med-checklist-card {
    background: #ffffff;
    border: 1px solid var(--med-border);
    border-radius: 12px;
    padding: 18px 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    height: 100%;
  }

  .med-checklist-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(105, 32, 28, 0.08);
    border-color: var(--med-burgundy);
  }

  .med-checklist-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: var(--med-burgundy-subtle);
    color: var(--med-burgundy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
  }

  .med-form-card {
    background: #ffffff;
    border: 1px solid var(--med-border);
    border-radius: 18px;
    padding: 45px 40px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
  }

  .med-form-group-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--med-heading);
    padding-bottom: 10px;
    margin-bottom: 22px;
    border-bottom: 2px solid var(--med-burgundy-subtle);
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .med-form-group-title i {
    color: var(--med-burgundy);
  }

  .med-form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--med-dark);
    margin-bottom: 6px;
  }

  .med-form-control {
    border: 1px solid var(--med-border);
    border-radius: 8px;
    padding: 11px 16px;
    font-size: 14.5px;
    color: var(--med-dark);
    transition: all 0.3s ease;
    background-color: #fafafa;
    width: 100%;
  }

  .med-form-control:focus {
    background-color: #ffffff;
    border-color: var(--med-burgundy);
    box-shadow: 0 0 0 3px rgba(105, 32, 28, 0.12);
    outline: none;
  }

  .med-form-control.is-invalid {
    border-color: #dc3545 !important;
    background-color: #fff8f8;
  }

  @media (max-width: 768px) {
    .med-form-card {
      padding: 30px 20px;
    }
  }

  /* --------------------------------------------------------------------------
   ELIGIBILITY PAGE - NEET REQUIREMENT REDESIGN STYLES
   -------------------------------------------------------------------------- */
  .med-neet-info-card {
    background: #ffffff;
    border: 1px solid var(--med-border);
    border-radius: 10px;
    padding: 16px 18px;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    height: 100%;
  }

  .med-neet-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(105, 32, 28, 0.08);
    border-color: rgba(105, 32, 28, 0.3);
  }

  .med-neet-info-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: var(--med-burgundy-subtle);
    color: var(--med-burgundy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    transition: all 0.3s ease;
  }

  .med-neet-info-card:hover .med-neet-info-icon {
    background: var(--med-burgundy);
    color: #ffffff;
  }

  .med-neet-notice-card {
    background: #ffffff;
    border: 1px solid var(--med-border);
    border-left: 5px solid var(--med-burgundy);
    border-radius: 10px;
    padding: 18px 22px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  }

  /* --------------------------------------------------------------------------
   TUITION FEES PAGE - REDESIGN STYLES
   -------------------------------------------------------------------------- */
  /* Tuition Fee Container Visibility Toggles */
  .med-table-card {
    display: block;
    background: #ffffff;
    border: 1px solid var(--med-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  }

  .med-fee-cards-mobile {
    display: none !important;
  }

  .med-table-card table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: collapse;
  }

  .med-table-card th {
    background: var(--med-dark);
    color: #ffffff;
    font-weight: 700;
    font-size: 14.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 18px 24px;
    border: none;
    text-align: center;
  }

  .med-table-card td {
    padding: 18px 24px;
    font-size: 15px;
    color: var(--med-body);
    vertical-align: middle;
    border-bottom: 1px solid var(--med-border);
    text-align: center;
  }

  .med-table-card tbody tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.015);
  }

  .med-table-card tbody tr:hover {
    background-color: rgba(105, 32, 28, 0.04);
    transition: background-color 0.25s ease;
  }

  /* Tuition Fee Badge Styling */
  .med-fee-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    background: rgba(105, 32, 28, 0.08);
    color: var(--med-burgundy, #69201c);
    font-weight: 700;
    font-size: 14.5px;
    border-radius: 20px;
    border: 1px solid rgba(105, 32, 28, 0.18);
    white-space: nowrap;
    transition: all 0.25s ease;
  }

  .med-table-card tbody tr:hover .med-fee-badge {
    background: var(--med-burgundy, #69201c);
    color: #ffffff;
    border-color: var(--med-burgundy, #69201c);
  }

  /* Mobile Fee Card Stack Styles (<768px) */
  .med-fee-cards-mobile {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .med-fee-card-item {
    background: #ffffff;
    border: 1px solid var(--med-border, #e2e8f0);
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
  }

  .med-fee-card-item:hover {
    border-color: rgba(105, 32, 28, 0.3);
    box-shadow: 0 8px 22px rgba(105, 32, 28, 0.08);
  }

  .med-fee-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
  }

  .med-fee-card-program {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--med-heading, #1e1e24);
    margin: 0;
    line-height: 1.35;
  }

  .med-fee-card-notes {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--med-body, #525560);
    display: flex;
    align-items: flex-start;
    gap: 8px;
  }

  .med-fee-card-notes i {
    color: var(--med-burgundy, #69201c);
    font-size: 14px;
    margin-top: 3px;
    flex-shrink: 0;
  }

  .med-charge-itemized-card {
    background: #ffffff;
    border: 1px solid var(--med-border);
    border-radius: 14px;
    padding: 26px 22px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .med-charge-itemized-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(105, 32, 28, 0.12);
    border-color: var(--med-burgundy);
  }

  .med-charge-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
  }

  .med-charge-bullet-list li {
    font-size: 14px;
    line-height: 1.6;
    color: var(--med-body);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .med-charge-bullet-list li i {
    color: var(--med-burgundy);
    font-size: 12px;
  }

  /* --------------------------------------------------------------------------
   CLINICAL TRAINING PAGE - AFFILIATED HOSPITAL CAROUSEL (REDESIGNED)
   -------------------------------------------------------------------------- */

  /* Section wrapper */
  .hosp-section {
    background: #f6f7fb;
  }

  /* Carousel outer wrapper — clips overflow and adds edge fade */
  .hosp-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0 30px;
  }

  /* Soft gradient mask on left & right edges */
  .hosp-carousel-wrapper::before,
  .hosp-carousel-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
  }
  .hosp-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f6f7fb, transparent);
  }
  .hosp-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f6f7fb, transparent);
  }

  /* Scrolling track */
  .hosp-carousel-track {
    display: flex;
    gap: 28px;
    width: max-content;
    animation: hospScroll 40s linear infinite;
  }

  /* Pause on hover */
  .hosp-carousel-wrapper:hover .hosp-carousel-track {
    animation-play-state: paused;
  }

  /* Scroll keyframes — right to left */
  @keyframes hospScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* ── Individual Card ── */
  .hosp-card {
    width: calc((100vw - 140px) / 3);
    min-width: 340px;
    max-width: 420px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
  }

  .hosp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(105,32,28,0.13);
    border-color: var(--med-burgundy);
  }

  /* ── Image Wrap ── */
  .hosp-card-img-wrap {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
  }

  .hosp-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
  }

  .hosp-card:hover .hosp-card-img-wrap img {
    transform: scale(1.07);
  }

  /* Badge overlay on image */
  .hosp-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--med-burgundy);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 50px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(105,32,28,0.3);
  }

  /* Gradient overlay on image bottom */
  .hosp-card-img-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 55%);
    pointer-events: none;
  }

  /* ── Card Body ── */
  .hosp-card-body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 10px;
  }

  /* Icon row */
  .hosp-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--med-burgundy-subtle, rgba(105,32,28,0.08));
    color: var(--med-burgundy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background 0.3s, color 0.3s;
  }

  .hosp-card:hover .hosp-card-icon {
    background: var(--med-burgundy);
    color: #fff;
  }

  /* Title */
  .hosp-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--med-heading, #1a1a2e);
    margin: 0;
    line-height: 1.35;
  }

  /* Description */
  .hosp-card-desc {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--med-body, #6b7280);
    margin: 0;
    flex-grow: 1;
  }

  /* Pills row */
  .hosp-card-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 4px;
  }

  .hosp-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--med-burgundy);
    background: var(--med-burgundy-subtle, rgba(105,32,28,0.07));
    border: 1px solid rgba(105,32,28,0.15);
    border-radius: 50px;
    padding: 4px 11px;
    letter-spacing: 0.2px;
    white-space: nowrap;
  }

  /* ── Mobile ── */
  @media (max-width: 768px) {
    .hosp-card {
      min-width: 290px;
      max-width: 310px;
    }
    .hosp-card-img-wrap {
      height: 180px;
    }
  }
}

/* ==========================================================================
   ADDITIONAL EXPENSES & CHARGES CARD DESIGN & HOVER EFFECTS
   ========================================================================== */
.med-charge-itemized-card {
  background: #ffffff;
  border: 1px solid var(--med-border, rgba(0, 0, 0, 0.08));
  border-radius: 16px;
  padding: 30px 26px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.035);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

/* Subtle top accent line on card hover */
.med-charge-itemized-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--med-burgundy, #69201c), #9e322b);
  opacity: 0;
  transition: opacity 0.35s ease;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.med-charge-itemized-card:hover {
  transform: translateY(-6px);
  border-color: rgba(105, 32, 28, 0.25);
  box-shadow: 0 16px 36px rgba(105, 32, 28, 0.12);
}

.med-charge-itemized-card:hover::before {
  opacity: 1;
}

/* Icon Box Design & Interactive Hover Effects */
.med-charge-icon-wrap {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  background: var(--med-burgundy-subtle, rgba(105, 32, 28, 0.08));
  color: var(--med-burgundy, #69201c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 12px rgba(105, 32, 28, 0.05);
}

.med-charge-itemized-card:hover .med-charge-icon-wrap {
  background: linear-gradient(135deg, var(--med-burgundy, #69201c) 0%, #4a1512 100%);
  color: #ffffff !important;
  transform: scale(1.1) rotate(-4deg);
  box-shadow: 0 8px 20px rgba(105, 32, 28, 0.3);
}

/* Title & Subtitle Styling */
.med-charge-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--med-heading, #1e1e24);
  margin-bottom: 6px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.med-charge-itemized-card:hover .med-charge-card-title {
  color: var(--med-burgundy, #69201c);
}

.med-charge-card-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--med-body, #525560) !important;
  margin-bottom: 20px;
}

/* Itemized Bullet List Styling */
.med-charge-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.med-charge-bullet-list li {
  font-size: 13.5px;
  font-weight: 600;
  color: #2b2b36;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 10px;
  transition: all 0.25s ease;
}

.med-charge-bullet-list li i {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: rgba(105, 32, 28, 0.09);
  color: var(--med-burgundy, #69201c);
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.med-charge-bullet-list li:hover {
  background: #ffffff;
  border-color: rgba(105, 32, 28, 0.2);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(105, 32, 28, 0.06);
}

.med-charge-bullet-list li:hover i {
  background: var(--med-burgundy, #69201c);
  color: #ffffff;
}

/* ==========================================================================
   HEADER NAVBAR & BRANDING RESTRICTIONS (POINTS 1 - 7)
   ========================================================================== */

.header.v__2 .header__wrapper,
.header__wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  gap: 20px !important;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

.header__logo {
    width: auto !important;
    min-width: max-content !important;
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    margin-right: 35px !important;
}

.header__brand-link {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
}

/* Restore Desktop Logo Size to 80px */
.header__brand-logo {
  height: 80px !important;
  width: auto !important;
  max-height: 80px !important;
  flex-shrink: 0 !important;
  object-fit: contain !important;
}

/* Increase Desktop University Name Size to 22px */
.header__brand-text .brand-name-top,
.header__brand-text .brand-name-bottom {
  font-family: var(--font-secondary), "Rufina", Georgia, serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: var(--rt-primary, #69201c) !important;
  line-height: 1.18 !important;
  white-space: nowrap !important;
}

.header__menu {
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 0 0 50px !important;
    min-width: 0 !important;
}

/* Top-level Navigation Menu items with 16px font size & proper equal spacing */
.navigation__menu > ul {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.navigation__menu--item__link {
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 30px 0 !important;
  text-transform: uppercase !important;
  color: var(--rt-heading) !important;
  white-space: nowrap !important;
}

/* Restored Admissions & Academics Dropdown Vertical List Layout */
.navigation__menu--item ul.submenu,
.navigation__menu--item .sub__style {
  display: block !important;
  flex-direction: column !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  min-width: 260px !important;
  background: #ffffff !important;
  padding: 18px 0 !important;
  margin: 0 !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
}

.navigation__menu--item ul.submenu li,
.navigation__menu--item .sub__style li {
  display: block !important;
  width: 100% !important;
  padding: 0 24px !important;
  margin: 0 0 10px 0 !important;
}

.navigation__menu--item ul.submenu li:last-child,
.navigation__menu--item .sub__style li:last-child {
  margin-bottom: 0 !important;
}

.navigation__menu--item ul.submenu li a,
.navigation__menu--item .sub__style li a {
  display: block !important;
  width: 100% !important;
  padding: 4px 0 !important;
  white-space: nowrap !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  color: var(--med-heading, #1e1e24) !important;
  text-transform: capitalize !important;
}

.navigation__menu--item ul.submenu li a:hover,
.navigation__menu--item .sub__style li a:hover {
  background-color: transparent !important;
  color: var(--med-burgundy, #69201c) !important;
}

.header__right {
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  margin-left: 10px !important;
}

/* Header Enquiry CTA Button with 14px Top/Bottom Padding */
.med-btn-header-enquiry {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, var(--med-burgundy, #69201c) 0%, #4a1512 100%) !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 14px 28px !important;
  border-radius: 30px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 15px rgba(105, 32, 28, 0.25) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.med-btn-header-enquiry:hover {
  background: linear-gradient(135deg, #7c2621 0%, #5a1916 100%) !important;
  box-shadow: 0 6px 20px rgba(105, 32, 28, 0.35) !important;
}

.med-btn-header-enquiry i {
  font-size: 14px !important;
}


/* ==========================================================================
   HOME HERO BANNER OUTLINED TRANSPARENT ARROW CONTROLS (POINTS 9 - 12)
   ========================================================================== */
.med-banner-arrow {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  background: transparent !important;
  border: 1.5px solid rgba(255, 255, 255, 0.75) !important;
  box-shadow: none !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 10 !important;
  margin-top: 0 !important;
  top: 45% !important;
  transform: translateY(-50%) !important;
  transition: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.med-banner-arrow::after {
  display: none !important;
  content: none !important;
}

.med-banner-arrow i {
  font-size: 19px !important;
  line-height: 1 !important;
  color: #ffffff !important;
  transition: none !important;
  transform: none !important;
}

.med-banner-arrow-prev {
  left: 30px !important;
}

.med-banner-arrow-next {
  right: 30px !important;
}

/* NO HOVER ANIMATIONS, NO FILLED BACKGROUND, NO SCALE ON ARROWS */
.med-banner-arrow:hover,
.med-banner-arrow:focus,
.med-banner-arrow:active {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: none !important;
  transform: translateY(-50%) !important;
  color: #ffffff !important;
}

/* Hide Swiper Pagination Bullets */
.swiper-home-banner .swiper-pagination {
  display: none !important;
}

/* Hero Content Left Alignment */
.med-hero-content {
  padding-left: 48px !important;
}

@media (max-width: 1199px) {
  .header__brand-logo {
    height: 65px !important;
  }
  .header__brand-text .brand-name-top,
  .header__brand-text .brand-name-bottom {
    font-size: 19px !important;
  }
  .navigation__menu > ul {
    gap: 22px !important;
  }
}

@media (max-width: 991px) {
  .header.v__2 {
    padding: 2px 0 !important;
  }
  .header__brand-logo {
    height: 55px !important;
  }
  .header__brand-text .brand-name-top,
  .header__brand-text .brand-name-bottom {
    font-size: 17px !important;
  }
  .med-hero-content {
    padding-left: 36px !important;
  }
}

@media (max-width: 767px) {
  .med-banner-arrow {
    width: 40px !important;
    height: 40px !important;
  }
  .med-banner-arrow-prev {
    left: 12px !important;
  }
  .med-banner-arrow-next {
    right: 12px !important;
  }
  .med-banner-arrow i {
    font-size: 15px !important;
  }
  .med-hero-content {
    padding-left: 20px !important;
  }
}


/* ==========================================================================
   FLOATING ACTION BUTTONS (WHATSAPP & QUICK ENQUIRY)
   ========================================================================== */
.med-floating-actions-container {
  position: fixed;
  bottom: 90px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}

.med-floating-btn {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 24px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  outline: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.med-floating-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.med-floating-whatsapp:hover {
  background: linear-gradient(135deg, #28e06c 0%, #159e8e 100%);
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  color: #ffffff !important;
}

.med-floating-enquiry {
  background: linear-gradient(135deg, var(--med-burgundy, #69201c) 0%, #4a1512 100%);
}

.med-floating-enquiry:hover {
  background: linear-gradient(135deg, #7c2621 0%, #5a1916 100%);
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 12px 30px rgba(105, 32, 28, 0.45);
  color: #ffffff !important;
}

.med-floating-tooltip {
  position: absolute;
  right: 66px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: rgba(17, 12, 45, 0.92);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
}

.med-floating-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  border-width: 5px 0 5px 5px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(17, 12, 45, 0.92);
}

.med-floating-btn:hover .med-floating-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}


/* ==========================================================================
   REDESIGNED ENQUIRY MODAL STYLING (POINTS 7 - 14)
   ========================================================================== */
.med-enquiry-modal .modal-dialog {
  max-width: 680px !important;
  margin: 1.75rem auto;
}

.med-enquiry-modal-content {
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22) !important;
  background-color: #ffffff;
  position: relative;
}

.med-enquiry-modal-close {
  position: absolute !important;
  top: 22px !important;
  right: 22px !important;
  z-index: 10 !important;
  opacity: 0.75 !important;
  transition: opacity 0.2s ease !important;
}

.med-enquiry-modal-close:hover {
  opacity: 1 !important;
}

.med-enquiry-modal-header {
  padding: 32px 35px 12px 35px;
  background: transparent;
  border: none;
}

.med-enquiry-modal-title {
  font-family: var(--font-secondary), "Rufina", Georgia, serif !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  color: var(--med-burgundy, #69201c) !important;
  margin: 0 !important;
  letter-spacing: -0.3px;
}

.med-enquiry-modal-body {
  padding: 20px 40px 38px 40px !important;
}

.med-form-label {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #212529 !important;
  margin-bottom: 7px !important;
  display: flex !important;
  align-items: left !important;
}

.text-burgundy {
  color: var(--med-burgundy, #69201c) !important;
}

/* Clean Input Box Styling without inside icons */
.med-form-input {
  width: 100% !important;
  height: 48px !important;
  padding: 10px 16px !important;
  font-size: 14px !important;
  color: #212529 !important;
  background-color: #ffffff !important;
  border: 1.5px solid #dee2e6 !important;
  border-radius: 10px !important;
  transition: all 0.25s ease-in-out !important;
}

select.med-form-input {
  appearance: none !important;
  cursor: pointer;
}

textarea.med-form-input {
  height: auto !important;
  min-height: 110px !important;
  padding: 12px 16px !important;
}

.med-form-input:focus {
  border-color: var(--med-burgundy, #69201c) !important;
  box-shadow: 0 0 0 0.2rem rgba(105, 32, 28, 0.15) !important;
  outline: 0 !important;
}

/* Backend Validation Error Display Styling */
.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15) !important;
}

.invalid-feedback {
  width: 100%;
  margin-top: 0.35rem;
  font-size: 13px;
  font-weight: 500;
  color: #dc3545 !important;
}

.is-invalid ~ .invalid-feedback,
.is-invalid + .invalid-feedback {
  display: block !important;
}

/* Centered Submit Button (35% width desktop) */
.med-btn-enquiry-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 35% !important;
  min-width: 180px !important;
  max-width: 240px !important;
  height: 48px !important;
  background: linear-gradient(135deg, var(--med-burgundy, #69201c) 0%, #4a1512 100%) !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  border: none !important;
  box-shadow: 0 6px 20px rgba(105, 32, 28, 0.22) !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
}

.med-btn-enquiry-submit:hover {
  background: linear-gradient(135deg, #7c2621 0%, #5a1916 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 25px rgba(105, 32, 28, 0.32) !important;
}

@media (max-width: 767px) {
  .med-enquiry-modal-body {
    padding: 15px 22px 30px 22px !important;
  }
  .med-enquiry-modal-header {
    padding: 24px 22px 10px 22px;
  }
  .med-enquiry-modal-title {
    font-size: 24px !important;
  }
  .med-btn-enquiry-submit {
    width: 80% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 575px) {
  .med-floating-actions-container {
    bottom: 80px;
    right: 20px;
    gap: 10px;
  }
  .med-floating-btn {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
  .med-floating-tooltip {
    display: none;
  }
  .med-btn-header-enquiry span {
    display: none;
  }
  .med-btn-header-enquiry {
    padding: 8px 12px !important;
    border-radius: 50% !important;
  }
}

/* ==========================================================================
   NEW REDESIGNED INNER-PAGE CTA COMPONENT STYLES
   ========================================================================== */
.med-new-cta-section {
  position: relative;
  z-index: 1;
}

.med-new-cta-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(17, 12, 45, 0.05);
  transition: box-shadow 0.3s ease;
}

.med-new-cta-card:hover {
  box-shadow: 0 16px 45px rgba(105, 32, 28, 0.08);
}

.med-new-cta-img-wrap {
  position: relative;
  width: 100%;
  height: 320px;
  max-height: 340px;
  background: #f8f9fa;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.med-new-cta-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  display: block;
  transition: transform 0.5s ease;
}

.med-new-cta-card:hover .med-new-cta-img {
  transform: scale(1.03);
}

.med-new-cta-content-box {
  padding: 50px 55px;
  width: 100%;
}

.med-new-cta-title {
  font-size: 30px;
  font-weight: 800;
  color: #110C2D;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.med-new-cta-desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: #52565e;
  margin-bottom: 32px;
  max-width: 600px;
}

.med-new-cta-btn-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.med-new-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--med-burgundy, #69201c);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 8px;
  border: 2px solid var(--med-burgundy, #69201c);
  text-decoration: none !important;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(105, 32, 28, 0.18);
  cursor: pointer;
}

.med-new-cta-btn-primary:hover {
  background-color: #521815;
  border-color: #521815;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(105, 32, 28, 0.28);
}

.med-new-cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #ffffff;
  color: var(--med-burgundy, #69201c) !important;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 8px;
  border: 2px solid var(--med-burgundy, #69201c);
  text-decoration: none !important;
  transition: all 0.3s ease;
  cursor: pointer;
}

.med-new-cta-btn-secondary:hover {
  background-color: var(--med-burgundy, #69201c);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(105, 32, 28, 0.18);
}

/* Responsive CTA Styles */
@media (max-width: 1199px) {
  .med-new-cta-content-box {
    padding: 40px 40px;
  }
  .med-new-cta-title {
    font-size: 26px;
  }
  .med-new-cta-img-wrap {
    height: 300px;
    max-height: 320px;
  }
}

@media (max-width: 991px) {
  .med-new-cta-img-wrap {
    height: 260px;
    max-height: 280px;
  }
  .med-new-cta-content-box {
    padding: 35px 30px;
  }
  .med-new-cta-title {
    font-size: 24px;
    margin-bottom: 12px;
  }
  .med-new-cta-desc {
    font-size: 14.5px;
    margin-bottom: 24px;
  }
}

@media (max-width: 575px) {
  .med-new-cta-card {
    border-radius: 16px;
  }
  .med-new-cta-img-wrap {
    height: 220px;
    min-height: 220px;
  }
  .med-new-cta-content-box {
    padding: 26px 20px;
  }
  .med-new-cta-title {
    font-size: 21px;
  }
  .med-new-cta-btn-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .med-new-cta-btn-primary,
  .med-new-cta-btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }
}

/* ==========================================================================
   RESPONSIVE TABLET & MOBILE REDESIGN (768px - 1024px & <=767px)
   ========================================================================== */

/* 1. Off-Canvas Navigation Drawer & Overlay (Hidden on Desktop >1024px) */
@media (min-width: 1025px) {
  .med-hamburger-btn,
  .med-offcanvas-overlay,
  .med-offcanvas-drawer {
    display: none !important;
  }
}

.med-hamburger-btn {
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  background: var(--rt-primary, #69201c) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  font-size: 20px !important;
  border: none !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease !important;
  flex-shrink: 0 !important;
}

.med-hamburger-btn:hover {
  background: #4a1512 !important;
}

.med-offcanvas-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.5) !important;
  z-index: 99999 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.35s ease !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
}

.med-offcanvas-overlay.active {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.med-offcanvas-drawer,
.med-offcanvas-drawer *,
.med-offcanvas-drawer *::before,
.med-offcanvas-drawer *::after {
  box-sizing: border-box !important;
}

.med-offcanvas-drawer {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  width: 320px !important;
  /* max-width: 100vw !important; */
  height: 100vh !important;
  height: 100dvh !important;
  background: #ffffff !important;
  z-index: 100000 !important;
  transform: translateX(100%) !important;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

.med-offcanvas-drawer.active {
  transform: translateX(0) !important;
}

.med-offcanvas-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 18px 20px !important;
  border-bottom: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 10 !important;
}

.med-offcanvas-logo {
  height: 60px !important;
  width: auto !important;
  object-fit: contain !important;
}

.med-offcanvas-close {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: #f1f5f9 !important;
  color: #1e1e24 !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.med-offcanvas-close:hover {
  background: #69201c !important;
  color: #ffffff !important;
}

.med-offcanvas-body {
  padding: 10px 0 30px 0 !important;
  flex: 1 1 auto !important;
}

.med-offcanvas-nav ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.med-offcanvas-nav > ul > li {
  border-bottom: 1px solid #f1f5f9 !important;
}

.med-offcanvas-nav a {
  display: block !important;
  padding: 14px 24px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  color: #1e1e24 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.med-offcanvas-nav li.active > a,
.med-offcanvas-nav li.active > .med-dropdown-toggle > a,
.med-offcanvas-nav a:hover {
  color: #69201c !important;
}

.med-dropdown-toggle {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 150px !important;
    align-items: center !important;
    width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.med-dropdown-toggle > a {
    min-width: 0 !important;
    width: 100% !important;
    padding: 12px 24px !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

.med-arrow-btn {
    width: 56px !important;
    min-width: 56px !important;
    height: 54px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.med-has-dropdown.open .med-arrow-btn {
  transform: rotate(180deg) !important;
  color: #69201c !important;
}

.med-offcanvas-submenu {
  display: none !important;
  background: #f8fafc !important;
  padding: 6px 0 !important;
  border-top: 1px solid #f1f5f9 !important;
}

.med-has-dropdown.open .med-offcanvas-submenu {
  display: block !important;
}

.med-offcanvas-submenu li {
  border-bottom: none !important;
}

.med-offcanvas-submenu a {
  padding: 10px 24px 10px 38px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-transform: none !important;
  color: #000000 !important;
}

.med-offcanvas-submenu li.active a {
  color: #69201c !important;
  font-weight: 700 !important;
}

/* 2. TABLET BREAKPOINT (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
  .header.v__2 .header__wrapper,
  .header__wrapper {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    gap: 15px !important;
  }

  .header__menu {
    display: none !important; /* Hide desktop links on tablet */
  }

  .header__logo {
    margin-right: 0 !important;
  }

  .header__brand-logo {
    height: 70px !important;
    /* max-height: 55px !important; */
  }

  .header__brand-text .brand-name-top,
  .header__brand-text .brand-name-bottom {
    font-size: 20px !important;
    line-height: 1.15 !important;
  }
  .med-offcanvas-logo {
    height: 70px !important;
    width: auto !important;
    object-fit: contain !important;
  }

  .header__right {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-left: auto !important;
  }

  .med-offcanvas-drawer {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: 420px !important;
    /* max-width: 100vw !important; */
    height: 100vh !important;
    height: 100dvh !important;
    background: #ffffff !important;
    z-index: 100000 !important;
    transform: translateX(100%) !important;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  /* Compact Tablet Enquiry Button */
  .med-btn-header-enquiry {
    display: inline-flex !important;
    padding: 14px 22px !important;
    font-size: 13.5px !important;
    border-radius: 24px !important;
  }

  .med-hamburger-btn {
    display: flex !important;
  }


  /* Tablet Hero Banner Viewport Height */
  .swiper-home-banner,
  .banner__wrapper {
    height: calc(100svh - 75px) !important;
    height: 460px !important;
    /* max-height: 720px !important; */
  }

  .med-hero-slide {
    height: 100% !important;
    min-height: 100% !important;
    display: flex !important;
    align-items: center !important;
    background-position: center top !important;
    background-size: cover !important;
  }

  .med-hero-title {
    font-size: 38px !important;
    line-height: 1.2 !important;
    margin-bottom: 16px !important;
  }

  .med-hero-desc {
    font-size: 15px !important;
    line-height: 1.5 !important;
    margin-bottom: 24px !important;
  }

  .med-banner-arrow-prev {
    left: 15px !important;
  }

  .med-banner-arrow-next {
    right: 15px !important;
  }

  .med-floating-actions-container {
    bottom: 80px !important;
    right: 20px !important;
    gap: 12px !important;
  }

  .progress-wrap{
    right: 20px !important;
  }

  .med-floating-btn {
    width: 48px !important;
    height: 48px !important;
    font-size: 21px !important;
  }

  /* Tablet Tuition Fee Table Responsiveness */
  .med-table-card th {
    font-size: 13.5px !important;
    padding: 14px 18px !important;
    letter-spacing: 0.3px !important;
  }
  .med-table-card td {
    font-size: 14px !important;
    padding: 14px 18px !important;
  }
  .med-fee-badge {
    font-size: 13.5px !important;
    padding: 5px 12px !important;
  }
}

/* 3. MOBILE BREAKPOINT (<=767px) */
@media (max-width: 767px) {
  html, body {
    overflow-x: hidden !important;
  }

  .header.v__2 .header__wrapper,
  .header__wrapper {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    gap: 10px !important;
  }

  .header__menu {
    display: none !important;
  }

  .header__logo {
    margin-right: 0 !important;
  }

  .header__brand-logo {
    height: 60px !important;
    max-height: 60px !important;
  }

  .header__brand-text .brand-name-top,
  .header__brand-text .brand-name-bottom {
    font-size: 15px !important;
    line-height: 1.15 !important;
  }

  .header__right {
    display: flex !important;
    align-items: center !important;
    margin-left: auto !important;
  }

  /* HIDE top navbar enquiry button on mobile as per requirement 4.7 */
  .med-btn-header-enquiry {
    display: none !important;
  }

  .med-hamburger-btn {
    display: flex !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
    border-radius: 6px !important;
  }

  /* Mobile Hero Banner Viewport Height */
  .swiper-home-banner,
  .banner__wrapper {
    height: calc(100svh - 80px) !important;
    /* min-height: 440px !important; */
    /* max-height: 650px !important; */
  }

  .med-hero-slide {
    height: 100% !important;
    min-height: 100% !important;
    display: flex !important;
    align-items: center !important;
    background-position: center top !important;
    background-size: cover !important;
  }

  .med-hero-content {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .med-hero-title {
    font-size: clamp(24px, 6.5vw, 32px) !important;
    line-height: 1.25 !important;
    margin-bottom: 14px !important;
  }

  .med-hero-desc {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: 20px !important;
    max-width: 95% !important;
  }

  /* Hide banner left/right arrows on small mobile (<=576px) to eliminate floating button collisions */
  @media (max-width: 576px) {
    .med-banner-arrow {
      display: none !important;
    }
  }

  .med-floating-actions-container {
    bottom: 80px !important;
    right: 15px !important;
    gap: 10px !important;
    z-index: 9999 !important;
  }

  .progress-wrap{
    right: 15px !important;
    height: 44px;
    width: 44px;
  }

  .med-floating-btn {
    width: 44px !important;
    height: 44px !important;
    font-size: 20px !important;
  }

  .med-floating-tooltip {
    display: none !important; /* Hide floating button tooltips on mobile */
  }

  /* Mobile Tuition Fee Structure Responsiveness */
  .med-table-card {
    display: none !important;
  }
  .med-fee-cards-mobile {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
  }
  .med-fee-badge {
    font-size: 13px !important;
    padding: 4px 10px !important;
  }
}

/* 4. VERY SMALL MOBILE (<=375px) */
@media (max-width: 375px) {
  .header__brand-logo {
    height: 60px !important;
  }

  .header__brand-text .brand-name-top,
  .header__brand-text .brand-name-bottom {
    font-size: 16px !important;
  }

  .med-hamburger-btn {
    width: 36px !important;
    height: 36px !important;
    font-size: 16px !important;
  }

  .med-hero-title {
    font-size: 22px !important;
  }

  .med-hero-desc {
    font-size: 13px !important;
  }
}

/* ==========================================================================
   NEET REQUIREMENT SECTION & MINI CARDS HOVER EFFECTS
   ========================================================================== */
.med-neet-info-card,
.med-overview-mini-card,
.med-checklist-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  height: 100%;
}

.med-neet-info-card:hover,
.med-overview-mini-card:hover,
.med-checklist-card:hover {
  transform: translateY(-5px);
  border-color: var(--med-burgundy, #69201c);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(105, 32, 28, 0.12);
}

.med-neet-info-icon,
.med-overview-mini-icon,
.med-checklist-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: var(--med-burgundy-subtle, rgba(105, 32, 28, 0.08));
  color: var(--med-burgundy, #69201c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
}

.med-neet-info-card:hover .med-neet-info-icon,
.med-overview-mini-card:hover .med-overview-mini-icon,
.med-checklist-card:hover .med-checklist-icon {
  background: var(--med-burgundy, #69201c);
  color: #ffffff;
  transform: scale(1.05);
}

.med-neet-info-card h4,
.med-overview-mini-card h4,
.med-checklist-card h4 {
  transition: color 0.3s ease;
}

.med-neet-info-card:hover h4,
.med-overview-mini-card:hover h4,
.med-checklist-card:hover h4 {
  color: var(--med-burgundy, #69201c) !important;
}

/* Notice Card Styling */
.med-neet-notice-card {
  background: #ffffff;
  border-left: 4px solid var(--med-burgundy, #69201c);
  border-radius: 8px;
  padding: 16px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.med-neet-notice-card:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

/* --------------------------------------------------------------------------
   CARD SLIDER NAVIGATION ARROWS
   -------------------------------------------------------------------------- */
.med-slider-arrow {
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  color: var(--med-dark, #1a1a1a);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  margin-top: 0;
}

.med-slider-arrow::after {
  display: none !important;
  content: "" !important;
}

.med-slider-arrow:hover {
  background-color: var(--med-burgundy, #69201c);
  color: #ffffff;
  border-color: var(--med-burgundy, #69201c);
  box-shadow: 0 8px 22px rgba(105, 32, 28, 0.35);
  transform: translateY(-50%) scale(1.1);
}

.med-slider-arrow-prev {
  left: -22px;
}

.med-slider-arrow-next {
  right: -22px;
}

@media (max-width: 991px) {
  .med-slider-arrow-prev {
    left: -12px;
  }
  .med-slider-arrow-next {
    right: -12px;
  }
}

@media (max-width: 575px) {
  .med-slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
  .med-slider-arrow-prev {
    left: 2px;
  }
  .med-slider-arrow-next {
    right: 2px;
  }
}