@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;

}



.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;
}

/* ================================
   Tabbed Mega Menu Styling
   ================================ */
/* Navigation Anchor for Mega Menu */
.navbar .container {
  position: relative;
}

.has-megamenu {
  position: static !important;
}

.tabbed-mega-menu {
  border: none;
  border-radius: 20px !important;
  /* Force rounded corners */
  padding: 0;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  width: 800px !important;
  /* Increased by 10% */
  /* Force ultra-compact width */
  max-width: 95vw;

  /* Centered Positioning Logic */
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  top: 100% !important;
}

.mega-container {
  min-height: 280px;
  /* Further reduced height for density */
}

/* Left Sidebar */
.mega-sidebar {
  width: 210px;
  /* Narrower sidebar */
  background: #fbfbfc;
  padding: 8px 0;
  /* Tighter padding */
  border-right: 1px solid #eee;
  height: 100%;
}

/* Explicitly target nav-link inside mega-sidebar to override navbar-dark */
.mega-sidebar .nav-link {
  padding: 10px 18px;
  /* Denser menu items */
  color: #333 !important;
  /* Force dark color */
  font-weight: 600;
  border-radius: 0;
  text-align: left;
  display: flex !important;
  align-items: center;
  transition: all 0.2s ease-in-out;
  border-left: 4px solid transparent;
  background: transparent !important;
  white-space: nowrap;
  /* Keep text on one line */
  font-size: 0.9rem;
}

.mega-sidebar .nav-link:hover {
  color: #800080 !important;
  background: rgba(128, 0, 128, 0.05) !important;
}

.mega-sidebar .nav-link.active {
  background: #fff !important;
  color: #800080 !important;
  border-left-color: #800080;
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.02);
  border-radius: 10px 0 0 10px;
  /* Round only left side if needed, or keep it 0 */
}

.mega-sidebar .nav-link i {
  font-size: 1rem;
  margin-left: auto;
  opacity: 0.6;
}

.mega-sidebar .nav-link.active i {
  opacity: 1;
}

/* Right Content Area */
.mega-content {
  background: #fff;
  padding: 12px 18px;
  border-radius: 15px;
  /* Added internal border radius */
  margin: 10px;
  /* Small margin to show rotation */
}

.mega-panel-header {
  font-size: 1.05rem;
  /* Smaller header */
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 6px;
}

/* Course Items on Right */
.mega-course-item {
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  /* Ultra-tight padding */
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  height: 100%;
}

.mega-course-item:hover {
  background: #fdf6ff;
  border-color: #f3e6f3;
  transform: translateY(-2px);
}

.mega-course-item .icon-wrap {
  width: 40px;
  /* Reduced from 55px */
  height: 40px;
  /* Reduced from 55px */
  background: var(--primary-purple, #800080);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  /* Reduced from 1.5rem */
  flex-shrink: 0;
}

.mega-course-item .text-wrap h6 {
  margin: 0 0 4px;
  /* Reduced from 8px */
  color: #1a1a1a;
  font-weight: 700;
  font-size: 0.95rem;
  /* Reduced from 1.05rem */
}

.mega-course-item .text-wrap p {
  margin: 0;
  color: #666;
  font-size: 0.82rem;
  /* Reduced from 0.95rem */
  line-height: 1.4;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
  .tabbed-mega-menu {
    width: 100% !important;
    max-width: 100% !important;
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    background: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important; /* Ensure it takes full width */
  }

  .mega-mobile-accordion {
    width: 100% !important;
    background: #fff;
    margin: 0 !important;
    padding: 0 !important;
  }

  .mega-mobile-accordion .accordion-item {
    width: 100% !important;
    border-bottom: 1px solid #f0f0f0;
    border-left: none !important;
    border-right: none !important;
    border-radius: 0 !important;
  }

  .mega-mobile-accordion .accordion-button {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    padding: 15px 20px;
    background-color: #fff;
    box-shadow: none !important;
  }

  .mega-mobile-accordion .accordion-button:not(.collapsed) {
    color: #800080;
    background-color: #fdf6ff;
  }

  .mega-mobile-accordion .accordion-button::after {
    filter: grayscale(1) opacity(0.5);
    transform: scale(0.8);
  }

  .mega-mobile-accordion .accordion-body {
    padding: 15px 20px;
    background: #fff;
  }

  .mega-mobile-accordion .mega-panel-header {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
  }

  .mega-mobile-accordion .list-group-item {
    font-size: 0.9rem;
    color: #444;
    transition: all 0.2s;
  }

  .mega-mobile-accordion .list-group-item:active {
    background-color: #f3e6f3;
    color: #800080;
  }
}

.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;
    }
}