html,
body {
  width: 100%;
  overflow: auto;
}

body {
  color: var(--primary-text-color);
  background-color: var(--primary-background-color);
  font-family: "Poppins", sans-serif;
}

body.contact-us-page .footerContactForm,
body.contact-us-page .footer-school-logo-small {
  display: none;
}

.footer-school-logo-large {
  display: none;
}

body.contact-us-page .footer-school-logo-large {
  display: block;
}

.main-container {
  margin: 0 auto;
}

.banner-text-content {
  position: absolute;
  z-index: 2;
}

.banner-count-content {
  position: absolute;
  bottom: 15%;
  left: 10%;
  right: 10%;
  z-index: 2;
}

.banner-count-img {
  width: 40px;
}

.carousel-item img {
  transition: transform 0.5s ease;
  object-fit: cover;
}

@keyframes bounce-in {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

.about_us_banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.card-body {
  z-index: 1;
}

.banner-tab .nav-item .nav-link.active {
  font-weight: 600;
  background-color: transparent;
}

.theme-bar {
  width: 100px;
  height: 70%;
  position: absolute;
  right: 0;
  z-index: -1;
}

.theme-bar-top,
.theme-bar-bottom {
  height: 40%;
}

.theme-bar-top {
  border-radius:15px;
  height: 85%;
    position: relative;
    top: -30px;
    width: 127px;
}

.theme-bar-middle {
  height: 20%;
}

.highlights-list {
  flex-direction: row;
  flex-wrap: wrap;
  margin: 0 auto;
}
.accordion,
.accordion-item,
.accordion-button {
  background-color: transparent !important;
}
.accordion-button:not(.collapsed) {
  color: inherit !important;
}

.default-section-box {
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.05) inset,
    0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.default-card-shadow {
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  border-radius: 0;
}

.common-disclaimer {
  font-size: 14px;
}

.footer-section {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin-top: 30px;
}

.default-footer-item-height {
  min-height: 40px;
}

.contact-section {
padding-bottom: 30px;
}

.contact-inner-section {
  height: 80%;
  position: relative;
}

/* .quick-links-section {
	width: 20%;
} */

.social-icons-container {
  width: 35%;
}

.void-logo-container img {
  width: 100px;
}

.footer-divider {
  border: none;
  height: 3px;
  background-color: var(--primary-text-color);
  margin-top: 0;
  opacity: 1;
}
/* 
.departments-section {
	border-bottom: 5px solid var(--secondary-text-color);
} */

.contact-section,
.quick-contact-section {
  border-bottom: 5px solid var(--secondary-theme-color);
}

.footer-gallery-image1 {
  position: relative;
  top: 50px;
}

.footer-gallery-image2 {
  position: relative;
  top: -50px;
  right: -50px;
  border: 3px solid #fff;
}

.school-feature-icon {
  width: 28px;
  height: 30px;
}

.culture-image-section {
  display: flex;
  flex-direction: column;
  gap: 10%;
}

.culture-image1 {
  position: relative;
  right: -10%;
  top: 15%;
}

.enquiry-btn {
  position: fixed;
  top: 400px;
  right: 4%;
  display: block;
  transition: all 0.3s ease-in-out;
  z-index: 2;
}

/* Carousel with list */
.banner {
  height: 550px;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-size: cover;
  background-position: center;
  transition: background-image 0.5s ease-in-out;
  /* justify-content: space-between;
	align-items: center;
	background-color: #f8f9fa;
	padding: 20px;
	border: 1px solid #ddd;
	border-radius: 5px; */
}

.banner-list-section {
  border-left: 3px solid #e74040;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.aboutus-banner-carousel {
  position: absolute;
  z-index: 2;
}
/* Course Cards Styles */
.content-section, .banner-list-section {
  z-index: 2;
}

/* Container styles */
#course-container {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  display: flex;
  gap: 15px;
  padding: 20px 10px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

#course-container::-webkit-scrollbar {
  display: none;
}

.course-card-set {
  overflow: hidden;
  min-height: 400px;
  position: relative;
}

