body::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-track {
  background: #f3f3f3;
}
body::-webkit-scrollbar-thumb {
  background-color: #00742c;
  border: 2px solid #f1f1f1;
}
body {
  overflow-x: hidden;
}

:root {
  --primary-color: #00742c;
  --secondary-color: #b1030e;
}
/* For Webkit Browsers (Chrome, Safari) */
.table-responsive::-webkit-scrollbar {
  height: 8px; /* Scrollbar height */
}

.table-responsive::-webkit-scrollbar-track {
  background: #f1f1f1; /* Light gray track */
  border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: var(--primary-color); /* Blue scrollbar */
  border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color); /* Darker blue on hover */
}

/* For Firefox */
.table-responsive {
  scrollbar-color: var(--primary-color) #f1f1f1; /* Thumb and Track */
  scrollbar-width: thin;
}

.top-header {
  background-color: #f2f2f2;
}
.topbar {
  background-color: #f2f2f2;
}
.institute-name {
  color: var(--secondary-color);
}
.btn {
  color: var(--secondary-color);
}

.top-navbar {
  background-color: var(--primary-color) !important;
}
.navbar-nav {
  display: flex;
  justify-content: space-between;
  width: 100%;
  /* Adding the new CSS for equally space between navbar*/
}
.navbar-light .navbar-nav .nav-link {
  font-family: "Yantramanav", sans-serif;
  position: relative;
  margin-right: 25px;
  padding: 20px 0;
  color: #fff !important;
  font-size: 17px;
  font-weight: 400;
  outline: none;
  transition: 0.5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
  padding: 20px 0;
  color: var(--dark) !important;
  font-size: 17px !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--secondary-color) !important;
  /* font-weight: bold; */
}

.navbar-light .navbar-brand img {
  max-height: 50px;
  transition: 0.5s;
}

.sticky-top.navbar-light .navbar-brand img {
  max-height: 45px;
}

.navbar .dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 8px;
}
.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  vertical-align: middle;
  margin-left: 8px;
}

/* Dropdown menu styles */
.dropdown .dropdown-menu a {
  color: #fff !important;
}
.dropdown-menu {
  position: absolute;
  z-index: 1000;
  display: none;
  min-width: 10rem;
  padding: 0.5rem 0;
  margin: 0;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  list-style: none;
  background-color: rgba(0, 0, 0, 0.8);
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
}
.dropdown .dropdown-menu .dropdown-item.active {
  background-color: var(--primary-color) !important;
}

@media (min-width: 1200px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    transition: 0.5s;
    opacity: 0;
  }

  .navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: rgba(0, 0, 0, 0.8) !important;
    transition: 0.5s;
    opacity: 1;
  }
}

/* Hover styling */
.dropdown .dropdown-menu a:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

/* Submenu dropdown styling */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: 0;
  visibility: hidden !important;
  opacity: 0;
}

.dropdown-submenu:hover .dropdown-menu,
.dropdown-submenu .dropdown-toggle.show + .dropdown-menu {
  visibility: visible !important;
  opacity: 1;
  transform: rotateX(0deg);
  background: rgba(0, 0, 0, 0.8) !important;
  transition: 0.5s;
}

/* Sub-submenu dropdown styling */
.dropdown-submenu .dropdown-menu .dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: 0;
  background: rgba(0, 0, 0, 0.8) !important;
  opacity: 0;
}

.dropdown-submenu .dropdown-menu .dropdown-submenu:hover .dropdown-menu,
.dropdown-submenu .dropdown-toggle.show + .dropdown-menu {
  visibility: visible !important;
  opacity: 1;
  transform: rotateX(0deg);
  background: rgba(0, 0, 0, 0.8) !important;
  transition: 0.5s;
}

