/* ------------------------------------------------ NAVBAR SECTION STARTS ------------------------------------------------ */
.logo-img {
  max-height: 52px;
}

.custom-navbar {
  z-index: 9999;
}

.custom-navbar .navbar-nav .nav-link {
  font-weight: 600;
  font-size: 15px;
  color: #1d1d1d;
  /* padding: 30px 16px; */
  position: relative;
  transition: all 0.3s ease;
}

.custom-navbar .navbar-nav .nav-link:hover,
.custom-navbar .navbar-nav .nav-link.active {
  color: #0077b5;
}

.join-btn {
  background: #0077b5;
  border: none;
  border-radius: 0;
  font-weight: 600;
}

.join-btn:hover {
  background: #05aec5;
}

.mega-dropdown {
  position: relative;
}

.mega-dropdown > .nav-link {
  cursor: pointer;
}

.main-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  width: 250px;
  background: #fff;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all 0.35s ease;
  z-index: 999;
  padding: 0;
}

.mega-dropdown:hover > .main-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-submenu {
  position: relative;
}

.main-dropdown .dropdown-item,
.submenu-panel .dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #222;
  background: #fff;
  border-bottom: 1px solid #efefef;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  line-height: 1.4;
}

.main-dropdown .dropdown-item:hover,
.submenu-panel .dropdown-item:hover {
  background: #f8f9fa;
  color: #06c0d9;
}

.submenu-arrow {
  font-size: 13px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.dropdown-submenu:hover > .submenu-toggle .submenu-arrow {
  transform: translateX(-4px);
  color: #06c0d9;
}

.submenu-panel {
  position: absolute;
  top: 0;
  right: 100%;
  left: auto;
  width: 380px;
  max-width: 380px;
  background: #fff;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-16px);
  transition: all 0.35s ease;
  z-index: 1000;
  padding: 0;
}

.dropdown-submenu:hover > .submenu-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.no-child .submenu-arrow {
  display: none;
}

.main-dropdown .dropdown-item:last-child,
.submenu-panel .dropdown-item:last-child {
  border-bottom: none;
}

/* Mobile */
@media (max-width: 991.98px) {
  .custom-navbar .navbar-nav {
    align-items: flex-start !important;
  }

  .custom-navbar .navbar-nav .nav-link {
    padding: 12px 0;
    width: 100%;
  }

  .join-btn {
    display: none !important;
  }

  .mega-dropdown {
    width: 100%;
  }

  .main-dropdown {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    border-top: 1px solid #eee;
    margin-top: 0;
  }

  .mega-dropdown.mobile-open > .main-dropdown {
    display: block;
  }

  .main-dropdown .dropdown-item,
  .submenu-panel .dropdown-item {
    padding: 12px 10px;
    font-size: 14px;
  }

  .submenu-panel {
    position: static;
    width: 100%;
    max-width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    background: #fafafa;
    padding-left: 14px;
  }

  .dropdown-submenu.mobile-open > .submenu-panel {
    display: block;
  }

  .submenu-arrow {
    transform: rotate(0deg);
  }

  .dropdown-submenu.mobile-open > .submenu-toggle .submenu-arrow {
    transform: rotate(-90deg);
  }
}

@media (max-width: 575px) {
  .logo-img {
    max-height: 31px;
  }
}
/* ------------------------------------------------ NAVBAR SECTION ENDS ------------------------------------------------ */

/* ------------------------------------------------ BANNER SECTION STARTS ------------------------------------------------ */
.header-carousel .owl-carousel-item {
  position: relative;
}

.header-carousel .owl-carousel-item img {
  width: 100%;
  height: 850px;
  object-fit: cover;
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: rgba(24, 29, 56, 0.7);
  z-index: 1;
}

.carousel-content {
  max-width: 700px;
  padding: 20px 0;
}

.carousel-content h5 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}

.carousel-content h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2;
}

.carousel-content p {
  font-size: 18px;
  line-height: 1.7;
  max-width: 650px;
}

/* Owl Nav */
.header-carousel .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  z-index: 3;
  pointer-events: none;
}

.header-carousel .owl-nav button.owl-prev,
.header-carousel .owl-nav button.owl-next {
  position: absolute;
  width: 50px;
  height: 50px;
  border: 1px solid #ffffff !important;
  background: transparent !important;
  color: #ffffff !important;
  font-size: 22px !important;
  transition: 0.3s;
  pointer-events: auto;
}