/* Card styles */
.course-list-container {
  flex: 0 0 25%;
  perspective: 1000px;
  padding: 0;
  position: relative;
  transform-style: preserve-3d;
  transition: all 0.4s ease;
  margin: 10px;
  min-height: 350px;
  max-height: 450px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.course-list-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.2);
  z-index: 10;
}

.course-card-body {
  z-index: 4;
  position: absolute;
  
}



.front {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transform: rotateY(0deg);
  background-color: #fff;
}

.front img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

.course-list-container:hover .front img {
  transform: scale(1.05);
}

.back {
  background-color: #1c1b1b;
  color: var(--text-color-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity:0 ;
  transform: rotateY(180deg);
  padding: 20px 15px;
}

.course-list-container:hover .front {
  opacity: 0;
  transform: rotateY(-180deg);
}

.course-list-container:hover .back {
  opacity: 1;
  transform: rotateY(0deg);
}

/* Back card content styling */
.back h4 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.back h5 {
  color: #ddd;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.back p {
  color: #bbb;
  line-height: 1.6;
  margin-bottom: 20px;
}

.back a {
  display: inline-block;
  padding: 8px 15px;
  background-color: var(--primary-theme-bg, #007bff);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.back a:hover {
  background-color: var(--secondary-theme-bg, #0056b3);
  transform: translateY(-2px);
}

.themed-line-left, .themed-line-right {
  margin-top: 15px;
  height: 3px;
  flex: 1;
  margin-bottom: 5px;
}

/* .width-90-desktop {
  width: 90%;
  margin: 0 auto;
} */

/* Navigation buttons */
.course-nav-buttons {
  margin: 15px auto 30px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.course-nav-buttons button {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background-color: var(--primary-theme-bg, #007bff);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.course-nav-buttons button:hover {
  background-color: var(--secondary-theme-bg, #0056b3);
  transform: scale(1.1);
}
.secondary-theme-bg-cont{
  height: 85%;
    position: relative;
    top: -30px;
    width: 127px;
}
/* Responsive styles */
@media (max-width: 1199px) {
  .course-list-container {
    flex: 0 0 30%;
    min-height: 320px;
  }
}

@media (max-width: 991px) {
  .course-list-container {
    flex: 0 0 45%;
    min-height: 300px;
  }
  
  .back h4 {
    font-size: 1.3rem;
  }
  
  .back h5 {
    font-size: 1rem;
  }
}

@media (max-width: 767px) {
  .course-list-container {
    flex: 0 0 72%;
    min-height: 280px;
  }
  
  #course-container {
    padding: 15px 5px;
    gap: 10px;
  }
}

@media (max-width: 576px) {
  .course-list-container {
    flex: 0 0 72%;
    margin: 5px;
    min-height: 250px;
  }
  
  .back {
    padding: 15px 10px;
  }
  
  .back h4 {
    font-size: 1.2rem;
  }
  
  .back p {
    font-size: 0.9rem;
  }
  
  /* .width-90-desktop {
    width: 85%;
  } */
}

#course-landing-banner::-webkit-scrollbar {
  display: none;
}

.navigation-arrows {
  text-align: center;
  margin-bottom: 20px;
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 11;
}

.banner-list-item.active {
  font-weight: 600;
}

.achievement-card {
  border: none;
  border-bottom: 3px solid var(--secondary-theme-color);
  border-radius: 0;
}

/* .gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin: 20px;
	justify-content: space-between;
} */

.gallery a {
  position: relative;
  overflow: hidden;
  flex-grow: 1;
  flex-basis: calc(33% - 15px);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  height: 200px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease-in-out;
}

.gallery a:hover img {
  transform: scale(1.05);
}

/*
.gallery a:nth-child(odd) {
	flex-basis: calc(50% - 15px);
} */

.gallery a:nth-child(4) {
  flex-basis: 100%;
}

.fancybox-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 10px;
  text-align: center;
  font-size: 16px;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 2;
}

.play-button img {
  width: 50px;
  height: 50px;
}
.mobile-feature-container {
  background-color: black;
}
.feature-section {
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  background: url(/assets/images/studentenroll-banner.png);
  /* background-repeat: no-repeat; */
  background-position: center;
}

@media (max-width: 991px) {
  .carousel-inner {
    height: 300px;
  }
  .carousel-item {
    height: 100%;
  }
  .banner-text-content {
    top: 0;
    padding: 0.5rem;
    height: 100%;
  }
  .banner-count-content {
    right: 0;
    bottom: 0;
    left: 0;
  }
  .navigation-arrows {
    left: 0;
    right: 0;
  }
  .banner {
    height: 800px;
  }
  .aboutus-section {
    margin-top: 1rem;
    margin-left: 1rem;
  }
  .customer-quotes-section {
    height: 200px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .navbar-collapse {
    padding: 10px;
    max-height: calc(100vh - 50px);
    overflow-y: auto;
  }

  .nav-item {
    display: block;
    /* width: 100%; */
  }

  .academics-school-info-banner {
    height: 300px;
    object-fit: cover;
    margin-bottom: 1rem;
  }

  .services-menu {
    border: none;
    margin-left: 10px;
  }

  .main-container {
    overflow: hidden;
  }

  .mobile-banner {
    height: 200px;
  }

  .common-disclaimer {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
  }

  .footer-gallery-container {
    position: relative;
    bottom: -50px;
  }

  .footer-gallery-section {
    position: relative;
    top: -150px;
  }
}

@media (min-width: 992px) {
  .banner-text-content {
    top: 30%;
    left: 10%;
  }

  .aboutus-section {
    margin-top: 1rem;
    margin-left: 3rem;
  }

  .footer-inner-container {
    position: absolute;
    bottom: 0;
    min-height: 350px;
  }

  .about_us_banner,
  .tc_banner,
  .our-process-banner {
    height: 400px;
  }

  .home-banner {
    height: 500px;
  }

  .customer-quotes-section {
    height: 150px;
  }

  .common-disclaimer {
    margin-left: 3rem !important;
    margin-right: 3rem !important;
  }

  .void-logo-container {
    position: absolute;
    bottom: 0;
  }
}

@media (min-width: 1920px) {
  .video-container {
    right: -25%;
  }
}
@media (max-width: 512px) {
  .feature-section {
    display: flex;
  }
  .mb-size {
    display: none !important;
  }
  .banner-text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
/* ////////////////////////////////////////////////// */
 .carousel-container {
      max-width: 1200px;
      margin: auto;
      padding: 20px;
      font-family: Arial, sans-serif;
    }
    .carousel-wrapper {
      position: relative;
      overflow: hidden;
      padding: 0 40px;
    }
    .carousel-track {
      display: flex;
      gap: 20px;
      transition: transform 0.5s ease;
      will-change: transform;
    }
    .card {
      min-width: 300px;
      height: 350px;
      position: relative;
      overflow: hidden;
      border-radius: 0px 45px;
      flex-shrink: 0;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    .card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }
    .card:hover img {
      transform: scale(1.05);
    }
    .overlay {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.75);
      color: white;
      opacity: 0;
      padding: 20px;
      transition: opacity 0.3s ease;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
    }
    .overlay h3 {
      margin-top: 0;
      margin-bottom: 10px;
      font-size: 18px;
    }
    .overlay p {
      font-size: 14px;
      margin-bottom: 15px;
    }
    .overlay a {
      color: white;
      text-decoration: none;
      font-weight: bold;
    }
    .card:hover .overlay {
      opacity: 1;
    }
    .carousel-btn {
      display: flex;
      justify-content: center;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: white;
      border: none;
      font-size: 24px;
      cursor: pointer;
      z-index: 10;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      box-shadow: 0 2px 5px rgba(0,0,0,0.3);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .carousel-btn.prev {
      left: 10px;
    }
    .carousel-btn.next {
      right: 10px;
    }
    /* Responsive */
    @media (max-width: 768px) {
      .card {
        min-width: 80%;
      }
      .carousel-wrapper {
        padding: 0 30px;
      }
    }