/* Mobile and small screen adjustments */
@media (max-width: 991.98px) {
  .dropdown-menu li a {
    text-decoration: underline !important;
  }
  .dropdown-submenu .dropdown-menu {
    position: relative;
    left: 20px;
    top: 0;
    margin-top: 0.5rem;
    visibility: visible !important;
    opacity: 0;
    transition: none;
    width: 80%;
  }
  .dropdown-submenu .dropdown-menu .dropdown-submenu .dropdown-menu {
    left: 0;
    width: 80% !important;
    visibility: visible;
    background-color: rgb(30, 30, 30) !important;
    margin-left: 30px;
  }
  .always-visible {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    margin-top: 0.5rem;
  }

  /* Hide dropdown toggles on small screens if you want */
  .dropdown .dropdown-toggle {
    display: block;
  }
}
@media (max-width: 991.98px) {
  .sticky-top.navbar-light {
    position: relative;
    background: var(--bs-white);
  }

  .navbar.navbar-expand-lg .navbar-toggler {
    padding: 10px 20px;
  }

  .navbar-light .navbar-collapse {
    margin-top: 15px;
    border-top: 1px solid #dddddd;
  }

  .navbar-light .navbar-nav .nav-link,
  .sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 10px 0;
    margin-left: 0;
    color: #fff !important;
  }

  .navbar-light .navbar-brand img {
    max-height: 45px;
  }
}

@media (min-width: 992px) {
  .navbar-light {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
  }

  .sticky-top.navbar-light {
    position: fixed;
    color: white;
  }
  .navbar-light .navbar-nav .nav-link.nav-contact::before {
    display: none;
  }
}
.institute-name {
  color: var(--secondary-color);
  font-family: serif;
  font-weight: bolder;
}
.header-button {
  background-color: var(--secondary-color);
  color: #ffffff !important;
}
/*** Carousel Hero Header Start ***/
.header-carousel {
  position: relative;
}

.header-carousel .owl-nav .owl-prev {
  position: absolute;
  width: 60px;
  height: 60px;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  border-radius: 60px;
  background: var(--bs-primary);
  color: var(--bs-white);
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
}

.header-carousel .owl-nav .owl-next {
  position: absolute;
  width: 60px;
  height: 60px;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  border-radius: 60px;
  background: var(--bs-primary);
  color: var(--bs-white);
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
  transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
  box-shadow: inset 100px 0 0 0 var(--bs-light) !important;
  color: var(--bs-primary) !important;
}

@media (max-width: 576px) {
  .header-carousel .owl-nav .owl-prev,
  .header-carousel .owl-nav .owl-next {
    top: 630px;
    transition: 0.5s;
  }

  .header-carousel
    .header-carousel-item
    .carousel-caption
    .carousel-caption-content {
    width: 95% !important;
  }
}

.header-carousel .header-carousel-item,
.header-carousel .header-carousel-item img {
  position: relative;
  width: 100%;
  height: 700px;
  margin-top: 0;
  display: block;
  object-fit: cover;
  transition: 0.5s;
}

@media (max-width: 992px) {
  .header-carousel .header-carousel-item,
  .header-carousel .header-carousel-item img {
    margin-top: 0;
    transition: 0.5s;
  }
}

@media (min-width: 992px) {
  .header-carousel .owl-nav .owl-prev,
  .header-carousel .owl-nav .owl-next {
    margin-top: 50px;
  }
}

