@import url('blog.css');
@import url('category_style.css');

body {
  font-family: 'Poppins', sans-serif;
}

.h1-title {
  text-align: center;
  margin-top: 5%;
  font-size: 35px;
  font-weight: 700;
}

.h3-banner-subtitle {
  font-size: 18px;
  font-weight: 500px;
  margin-top: 2%;
  margin-bottom: 3%;
  margin-left: 20%;
  margin-right: 20%;
  text-align: center;
}

.btn-custom {
  border: none;
  background-color: #fff !important;
  color: #800080 !important;
  border-style: solid;
  border-color: #800080;
  padding: 5px 25px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 25px;
  /* ← Fix border-radius */
  margin: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-custom:hover {
  background-color: #800080;
  color: #fff;
  transform: scale(1.05);
}


.breadcrumb a {
  color: #fff;
  text-decoration: none;
  align-items: center;
}

.breadcrumb a:hover {
  text-decoration: underline;
}


.course-box h2 {
  color: #800080;
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 10px;
}

.course-box p {
  font-size: 16px;
  font-weight: 400px !important;
  color: #333;
  line-height: 1.6;
  margin-bottom: 25px;
  text-align: justify;
}

.course-details {
  margin-top: 30px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: #fdf6ff;
  border: 1px solid #f3e6f3;
  border-radius: 12px;
  height: 100%;
  transition: 0.3s;
}

.detail-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(128, 0, 128, 0.1);
}

.detail-item strong {
  color: #000;
  font-size: 16px;
}

.icon-box {
  background-color: #800080;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-box i {

  color: #fff;
}

.text-box strong {
  font-size: 16px;
  display: block;
}

.text-box span {
  font-size: 14px;
  color: #666;
}

.why-choose .card {
  border: 2px solid #800080;
  border-radius: 16px;
  padding: 20px;
  text-align: left;
  height: 100%;
  transition: 0.3s;
}

.why-choose .card:hover {
  box-shadow: 0 4px 10px rgba(116, 2, 141, 0.2);
  transform: translateY(-5px);
}

.why-choose .icon-circle {
  width: 50px;
  height: 50px;
  background-color: #800080;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 15px;
}

.why-choose .card-title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 10px;
}

.why-choose .card-text {
  font-size: 15px;
  color: #333;
}

.h2-new {
  text-align: center;
  color: #800080;
  /* Purple Shade */
  font-weight: 700;
  font-size: 26px;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 22%;
  margin-right: 22%;
}

.h3-new {
  font-size: 18px;
  font-weight: 500;
  margin-top: 2%;
  margin-bottom: 5%;
  margin-left: 15%;
  margin-right: 15%;
  text-align: center;
}

.h4-new {
  font-size: 18px;
  color: #fff;
  font-weight: 500;
}

.ilacad-button {
  color: #800080;
}

/* ================================
   FAQ SECTION STYLING
   ================================ */
.faq-section {
  padding: 60px 0;
  background-color: #f8f9fa;
  /* same as bg-light */
}

/* Section Heading */
.faq-section h2 {
  color: #800080;
  font-weight: 700;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2.5rem;
}

/* Accordion Container */
.faq-section .accordion {
  max-width: 800px;
  margin: 0 auto;
}

/* Individual Accordion Items */
.faq-section .accordion-item {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
  transition: all 0.3s ease;
}

.faq-section .accordion-item:not(:last-child) {
  margin-bottom: 15px;
}

/* Accordion Header Button */
.faq-section .accordion-button {
  font-weight: 600;
  color: #333;
  background-color: #fff;
  padding: 14px 18px;
  transition: all 0.3s ease;
}

/* On Hover or Active */
.faq-section .accordion-button:hover {
  color: #800080;
  background-color: #f3e6f3;
}

.faq-section .accordion-button:focus {
  box-shadow: none;
  border-color: #800080;
}

/* Open (active) state */
.faq-section .accordion-button:not(.collapsed) {
  background-color: #800080;
  color: #fff;
  box-shadow: none;
}

/* Accordion Body */
.faq-section .accordion-body {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  background-color: #fff;
  padding: 15px 20px;

}


/* ===== Compact FAQ Section ===== */
.faq-section {
  padding: 40px 0;
  background-color: #f9f9f9;
}

.faq-section h2 {
  color: #800080;
  font-weight: 700;
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 0px;
}



/* ========== ILACAD FAQ Section ========== */

.faq-section {
  background-color: #f9f9fb;
  padding: 60px 0;
}

.faq-heading {
  color: #800080;
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 40px;
}

/* Accordion Container */
.faq-section .accordion {
  max-width: 850px;
  margin: 0 auto;
}

/* Accordion Item */
.faq-section .accordion-item {
  border: 1px solid #ddd;
  border-radius: 10px !important;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}

.faq-section .accordion-item:hover {
  box-shadow: 0 3px 10px rgba(128, 0, 128, 0.1);
}

/* Question Button */
.faq-section .accordion-button {
  background-color: #fff;
  color: #333;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 18px;
  border: none;
  box-shadow: none !important;
  transition: all 0.3s ease;
  border-radius: 10px !important;
}

