/********** Template CSS **********/
:root {
  --primary: #06BBCC;
  --light: #F0FBFC;
  --dark: #181d38;
}

.fw-medium {
  font-weight: 600 !important;
}

.fw-semi-bold {
  font-weight: 700 !important;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}


/* FIXED NAVBAR */
.navbar.fixed-top {
  background: #ffffff !important;
  z-index: 9999;
}

/* BODY TOP SPACE – VERY IMPORTANT */
body {
  padding-top: 80px;
}

.navbar.fixed-top {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(8px);
}


/*** Button ***/
.btn {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
  color: #FFFFFF;
  border-radius: 10px;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 0px;
}

.info-card i {
  font-size: 22px;
}

.blue i {
  color: #0d6efd;
}

.green i {
  color: #198754;
}

.orange i {
  color: #fd7e14;
}


.card-wrapper {
  display: flex;
  gap: 25px;
  margin-top: 50px;
  justify-content: center;
  flex-wrap: wrap;
}

.info-card {
  background: #fff;
  width: 340px;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 3px solid;
  margin-bottom: 15px;
  font-size: 1.25rem;
}

.info-card .item {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}

.info-card .item i {
  font-size: 22px;
  margin-top: 5px;
}

.info-card p {
  margin: 0;
  color: #333;
}

.info-card span {
  font-size: 14px;
  color: #666;
}

hr {
  border: none;
  border-top: 1px dashed #ddd;
  margin: 10px 0;
}

/* Colors */
.blue h3,
.blue i {
  color: #0d6efd;
}

.green h3,
.green i {
  color: #198754;
}

.orange h3,
.orange i {
  color: #fd7e14;
}

.blue {
  border-bottom: 4px solid #0d6efd;
}

.green {
  border-bottom: 4px solid #198754;
}

.orange {
  border-bottom: 4px solid #fd7e14;
}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 25px 0;
  color: #FFFFFF;
  font-size: 15px;
  text-transform: uppercase;
  outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--primary);
}

@media (max-width: 991.98px) {
  .navbar-light .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .navbar-light .navbar-nav {
    border-top: 1px solid #EEEEEE;
  }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
  height: 75px;
}

.navbar-light .navbar-nav .nav-link {
  color: var(--dark);
  font-weight: 500;
}

.navbar-light.sticky-top {
  top: -100px;
  transition: .5s;
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    transition: .5s;
  }

  .navbar .dropdown-menu.fade-down {
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    transform: rotateX(0deg);
    visibility: visible;
    transition: .5s;
    opacity: 1;
  }
}


/*** Header carousel ***/
.header-carousel .owl-carousel-item img {
  height: 500px;
  object-fit: cover;
}

.header-carousel h1 {
  font-size: 3rem !important;
}

.header-carousel h2 {
  font-size: 2.5rem !important;
}

.header-carousel .btn {
  padding: 12px 30px !important;
  font-size: 1.1rem !important;
}

@media (max-width: 768px) {
  .header-carousel .owl-carousel-item {
    position: relative;
    min-height: 350px;
  }

  .header-carousel h1 {
    font-size: 1.5rem !important;
  }

  .header-carousel h2 {
    font-size: 1.2rem !important;
  }

  .header-carousel .btn {
    padding: 8px 15px !important;
    font-size: 0.8rem !important;
  }

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

.header-carousel .owl-nav {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
  margin: 7px 0;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: transparent;
  border: 1px solid #FFFFFF;
  font-size: 22px;
  transition: .5s;
}

.why-box {
  padding: 20px 30px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-left: 5px solid var(--primary);
  position: relative;
  overflow: hidden;
}

.why-box::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: rgba(var(--bs-primary-rgb), 0.05);
  border-radius: 50%;
}

.why-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}

.why-list li {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.6;
  padding-left: 5px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.why-list li strong {
  color: var(--primary);
}

.mission-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mission-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 15px;
  padding: 15px 25px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.mission-item:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--primary);
}

.mission-icon {
  min-width: 45px;
  height: 45px;
  background: rgba(var(--bs-primary-rgb), 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 22px;
}

.mission-item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #444;
}

/* Vision & Mission Special Styles */
.vm-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-top: 5px solid var(--primary);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.vm-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.vm-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(6, 187, 204, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: 0.4s;
  z-index: -1;
}

.vm-card:hover::after {
  opacity: 1;
}

.vm-card .section-title::after {
  display: none;
}