.header-carousel .owl-nav button.owl-prev {
  left: 20px;
}

.header-carousel .owl-nav button.owl-next {
  right: 20px;
}

.header-carousel .owl-nav button.owl-prev:hover,
.header-carousel .owl-nav button.owl-next:hover {
  background: #06bbcc !important;
  border-color: #06bbcc !important;
  color: #ffffff !important;
}

/* =========================
   TABLET
========================= */
@media (max-width: 991.98px) {
  .header-carousel .owl-carousel-item img {
    height: 550px;
  }

  .carousel-content h1 {
    font-size: 38px;
  }

  .carousel-content p {
    font-size: 16px;
  }
  .footer_section{
    padding: 0px 25px !important;
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 767.98px) {
  .header-carousel .owl-carousel-item img {
    height: 520px;
  }

  .carousel-overlay {
    align-items: center !important;
  }

  .carousel-content {
    max-width: 100%;
    padding: 0 10px;
    text-align: left;
  }

  .carousel-content h5 {
    font-size: 14px;
    margin-bottom: 10px !important;
  }

  .carousel-content h1 {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 12px !important;
  }

  .carousel-content p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 18px !important;
  }

  .carousel-content .btn {
    font-size: 14px;
    padding: 10px 22px !important;
  }

  .header-carousel .owl-nav button.owl-prev,
  .header-carousel .owl-nav button.owl-next {
    width: 40px;
    height: 40px;
    font-size: 18px !important;
  }

  .header-carousel .owl-nav button.owl-prev {
    left: 10px;
  }

  .header-carousel .owl-nav button.owl-next {
    right: 10px;
  }
}

/* =========================
   SMALL MOBILE
========================= */
@media (max-width: 575.98px) {
  .header-carousel .owl-carousel-item img {
    height: 480px;
  }

  .carousel-content {
    padding: 0 8px 0 2px;
  }

  .carousel-content h5 {
    font-size: 13px;
  }

  .carousel-content h1 {
    font-size: 24px;
  }

  .carousel-content p {
    font-size: 14px;
  }

  .header-carousel .owl-nav {
    display: none;
  }
}
/* ------------------------------------------------ BANNER SECTION ENDS ------------------------------------------------ */



/* ------------------------------------------------ STUDENTS SECTION STARTS ------------------------------------------------ */
/* .passed-students-section {
  background: #f8fafc;
} */

.student-card {
  position: relative;
  background: #ffffff;
  border-radius: 22px;
  padding: 32px 22px 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transition: all 0.35s ease;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

/* .student-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: #06bbcc;
} */

.student-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
}

.student-img-wrap {
  width: 105px;
  height: 105px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #eaf9fb;
  box-shadow: 0 8px 24px rgba(6, 187, 204, 0.2);
  background: #fff;
}