/* On Open */
.faq-section .accordion-button:not(.collapsed) {
  background-color: #800080;
  color: #fff;
  border-radius: 10px 10px 0 0 !important;
}

/* Icon (arrow) styling */
.faq-section .accordion-button::after {
  filter: invert(30%) sepia(90%) saturate(900%) hue-rotate(260deg);
  transform: scale(0.8);
}

.faq-section .accordion-button:not(.collapsed)::after {
  filter: invert(100%);
  transform: rotate(180deg) scale(0.8);
}

/* Answer Body */
.faq-section .accordion-body {
  background-color: #fff;
  color: #555;
  padding: 14px 20px;
  font-size: 15px;
  line-height: 1.6;
  border-top: 1px solid #eee;
  border-radius: 0 0 10px 10px !important;
}

/* Responsive */
@media (max-width: 768px) {
  .faq-heading {
    font-size: 1.5rem;
  }

  .faq-section .accordion-button {
    font-size: 15px;
    padding: 10px 16px;
  }

  .faq-section .accordion-body {
    font-size: 14px;
    padding: 12px 16px;
  }
}


/* Make it compact on mobile */
@media (max-width: 768px) {
  .faq-section h2 {
    font-size: 1.5rem;
  }

  .faq-section .accordion-button {
    font-size: 15px;
    padding: 8px 14px;
  }

  .faq-section .accordion-body {
    font-size: 14px;
    padding: 10px 14px;
  }
}



@media (max-width: 767px) {
  .title-image {
    height: auto;
    background-attachment: scroll;
    /* smoother on mobile */
  }

  .h1-title {
    margin-top: 10px;
    font-size: 26px;
    text-align: center;
    font-weight: 700px;
  }

  .h3-banner-subtitle {
    font-size: 18px;
    font-weight: 500;
    margin-top: 15px;
    margin-bottom: 5%;
    text-align: center;
    margin-left: 0%;
    margin-right: 0%;

  }


  .breadcrumb {
    background: none;
    flex-direction: column;
    gap: 5px;
    font-size: 13px;
    font-weight: 400;
    margin-top: 10px;
    color: #fff;
    justify-content: center;
  }

  .breadcrumb span {
    display: none;
  }

  .h2-new {
    text-align: center;
    color: #800080;
    /* Purple Shade */
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 20px;
    margin-left: 0%;
    margin-right: 0%;
  }

  .h3-new {
    font-size: 18px;
    font-weight: 500;
    margin-top: 2%;
    margin-bottom: 5%;
    margin-left: 0%;
    margin-right: 0%;
    text-align: center;
  }


  .d-flex.gap-3 {
    gap: 10px !important;
  }




}


.title-image {
  background-image: linear-gradient(rgba(128, 0, 128, 0.8), rgba(128, 0, 128, 0.8)), url('../images/Home banner.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: white;
  text-align: center;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}


/* 💻 Tablets */
@media (min-width: 768px) and (max-width: 991px) {
  .title-image {
    height: 500px;
    padding: 80px 40px;
  }


  .banner-subtitle {
    font-size: 18px;
    margin: 0 10%;
  }

  .breadcrumb {
    font-size: 15px;
  }
}

.banner-title {
  font-size: 26px;

  margin-top: 50px;

}



.card-review.carousel-item {
  box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.5) !important;
}

.card-review {
  box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.5);
  /* No offset, 15px blur, 5px spread, semi-transparent black */
}

.carousel-indicators [data-bs-target] {
  background-color: #800080;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.carousel-indicators {
  bottom: -30px;
  /* Moves dots below the carousel */
}


.navbar {
  background-color: #800080;
  /* ILACAD purple tone */
  padding: 15px 0;
}

.navbar-brand img {
  height: 50px;
}

.navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 500;
  margin: 0 10px;
  transition: 0.3s;
}

.navbar-nav .nav-link:hover {
  color: #ffd5fc !important;
}

.navbar {
  background-color: #800080;
  /* your original header color */
}

/* Position the nested dropdown (submenu) */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu>.dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: 0;
  display: none;
  position: absolute;
}

/* Show submenu on hover (desktop) */
.dropdown-submenu:hover>.dropdown-menu {
  display: block;
}

/* Add arrow indicator to submenu items */
.dropdown-submenu>a::after {
  content: "›";
  float: right;
  margin-left: .5rem;
  font-weight: bold;
}

/* Optional: highlight hover effect */



.dropdown-item:hover {
  background-color: #f8f9fa;
}

/* ================================
   NAVBAR BASE
   ================================ */
.ilacad-navbar {
  background-color: #800080 !important;
}

/* ================================
   MOBILE OFF-CANVAS HAMBURGER
   ================================ */
.mob-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.mob-menu-toggle:hover { background: rgba(255,255,255,0.25); }
.mob-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ================================
   MOBILE DRAWER OVERLAY
   ================================ */
.mob-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(32, 18, 32, 0.55);
  backdrop-filter: blur(3px);
  z-index: 1049;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mob-drawer-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

/* ================================
   MOBILE DRAWER PANEL
   ================================ */