.vm-card p {
  margin-top: 10px;
  margin-bottom: 0;
  color: #555;
  line-height: 1.6;
}

.vm-icon {
  width: 70px;
  height: 70px;
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px;
  transition: 0.4s;
  box-shadow: 0 5px 15px rgba(6, 187, 204, 0.2);
}

.vm-card:hover .vm-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1) rotate(360deg);
  box-shadow: 0 8px 20px rgba(6, 187, 204, 0.4);
}


.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.page-header {
  background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/carousel-1.webp);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 70px 0 40px 0;
  margin-bottom: 0;
}

.page-header-inner {
  background: rgba(15, 23, 43, .7);
}

.breadcrumb-item+.breadcrumb-item::before {
  color: var(--light);
}

.center-card {
  background: #ffffff;
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  height: 100%;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  z-index: 1;
}

.center-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.02) 0%, transparent 100%);
  border-radius: 20px;
  z-index: -1;
}

.center-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border-color: rgba(var(--bs-primary-rgb), 0.2);
}

.bg-light-section {
  background-color: #fcfdfe;
  border-bottom: 1px solid #f1f3f5;
  border-top: 1px solid #f1f3f5;
}

.center-card h4 {
  color: #071f43;
  font-weight: 700;
  margin-bottom: 15px;
}

.center-card p {
  color: #444;
  font-size: 15px;
  line-height: 1.6;
}

.center-card i {
  color: #0d6efd;
  margin-right: 8px;
}

.center-card .phone {
  font-weight: 600;
  margin-top: 12px;
}


/*** Section Title ***/
.service-item {
  color: #000000;
  border-radius: 10px;
  transition: none !important;
  /* hover animation off */
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Compact service item content */
.service-item .p-4 {
  padding: 1.5rem !important;
  width: 100%;
}

.service-item i {
  font-size: 2.5rem !important;
  /* Smaller icon */
  margin-bottom: 0.8rem !important;
}

.service-item h3 {
  font-size: 1.2rem !important;
  /* Smaller title */
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.service-item p {
  margin-bottom: 0;
  font-size: 0.9rem !important;
}

.service-item i,
.service-item h5,
.service-item p {
  color: #ffffff !important;
}

/* hover completely disable */
.service-item:hover {
  transform: none;
  box-shadow: none;
}

.admission-banner {
  width: 100%;
  padding: 30px 20px;
  background: linear-gradient(135deg, #01c8d2, #0665c5);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.popular-course-section {
  padding: 20px 20px;
}

.course-wrapper {
  display: flex;
  gap: 30px;
  align-items: stretch;
}

/* Common card */
.course-card {
  flex: 1;
  padding: 30px;
  border-radius: 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 250px;
  position: relative;
}

/* LEFT background */
.course-card.left {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)),
    url("../img/popular-course-bg-1.webp");
  background-size: cover;
  background-position: center;
}

/* RIGHT background */
.course-card.right {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)),
    url("../img/popular-course-bg-2.webp");
  background-size: cover;
  background-position: center;
}

.badge {
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
  opacity: 0.9;
}

.course-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}

.course-card p {
  max-width: 480px;
  font-size: 14px;
  opacity: 0.95;
}

/* Responsive */
@media (max-width: 991px) {
  .course-wrapper {
    flex-direction: column;
  }
}


.about-text-box {
  border-left: none;
  /* 🔥 line removed */
  padding-left: 0;
  /* reset spacing */
  margin-left: 0;
}

.section-title {
  position: relative;
  display: inline-block;
  text-transform: uppercase;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
/* ABOUT SECTION */
.about-section {
  padding: 70px 0;
}

/* Image */
.about-image {
  max-width: 100%;
  border-radius: 8px;
}

/* Text Box */
.about-text-box {
  border-left: 4px solid #910d00;
  padding-left: 30px;
  margin-left: 10px;
}

/* Title */
.about-title {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #222;
}

/* Paragraph */
.about-text-box p {
  font-size: 15px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 15px;
}

/* Sub headings */
.about-text-box h6 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 22px;
  margin-bottom: 8px;
  color: #000;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .about-text-box {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
  }

  .about-text-box p {
    text-align: center;
  }

  .about-title {
    text-align: center;
  }
}

/* Contact Page Mobile Fix */
@media (max-width: 768px) {

  .contact-address p {
    font-size: 14px;
    line-height: 1.6;
  }

  .contact-address {
    padding-left: 0;
  }

  iframe {
    min-height: 250px !important;
    margin-top: 20px;
  }

  .contactdetails {
    text-align: center;
  }

  .contactbox {
    display: flex;
    justify-content: center;
  }

}