.header-carousel .header-carousel-item .carousel-caption {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-carousel
  .header-carousel-item
  .carousel-caption
  .carousel-caption-content {
  position: relative;
  width: 75%;
}
/*** Carousel Hero Header End ***/

/*** Dance Class Start ***/
.class-carousel .owl-stage-outer {
  margin-top: 30px;
}

.class-carousel .owl-nav .owl-prev,
.class-carousel .owl-nav .owl-next {
  position: absolute;
  top: 0;
  padding: 10px 35px;
  border: 1px solid var(--primary-color);
  color: var(--bs-white);
  background: var(--primary-color);
  border-radius: 50px;
  transition: 0.5s;
}

.class-carousel .owl-nav .owl-prev {
  left: 0 !important;
}

.class-carousel .owl-nav .owl-next {
  right: 0;
}

.class-carousel .owl-nav .owl-prev:hover,
.class-carousel .owl-nav .owl-next:hover {
  box-shadow: inset 100px 0 0 0 var(--bs-light) !important;
  color: var(--primary-color) !important;
}

.class .class-item .class-img {
  position: relative;
  overflow: hidden;
  transition: 0.5s;
}

.class .class-item .class-img img {
  transition: 0.5s;
  aspect-ratio: 1/1;
}

.class .class-item:hover .class-img img {
  transform: scale(1.3);
}
.events-text a {
  color: #000;
  text-decoration: none;
}
.class-img {
  position: relative;
  height: auto;
}
/*** vision mission start ***/
.announcement {
  background-color: var(--primary-color);
}
.announcement-text {
  color: var(--secondary-color);
  font-weight: bolder;
  margin-bottom: 30px !important;
}
.announcement-text-1 {
  color: var(--secondary-color);
  font-weight: bolder;
}

/* .mission-value-row {
    /* background-color: rgba(52, 161, 89, 0.23); */
*/ .vision {
  border-right: 2px solid #ccc !important;
  padding-right: 15px !important;
}
.mission-value-row .col-lg-4 {
  border-right: 1px solid rgba(187, 187, 187, 1) !important;
}
.mission-value-row .col-lg-4:last-child {
  border-right: none !important;
}
@media (max-width: 991.98px) {
  .mission-value-row .col-lg-4:last-child {
    border-right: 1px solid rgba(187, 187, 187, 1) !important;
  }
}
/*** vision missin end ***/

/*** Testimonial Start ***/
.testimonial-carousel .owl-stage-outer {
  margin-top: 30px;
  padding-bottom: 10px;
}

/* Owl Carousel navigation */
.testimonial-carousel .owl-stage-outer {
  margin-top: 30px;
  margin-bottom: 30px;
}

/* Owl Carousel navigation */
.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  position: absolute;
  top: 1px;
  padding: 10px 35px;
  border: 1px solid var(--bs-secondary);
  color: var(--bs-white);
  background: var(--bs-secondary);
  border-radius: 50px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev {
  left: 0 !important;
}

.testimonial-carousel .owl-nav .owl-next {
  right: 0;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  box-shadow: inset 100px 0 0 0 var(--bs-light) !important;
  color: var(--bs-primary) !important;
}

/* Blur inactive testimonials */
.testimonial-carousel .owl-item {
  /* filter: blur(3px);  */
  opacity: 0.4;
  transform: scale(0.9);
  transition: filter 0.5s ease-in-out transform 1s ease opacity 0.5s ease-in-out;
}

.testimonial-carousel .owl-item.center {
  /* filter: none;  */
  opacity: 1;
  transform: scale(1);
  transition: filter 0.5s ease-in-out;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 3px 7px 0px !important;
}

/* Custom indicators styling */
.custom-indicators-carousel {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.custom-indicators-carousel .indicator-image {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.5s, transform 0.5s;
}

.custom-indicators-carousel .indicator-image.active {
  opacity: 1;
  transform: scale(1.2);
}
/*** Testimonial End ***/

/* gallary-starts */

.gallery-tab.active {
  background-color: var(--secondary-color) !important;
}

@media (max-width: 768px) {
  .gallery .nav {
    overflow-x: auto;
    flex-wrap: wrap;
    display: inline-flex;
    justify-content: center;
  }

  .gallery .nav-item3 {
    margin-right: 10px;
    flex: 0 0 auto;
  }

  .gallery .nav-item3 a {
    padding: 10px 20px;
  }
}
/* light-galllary-starts */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.gallery-item {
  width: calc(33.333% - 10px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  background-color: #f0f0f0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

/* light-galllary-ends */
/* gallary ends */
.DESPU-text-container h1 {
  font-size: 9rem;
  font-family: "Ultra", serif;
  font-weight: 500;
  background: url("");
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
  background-size: cover;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-width: 5px;
  -webkit-text-stroke-color: white;
  text-align: center;
  letter-spacing: 0.5rem;
  filter: drop-shadow(1px 1px 10px black);
}

@media (max-width: 1200px) {
  .DESPU-text-container h1 {
    font-size: 5rem;
    -webkit-text-stroke-width: 5px;
  }
}
@media (max-width: 991px) {
  .DESPU-text-container h1 {
    font-size: 4.5rem;
    -webkit-text-stroke-width: 4px;
  }
}
@media (max-width: 768px) {
  .DESPU-text-container h1 {
    font-size: 3.5rem;
    -webkit-text-stroke-width: 3px;
  }
}
@media (max-width: 567px) {
  .DESPU-text-container h1 {
    font-size: 2.5rem;
    -webkit-text-stroke-width: 2px;
  }
}
@media (max-width: 460px) {
  .DESPU-text-container h1 {
    font-size: 1.5rem;
    -webkit-text-stroke-width: 1px;
  }
}
/*** Footer Start ***/
.footer {
  background: var(--primary-color) !important;
}

.footer .footer-item .footer-link {
  line-height: 30px;
  color: var(--bs-white);
  transition: 0.5s;
}

.footer .footer-item .footer-link:hover {
  letter-spacing: 1px;
}
.text-warning1 {
  color: var(--secondary-color) !important;
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
  background: var(--primary-color) !important;
}
/*** copyright end ***/
.submit-button {
  width: 100%;
  padding: 12px;
  background-color: var(--secondary-color) !important;
  border: none;
  color: white;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background-color: var(--secondary-color);
}

/* Media Query */
@media (max-width: 991px) {
  .padding-0 {
    padding: 0 !important;
  }
  .margin-left-5 {
    margin-left: 3rem !important;
  }
  .margin-top-5 {
    margin-top: 3rem !important;
  }
  .margin-bottom-5 {
    margin-bottom: 3rem !important;
  }
}
.header-carousel-1 {
  position: relative;
}

.header-carousel-item-1 img {
  position: relative;
  width: 100%;
  height: 700px;
  margin-top: 0px;
  display: block;
  object-fit: cover;
  transition: 0.5s;
}

.carousel-caption-1 {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-caption-content-1 {
  position: relative;
  width: 75%;
}

@media (max-width: 576px) {
  .carousel-caption-content-1 {
    width: 95% !important;
  }
}

@media (max-width: 992px) {
  .header-carousel-item-1 img {
    margin-top: 0;
  }
}
/* Banner Ends */
/* Facilities-starts */
.facilities .tab-class {
  text-align: start !important;
}

.facilities-tab-wrapper {
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
}

.facilities .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-left: 0;
  margin-left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.facilities .nav-item3 {
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  background-color: #fff !important;
  white-space: nowrap;
  flex-shrink: 0;
}

.facilities .nav-item3 a {
  border: 1px solid #4e4e4e !important;
}

.facilities .nav-item3 a span {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.facilities .nav-item3 a.active {
  background: var(--secondary-color);
  border: 1px solid #fff !important;
}

.facilities .nav-item3 a.active span {
  color: #fff !important;
}

/* For mobile and tablet devices */
@media (max-width: 768px) {
  .facilities .nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    display: inline-flex;
    justify-content: start;
  }

  .facilities .nav-item3 {
    margin-right: 10px;
    flex: 0 0 auto;
  }

  .facilities .nav-item3 a {
    padding: 10px 20px;
  }
}

/* Light-facilities-starts */

.facilities {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.facilities-item {
  width: calc(33.333% - 10px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  background-color: #f0f0f0;
}

.facilities-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.facilities-item:hover img {
  transform: scale(1.05);
}

/* --tab css */

/* ---------------------p---------------akshahycss ------------------------------------------------------------------------------------------- */
:root {
  --primary-color: #00742c;
  --secondary-color: #b1030e;
}

/* ------------------About Institute-------------- */

.header-carousel-1 {
  position: relative;
}

.header-carousel-item-1 img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.carousel-caption-1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
}

.carousel-caption-content-1 h1 {
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: 5rem;
}

@media (max-width: 768px) {
  .carousel-caption-content-1 h1 {
    font-size: 2rem;
  }
}

/* -----------------------Approvals------------------------- */

.table-header {
  background-color: var(--primary-color);
  color: #fff !important;
}
.table th,
.table td {
  white-space: nowrap;
}
.table-responsive {
  width: 100%;
}

/* ----------------------founder Desk--------------------------------- */

.overlay-text-1 {
  position: absolute;
  bottom: 0;
  right: 15%;
  width: 70%;
  height: 11%;
  background-color: var(--primary-color);
  z-index: 1;
  border-radius: 0.375rem;
  transform: translate(30px, 20px);
}
.principleimg {
  height: 100%;
  width: 100%;
}
.stat-value {
  font-size: 1.5rem;
  font-weight: bolder;
  color: #b1030e;
}
.about-image-1{
  width: 70%;
  height: 70%;
}

/* Media Queries for Responsiveness */
@media (min-width: 1400px) {
  .stat-value-1 {
    font-size: 1.5rem;
  }

  .stat-desc-1 {
    font-size: 0.8rem;
  }
}

@media (min-width: 1001px) {
  .stat-value-1 {
    font-size: 1.2rem;
  }

  .stat-desc-1 {
    font-size: 0.7rem;
  }
}

/* Text styling for smaller devices (tablets and below) */
@media (max-width: 767.98px) {
  .stat-value-1 {
    font-size: 1rem;
  }

  .stat-desc-1 {
    font-size: 0.7rem;
  }
}

@media (max-width: 575.98px) {
  .stat-value-1 {
    font-size: 0.6rem;
  }

  .stat-desc-1 {
    font-size: 0.3rem;
  }

  .stat-box-1 p {
    margin: 0;
  }
}
/*** Testimonial Start ***/
.testimonial-carousel .owl-stage-outer {
  margin-top: 30px;
  padding-bottom: 10px;
}

/* Owl Carousel navigation */
.testimonial-carousel .owl-stage-outer {
  margin-top: 30px;
  margin-bottom: 30px;
}

/* Owl Carousel navigation */
.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  position: absolute;
  top: 1px;
  padding: 10px 35px;
  border: 1px solid var(--bs-secondary);
  color: var(--bs-white);
  background: var(--bs-secondary);
  border-radius: 50px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev {
  left: 0 !important;
}

.testimonial-carousel .owl-nav .owl-next {
  right: 0;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  box-shadow: inset 100px 0 0 0 var(--bs-light) !important;
  color: var(--bs-primary) !important;
}

/* Blur inactive testimonials */
.testimonial-carousel .owl-item {
  /* filter: blur(3px);  */
  opacity: 0.4;
  transform: scale(0.9);
  transition: filter 0.5s ease-in-out transform 1s ease opacity 0.5s ease-in-out;
}

.testimonial-carousel .owl-item.center {
  /* filter: none;  */
  opacity: 1;
  transform: scale(1);
  transition: filter 0.5s ease-in-out;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 3px 7px 0px !important;
}

/* Custom indicators styling */
.custom-indicators-carousel {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.custom-indicators-carousel .indicator-image {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.5s, transform 0.5s;
}

.custom-indicators-carousel .indicator-image.active {
  opacity: 1;
  transform: scale(1.2);
}
/*** Testimonial End ***/

/* ---------------------------------------------------------------------------------------------Admission------------------------------------------ */

.carousel-overlay-container {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.form-overlay {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  padding: 20px;
  border-radius: 8px;
  width: 400px;
  max-width: 450px;
  z-index: 10;
}

.admission-form {
  padding: 20px;
  background-color: #fff;
}

.form-header {
  background-color: var(--secondary-color);
  padding: 10px;
  border-radius: 8px 8px 0 0;
}

.form-title {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 2px solid #ccc;
  font-size: 14px;
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-bottom: 2px solid var(--secondary-color);
}

.submit-button {
  width: 100%;
  padding: 12px;
  background-color: var(--secondary-color);
  border: none;
  color: white;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background-color: var(--secondary-color);
}

@media (min-width: 768px) {
  .form-overlay {
    top: 40%;
    right: 10%;
    transform: translateY(-50%);
  }
}

@media (max-width: 991px) {
  .form-overlay {
    position: relative;
    top: auto;
    left: 0;
    right: 0;
    margin-top: 20px;
    max-width: 100%;
    width: 100%;
    padding: 15px;
    box-shadow: none;
  }

  .form-title {
    font-size: 20px;
  }
}

/* Container styling */
.tab-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: auto; /* Allow horizontal scrolling on smaller screens */
}

/* Tab list styling */
.tab-list {
  display: flex;
  flex-wrap: nowrap;
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 10px;
}

/* Tab item styling */
.tab-item {
  flex-shrink: 0;
}

/* Tab link styling */
.tab-link {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  text-decoration: none;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f8f9fa; /* Light background */
  transition: all 0.3s ease;
}

.tab-link span {
  color: #333;
  font-weight: bold;
}

/* Hover and active states */
.tab-link:hover {
  background-color: #e9ecef;
  background-color: var(--secondary-color);
}

.tab-link.active {
  background-color: var(--secondary-color);
  color: white;
  background-color: var(--secondary-color);
}

.tab-link.active span {
  color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .tab-link {
    padding: 8px 15px; /* Adjust padding for smaller screens */
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .tab-list {
    gap: 5px; /* Reduce spacing for very small screens */
  }

  .tab-link {
    padding: 6px 10px;
    font-size: 12px;
  }
}

/* ---------------------------------------------------------- */

@media (max-width: 991px) {
  .section-start {
    margin-top: -250px;
  }
}

.pharmacy-card {
  background-image: linear-gradient(
    rgba(6, 104, 43, 1),
    rgba(45, 169, 92, 1)
  ) !important;
  margin-bottom: -33px;
}

.pharm-btn {
  background-color: var(--secondary-color);
}

.document-card {
  background-color: rgba(243, 249, 255, 1) !important;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.document-card:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.document-card h5 {
  color: rgba(21, 53, 88, 1) !important;
}

.document-card ul li {
  color: rgba(85, 85, 85, 1);
  margin: 5px;
}

.facebook-btn {
  color: rgba(59, 89, 153, 1) !important;
}

.twitter-btn {
  color: rgba(85, 172, 238, 1) !important;
}

.google-plus-btn {
  color: rgba(221, 75, 57, 1) !important;
}

.instagram-btn {
  color: rgba(228, 64, 95, 1) !important;
}

.youtube-btn {
  color: rgba(205, 32, 31, 1) !important;
}

.image-container {
  position: relative;
}

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

.image-container-overlay-1 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 50%;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease;
  flex-direction: column;
  padding: 10px;
  text-align: center;
}

.image-container-overlay-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease;
  flex-direction: column;
  padding: 10px;
  text-align: center;
}

.image-container-overlay-3 {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease;
  flex-direction: column;
  padding: 10px;
  text-align: center;
}

@media (max-width: 1200px) {
  .image-container-overlay-2,
  .image-container-overlay-3 h5 {
    font-size: 1.2rem;
  }

  .image-container-overlay-2,
  .image-container-overlay-3 p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .image-container-overlay-1 {
    width: 50%;
    height: 100%;
    padding: 20px;
  }

  .image-container-overlay-1,
  h4 {
    font-size: 1.2rem;
  }

  .image-container-overlay-2,
  .image-container-overlay-3 h5 {
    font-size: 1.5rem;
  }

  .image-container-overlay-1,
  .image-container-overlay-2,
  .image-container-overlay-3 p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .image-container-overlay-1,
  .image-container-overlay-2,
  .image-container-overlay-3 {
    padding: 15px;
  }

  .image-container-overlay-1,
  h4 {
    font-size: 1.2rem;
  }

  .image-container-overlay-2,
  .image-container-overlay-3 h5 {
    font-size: 1.2rem;
  }

  .image-container-overlay-1,
  .image-container-overlay-2,
  .image-container-overlay-3 p {
    font-size: 0.9rem;
  }
}

.research-div {
  background-color: var(--primary-color);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px;
  height: 200px;
}

.inside-research-div {
  position: relative;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 95% !important;
  height: 95% !important;
  flex-direction: column;
  border: 1px solid #fff;
}

.inside-research-div h2 {
  font-weight: bold;
  font-size: 3rem !important;
}

.inside-research-div p {
  font-weight: bold;
  font-size: 1.5rem;
}

.green-background {
  background-color: var(--primary-color);
  height: 300px;
  width: 100%;
  margin-top: -200px;
  z-index: -10;
}

.background-green {
  background-color: #fff;
}

@media (max-width: 991px) {
  .background-green {
    background-color: var(--primary-color);
    padding: 30px;
  }

  .green-background {
    display: none;
  }
}

/* ----------------------------------------------------------------------------Academic--------------------------------------------------- */

.button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  color: #fff;
  /* Text color */
  background-color: var(--secondary-color);
  /* Button background color */
  border: none;
  border-radius: 5px;
  text-decoration: none;
  /* Remove underline */
  text-align: center;
}

/* syllabus view  */

.button {
  background-color: transparent;
  color: var(--secondary-color);
  padding: 5px 10px;
  text-decoration: none;
  border: 2px solid var(--secondary-color);
  border-radius: 5px;
  transition: all 0.3s ease;
}

.button:hover {
  background-color: var(--secondary-color);
  color: white;
}

/* employee comitee */

.view-btn {
  background-color: transparent;
  color: var(--secondary-color);
  padding: 5px 10px;
  text-decoration: none;
  border: 2px solid var(--secondary-color);
  border-radius: 5px;
  transition: all 0.3s ease;
}

.view-btn:hover {
  background-color: var(--secondary-color);
  color: white;
}

/* --------------------------------------------------------------------- Human Resource---------------------------------------------------- */
.top-header {
  background-color: #f2f2f2;
}
.topbar {
  background-color: #f2f2f2;
}
.institute-name {
  color: var(--secondary-color);
}
.btn {
  color: var(--secondary-color);
}

.top-navbar {
  background-color: var(--primary-color) !important;
}
.navbar-nav {
  display: flex;
  justify-content: space-between;
  width: 100%;
  /* Adding the new CSS for equally space between navbar*/
}
.navbar-light .navbar-nav .nav-link {
  font-family: "Yantramanav", sans-serif;
  position: relative;
  margin-right: 25px;
  padding: 20px 0;
  color: #fff !important;
  font-size: 14px;
  font-weight: 400;
  outline: none;
  transition: 0.5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
  padding: 20px 0;
  color: var(--dark) !important;
  font-size: 17px !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--secondary-color) !important;
  font-weight: bold;
}

.navbar-light .navbar-brand img {
  max-height: 50px;
  transition: 0.5s;
}

.sticky-top.navbar-light .navbar-brand img {
  max-height: 45px;
}

.navbar .dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 8px;
}
.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  vertical-align: middle;
  margin-left: 8px;
}

.dropdown .dropdown-menu a {
  color: #fff !important;
}
.dropdown-menu {
  position: absolute;
  z-index: 1000;
  display: none;
  min-width: 10rem;
  padding: 0.5rem 0;
  margin: 0;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  list-style: none;
  background-color: rgba(0, 0, 0, 0.8);
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
}
.dropdown .dropdown-menu .dropdown-item.active {
  background-color: var(--primary-color) !important;
}

@media (min-width: 1200px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    transition: 0.5s;
    opacity: 0;
  }

  .navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: rgba(0, 0, 0, 0.8) !important;
    transition: 0.5s;
    opacity: 1;
  }
}

.dropdown .dropdown-menu a:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: 0;
  visibility: hidden !important;
  opacity: 0;
}