.mob-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 88vw;
  max-width: 360px;
  height: 100dvh;
  height: 100vh;
  background: #fff;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 40px rgba(61,10,61,0.2);
  overflow: hidden;
}
.mob-drawer.is-open {
  transform: translateX(0);
}

/* Drawer Header */
.mob-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #f0e8f2;
  flex-shrink: 0;
}
.mob-drawer-close {
  background: #f6edf8;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #800080;
  font-size: 16px;
  transition: background 0.2s;
}
.mob-drawer-close:hover { background: #edddee; }

/* Drawer Scroll Body */
.mob-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0 16px;
  overscroll-behavior: contain;
}
.mob-drawer-body::-webkit-scrollbar { width: 4px; }
.mob-drawer-body::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

/* Main nav links */
.mob-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 22px;
  text-decoration: none;
  color: #201220;
  font-size: 15px;
  font-weight: 500;
  border: none;
  background: none;
  width: 100%;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  border-bottom: 1px solid #f5eef6;
}
.mob-nav-link:last-child { border-bottom: none; }
.mob-nav-link:hover { background: #fdf5ff; color: #800080; }
.mob-nav-link i { font-size: 12px; color: #b97fc0; }

/* ================================
   COURSES SUB-PANEL (slide-down)
   ================================ */
.mob-courses-section { border-bottom: 1px solid #f5eef6; }
.mob-courses-toggle { border-bottom: none !important; }
.mob-courses-chev {
  transition: transform 0.3s ease;
  font-size: 13px !important;
  color: #b97fc0;
}
.mob-courses-toggle.is-open .mob-courses-chev { transform: rotate(180deg); }

.mob-courses-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.mob-courses-panel.is-open {
  max-height: 2000px;
}
.mob-courses-inner {
  padding: 4px 0 8px;
  background: #fdf8ff;
}

/* ================================
   CATEGORY ACCORDION (inside drawer)
   ================================ */
.mob-cat-item {
  border-bottom: 1px solid #f0e8f2;
}
.mob-cat-item:last-child { border-bottom: none; }

.mob-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 20px;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.18s;
}
.mob-cat-header:hover { background: #f7eefa; }
.mob-cat-header.is-open { background: #f7eefa; }

.mob-cat-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.mob-cat-name {
  font-size: 14px;
  font-weight: 600;
  color: #201220;
}
.mob-cat-count {
  font-size: 11px;
  color: #9b7da3;
  margin-top: 2px;
}
.mob-cat-chev {
  font-size: 13px;
  color: #b97fc0;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.mob-cat-header.is-open .mob-cat-chev { transform: rotate(180deg); }

/* ================================
   COURSES LIST (inside each category)
   ================================ */
.mob-courses-list {
  padding: 6px 16px 12px;
  background: #fff;
  border-top: 1px solid #f5eef6;
}
.mob-courses-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 4px 10px;
}
.mob-courses-list-head span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #9b7da3;
  letter-spacing: 0.06em;
}
.mob-courses-list-head a {
  font-size: 12px;
  font-weight: 700;
  color: #800080;
  text-decoration: none;
}

/* Course item card */
.mob-course-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 8px;
  text-decoration: none;
  background: #fff;
  border: 1px solid #ede0f0;
  margin-bottom: 6px;
  transition: border-color 0.2s, background 0.2s, transform 0.18s;
}
.mob-course-item:last-child { margin-bottom: 0; }
.mob-course-item:hover {
  border-color: #800080;
  background: #fdf5ff;
  transform: translateX(3px);
}
.mob-course-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.mob-course-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #800080;
  flex-shrink: 0;
}
.mob-course-name {
  font-size: 13px;
  font-weight: 500;
  color: #201220;
  line-height: 1.35;
}
.mob-course-item:hover .mob-course-name { color: #800080; }

/* ================================
   DRAWER FOOTER
   ================================ */
.mob-drawer-foot {
  padding: 16px 20px;
  border-top: 1px solid #f0e8f2;
  flex-shrink: 0;
  background: #fff;
}
.mob-enq-btn {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #800080, #a83ea8);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: box-shadow 0.25s, transform 0.2s;
  box-shadow: 0 6px 20px rgba(128,0,128,0.3);
}
.mob-enq-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(128,0,128,0.38);
}

/* ================================
   HIDE drawer on desktop
   ================================ */
@media (min-width: 992px) {
  .mob-drawer,
  .mob-drawer-overlay,
  .mob-menu-toggle {
    display: none !important;
  }
}

/* ================================
   Tabbed Mega Menu Styling
   ================================ */
/* Navigation Anchor for Mega Menu */
.navbar .container {
  position: relative;
}

.has-megamenu {
  position: static !important;
}

/* ========================================================
   MODERN TABBED MEGA MENU (ILACAD DESIGN SYSTEM)
   ======================================================== */
.tabbed-mega-menu {
  border: 1px solid #e9dcec !important;
  border-radius: 16px !important;
  padding: 0 !important;
  overflow: hidden;
  box-shadow: 0 24px 48px -16px rgba(61, 10, 61, 0.22) !important;
  width: min(920px, 92vw) !important;
  max-width: 95vw;
  background: #ffffff !important;
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  top: 100% !important;
  z-index: 1050;
}

.mega-container {
  min-height: 380px;
}

/* Left Sidebar: Categories (No icons) */
.mega-sidebar {
  width: 290px;
  flex-shrink: 0;
  background: #faf5fb;
  padding: 14px 12px;
  border-right: 1px solid #e9dcec;
  max-height: 480px;
  overflow-y: auto;
}

.mega-nav-tabs {
  gap: 4px;
}

.mega-cat-link {
  display: flex !important;
  align-items: center;
  width: 100%;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  border: none !important;
  background: transparent !important;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  color: #201220 !important;
  font-family: inherit;
  margin-bottom: 2px;
}

.mega-cat-link .cat-text {
  flex: 1;
  min-width: 0;
}

.mega-cat-link .cat-name {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #201220;
  line-height: 1.25;
  transition: color 0.2s ease;
}

.mega-cat-link .cat-count {
  display: block;
  font-size: 11.5px;
  color: #7a6a7d;
  margin-top: 2px;
}

.mega-cat-link:hover {
  background: #ffffff !important;
  box-shadow: 0 1px 0 #e9dcec, 0 4px 10px -6px rgba(61, 10, 61, 0.18);
}

.mega-cat-link:hover .cat-name {
  color: #800080;
}

.mega-cat-link.active {
  background: #ffffff !important;
  box-shadow: 0 1px 0 #e9dcec, 0 4px 10px -6px rgba(61, 10, 61, 0.18);
}

.mega-cat-link.active .cat-name {
  color: #800080;
  font-weight: 700;
}

.mega-cat-link.active .cat-count {
  color: #9c2f9c;
}

/* Right Content Area: Course Items */
.mega-content {
  flex: 1;
  background: #ffffff;
  padding: 20px 22px;
  max-height: 480px;
  overflow-y: auto;
}

.mega-sidebar::-webkit-scrollbar,
.mega-content::-webkit-scrollbar {
  width: 5px;
}
.mega-sidebar::-webkit-scrollbar-track,
.mega-content::-webkit-scrollbar-track {
  background: transparent;
}
.mega-sidebar::-webkit-scrollbar-thumb,
.mega-content::-webkit-scrollbar-thumb {
  background: #e2d1e6;
  border-radius: 10px;
}
.mega-sidebar::-webkit-scrollbar-thumb:hover,
.mega-content::-webkit-scrollbar-thumb:hover {
  background: #b592be;
}

.mega-courses-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f2e7f4;
}