/* Section spacing */
/* .about.section {
  padding: 80px 0;
} */



/* light pattern effect */
.admission-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.05) 10px,
      transparent 10px,
      transparent 20px);
}

.banner-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #fff;
  font-weight: 600;
}

.banner-content h2 {
  margin: 0;
  font-size: 28px;
}

.banner-icon {
  font-size: 36px;
  background: rgba(255, 255, 255, 0.15);
  padding: 12px;
  border-radius: 50%;
}

/*** Service ***/
.service-item {
  background: var(--primary);
  transition: .5s;
}

.service-item:hover {
  margin-top: -10px;
  background: var(--primary);
}

.service-item * {
  transition: .5s;
}

.service-item:hover * {
  color: var(--black) !important;
}


/*** Categories & Courses ***/
.category img,
.course-item img {
  transition: .5s;
}

#topperCarousel {
  max-width: 1000px;
  margin: 0 auto;
}

#topperCarousel .course-item {
  max-width: 220px;
  margin: 0 auto;
  border-radius: 15px;
  /* Softer corners */
  overflow: hidden;
}

#topperCarousel .course-item h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

#topperCarousel .course-item .text-primary {
  font-size: 0.85rem;
  font-weight: 700;
}

/* Override bootstrap padding for inside the card */
#topperCarousel .course-item .p-4 {
  padding: 10px !important;
}

.category a:hover img,
.course-item:hover img {
  transform: scale(1.1);
}

.category-card {
  position: relative;
  overflow: hidden;
  height: 350px;
  border-radius: 10px;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card .category-content {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #fff;
  padding: 10px 15px;
  text-align: center;
  border-radius: 5px;
}

.category-card h5 {
  margin: 0;
  font-size: 18px;
}

.category-card small {
  color: #0d6efd;
}


.topper-img img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  object-position: top;
}

.gallery-section {
  background: #f8f9fa;
}

.section-titlee {
  color: #06BBCC;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #000000;
  display: block;
  margin: 5px auto 0;
}

.gallery-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: 0.4s ease;
}

.gallery-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: 0.4s ease;
}

.gallery-caption {
  padding: 15px;
  text-align: center;
  font-weight: 600;
  color: #0d6efd;
}

.gallery-card:hover {
  transform: translateY(-8px);
}

.gallery-card:hover img {
  transform: scale(1.08);
}

/*** Team ***/
.team-item img {
  transition: .5s;
}

.team-item:hover img {
  transform: scale(1.1);
}


/*** Testimonial ***/
.testimonial-carousel::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
  z-index: 1;
}

.testimonial-carousel::after {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
  z-index: 1;
}

@media (min-width: 768px) {

  .testimonial-carousel::before,
  .testimonial-carousel::after {
    width: 200px;
  }
}

@media (min-width: 992px) {

  .testimonial-carousel::before,
  .testimonial-carousel::after {
    width: 300px;
  }
}

.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
  transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
  background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
  color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
  margin-top: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 15px;
  height: 15px;
  border: 1px solid #CCCCCC;
  transition: .5s;
}

.testimonial-carousel .owl-dot.active {
  background: var(--primary);
  border-color: var(--primary);
}

/* ================= TESTIMONIAL SECTION ================= */

.testimonial-carousel {
  position: relative;
  padding: 20px 0;
}

.testimonial-carousel .owl-stage {
  display: flex !important;
  /* Forces all items to have the same height */
}

.testimonial-carousel .owl-item {
  display: flex;
}


