/* =========================================================
   HERO SECTION - Career Adda Hub (Fully Responsive)
   ========================================================= */
.hero {
  position: relative;
  height: 70vh;
  min-height: 550px;
  color: #fff;
  text-align: center;
  background: url("../images/hero-edu.webp") center center / cover no-repeat fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2rem 1rem;
}

/* Blue overlay */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 33, 84, 0.7);
  z-index: 1;
}

/* Subtle grid lines overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 100px 100px;
  pointer-events: none;
  z-index: 2;
}

/* Hero content positioning */
.hero .container {
  position: relative;
  z-index: 3;
}

/* =============================
   TITLE + SUBTITLE
============================= */
.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #ddd;
  margin-bottom: 30px;
}

/* =============================
   SEARCH BOX - GOLDEN STYLE
============================= */
.new-search-wrapper {
  position: relative;
  width: 100%;
  max-width: 750px;
  margin: 2rem auto;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  z-index: 1;
  transition: all 0.4s ease;
}

/* Animated golden border */
.new-search-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 2px;
  background: linear-gradient(120deg, #d4af37, #ffcc00, #ffd700, #d4af37);
  background-size: 300% 300%;
  animation: goldenRun 4s linear infinite;
  pointer-events: none;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
}

/* Search box flex layout */
.new-search-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

/* Icon container */
.icon-container {
  padding-left: 1.2rem;
  color: #fff;
  align-items: center;
  justify-content: center;
}

.icon-container i {
  font-size: 1.3rem;
  animation: pulse 2s infinite !important;
}

/* Input field */
.new-search-input {
  flex: 1;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  padding: 1rem 1.2rem;
  outline: none;
  z-index: 2;
}

.new-search-input::placeholder {
  color: rgba(255, 255, 255, 0.9);
}

/* Glow effect */
.new-search-input:focus-visible {
  outline: none;
}

.new-search-input:focus {
  box-shadow: none;
}

.new-search-box:focus-within {
  box-shadow: 0 0 20px 5px rgba(255, 215, 0, 0.6);
  transition: all 0.3s ease;
  border-radius: 50px;
}