.mega-category-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 19px;
  margin: 0;
  color: #3d0a3d;
}

.view-all-link {
  font-size: 12.5px;
  font-weight: 600;
  color: #800080;
  text-decoration: none;
  transition: all 0.2s ease;
}

.view-all-link:hover {
  color: #3d0a3d;
  text-decoration: underline;
}

/* Course Boxing Grid */
.mega-course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 12px;
}

.course-box-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 13px;
  background: #fdfafd;
  border: 1px solid #ede4ef;
  border-radius: 10px;
  text-decoration: none !important;
  color: #201220;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 46px;
}

.course-box-card:hover {
  background: #ffffff;
  border-color: #800080;
  box-shadow: 0 4px 14px rgba(128, 0, 128, 0.09);
  transform: translateY(-2px);
  color: #800080;
}

.course-box-left {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
  min-width: 0;
}

.course-box-card .course-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9c2f9c;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.course-box-card:hover .course-dot {
  background: #800080;
  transform: scale(1.35);
}

.course-box-card .course-title {
  font-size: 12.8px;
  font-weight: 550;
  line-height: 1.35;
  color: inherit;
  margin: 0;
}

.course-box-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.course-box-card .course-arrow {
  font-size: 11px;
  color: #a89aa9;
  transition: all 0.2s ease;
  opacity: 0.7;
}

.course-box-card:hover .course-arrow {
  color: #800080;
  opacity: 1;
  transform: translateX(3px);
}

.badge-new {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #b8842a;
  background: #fbf1de;
  padding: 2px 6px;
  border-radius: 999px;
  flex-shrink: 0;
}