/* Admission Banner */
.admission-banner {
  background: linear-gradient(135deg, #0d6efd, #0043a8);
  border-radius: 15px;
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  box-shadow: 0 10px 30px rgba(13, 110, 253, 0.3);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.testimonial-item {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 30px;
  margin: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Center content horizontally */
  justify-content: flex-start;
  height: 100%;
  /* Stretches to match the tallest item */
  width: 100%;
}

.testimonial-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Profile Image */
.testimonial-img {
  width: 90px !important;
  height: 90px !important;
  max-width: 90px !important;
  object-fit: cover;
  border-radius: 50% !important;
  border: 4px solid var(--primary);
  padding: 3px;
  background: #fff;
  margin-bottom: 20px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1 !important;
}

/* Name & Role */
.testimonial-item .name {
  font-weight: 600;
  margin-bottom: 2px;
}

.testimonial-item .role {
  font-size: 14px;
  color: #777;
}

/* Testimonial Text */
.testimonial-text {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}

/* Stars */
.testimonial-text .stars {
  color: #f7b500;
  font-size: 18px;
  margin-bottom: 10px;
}

/* CENTER ACTIVE ITEM */
.testimonial-carousel .owl-item.center .testimonial-item {
  background: var(--primary);
  color: #fff;
}

.testimonial-carousel .owl-item.center .testimonial-text,
.testimonial-carousel .owl-item.center .role,
.testimonial-carousel .owl-item.center .name {
  color: #fff;
}

.testimonial-carousel .owl-item.center .testimonial-img {
  border-color: #fff;
}

/* DOTS */
.testimonial-carousel .owl-dots {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.testimonial-carousel .owl-dot {
  width: 12px;
  height: 12px;
  background: #ccc;
  margin: 0 6px;
  border-radius: 50%;
  transition: 0.3s;
}

.testimonial-carousel .owl-dot.active {
  background: var(--primary);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .testimonial-item {
    padding: 25px 20px;
  }

  .testimonial-text {
    font-size: 14px;
  }
}

/*** Footer ***/
.footer .btn.btn-social {
  margin-right: 5px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  font-weight: normal;
  border: 1px solid #FFFFFF;
  border-radius: 35px;
  transition: .3s;
}

.footer .btn.btn-social:hover {
  color: var(--primary);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: normal;
  text-transform: capitalize;
  transition: .3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
  color: var(--light);
}

.footer .footer-menu a {
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}

/* =========================
   GLOBAL MOBILE SAFETY
========================= */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

p {
  font-size: 14px;
  line-height: 1.7;
}

/* =========================
   PAGE HEADER (WELCOME TO TESTA)
========================= */
@media (max-width: 768px) {
  .page-header {
    padding: 60px 15px;
    text-align: center;
  }

  .page-header h1 {
    font-size: 26px;
  }
}

/* =========================
   WHY CHOOSE TESTA
========================= */
@media (max-width: 768px) {
  .why-box {
    padding: 25px 18px;
    margin: 0 10px;
  }

  .why-list {
    padding-left: 0;
  }

  .why-list li {
    font-size: 14px;
  }
}

/* =========================
   VISION & MISSION
   (inline flex override)
========================= */
@media (max-width: 991px) {
  div[style*="display: flex"] {
    flex-direction: column !important;
    gap: 30px;
  }
}

/* =========================
   OUR AIM SECTION
========================= */
@media (max-width: 768px) {
  .mission-item {
    flex-direction: row;
    align-items: flex-start;
    padding: 18px;
  }

  .mission-icon {
    min-width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .mission-item p {
    font-size: 14px;
  }
}

/* =========================
   CENTER / CAMPUS CARDS
========================= */
@media (max-width: 768px) {
  .center-card {
    padding: 20px;
    margin: 0 10px;
  }

  .center-card h4 {
    font-size: 16px;
  }

  .center-card p {
    font-size: 14px;
  }
}

/* =========================
   FOOTER MOBILE FIX
========================= */
@media (max-width: 768px) {
  .footer {
    text-align: center;
  }

  .footer .btn.btn-link {
    text-align: center;
  }

  .footer .btn-social {
    margin: 5px;
  }

  .footer .row>div {
    margin-bottom: 25px;
  }
}

/* ===============================
   GLOBAL MOBILE FIX
================================ */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

p {
  font-size: 14px;
  line-height: 1.7;
}

/* ===============================
   NAVBAR FIX
================================ */
@media (max-width: 768px) {
  .navbar {
    padding: 8px 0;
  }

  .navbar-brand img {
    width: 120px !important;
    height: auto !important;
  }
}

/* ===============================
   HERO / OWL CAROUSEL
================================ */
@media (max-width: 768px) {
  .header-carousel h1 {
    font-size: 22px !important;
    line-height: 1.3;
  }

  .header-carousel .btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  .owl-carousel-item img {
    height: 260px;
    object-fit: cover;
  }
}

/* ===============================
   SERVICE BOX (PROGRAMS)
================================ */
@media (max-width: 768px) {
  .service-item {
    margin-bottom: 15px;
  }

  .service-item h5 {
    font-size: 15px;
  }

  .service-item p {
    font-size: 13px;
  }

  .container-fluid {
    text-align: center;
  }

  .aboutbox {
    text-align: center;
  }

  .aboutbox h6 {
    text-align: center;
  }
}

/* ===============================
   ABOUT SECTION IMAGE FIX
================================ */
@media (max-width: 768px) {
  .container-xxl .position-relative {
    min-height: 260px !important;
  }
}

/* ===============================
   EVENTS / CATEGORY IMAGES
================================ */
@media (max-width: 768px) {
  .category img {
    object-fit: cover;
  }
}

/* ===============================
   NEWS / ANNOUNCEMENT / ACADEMIC
================================ */
@media (max-width: 768px) {
  .card-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 12px;
  }

  .info-card {
    width: 100%;
  }

  .iconsfooter {
    display: flex;
    justify-content: center;
  }
}

/* ===============================
   TOPPERS SECTION
================================ */
@media (max-width: 768px) {
  .course-item {
    margin: auto;
  }

  .topper-img img {
    width: 100%;
    height: auto;
  }

  .course-item h3 {
    font-size: 16px;
  }
}

/* ===============================
   ADMISSION BANNER
================================ */
@media (max-width: 768px) {
  .admission-banner h2 {
    font-size: 20px;
    text-align: center;
  }
}

/* ===============================
   POPULAR COURSE SECTION
================================ */
@media (max-width: 768px) {
  .course-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .course-card {
    width: 100%;
    text-align: center;
  }

  .course-card h2 {
    font-size: 20px;
  }
}

/* ===============================
   TESTIMONIAL
================================ */
@media (max-width: 768px) {
  .testimonial-text {
    font-size: 14px;
  }
}

/* ===============================
   FOOTER FIX
================================ */
@media (max-width: 768px) {
  .footer {
    text-align: center;
  }

  .footer .btn.btn-link {
    display: block;
  }

  .footer .btn-social {
    margin: 6px;
  }

  .footer .row>div {
    margin-bottom: 25px;
  }
}

/* ===============================
   BACK TO TOP
================================ */
@media (max-width: 768px) {
  .back-to-top {
    bottom: 15px;
    right: 15px;
  }
}

/*** Specialities Section ***/
.speciality-item {
  padding: 15px 20px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.speciality-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.speciality-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  transition: 0.3s;
  opacity: 0.6;
}

.speciality-item:hover::before {
  opacity: 1;
  width: 8px;
}

.speciality-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 187, 204, 0.1);
  /* based on var(--primary) */
  color: var(--primary);
  border-radius: 50%;
  font-size: 20px;
  margin-bottom: 10px;
  transition: 0.5s;
}

.speciality-item:hover .speciality-icon {
  background: var(--primary);
  color: #fff;
  transform: rotateY(180deg);
}

.speciality-item h5 {
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--dark);
}