.dropdown-submenu:hover .dropdown-menu,
.dropdown-submenu .dropdown-toggle.show + .dropdown-menu {
  visibility: visible !important;
  opacity: 1;
  transform: rotateX(0deg);
  background: rgba(0, 0, 0, 0.8) !important;
  transition: 0.5s;
}

.dropdown-submenu .dropdown-menu .dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: 0;
  background: rgba(0, 0, 0, 0.8) !important;
  opacity: 0;
}

.dropdown-submenu .dropdown-menu .dropdown-submenu:hover .dropdown-menu,
.dropdown-submenu .dropdown-toggle.show + .dropdown-menu {
  visibility: visible !important;
  opacity: 1;
  transform: rotateX(0deg);
  background: rgba(0, 0, 0, 0.8) !important;
  transition: 0.5s;
}

@media (max-width: 991.98px) {
  .dropdown-menu li a {
    text-decoration: underline !important;
  }
  .dropdown-submenu .dropdown-menu {
    position: relative;
    left: 20px;
    top: 0;
    margin-top: 0.5rem;
    visibility: visible !important;
    opacity: 0;
    transition: none;
    width: 80%;
  }
  .dropdown-submenu .dropdown-menu .dropdown-submenu .dropdown-menu {
    left: 0;
    width: 80% !important;
    visibility: visible;
    background-color: rgb(30, 30, 30) !important;
    margin-left: 30px;
  }
  .always-visible {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    margin-top: 0.5rem;
  }

  .dropdown .dropdown-toggle {
    display: block;
  }
}
@media (max-width: 991.98px) {
  .sticky-top.navbar-light {
    position: relative;
    background: var(--bs-white);
  }

  .navbar.navbar-expand-lg .navbar-toggler {
    padding: 10px 20px;
  }

  .navbar-light .navbar-collapse {
    margin-top: 15px;
    border-top: 1px solid #dddddd;
  }

  .navbar-light .navbar-nav .nav-link,
  .sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 10px 0;
    margin-left: 0;
    color: #fff !important;
  }

  .navbar-light .navbar-brand img {
    max-height: 45px;
  }
}