/* Mobile & Tablet Mega Menu */
@media (max-width: 991px) {
  /* Clean mobile navbar collapse container */
  .navbar-collapse {
    background-color: #800080;
    padding: 14px 10px;
    border-radius: 12px;
    margin-top: 10px;
  }

  .navbar-nav {
    text-align: left !important;
    gap: 4px;
  }

  .navbar-nav .nav-link {
    text-align: left !important;
    padding: 10px 14px !important;
    border-radius: 8px;
    color: #ffffff !important;
    font-weight: 500;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link:focus {
    background: rgba(255, 255, 255, 0.12);
  }

  .navbar-nav .dropdown-toggle::after {
    margin-left: auto;
  }

  /* The mega dropdown container on mobile */
  .tabbed-mega-menu {
    width: 100% !important;
    max-width: 100% !important;
    position: static !important;
    transform: none !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16) !important;
    border: 1px solid #e9dcec !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    padding: 8px !important;
    margin: 8px 0 12px !important;
    display: block !important;
  }

  .mega-mobile-accordion {
    width: 100% !important;
    background: #ffffff;
    margin: 0 !important;
    padding: 0 !important;
  }

  .mega-mobile-accordion .accordion-item {
    width: 100% !important;
    border: 1px solid #ede4ef !important;
    border-radius: 10px !important;
    margin-bottom: 6px;
    overflow: hidden;
  }

  .mega-mobile-accordion .accordion-button {
    font-size: 0.9rem;
    padding: 12px 14px;
    background-color: #faf6fb;
    color: #201220;
    box-shadow: none !important;
    border-radius: 10px !important;
  }

  .mega-mobile-accordion .accordion-button:not(.collapsed) {
    color: #800080;
    background-color: #f3e5f4;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }

  .mega-mobile-accordion .accordion-button::after {
    filter: grayscale(1) opacity(0.6);
    transform: scale(0.8);
    margin-left: auto;
  }

  .mega-mobile-accordion .accordion-body {
    padding: 10px 10px 12px;
    background: #ffffff;
  }

  /* Mobile Course Box Card */
  .mega-mobile-accordion .course-box-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 11px;
    background: #fdfafd;
    border: 1px solid #ede4ef;
    border-radius: 8px;
    text-decoration: none !important;
    color: #201220;
    font-size: 13px;
    min-height: 42px;
    transition: all 0.2s ease;
  }

  .mega-mobile-accordion .course-box-card:hover,
  .mega-mobile-accordion .course-box-card:active {
    background: #ffffff;
    border-color: #800080;
    color: #800080;
    box-shadow: 0 2px 8px rgba(128, 0, 128, 0.08);
  }

  .mega-mobile-accordion .course-box-card .course-title {
    font-size: 12.5px;
    font-weight: 550;
    line-height: 1.3;
  }
}

.course-box-section {
  background-color: #f8f9fa;
}

.bg-blue-section {
  background-color: #E8F4FD;
}

/* Course Box */
.course-box {
  border-radius: 15px;
}

/* Icon Box Styling */
.icon-box {
  background-color: #800080;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

/* Text Box */
.text-box strong {
  display: block;
  font-weight: 600;
  color: #222;
}

.text-box span {
  font-size: 14px;
  color: #555;
}

/* Enroll Button */
.btn-enroll {
  background-color: #800080;
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.btn-enroll:hover {
  background-color: #6d006c;
  transform: scale(1.05);
}

/* ===============================
   Mobile Responsiveness Fix
================================*/
@media (max-width: 991px) {
  .course-box-section .row {
    flex-direction: column;
    gap: 20px;
  }

  .course-box {
    margin-bottom: 15px;
    padding: 20px;
  }

  .doctor-card {
    margin: 0 auto;
    width: 100%;
    max-width: 360px;
  }

  .doctor-card iframe {
    width: 100%;
    height: 220px;
  }

  .btn-enroll {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }
}

@media (max-width: 576px) {
  .course-box {
    padding: 15px;
  }

  .icon-box {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }

  .text-box span {
    font-size: 13px;
  }
}


/* ===== MOBILE NAVBAR FIX ===== */
@media (max-width: 991px) {

  /* Mobile Navbar Background */
  #navbarNavMobile {
    background-color: #fff !important;
    text-align: left;
    padding: 15px 20px;
  }

  /* Navbar links - proper color & spacing */
  #navbarNavMobile .nav-link {
    color: #333 !important;
    font-weight: 500;
    text-align: left;
    display: block;
    padding: 10px 0;
  }

  /* Fix hover */
  #navbarNavMobile .nav-link:hover {
    color: #800080 !important;
    /* Purple hover */
  }

  /* Dropdown Arrow for Mobile */
  .navbar-toggler {
    border: none !important;
  }

  /* Mobile menu full width */
  .navbar-collapse.collapse.show {
    width: 100%;
  }
}

/* Submenu styling */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: 0;
  margin-left: 0.1rem;
  display: none;
  border-radius: 0.4rem;
}

/* For submenu positioning and look */

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: 0;
  margin-left: 0.1rem;
  display: none;
}

.dropdown-submenu .dropdown-menu.show {
  display: block;
}

/* Mobile friendly fix */
@media (max-width: 991px) {
  .dropdown-submenu .dropdown-menu {
    position: static;
    margin-left: 1rem;
  }
}


/* Show submenu when active */
.dropdown-submenu .dropdown-menu.show {
  display: block;
}

/* Fix for mobile view */
@media (max-width: 991px) {
  .dropdown-submenu .dropdown-menu {
    position: static;
    margin-left: 1rem;
  }
}


/* Mobile Styling */
@media (max-width: 991px) {
  .navbar .navbar-brand {
    display: block;
    text-align: center;

  }

  .mobile-controls {
    background-color: #800080;
    /* match header color */

  }

  .mobile-controls .enquiry-btn {
    background-color: #fff;
    /* white background */
    color: #800080;
    /* purple text */
    border: none;
    border-radius: 25px;
  }

  .mobile-controls .enquiry-btn:hover {
    background-color: #f2f2f2;
  }

  .mobile-controls .call-btn {
    border: 2px solid #fff;
    border-radius: 50%;

  }
}