/* Search button */
.new-search-btn {
  background: linear-gradient(90deg, #ffcc00, #d4af37);
  color: #000;
  font-weight: 600;
  border: none;
  padding: 1rem 2rem;
  border-radius: 0 50px 50px 0;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

/* Button hover */
.new-search-btn:hover {
  background: linear-gradient(90deg, #ffd700, #ffcc00);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

/* Animations */
@keyframes goldenRun {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.85; }
  100% { transform: scale(1); opacity: 1; }
}

/* =============================
   STATS SECTION
============================= */
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 2.5rem;
  position: relative;
  z-index: 2;
}

.hero-stats .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Stat Box */
.stat-box {
  flex: 1 1 calc(20% - 1.2rem);
  min-width: 180px;
  max-width: 220px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
}

.stat-box h4 {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  transition: all 0.4s ease;
}

.stat-box p {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  color: #fff;
  opacity: 0.9;
}

/* Unique colors */
.hero-stats .col:nth-child(1) .stat-box h4 { color: #ff4d4d; }
.hero-stats .col:nth-child(2) .stat-box h4 { color: #1abc9c; }
.hero-stats .col:nth-child(3) .stat-box h4 { color: #3498db; }
.hero-stats .col:nth-child(4) .stat-box h4 { color: #f1c40f; }
.hero-stats .col:nth-child(5) .stat-box h4 { color: #9b59b6; }

/* Hover Glows */
.hero-stats .col:nth-child(1) .stat-box:hover { box-shadow: 0 0 25px rgba(255, 77, 77, 0.8); }
.hero-stats .col:nth-child(2) .stat-box:hover { box-shadow: 0 0 25px rgba(26, 188, 156, 0.8); }
.hero-stats .col:nth-child(3) .stat-box:hover { box-shadow: 0 0 25px rgba(52, 152, 219, 0.8); }
.hero-stats .col:nth-child(4) .stat-box:hover { box-shadow: 0 0 25px rgba(241, 196, 15, 0.8); }
.hero-stats .col:nth-child(5) .stat-box:hover { box-shadow: 0 0 25px rgba(155, 89, 182, 0.8); }

/* Hover scaling */
.stat-box:hover {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.35);
}

/* =============================
   RESPONSIVE DESIGN
============================= */

/* Tablets */
@media (max-width: 992px) {
  .hero {
    height: auto;
    padding: 4rem 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .new-search-box {
    flex-direction: column;
    border-radius: 30px;
  }

  .new-search-btn {
    width: 100%;
    border-radius: 0 0 30px 30px;
    margin-top: 0.5rem;
  }

  .hero-stats .row {
    gap: 1rem;
  }

  .stat-box {
    flex: 1 1 calc(45% - 1rem);
    padding: 1.6rem 1.2rem;
  }
}

/* =============================
   MOBILE VIEW IMPROVED
============================= */
@media (max-width: 576px) {
  .hero {
    height: auto;
    min-height: 450px;
    padding: 3rem 1rem;
    background-attachment: scroll;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  /* ✅ Search box responsiveness */
  .new-search-box {
    flex-direction: row !important;
    border-radius: 50px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .icon-container {
    padding-left: 0.8rem;
  }

  .icon-container i {
    font-size: 1rem;
  }

  .new-search-input {
    flex: 1;
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
    width: 100%;
    text-align: left;
    border-radius: 50px 0 0 50px;
  }

  .new-search-btn {
    font-size: 0.9rem;
    padding: 0.8rem 1.2rem;
    border-radius: 0 50px 50px 0;
    width: auto;
    margin-top: 0;
  }
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
    justify-items: center;
  }

  .stat-item {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .stat-box {
    width: 100%;
    max-width: 160px; /* ✅ force equal width for all boxes */
  }

  /* ✅ Make last stat box center-aligned and same width as others */
  .hero-stats-grid .stat-item:nth-child(5) {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
  }
  .hero-stats-grid .stat-item:nth-child(5) .stat-box {
    max-width: 160px; /* same as others */
  }

  .stat-box h4 { font-size: 1.6rem; }
  .stat-box p  { font-size: 0.95rem; }
}


/* ===========================
  HERO STATS - custom grid
   (works responsively with 2+2+1 on mobile)
   Add this AFTER your other CSS rules
   =========================== */

/* Base layout for the custom grid */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* desktop baseline - you can override later */
  gap: 1.2rem;
  max-width: 1200px;
  margin: 2rem auto 0;
  padding: 0 1rem;
  box-sizing: border-box;
}

/* Each item contains the visual .stat-box */
.stat-item {
  display: flex;
  justify-content: center;
}

/* Visual stat box (keep existing visual style) */
.stat-box {
  width: 100%;
  max-width: 220px;
  min-width: 150px;
  padding: 1.6rem 1.2rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  text-align: center;
  box-sizing: border-box;
  transition: transform .35s ease, box-shadow .35s ease;
}

/* text */
.stat-box h4 { font-size: 2.1rem; margin-bottom: .4rem; font-weight:800; }
.stat-box p  { font-size: 1.05rem; margin:0; font-weight:600; opacity:.9; }

/* hover (keeps previous glow) */
.stat-box:hover { transform: scale(1.03); }

/* color for numbers (you can keep these) */
.hero-stats-grid .stat-item:nth-child(1) .stat-box h4 { color: #ff4d4d; }
.hero-stats-grid .stat-item:nth-child(2) .stat-box h4 { color: #1abc9c; }
.hero-stats-grid .stat-item:nth-child(3) .stat-box h4 { color: #3498db; }
.hero-stats-grid .stat-item:nth-child(4) .stat-box h4 { color: #f1c40f; }
.hero-stats-grid .stat-item:nth-child(5) .stat-box h4 { color: #9b59b6; }


/* ---------------------------
   MOBILE: Force 2 + 2 + 1 layout
   --------------------------- */
@media (max-width: 576px) {
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr); /* two columns */
    gap: 0.9rem; /* horizontal & vertical gap */
    justify-items: center; /* center columns */
  }

  /* make each stat box fill its grid cell and be same size */
  .stat-item { width: 100%; display: flex; justify-content: center; }
  .stat-box  { max-width: 100%; width: calc(100% - 0.6rem); } /* leave breathing room */

  /* Now force the 5th item to span both columns and center */
  .hero-stats-grid .stat-item:nth-child(5) {
    grid-column: 1 / -1; /* span all columns (both columns) */
    display: flex;
    justify-content: center;
  }

  /* Optional: smaller text on mobile */
  .stat-box h4 { font-size: 1.6rem; }
  .stat-box p  { font-size: 0.95rem; }
}
/* ===== Admission Section ===== */
.admission-section {
  background: radial-gradient(circle at top left, #0a0f2c, #000);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.info-card {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 12px;
  gap: 10px;
  transition: 0.3s ease;
}

.info-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.icon-box {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.3rem;
  color: #ffc107;
}

.admission-form-box {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
}

.form-control,
.form-select {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.form-control:focus,
.form-select:focus {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: #ffc107;
  box-shadow: 0 0 10px #ffc10750;
}

.form-floating label {
  color: #ccc;
}

.circle-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.circle1 {
  width: 300px;
  height: 300px;
  background: #ffc107;
  top: -50px;
  right: -100px;
}

.circle2 {
  width: 200px;
  height: 200px;
  background: #007bff;
  bottom: -50px;
  left: -50px;
}

/* Responsive Fixes */
@media (max-width: 991px) {
  .info-card {
    flex-direction: column;
    text-align: center;
  }

  .info-buttons {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .col-6 {
    width: 50%;
  }

  .info-card {
    padding: 10px;
  }

  .admission-form-box {
    padding: 1.5rem !important;
  }
}



.form-select {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.form-select option {
  background-color: #0a0f2c;
  color: #fff;
}

.form-select:focus {
  background-color: rgba(255, 255, 255, 0.2) !important;
  color: #fff;
  border-color: #ffc107;
  box-shadow: 0 0 10px #ffc10750;
}

/* ===============================
   STUDY GOAL SECTION
   =============================== */
.study-goal-section {
  background-color: #ffffff;
}

.study-goal-section h2 span {
  color: #7c8b00;
}

.goal-card {
  background: #f7f7f7;
  border-radius: 15px;
  padding: 1.2rem 1.5rem;
  transition: all 0.35s ease;
  border: 1px solid transparent;
}

.goal-card:hover {
  transform: translateY(-5px);
  border-left: 5px solid #c02c2c;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.goal-icon img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.goal-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  text-decoration: none;
}

.goal-title:hover {
  color: #c02c2c;
}

.goal-content p a {
  color: #7c8b00;
  text-decoration: none;
}

.goal-content p a:hover {
  text-decoration: underline;
}

.goal-footer .badge {
  background-color: #7c8b00 !important;
  font-size: 0.8rem;
  padding: 0.4rem 0.7rem;
}

.goal-actions .btn {
  border-radius: 6px;
  font-size: 0.8rem;
}

.goal-actions .btn-danger {
  background-color: #c02c2c;
  border: none;
}

.goal-actions .btn-outline-secondary {
  color: #444;
  border-color: #ccc;
}

.goal-actions .btn-outline-secondary:hover {
  background: #eee;
  color: #000;
}

@media (max-width: 768px) {
  .goal-card {
    flex-direction: column;
    text-align: center;
  }

  .goal-icon {
    margin-bottom: 0.8rem;
  }

  .goal-footer {
    flex-direction: column;
    gap: 0.6rem;
  }
}

/* ===================================================
   Premium Study Goal Section with Circle Texture
   =================================================== */
.pre-study-goal-section {
  position: relative;
  background: radial-gradient(circle at 20% 20%, rgba(220,240,255,0.4), transparent 40%),
              radial-gradient(circle at 80% 60%, rgba(255,230,240,0.5), transparent 40%),
              linear-gradient(135deg, #f9faff, #fefbff);
  overflow: hidden;
}

.text-gradient {
  background: linear-gradient(45deg, #6a5acd, #c77dff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pre-goal-card {
  background: #f7f7f7;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border: 2px solid rgba(255,255,255,0.8);
  transition: all 0.4s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
  cursor: pointer;
  text-align: center; /* ✅ Centers heading and paragraph */
}

.pre-goal-card:hover {
  background: #f7f7f7;
  box-shadow: 0 20px 30px rgba(0,0,0,0.1);
  border-color: rgba(138, 77, 255, 0.5);
}

.pre-goal-img-wrapper {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f2e9ff, #e4e0ff);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 15px rgba(255,255,255,0.6);
  transition: all 0.4s ease;
  overflow: hidden; /* ✅ Prevents image from spilling outside */
}

.goal-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* ✅ Auto-resizes while maintaining aspect ratio */
  padding: 15px; /* Optional: adds inner spacing */
  transition: transform 0.4s ease;
}

.pre-goal-card:hover .goal-img {
  transform: scale(1.08); /* Optional: smooth zoom on hover */
}
.btn-readmore, .btn-enquiry {
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}
.btn-readmore {
  background-color: #6a5acd;
  color: #fff;
}
.btn-readmore:hover {
  background-color: #5748b6;
}
.btn-enquiry {
  background-color: #c77dff;
  color: #fff;
}
.btn-enquiry:hover {
  background-color: #a85eea;
}

/* ===============================
   STUDY PLACES SECTION
   =============================== */
.study-places-section {
  --bg-color-start: #f4f7ff;
  --bg-color-end: #edf1ff;

  background: linear-gradient(135deg, var(--bg-color-start), var(--bg-color-end));
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

/* =========================================================
   ULTRA-SMOOTH GLASS FADE EDGES
   ========================================================= */
.slider-viewport::before,
.slider-viewport::after {
  content: "";
  position: absolute;
  top: 0px;
  width: 70px; /* a bit wider for smoother gradient */
  height: 100%;
  z-index: 5;
  pointer-events: none;
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

/* Left Edge */
.slider-viewport::before {
  left: 0;
  background: linear-gradient(
    to right,
    rgba(247, 249, 255, 0.95) 0%,
    rgba(247, 249, 255, 0.75) 20%,
    rgba(247, 249, 255, 0.45) 40%,
    rgba(247, 249, 255, 0.15) 70%,
    rgba(247, 249, 255, 0) 100%
  );
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
}

/* Right Edge */
.slider-viewport::after {
  right: 0;
  background: linear-gradient(
    to left,
    rgba(247, 249, 255, 0.95) 0%,
    rgba(247, 249, 255, 0.75) 20%,
    rgba(247, 249, 255, 0.45) 40%,
    rgba(247, 249, 255, 0.15) 70%,
    rgba(247, 249, 255, 0) 100%
  );
  border-top-left-radius: 40px;
  border-bottom-left-radius: 40px;
}

/* Mobile adjustment */
@media (max-width: 768px) {
  .slider-viewport::before,
  .slider-viewport::after {
    width: 25px !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}


/* ===============================
   SLIDER TRACK
   =============================== */
.slider-track {
  display: flex;
  gap: 25px;
  will-change: transform;
  transition: transform 0.2s ease;
}

/* Slide Cards */
.slide {
  position: relative;
  flex: 0 0 280px;
  height: 200px;
  border-radius: 18px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.slide:hover {
  transform: translateY(-8px) scale(1.03);
}


/* ===============================
   CITY SLIDER CARD STYLES
   =============================== */
.slide {
  position: relative;
  flex: 0 0 auto;
  width: 320px;                /* base width for desktop */
  height: 200px;               /* base height for desktop */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.slide:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
}

/* Overlay (dark transparent layer + centered city name) */
.slide .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.slide:hover .overlay {
  background: rgba(0, 0, 0, 0.6);
}

/* City name text */
.slide .overlay h5 {
  color: #fff;
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.3px;
  margin: 0;
  text-align: center;
}

/* ===============================
   RESPONSIVE DESIGN
   =============================== */
@media (max-width: 1200px) {
  .slide {
    width: 280px;
    height: 180px;
  }
}

@media (max-width: 992px) {
  .slide {
    width: 240px;
    height: 160px;
  }
}

@media (max-width: 768px) {
  .slide {
    width: 210px;
    height: 140px;
  }
}

@media (max-width: 576px) {
  .slide {
    width: 180px;
    height: 120px;
  }
}

/* ==============================
   MEDICAL THEMED SECTION
   ============================== */
.medical-courses-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, #02767a 0%, #01434a 100%);
}

.courses-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LEFT SECTION */
.courses-left {
  flex: 0 0 50%;
  color: #fff;
  background: linear-gradient(145deg, #025c63, #014348);
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%; /* Fills full section height */
  min-height: 420px; /* Ensures consistent height */
}

.courses-left h2 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 25px;
}
.course-tags a {
  display: inline-block;
  margin: 6px 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 25px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
}
.course-tags a:hover {
  background: #00e0e6;
  color: #003b3e;
}

.know-more-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 26px;
  background: #00d5db;
  color: #002e33;
  font-weight: 700;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}
.know-more-btn:hover {
  background: #02ffff;
}

/* RIGHT SECTION */
.courses-right {
  flex: 0 0 45%;
}
.courses-right img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* ==============================
   HEART WRAPPER
   ============================== */
.heart-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 40% 40%, #02767a 25%, #7a0000 90%);
  animation: pulseGlow 2s ease-in-out infinite;
  overflow: visible;
}

/* HEART SVG */
.heart-svg {
  width: 130px;
  height: 130px;
  overflow: visible;
}

.heart-shape {
  fill: #ff1a1a;
  transform-origin: 50% 50%;
  filter: drop-shadow(0 0 10px rgba(255,0,0,0.5));
  animation: beat 2s ease-in-out infinite;
}

/* ECG LINE (continuous pulse) */
.lifeline {
  fill: none;
  stroke: #ffffff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 250;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.9));
  animation: movePulse 4s linear infinite, glowSync 2s ease-in-out infinite;
}

/* ==============================
   ANIMATIONS
   ============================== */

/* Heartbeat (breathing + beat) */
@keyframes beat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.1); }
  50% { transform: scale(1); }
  75% { transform: scale(1.1); }
}

/* Background glow pulse */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 25px 10px rgba(255,0,0,0.4);
  }
  50% {
    box-shadow: 0 0 45px 25px rgba(255,0,0,0.7);
  }
}

/* ECG continuous left-right pulse movement */
@keyframes movePulse {
  0% { stroke-dashoffset: 250; opacity: 0.4; }
  25% { opacity: 1; }
  50% { stroke-dashoffset: 0; opacity: 0.9; }
  75% { opacity: 1; }
  100% { stroke-dashoffset: -250; opacity: 0.4; }
}

/* ECG glow synced with heart beat */
@keyframes glowSync {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(255,255,255,0.4)); }
  25% { filter: drop-shadow(0 0 12px rgba(255,255,255,1)); }
  50% { filter: drop-shadow(0 0 6px rgba(255,255,255,0.6)); }
  75% { filter: drop-shadow(0 0 12px rgba(255,255,255,1)); }
}

/* ==============================
   RESPONSIVE DESIGN
   ============================== */
@media (max-width: 992px) {
  .courses-left, .courses-right { flex: 0 0 48%; }
  .courses-left { padding: 40px; }
  .courses-right img { height: 360px; }
  .heart-wrapper { width: 160px; height: 160px; }
}
@media (max-width: 576px) {
  .courses-container { flex-direction: column; }
  .courses-left, .courses-right { flex: 0 0 100%; border-radius: 0; }
  .heart-wrapper { position: relative; transform: translate(0,0); margin: 20px auto; }
}

.courses-container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  position: relative;
  width: 100%;
  min-height: 420px;
  overflow: hidden;
}

.courses-left {
  flex: 0 0 50%;
  background: linear-gradient(145deg, #025c63, #014348);
  justify-content: center; /* vertically center */
  align-items: center;     /* horizontally center */
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  box-sizing: border-box;
  margin: 0; /* Remove any margin */
}

.courses-right {
  flex: 1;
  background-image: url("public/assets/images/medical-bg.jpg");
  background-size: cover;
  background-position: center;
  margin: 0; /* Remove gap */
  overflow: hidden;
  position: relative;
}

.heart-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

/* ===== Mobile-safe responsive fixes (override previous conflicts) ===== */

/* Ensure the outer container allows wrap on mobile */
.medical-section,
.courses-container {
  width: 100% !important;
  box-sizing: border-box;
}

/* Make sure left/right blocks use the correct base flex behavior */
.courses-container {
  display: flex !important;
  align-items: stretch !important; /* match heights on desktop */
  justify-content: space-between !important;
  gap: 0 !important;
  flex-wrap: nowrap; /* default for desktop */
}

/* Support both class name variants (.courses-left / .left-section) */
.courses-left, .left-section {
  flex: 0 0 48% !important;
  max-width: 48% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important; /* vertical center */
  align-items: center !important;     /* horizontal center */
  padding: 60px 40px !important;
  box-sizing: border-box !important;
}

/* Ensure tags row centers */
.course-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 12px !important;
  margin: 18px 0 20px !important;
}

/* Tag styles (link tags) */
.course-tags a {
  display: inline-block !important;
  padding: 9px 16px !important;
  border-radius: 30px !important;
  text-decoration: none !important;
  background: rgba(255,255,255,0.08) !important;
  color: #fff !important;
  font-weight: 500 !important;
  transition: all .18s ease !important;
}

/* Smaller centered Know More button (not full width) */
.know-more-btn {
  display: inline-block !important;
  padding: 10px 34px !important;
  border-radius: 28px !important;
  background: #00d5db !important;
  color: #002e33 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12) !important;
  margin-top: 12px !important;
}

/* HEART wrapper defaults (desktop) */
.heart-container, .heart-wrapper {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 30 !important;
  width: 220px !important;
  height: 220px !important;
  pointer-events: none !important;
}

/* Heart sub-elements (solid circle + heart + ECG) */
.heart-bg {
  position: absolute !important;
  inset: 0 !important;
  border-radius: 50% !important;
  background: radial-gradient(circle at 35% 35%, #d60000 25%, #7a0000 90%) !important;
  box-shadow:
    0 0 60px rgba(255,0,0,0.6),
    0 0 120px rgba(200,0,0,0.5),
    inset 0 0 40px rgba(255,80,80,0.4) !important;
  animation: breathe 3s ease-in-out infinite !important;
  z-index: 1 !important;
}

.heart {
  position: absolute !important;
  width: 110px !important;
  height: 100px !important;
  background: linear-gradient(135deg,#ff2020,#c20000) !important;
  transform: rotate(-45deg) !important;
  border-radius: 50% 50% 0 0 !important;
  left: 50% !important;
  top: 50% !important;
  transform-origin: center center !important;
  transform: translate(-50%, -50%) rotate(-45deg) !important;
  z-index: 2 !important;
  animation: pulse 2s infinite !important;
}
.heart::before, .heart::after {
  content: "" !important;
  position: absolute !important;
  width: 110px !important;
  height: 100px !important;
  background: linear-gradient(135deg,#ff2020,#c20000) !important;
  border-radius: 50% !important;
}
.heart::before { top: -50px !important; left: 0 !important; }
.heart::after  { left: 50px !important; top: 0 !important; }

/* ECG line simpler element */
.ecg-line {
  position: absolute !important;
  top: 50% !important;
  left: calc(50% - 60px) !important;
  width: 140px !important;
  height: 3px !important;
  background: linear-gradient(90deg, transparent 0%, #fff 30%, #ff7070 60%, transparent 100%) !important;
  z-index: 3 !important;
  transform: translate(-10%, -50%) !important;
  box-shadow: 0 0 8px rgba(255,160,160,0.6) !important;
  animation: moveECG 1.9s linear infinite !important;
}

/* Animations (kept as before) */
@keyframes pulse {
  0%,100%{ transform: translate(-50%, -50%) rotate(-45deg) scale(1); filter: brightness(1);}
  50%   { transform: translate(-50%, -50%) rotate(-45deg) scale(1.08); filter: brightness(1.2);}
}
@keyframes breathe {
  0%,100% { transform: scale(1); box-shadow: 0 0 60px rgba(255,0,0,0.6); }
  50%    { transform: scale(1.05); box-shadow: 0 0 100px rgba(255,0,0,0.85); }
}
@keyframes moveECG {
  0% { transform: translateX(0); }
  100% { transform: translateX(80px); }
}

/* ===== MOBILE: STACK and CENTER perfectly ===== */
@media (max-width: 991px) {

  /* stack left + right */
  .courses-container {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
  }

  /* left becomes full width and centers content */
  .courses-left, .left-section {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 36px 20px !important;
    border-radius: 0 !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    min-height: auto !important;
  }

  .course-tags {
    justify-content: center !important;
  }

  .courses-right, .right-section {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .courses-right img, .right-section img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* Heart container becomes relative and centered between sections */
  .heart-container, .heart-wrapper {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 18px auto !important;
    width: 140px !important;
    height: 140px !important;
  }

  .heart-bg { width: 140px !important; height: 140px !important; box-shadow: 0 0 40px rgba(255,0,0,0.6) !important; }
  .heart { width: 78px !important; height: 70px !important; left: 50% !important; top: 50% !important; transform: translate(-50%,-50%) rotate(-45deg) !important; }
  .heart::before, .heart::after { width: 78px !important; height: 70px !important; }

  .ecg-line {
    left: 50% !important;
    width: 100px !important;
    transform: translate(-50%,-50%) !important;
  }

  /* smaller tags and button on mobile */
  .course-tags a { padding: 8px 12px !important; font-size: 0.95rem !important; }
  .know-more-btn { padding: 9px 26px !important; font-size: 0.95rem !important; display:inline-block !important; }
}
/* =========================================================
   COURSE TAGS — ACTIVE HOVER STYLE FIX
   ========================================================= */
.course-tags a:hover {
  background: #00d5db !important;     /* bright cyan background */
  color: #002e33 !important;          /* dark text for contrast */
  transform: translateY(-2px) scale(1.05) !important;
  box-shadow: 0 0 12px rgba(0, 213, 219, 0.6) !important;
  transition: all 0.25s ease-in-out !important;
}

/* Optional: small click animation */
.course-tags a:active {
  transform: scale(0.97) !important;
  box-shadow: 0 0 6px rgba(0, 213, 219, 0.4) inset !important;
}

/* Make sure cursor and pointer events are enabled */
.course-tags a {
  cursor: pointer !important;
  user-select: none !important;
}

/* ==============================
   HEART CONTAINER (CENTER + RESPONSIVE)
   ============================== */
.heart-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(100px, 14vw, 180px);
  height: clamp(100px, 14vw, 180px);
  border-radius: 50%;
  background: radial-gradient(circle, #052e34 60%, #011f23 100%);
  box-shadow: 0 0 40px rgba(255, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 5;
}

/* ==============================
   HEART SHAPE
   ============================== */
.heart {
  position: relative;
  width: clamp(60px, 8vw, 100px);
  height: clamp(50px, 7vw, 90px);
  background-color: #ff1e1e;
  transform: rotate(-45deg);
  animation: beat 1.2s infinite ease-in-out;
}

.heart::before,
.heart::after {
  content: "";
  position: absolute;
  width: clamp(60px, 8vw, 100px);
  height: clamp(50px, 7vw, 90px);
  background-color: #ff1e1e;
  border-radius: 50%;
}

.heart::before {
  top: calc(-0.55 * clamp(50px, 7vw, 90px));
  left: 0;
}

.heart::after {
  left: calc(0.55 * clamp(60px, 8vw, 100px));
  top: 0;
}

/* ==============================
   ECG LINE
   ============================== */
.ecg-line {
  position: absolute;
  width: clamp(80px, 10vw, 140px);
  height: 2px;
  background: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
}

.ecg-line::before {
  content: "";
  position: absolute;
  width: clamp(80px, 10vw, 140px);
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #ffffff 40%, #ffffff 60%, transparent 100%);
  animation: ecg 1.4s infinite linear;
}

/* ==============================
   ANIMATIONS
   ============================== */
@keyframes beat {
  0%, 100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.12);
  }
  50% {
    transform: scale(1.06);
  }
  75% {
    transform: scale(1.1);
  }
}

@keyframes ecg {
  0% {
    transform: translateX(-140px);
  }
  100% {
    transform: translateX(140px);
  }
}

/* ==============================
   EXTRA SMALL DEVICES (FIX)
   ============================== */
@media (max-width: 480px) {
  .heart-container {
    width: 90px;
    height: 90px;
  }

  .heart {
    width: 50px;
    height: 45px;
  }

  .heart::before,
  .heart::after {
    width: 50px;
    height: 45px;
  }

  .heart::before {
    top: -25px;
  }

  .heart::after {
    left: 25px;
  }

  .ecg-line {
    width: 70px;
  }

  .ecg-line::before {
    width: 70px;
  }
}
/* ===============================
   FIX: Heart & ECG size on mobile
   =============================== */
@media (max-width: 576px) {
  .heart-wrapper {
    width: 100px !important;
    height: 100px !important;
    margin: 20px auto !important;
    position: relative !important;
    transform: translate(0, 0) !important;
    box-shadow: 0 0 20px 8px rgba(255, 0, 0, 0.5) !important;
  }

  .heart-svg {
    width: 70px !important;
    height: 70px !important;
  }

  .lifeline {
    stroke-width: 2 !important;
  }
}

/* ============================================
   ✅ FIX: Heart Overlap on Both Sections
   ============================================ */
.heart-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #015b63 0%, #043f44 100%);
  box-shadow: 0 0 40px 10px rgba(255, 0, 0, 0.3);
  border-radius: 50%;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

/* Keep the heart centered inside */
.heart-svg {
  width: 100px;
  height: 100px;
}

/* ✅ Responsive heart size */
@media (max-width: 768px) {
  .heart-wrapper {
    width: 130px;
    height: 130px;
  }
  .heart-svg {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 480px) {
  .heart-wrapper {
    width: 110px;
    height: 110px;
  }
  .heart-svg {
    width: 60px;
    height: 60px;
  }
}

/* ============================================================
   Study Abroad Section - Career Adda Hub
   Optimized | Responsive | Animated | Clean
============================================================ */
.study-abroad-section {
  position: relative;
  background: #f8f9fa;
  padding: 80px 0;
  overflow: hidden;
}

.study-abroad-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("public/assets/images/world-map.png") center/contain no-repeat;
  opacity: 0.08;
  z-index: 0;
}

.study-abroad-section .container {
  position: relative;
  z-index: 2;
}

.study-abroad-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: #222;
}

.study-abroad-section h2 span {
  color: #7abf3f;
}

.study-abroad-section .subtitle {
  max-width: 720px;
  margin: 10px auto 50px;
  font-size: 16px;
  color: #555;
  line-height: 1.7;
}

/* Country Cards */
.abroad-card {
  margin: 15px;
  transition: transform 0.3s ease;
}

.card-link {
  text-decoration: none;
  display: block;
}

.card-inner {
  display: flex;
  align-items: center;
  background: #e6e6ff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.card-inner:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.country-img {
  width: 40%;
  height: 130px;
  object-fit: cover;
}

.country-content {
  position: relative;
  width: 60%;
  padding: 15px 20px;
  text-align: left;
}

.country-content h5 {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.country-content p {
  font-size: 14px;
  color: #777;
  margin: 0;
}

.country-content p span {
  color: #7abf3f;
  font-weight: 600;
}

/* Flag Animation */
.flag-img {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 28px;
  height: 20px;
  border-radius: 3px;
  transition: transform 0.4s ease;
}

.card-inner:hover .flag-img {
  animation: waveFlag 1s ease-in-out infinite alternate;
}

@keyframes waveFlag {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(3deg) scale(1.1); }
  100% { transform: rotate(-3deg) scale(1); }
}

/* Explore Button Animation */
.btn-explore {
  display: inline-block;
  margin-top: 50px;
  background: linear-gradient(90deg, #7abf3f, #99d34a);
  color: #fff;
  padding: 14px 36px;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 0 0 rgba(122, 191, 63, 0.4);
  transition: all 0.4s ease;
  animation: pulse 2s infinite;
}

.btn-explore:hover {
  transform: scale(1.05);
  background: linear-gradient(90deg, #68a934, #88c53e);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(122, 191, 63, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(122, 191, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(122, 191, 63, 0); }
}

/* Responsive */
@media (max-width: 767px) {
  .card-inner {
    flex-direction: column;
    text-align: center;
  }

  .country-img {
    width: 100%;
    height: 160px;
  }

  .country-content {
    width: 100%;
    padding: 15px;
  }

  .flag-img {
    position: static;
    margin-top: 10px;
    animation: none;
  }
}

.news-events-section {
  background-color: #f9fdff;
}

.section-title {
  font-weight: 600;
  font-size: 1.3rem;
  color: #003366;
  text-align: left;
}

/* Make all gallery blocks consistent */
.gallery-block {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  height: 100%;
}

/* ✅ Ensure all top titles align */
.news-events-section .row > [class*="col-"] {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* 📸 Photo Gallery grid */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  height: 250px;
}
.photo-gallery img {
  width: 100%;
  border-radius: 8px;
}

/* 🔘 View More button */
.view-more-btn {
  background: #0099cc;
  color: #fff;
  border-radius: 25px;
  padding: 8px 20px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
}
.view-more-btn:hover {
  background: #0077b6;
}

/* 🔔 Notification box */
.notifications-list {
  background: linear-gradient(135deg, #e8f9f1, #f3fdfb);
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  height: 300px;
  overflow: hidden;
}

.notifications-marquee div {
  padding: 8px 0;
  border-bottom: 1px dashed #ccc;
  color: #003366;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.notifications-marquee div:last-child {
  border-bottom: none;
}

.notifications-marquee i {
  color: #00a884;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .section-title {
    text-align: center;
  }
  .photo-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

.consultancy-banner {
  background-color: #f36f3f;
  padding: 50px 15px;
  color: #fff;
  overflow: hidden;
  position: relative;
}

.banner-icon {
  width: 60px;
  height: 60px;
  position: relative;
  z-index: 2;
}

.glow-icon-wrapper {
  position: relative;
  display: inline-block;
}

.glow-icon-wrapper::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  background: rgba(255, 223, 0, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: glowPulse 2.5s infinite ease-in-out;
  z-index: 1;
}

.banner-text {
  font-weight: 700;
  font-size: 1.9rem;
  color: #fff;
  line-height: 1.2;
}

.banner-btn {
  border: 2px solid #fff;
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
}

.banner-btn:hover {
  background: #fff;
  color: #f36f3f;
  transform: translateY(-2px);
}

.glow-btn::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.3);
  z-index: -1;
  animation: glowPulse 2.5s infinite ease-in-out;
}

@keyframes glowPulse {
  0% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.25); }
  100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
}

@media (max-width: 991px) {
  .banner-text {
    font-size: 1.6rem;
    text-align: center;
  }

  .banner-icon {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 767px) {
  .consultancy-banner {
    padding: 35px 10px;
    text-align: center;
  }

  .banner-text {
    font-size: 1.4rem;
    margin-bottom: 15px;
  }

  .banner-btn {
    padding: 10px 25px;
    font-size: 0.95rem;
  }
}

.mba-admission-section {
  background: linear-gradient(135deg, #004aad, #00b4db);
  padding: 80px 20px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.mba-admission-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: floatCircle 8s infinite ease-in-out;
}

@keyframes floatCircle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(20px); }
}

.mba-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.highlight {
  background: linear-gradient(to right, #ffd700, #ffca28);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mba-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #f1f1f1;
}

/* Overlay Background */
.mba-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.5s ease;
}

/* Popup Box */
.mba-popup {
  background: linear-gradient(135deg, #ffffff, #f0f8ff);
  width: 90%;
  max-width: 850px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transform: scale(0.8);
  animation: popupShow 0.4s forwards ease-out;
  position: relative;
}

@keyframes fadeIn {
  from { opacity: 0; } 
  to { opacity: 1; }
}
@keyframes popupShow {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  color: #333;
  cursor: pointer;
  transition: 0.3s;
}
.close-btn:hover { color: #ff0000; }

.cta-buttons a {
  display: inline-block;
  padding: 12px 30px;
  margin: 5px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary-mba {
  background-color: #ffd700;
  color: #004aad;
  border: 2px solid #ffd700;
}
.btn-primary-mba:hover {
  background-color: #fff;
  color: #004aad;
  transform: translateY(-2px);
}
.btn-outline-mba {
  color: #fff;
  border: 2px solid #fff;
}
.btn-outline-mba:hover {
  background-color: #fff;
  color: #004aad;
  transform: translateY(-2px);
}

/* Image Animation */
.mba-image-wrapper {
  position: relative;
  display: inline-block;
  animation: floatImage 6s ease-in-out infinite;
}
@keyframes floatImage {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.mba-image {
  width: 250px;
  max-width: 100%;
}

/* MBA Branches Section */
.mba-branches {
  margin-top: 70px;
  text-align: center;
}
.branches-title {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.branches-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.branch-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  padding: 20px 25px;
  width: 200px;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  cursor: pointer;
}
.branch-card i {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #ffd700;
}
.branch-card span {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}
.branch-card:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px) scale(1.03);
}

/* Responsive */
@media (max-width: 991px) {
  .mba-title {
    font-size: 2rem;
    text-align: center;
  }
  .mba-desc {
    text-align: center;
    font-size: 1rem;
  }
  .cta-buttons {
    text-align: center;
  }
}
@media (max-width: 767px) {
  .mba-admission-section {
    padding: 60px 15px;
  }
  .mba-image {
    width: 200px;
  }
  .branch-card {
    width: 45%;
  }
}
@media (max-width: 480px) {
  .branch-card {
    width: 100%;
  }
}