@media (min-width: 992px) {
  .navbar-light {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
  }

  .sticky-top.navbar-light {
    position: fixed;
    color: white;
  }
  .navbar-light .navbar-nav .nav-link.nav-contact::before {
    display: none;
  }
}
.institute-name {
  color: var(--secondary-color);
  font-family: serif;
  font-weight: bolder;
}
.header-button {
  background-color: var(--secondary-color);
  color: #ffffff !important;
}

@media (max-width: 991px) {
  .faculty-section {
    padding: 0 !important;
  }
}
.faculty-card{
  cursor: pointer;
}
.faculty-img {
  width: 100%; /* Ensure the image fits the container */
  height: 200px; /* Set a fixed height for uniformity */
  object-fit: cover; /* Maintain aspect ratio without distortion */
}

/* Ensure all faculty cards have the same height */
.faculty-card {
  display: flex;
  flex-direction: column;
  align-items: stretch; /* Stretch content to fill the card */
  text-align: center;
}
.staff-card img {
  width: 100%;
  height: 90%;
  object-fit: cover;
  display: block;
  border: none;
}

.staff-card {
  width: 80%;
  height: 80%;
  text-align: center;
  padding: 5px;
  background-color: transparent;
  box-shadow: none;
  border: none;
}

#tab-navigation {
  border-radius: 8px;
  padding: 10px;
}