.btn-enquiry {
  background-color: #fff;
  color: #800080;
  border-radius: 50px;
  padding: 8px 18px;
  font-weight: 400;
  margin-right: 8px;
  border: none;
  transition: 0.3s;
}

.btn-enquiry:hover {
  background-color: #f3f3f3;
  color: #800080;
}

.btn-call {
  background-color: #fff;
  color: #800080;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: 0.3s;
}

.btn-call:hover {
  background-color: #f3f3f3;
  color: #800080;
}

.course-section {

  text-align: center;
}



/* Background and border styling */
.bg-blue-section {
  background: #E8F4FD;
  border: 2px solid #e0e0e0;
}

.btn-enroll {
  background-color: #800080;
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-size: 18px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-enroll:hover {
  background-color: #5a005a;
  transform: translateY(-3px);
}







.box-contain {
  text-align: justify;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  margin-bottom: 20px;
}

.course-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 5px 8px;
  /* reduced from 10px 12px */
}


.detail-item {
  background-color: #fff;
  border: 2px solid #800080;
  border-radius: 12px;
  padding: 12px 15px;
  /* reduced padding */
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  min-height: 80px;
  /* smaller height */
}

.detail-item span {
  font-size: 13px;
  color: #333;
}

.detail-item i {
  background-color: #800080;
  /* purple background */
  color: #fff;
  /* white icon color */
  width: 40px;
  /* fixed width */
  height: 40px;
  /* fixed height */
  display: flex;
  /* center icon horizontally/vertically */
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  /* perfect circle */
  font-size: 18px;
  /* icon size */
}


.detail-item img {
  width: 45px;
  height: auto;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #333;
}



.btn-enroll {
  display: inline-flex;
  align-items: center;
  background-color: #800080;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 10px 35px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 25px;
  transition: 0.3s;
  gap: 8px;
  /* controls the space between icon and text */
}

.btn-enroll:hover {
  background-color: #5a005a;
  transform: scale(1.05);
}

/* Right Side Doctor Card */
.doctor-card {
  background: #fff;
  border-radius: 15px;
  padding: 15px;
  border: 3px solid #800080;
  display: inline-block;
  text-align: center;
}

.doctor-img {
  width: 100%;
  border-radius: 10px;
}

.doctor-info h5 {
  font-weight: 700;
  color: #000;
  margin-top: 10px;
}

.doctor-info p {
  font-weight: 600;
  color: #8e1a8b;
  margin: 0;
}

.doctor-info span {
  font-weight: 600;
  color: #f4b400;

}