.student-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.student-content h5 {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.student-content .course {
  color: #6b7280;
  font-size: 16px;
  margin-bottom: 18px;
  font-weight: 500;
}

.student-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.student-footer .batch {
  font-size: 14px;
  color: #475569;
  background: #f1f5f9;
  padding: 8px 14px;
  border-radius: 30px;
  font-weight: 600;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.student-percentage {
  display: inline-block;
  padding: 8px 16px;
  background: linear-gradient(135deg, #06bbcc, #0077b5);
  color: #fff;
  font-weight: 700;
  border-radius: 50px;
  font-size: 15px;
  min-width: 70px;
  text-align: center;
}

/* .topper-card {
  background: linear-gradient(135deg, #0077b5, #06bbcc);
  color: #fff;
} */

/* .topper-card::before {
  background: #ffffff;
}

.topper-card .student-content h5,
.topper-card .student-content .course {
  color: #fff;
}

.topper-card .student-img-wrap {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 24px rgba(255, 255, 255, 0.18);
}

.topper-card .student-footer .batch {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.topper-card .student-percentage {
  background: #fff;
  color: #0077b5;
  box-shadow: none;
} */

/* .topper-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #ffffff;
  color: #0077b5;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
} */

/* Tablet */
@media (max-width: 991.98px) {
  .student-card {
    padding: 28px 18px 22px;
  }

  .student-content h5 {
    font-size: 22px;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .passed-students-section {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .student-card {
    border-radius: 18px;
    padding: 24px 16px 20px;
  }

  .student-img-wrap {
    width: 88px;
    height: 88px;
  }

  .student-content h5 {
    font-size: 20px;
  }

  .student-content .course {
    font-size: 15px;
  }

  .student-footer .batch {
    font-size: 13px;
    padding: 7px 12px;
  }

  .student-percentage {
    font-size: 14px;
    padding: 7px 14px;
    min-width: 64px;
  }

  /* .topper-badge {
    top: 12px;
    right: 12px;
    font-size: 12px;
    padding: 6px 10px;
  } */
}

/* Small Mobile */
@media (max-width: 575.98px) {
  .student-card {
    padding: 22px 14px 18px;
  }

  .student-content h5 {
    font-size: 18px;
  }

  .student-content .course {
    font-size: 14px;
  }

  .student-footer {
    flex-direction: column;
    gap: 8px;
  }

  .student-footer .batch {
    font-size: 13px;
    padding: 6px 12px;
  }

  .student-percentage {
    font-size: 14px;
    padding: 7px 14px;
  }
}
/* ------------------------------------------------ STUDENTS SECTION ENDS ------------------------------------------------ */

/* ------------------------------------------------ TESTIMONIAL SECTION STARTS ------------------------------------------------ */
.testimonial-section {
  position: relative;
  overflow: hidden;
}

.testimonial-section .section-title {
  font-weight: 600;
  letter-spacing: 1px;
}

.testimonial-carousel .testimonial-item {
  padding: 50px 15px 20px;
}

.testimonial-card {
  position: relative;
  background: #fff;
  /* border-radius: 24px; */
  padding: 70px 30px 30px;
  text-align: center;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
  /* min-height: 340px; */
}

.testimonial-card:hover {
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.testimonial-img-wrap {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  overflow: hidden;
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 5px;
  box-shadow: 0 8px 20px rgba(6, 187, 204, 0.25);
  border: 3px solid #06bbcc;
}

.testimonial-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* .quote-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #06bbcc, #0097b2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 8px 20px rgba(6, 187, 204, 0.25);
} */

.testimonial-text {
  font-size: 15px;
  line-height: 1.8;
  color: #6c757d;
  margin-bottom: 20px;
}

.testimonial-content h5 {
  font-size: 22px;
  font-weight: 700;
  color: #1f2b6c;
}

.testimonial-content span {
  display: inline-block;
  color: #06bbcc;
  font-size: 14px;
  font-weight: 600;
  margin-top: 3px;
}

/* Center active item highlight */
.testimonial-carousel .owl-item.center .testimonial-card {
  background: linear-gradient(135deg, #0077b5, #0097b2);
  /* box-shadow: 0 18px 45px rgba(6, 187, 204, 0.3); */
}

.testimonial-carousel .owl-item.center .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-content span,
.testimonial-carousel .owl-item.center .testimonial-content h5 {
  color: #fff;
}

/* .testimonial-carousel .owl-item.center .quote-icon {
  background: #fff;
  color: #06bbcc;
} */

.testimonial-carousel .owl-dots {
  text-align: center;
  margin-top: 25px;
}

.testimonial-carousel .owl-dots .owl-dot {
  display: inline-block;
  margin: 0 6px;
}

.testimonial-carousel .owl-dots .owl-dot.active span,
.testimonial-carousel .owl-dots .owl-dot:hover span {
  background: #06bbcc;
  transform: scale(1.2);
}

/* Responsive */
@media (max-width: 991.98px) {
  .testimonial-card {
    min-height: 360px;
    padding: 65px 22px 25px;
  }
}

@media (max-width: 767.98px) {
  .testimonial-section {
    padding-left: 10px;
    padding-right: 10px;
  }

  .testimonial-carousel .testimonial-item {
    padding: 45px 8px 15px;
  }

  .testimonial-card {
    min-height: auto;
    border-radius: 20px;
    padding: 60px 20px 25px;
  }

  .testimonial-content h5 {
    font-size: 20px;
  }

  .testimonial-text {
    font-size: 14px;
    line-height: 1.7;
  }
}
/* ------------------------------------------------ TESTIMONIAL SECTION ENDS ------------------------------------------------ */