.nav-link-tab {
  font-weight: bold !important;
  color: #000 !important;
  border-radius: 6px;
  background-color: transparent;
  padding: 10px 20px;
  text-align: center;
  width: 100%;
}

.nav-link-tab.active {
  color: #fff !important;
  background-color: #b1030e !important;
  border-color: #b1030e !important;
}

.nav-link-tab:hover {
  color: inherit;
  background-color: transparent;
  border-color: transparent;
}

/* .nav-item {
  margin-right: 10px;
} */


@media (max-width: 576px) {
  .nav-tab-content {
    flex-direction: column;
  }
}

.card {
  max-width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}

.fault-image {
  object-fit: contain;
  height: auto;
  width: 100%;
}

@media (max-width: 1024px) {
  .fault-image {
    height: 210px !important;
  }
}

@media (max-width: 820px) {
  .fault-image {
    height: 155px !important;
  }

}

@media (max-width: 768px) {
  .fault-image {
    height: 140px !important;
  }
}

.announcement {
  background-color: var(--primary-color);
}
.announcement-text {
  color: var(--secondary-color);
  font-weight: bolder;
  margin-bottom: 30px !important;
}
.announcement-text-1 {
  color: var(--secondary-color);
  font-weight: bolder;
}

/* footer */

/** Footer Start **/
t .footer {
  background: var(--primary-color) !important;
}