/* ✅ Responsive for tablets */
@media (max-width: 992px) {
  .course-details {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

/* ✅ Responsive for small tablets & mobiles */
@media (max-width: 768px) {

  .course-details {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .detail-item {
    flex-direction: row;
    align-items: flex-start;
  }

  .detail-item img {
    width: 40px;
    height: 40px;
  }

  .text-content strong {
    font-size: 15px;
  }

  .text-content span {
    font-size: 13px;
  }
}

/* ✅ Extra small mobile optimization */
@media (max-width: 480px) {
  .detail-item {
    padding: 10px;
    gap: 10px;
  }

  .detail-item img {
    width: 35px;
    height: 35px;
  }

  .text-content strong {
    font-size: 14px;
  }

  .text-content span {
    font-size: 12px;
  }
}


.learn-section {
  margin-top: 20px;
  text-align: center;
  margin-bottom: 40px;

}

.learn-section h2 {
  font-size: 28px;
  font-weight: 600;
  color: #800080;
}

.learn-section span {
  color: #000;
  font-weight: 400;
}

.learn-box {
  border: 2px solid #800080;
  border-radius: 16px;
  padding: 18px;
  background: #fff;
  margin-bottom: 20px;
  transition: all 0.3s ease;

}

.learn-box:hover {
  box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.5);

  transform: translateY(-4px);
}

.learn-box h5 {
  font-weight: 600;
  color: #000;
  font-size: 16px;
}

.learn-box p {
  margin: 0;
  font-size: 14px;
  color: #333;
}

.learn-img {
  text-align: center;
}

.learn-img img {
  width: 100%;
  max-width: 280px;
  border-radius: 16px;
}

.learn-area {
  background-color: #E8F4FD;
  /* soft light blue */
  padding: 60px 0;
  border-radius: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .learn-img {
    margin: 30px 0;
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .learn-img {
    margin: 30px 0;
  }
}

@media (max-width: 768px) {
  .learn-box {
    padding: 15px;
  }

  .learn-box h5 {
    font-size: 15px;
  }

  .learn-box p {
    font-size: 13px;
  }
}

.career-outcomes {
  background-color: #fff;
}

.career-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.career-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Image section */
.career-img-container {
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid #eee;
}

.career-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Gradient overlay with title */
.career-overlay {
  position: absolute;
  color: #eee;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
}

.career-content {
  padding: 20px;
}

.career-content h5 {
  font-weight: 600;
  color: #800080;
  font-size: 16px;
  margin-bottom: 8px;
}

/* Content below image */
.career-content {
  padding: 15px 18px 20px 18px;
}

.career-content p {
  font-size: 15px;
  color: #333;
  margin-bottom: 8px;
}

.career-info {
  font-weight: 500;
  color: #800080;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bi-play-fill {
  font-size: 14px;
  color: #800080;
}

/* Section background */
.batch-section {
  background-color: #E8F4FD;
}

/* White box with border */
.batch-box {
  background: #fff;
  border: 1.5px solid #800080;
  border-radius: 18px;
  max-width: 90%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Headings */
.batch-title {
  font-size: 30px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  color: #800080;
}

/* Text styles */
.batch-subtext {
  font-size: 15px;
  color: #800080;
}

.text-purple {
  color: #800080;
}

/* Buttons */
.btn-light-secondary {
  background-color: #e2e2e2;
  color: #800080;
  border-radius: 25px;
  font-weight: 500;
  padding: 8px 20px;
  text-decoration: none;
}

.btn-light-secondary:hover {
  background-color: #e2e2e2;
}

.btn-purple {
  background-color: #800080;
  color: #fff;
  border-radius: 25px;
  font-weight: 500;
  padding: 8px 20px;
  text-decoration: none;
}

.btn-purple:hover {
  background-color: #5e0172;
}

.Upcoming-btn {
  color: #5e0172;

}

.text-purple {
  color: #800080;
}

.review-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.review-card {
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .col-md-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.video-wrapper {
  width: 280px; /* Mobile width */
  height: 500px; /* Mobile portrait height (approx 9:16) */
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border: 8px solid #fff; /* White border to simulate phone frame */
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

.doctor-card {
  padding: 4px !important;
}




.accordion-item {
  border-radius: 8px;
  border: 1px solid #ddd !important;
  overflow: hidden;
  max-width: 700px;
  /* control width of FAQ box */
  margin: 0 auto 15px;
  /* center it and add spacing */
}




.accordion-button {
  box-shadow: none !important;
  color: #800080;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  background-color: #f6f8ff;
  color: #800080;
}

.accordion-body {
  font-size: 15px;
  color: #333;
  text-align: justify;
}

.icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 30%;
  background-color: #800080;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}



.accordion-button::after {
  display: block;
  /* Removes right-side arrow */
}

.hero-section h1 {
  font-size: 2.2rem;
}

.hero-section p {
  font-size: 1.1rem;
}

@media (min-width: 992px) {
  .hero-section h1 {
    font-size: 2.8rem;
  }

  .hero-section p {
    font-size: 1.3rem;
  }
}

.accordion-button {
  background-color: #fff;
  color: #333;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background-color: #f8f0ff;
  color: #7b0099;
  font-weight: 600;
}

.accordion-button:focus {
  box-shadow: none;
}


footer a:hover {
  color: #ffcc00 !important;
  text-decoration: underline;
}

footer h6 {
  color: #ffffff;
  letter-spacing: 0.5px;
}

footer a.text-light:hover i {
  color: #ffcc00;
  /* Gold accent */
  transition: 0.3s;
}

.footer-links li {
  margin-bottom: 8px;
  /* space between points */
}



footer h6 {

  display: inline-block;
  padding-bottom: 5px;
}


/* ===== Mobile Responsive Fix ===== */
@media (max-width: 991px) {
  footer .row {
    text-align: left;
  }

  footer .col-lg-4,
  footer .col-lg-2,
  footer .col-lg-3 {
    margin-bottom: 0px;
  }

  footer .footer-links {
    padding-left: 0;
  }

  footer .d-flex.gap-3 {
    justify-content: center;
  }
}

/* ===== Extra Small Devices ===== */
@media (max-width: 576px) {
  footer p {
    font-size: 13px;
  }

  footer .footer-links a {
    display: inline-block;
    margin-bottom: 0px;
  }
}

/* ================================
   MEGA MENU STYLING
   ================================ */

@media (min-width: 992px) {
  .dropdown.has-megamenu {
    position: static;
  }

  .dropdown-menu.mega-menu {
    width: 100%;
    left: 0;
    right: 0;
    padding: 30px;
    margin-top: 0;
    border-radius: 0;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: #fff;
  }

  /* Columns */
  .mega-menu .col-lg-2 {
    border-right: 1px solid #eee;
  }

  .mega-menu .col-lg-2:last-child {
    border-right: none;
  }
}

.mega-menu .dropdown-header {
  font-weight: 700;
  color: #000;
  font-size: 15px;
  padding: 0;
  margin-bottom: 12px;
  line-height: 1.4;
}

.mega-menu .dropdown-item {
  color: #555;
  padding: 5px 0;
  font-size: 14px;
  white-space: normal;
  border-bottom: none;
  background-color: transparent !important;
}

.mega-menu .dropdown-item:hover {
  color: #800080;
  padding-left: 5px;
  transition: all 0.3s;
  background-color: transparent !important;
}

/* Ensure no default background on hover interferes */
.dropdown-item:focus,
.dropdown-item:hover {
  background-color: transparent;
}

/* ================================
   MOBILE MENU & MEGA MENU FIXES
   ================================ */
@media (max-width: 991px) {

  /* Align menu items to left on mobile for better readability */
  .navbar-nav {
    text-align: left !important;
    align-items: flex-start !important;
    /* Force left alignment */
    padding-right: 20px;
  }

  /* Ensure toggle button is clickable & visible on top of everything */
  .navbar-toggler {
    z-index: 9999 !important;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: 0.3s;
  }

  /* Visual feedback when menu is open (not collapsed) */
  .navbar-toggler:not(.collapsed) {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #fff;
  }

  /* Ensure the open menu is scrollable and doesn't trap the user */
  .navbar-collapse {
    max-height: 85vh;
    overflow-y: auto;
    background-color: #800080;
    /* Match header */
    padding-bottom: 20px;
    /* Space at bottom */
  }

  /* Reset Mega Menu for Mobile */
  .dropdown-menu.mega-menu {
    border: none;
    box-shadow: none;
    background-color: transparent;
    padding: 0;
    margin: 0;
    width: 100% !important;
    /* Ensure full width */
  }

  /* Ensure it shows when open */
  .navbar-nav .dropdown-menu.show {
    display: block;
    /* Bootstrap should handle this, but enforcing block flow logic */
    position: static;
    float: none;
  }

  /* Make columns stack nicely */
  .mega-menu .col-lg-2,
  .mega-menu .col-md-4,
  .mega-menu .col-sm-6 {
    width: 100%;
    border-right: none;
    margin-bottom: 20px;
    padding-left: 15px;
    /* Indent sub-items */
  }

  /* Headers - White for visibility on purple bg */
  .mega-menu .dropdown-header {
    font-size: 16px;
    color: #ffffff !important;
    margin-top: 10px;
    padding-left: 0;
    font-weight: 700;
    text-transform: uppercase;
  }

  /* Links - White for visibility on purple bg */
  .mega-menu .dropdown-item {
    padding-left: 10px;
    font-size: 14px;
    color: #f0f0f0 !important;
    white-space: normal;
  }

  .mega-menu .dropdown-item:hover {
    color: #ffcc00 !important;
    /* Gold hover for contrast */
    background: transparent !important;
  }
}

/* ================================
   ILACAD Highlight Section (Premium Banner)
   ================================ */
.ilacad-highlight-section {
    min-height: 250px;
    display: flex;
    align-items: center;
}

.ilacad-white-box {
    background-color: #fff;
    color: #800080;
    padding: 50px 60px 50px 15%; /* Indent content from left */
    border-top-right-radius: 200px;
    border-bottom-right-radius: 200px;
    position: relative;
    z-index: 2;
    box-shadow: 10px 0 30px rgba(0,0,0,0.1);
}

.ilacad-white-box h5 {
    font-size: 1.1rem;
    color: #800080;
}

.ilacad-white-box h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #800080;
    line-height: 1.2;
}

.ilacad-white-box p {
    font-size: 1.2rem;
    color: #800080;
}

.ilacad-features-list li {
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.ilacad-features-list i {
    font-size: 1.3rem;
}

.btn-connect-counseller {
    background-color: #fff !important;
    color: #800080 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 25px !important;
    font-weight: 600 !important;
    transition: 0.3s;
}

.btn-connect-counseller:hover {
    background-color: #f8f0ff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
}

.bg-circle-decoration {
    position: absolute;
    bottom: -110px;
    right: 18%;
    width: 220px;
    height: 220px;
    background-color: #fff;
    border-radius: 50%;
    z-index: 0;
}

/* Responsive fixes for Highlight Section */
@media (max-width: 1200px) {
    .ilacad-white-box {
        padding-left: 10%;
    }
}

@media (max-width: 991px) {
    .ilacad-white-box {
        padding: 40px 30px 40px 10%;
        border-top-right-radius: 100px;
        border-bottom-right-radius: 100px;
    }
    .ilacad-white-box h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    .ilacad-highlight-section {
        padding: 40px 0;
        text-align: center;
    }
    .ilacad-white-box {
        padding: 25px 15px; /* Reduced padding for compactness */
        border-radius: 25px; 
        margin: 0 12px 20px 12px;
        text-align: center;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
    .ilacad-white-box h5 {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }
    .ilacad-white-box h2 {
        font-size: 1.25rem; /* Better scale for very long titles */
        line-height: 1.4;
        margin-bottom: 10px;
        font-weight: 700;
    }
    .ilacad-white-box p {
        font-size: 0.9rem;
        margin-bottom: 0;
    }
    .ilacad-features-list {
        padding: 0 20px;
        margin-top: 10px;
        margin-bottom: 25px;
        display: inline-block;
        text-align: left;
    }
    .ilacad-features-list li {
        font-size: 0.88rem;
        margin-bottom: 10px !important;
        color: #fff;
    }
    .ilacad-features-list img, .ilacad-features-list i {
        margin-right: 10px !important;
        font-size: 1.1rem;
    }
    .bg-circle-decoration {
        display: none;
    }
    .btn-connect-counseller {
        width: 85%;
        max-width: 280px;
        margin: 0 auto;
        display: block !important;
        font-size: 0.9rem !important;
        padding: 14px 24px !important; /* Larger tap target */
        min-height: 48px;
    }
    .footer-link, .nav-link, .mega-course-item {
        padding: 12px 0; /* Increase tap target size for links */
        display: inline-block;
        min-height: 44px;
    }
}