.speciality-item p {
  color: #666;
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===============================
   COURSE CATEGORY CARDS
================================ */
.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
}

.category-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(6, 187, 204, 0.2);
}

.course-img-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
  filter: saturate(0.9);
}

.category-card:hover img {
  transform: scale(1.15);
  filter: saturate(1.1);
}

.course-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary);
  color: #fff;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(6, 187, 204, 0.3);
  z-index: 5;
}

.category-content {
  padding: 20px 15px 15px;
  text-align: center;
  width: 85%;
  margin: -40px auto 15px auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 10;
  transition: 0.4s;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.category-card:hover .category-content {
  background: #fff;
  width: 90%;
  transform: translateY(-5px);
}

.category-icon-box {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: #fff;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -45px auto 15px;
  font-size: 22px;
  box-shadow: 0 10px 20px rgba(6, 187, 204, 0.2);
  transition: 0.5s;
}

.category-card:hover .category-icon-box {
  transform: rotateY(360deg) scale(1.1);
  box-shadow: 0 15px 30px rgba(6, 187, 204, 0.4);
}

.category-content h5 {
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--dark);
  font-size: 1.1rem;
  transition: 0.3s;
  letter-spacing: -0.5px;
}

.category-card:hover h5 {
  color: var(--primary);
}

.category-text {
  font-size: 0.8rem;
  color: #666;
  margin: 5px 0 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: 0.3s;
}

.category-card:hover .category-text {
  color: #333;
}

.btn-arrow {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: 0.3s;
}

.btn-arrow i {
  transition: 0.3s;
}

.category-card:hover .btn-arrow i {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .course-img-wrapper {
    height: 200px;
  }

  .category-content {
    width: 90%;
  }
}