.footer .footer-item .footer-link {
  line-height: 30px;
  color: var(--bs-white);
  transition: 0.5s;
}

.footer .footer-item .footer-link:hover {
  letter-spacing: 1px;
}
.text-warning1 {
  color: var(--secondary-color) !important;
}
/** Footer End **/

/** copyright Start **/
.copyright {
  background: var(--primary-color) !important;
}
/** copyright end **/
.submit-button {
  width: 100%;
  padding: 12px;
  background-color: var(--secondary-color) !important;
  border: none;
  color: white;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background-color: var(--secondary-color);
}
@media (max-width: 991px) {
  .padding-0 {
    padding: 0 !important;
  }
  .margin-left-5 {
    margin-left: 3rem !important;
  }
  .margin-top-5 {
    margin-top: 3rem !important;
  }
  .margin-bottom-5 {
    margin-bottom: 3rem !important;
  }
}

.school-pdf-download {
  text-decoration: none;
  color: #000;
  border: 1px solid #ddd;
  padding: 10px 5px 0px 5px;
  height: 100%;
}

.school-pdf-download a {
  text-decoration: none;
  color: #000;
}

.school-pdf-download i {
  color: var(--secondary-color) !important;
}

.school-pdf-download p {
  font-size: 16px;
}
.button1 {
  color: white !important;
  background-color: var(--secondary-color) !important;
}
