@import url('https://fonts.googleapis.com/css2?family=Jacques+Francois&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}
body {
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
    margin: 0;
    padding: 0;
}
.header {
    width: 100%;
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 1000;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}



[data-scroll-container] {
  position: relative;
}

.media__text__highlight1{
  font-family: inherit;
  animation:fadesfromtop 1s forwards;
  animation-delay: 0.7s;
  opacity: 0;
  display: inline-block;
}


.media__text__highlight{
  font-family: inherit;
  animation:fadesfrombottom 1s forwards;
  animation-delay: 1.4s;
  opacity: 0;
  display: inline-block;
}
@keyframes fadesfromtop{
  0%{
    transform: translateY(-100px);
  }
  100%{
    transform: translateY(0);
    opacity:1;
  }
}




@keyframes fadesfrombottom {
  0% {
    transform: translateY(100px);
  }
  100% {
    transform: translateY(0);
    opacity:1;
  }
}

.swiper-container{
  width: 100%;
}
.swiper-wrapper {
  width: 50%;
}
.swiper-slide {
  text-align: center;
  width: auto;
}
.slide-image {
  height: 100%;
  width: auto;
}
.my-gallery figure {
  margin: 0px;
}

/* Style for unfocused slides */
.swiper-slide {
  filter: grayscale(100%); /* Makes the slide greyish */
  opacity: 0.2; /* Reduces opacity */
  transition: all 0.3s ease; /* Smooth transition for focus change */
}

/* Style for active slide */
.swiper-slide-active {
  filter: none; /* Removes the greyish filter */
  opacity: 1; /* Fully visible */
  transform: scale(1.1); /* Slightly enlarges the active slide */
  z-index: 2; /* Brings the active slide to the front */
}

/* Style for adjacent slides (optional) */
.swiper-slide-next, .swiper-slide-prev {
  filter: grayscale(100%);
  opacity: 0.4;
  transform: scale(1.05);
  z-index: 1;
}


/* ALSO MAKE SURE YOU PUT IN RESPONSIVE MODE THE ABOVE CODE IS ALTERED WITH .slide-image height:50% just check if it is good on mobile responsive */





.nav {
    width: 100%;
    max-width: 1620px;
    margin: 0 auto;
    position: relative; /* Add position relative */
}

.header__list__nav{
  width:100%;
  background-color: #CA1111;
  height:2.3rem;
  position: relative; /* Change from fixed to relative */
  bottom:0;
  z-index: 990; /* Lower than header but higher than most content */
}

.nav__menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    gap: 2rem;
}

.left__nav, .right__nav {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex: 1;
}

.left__nav {
    justify-content: flex-end;
}

.right__nav {
    justify-content: flex-start;
}

.logo {
    flex: 0 0 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav__image {
    max-width: 50%;
    height: auto;
}

.nav__link {
    text-decoration: none;
    color: #333;
    text-transform: uppercase;
    font-weight: 500;
    position: relative; /* Add position relative */
    z-index: 10; /* Add z-index */
}

.nav__link__button {
    text-decoration: none;
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 0.7rem;
    border-radius: 25px;
    border: 1px solid #CA1111;
    color: #CA1111;
    font-weight: 500;
    position: relative;
    z-index: 10;
    overflow: hidden;
    display: inline-block;
}

.nav__link__button:before {
    content: '';
    position: absolute;
    top: 0;
    border-radius: 25px;
    left: 0;
    transition: width 0.3s ease;
    height: 100%;
    width: 0;
    background-color: #CA1111;
    z-index: -1;
}

.nav__link__button:hover {
    color: white;
}

.nav__link__button:hover::before {
    width: 100%;
}
.main__container {
    width: 100%; /* Instead of 100vw */
    overflow-x: hidden;
}

.media__container {
    max-width: 1680px;
    width: 100%;
    margin: 0 auto;
    height: 100vh; /* Increase height */
    max-height: 720px;
    background-color: #333;
    position: relative; /* Add position relative */
    z-index: 1; /* Lower z-index than header */
    overflow: hidden; /* Ensure video doesn't overflow */
}

.media__video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure video covers the container */
    position: absolute;
    top: 0;
    left: 0;
    transform: scale(1.0); /* Scale up the video a bit */
}

.media__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)); /* Dark gradient overlay */
    z-index: 2; /* Ensure overlay is above the video */
}

.media__text {
    position: absolute;
    bottom:100px;
    left: 20px;
    color: white;
    font-size: 5rem;
    font-weight: bold;
    font-family: 'Oswald', sans-serif;
    z-index: 3; /* Ensure text is above the overlay and video */
    text-align: left;
    overflow: hidden;
}

.sound-icon {
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    border: 2px solid white;
    border-radius: 25px;
    padding: 10px;
    z-index: 4; /* Ensure icon is above the overlay and video */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .media__container {
        height: 300px; /* Set a fixed height for mobile devices */
    }

    .media__video {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Ensure video covers the container */
        transform: scale(1.2); /* Scale up the video a bit more on mobile */
    }

    .media__text {
        font-size: 1.8rem; /* Adjust text size for mobile devices */
        bottom: 50px;
        left: 10px;
    }

    .sound-icon {
        font-size: 1rem; /* Adjust icon size for mobile devices */
        bottom: 30px;
        right: 10px;
        padding: 5px;
    }
}

.container {
    width: 100%;
    max-width: 1620px;
    margin: 0 auto;
    padding: 0 1rem; /* Add padding for smaller screens */

}




.section {
    margin-top: 2em;
    width: 100%;
    max-width: 1680px;
    margin-inline: auto;
    position: relative; /* Add position relative */
    z-index: 1; /* Lower z-index than header */

}







.section__container {
    height: 35rem;
    position: relative;
    background: linear-gradient(135deg, #b30000, #000000);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    
}

.quote__box {
    display: none; /* Hide by default */
}

.fallback__text {
    display: none; /* Hide by default */
    color: white;
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Show quote box only on larger screens */
@media (min-width: 1200px) {
    .quote__box {
        display: flex;
        width: 100%;
        max-width: 1200px;
        justify-content: space-between;
        align-items: center;
        gap: 4rem;
        padding: 3rem;
        background: white;
        border-radius: 20px;
        color: black;
    }

    .fallback__text {
        display: none;
    }
}

/* Show fallback text on smaller screens */
@media (max-width: 1199px) {
    .quote__box {
        display: none;
    }

    
    .section__container{
      height:6rem;
      margin:0;
    }
}

.quote__text {
    flex: 1;
    position: relative;
    padding-left: 3rem;
}

.quote__text i {
    position: absolute;
    left: 0;
    top: -10;
    font-size: 3rem;
    opacity: 0.5;
    position:relative;
}

#quote {
    font-size: 2.2rem;
    line-height: 1.4;
    font-weight: 300;
    transition: opacity 0.5s ease;
}

.quote__author {
    display: flex;
    align-items: center;
    gap: 2rem;
}

#authorImage {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); */
    transition: opacity 0.5s ease;
}

.author__info {
  position:absolute;
    text-align: right;
    bottom:25%;
    left:45%;
}

#authorName {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: opacity 0.5s ease;
}

#authorRole {
    font-size: 1rem;
    opacity: 0.8;
    transition: opacity 0.5s ease;
}

@media (max-width: 968px) {
    .quote__box {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .quote__text {
        padding-left: 0;
    }
    
    .quote__text i {
        position: static;
        display: block;
        margin-bottom: 1rem;
    }
    
    #quote {
        font-size: 1.8rem;
    }
    
    .quote__author {
        flex-direction: column;
    }
    
    .author__info {
        text-align: center;
    }
}

.programs{
  
    max-width: 1400px;
    margin: 3rem auto 5rem auto;
    margin-inline: auto;
    text-align: center;
    background-color: #6f6f6f1b;
    padding:30px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border-radius: 25px;;
    opacity: 0; /* Start hidden */
    transform: translateY(50px); /* Initial position for animation */
}
.title__card {
  font-size: 2.5rem;
  padding: 30px;
  color: red;
  position: relative;
  width: fit-content;
  height: auto;
  margin: 0 auto;
  /*  */
  font-family: "Oswald", serif;
  font-weight: 600;
}
.program__p{
  margin-bottom: 2rem;
}
.title__card:after {
  content: '';
  position: absolute;
  bottom: 15px; /* Adjusted for better positioning */
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 4px;
  background-color: yellow;
  transition: width 0.3s ease;
}

.title__card:hover:after {
  width: 80%; /* Expands on hover */
}




.cards{
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
.cards__solo{
  position: relative;
    margin:35px;
    width:400px;
    height:200px;
    border-radius: 20px;
    background-color: #333;
    overflow:hidden;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}


.cards__solo:before{
  content:"60 seats";
  position: absolute;
  top: 0;
  left:0;
  color:white;
  
  width: 50px;
 border-radius: 10px;
  height:50px;
  background-color: #CA1111;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.cards__solo img{
  width:100%;
  object-fit:cover;
  height: 100%;
  /* visibility: hidden; */
}
.cards__solo .shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, 
      rgba(0,0,0,0) 0%, 
      rgba(0,0,0,0.2) 30%, 
      rgba(0,0,0,0.5) 70%, 
      rgba(0,0,0,0.7) 100%
  );
  z-index: 10;
  pointer-events: none;
}

.card__text{
  color:white;
  position: absolute;
  bottom:10%;
  left:10%;
  z-index: 100;
  transition: opacity 0.5s ease-in;
}
.cards__solo i{
  font-size: 1rem;
}
.cards__solo .ri-arrow-right-circle-line {
  position: absolute;
  top: 50%;
  left: 45%;
  font-size: 3rem; /* Adjust size to fit layout */
  z-index: 1000;
  color: yellow;
  opacity: 0; 
  transition: opacity 0.5s ease-in, transform 0.7s ease; /* Smooth visibility transition */
}


.cards__solo:hover .ri-arrow-right-circle-line{

  opacity:1;
  transform: translateY(-40px);
}

.cards__solo:hover .card__text{
  opacity: 0;
}

/* DESCRIPTION CARDS */

.description__college {
  width: 90%;
  height: auto; /* Changed from fixed height */
  text-align: center;
  margin: 0 auto;
  padding: 2rem 0;
}

.description__title {
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 1rem;
}


.description__cards {
  display: flex;
  gap: 2rem;
  margin-top: 5rem;
  margin-bottom: 5rem;
  flex-wrap: wrap; /* Allow wrapping below 1220px */
  justify-content: center;
}

.description__card {
  width: calc(25% - 1.5rem); /* Account for gap */
  min-width: 250px; /* Minimum card width */
  position: relative;
  background-color: rgb(255, 243, 227);
  height: 300px;
  border-radius: 25px;
  display: flex;
  justify-content: center;
  align-items: center; /* Center content vertically */
  flex-direction: column;
  padding: 1.5rem;
  transition: transform 1s ease;
}

.description__card__text {
  transition: transform 0.3s ease;
  text-align: center; /* Center text */
  padding: 0 1rem;
}

.card__character {
  width: 100px;
  position: absolute; /* Adjusted from 0 */
  left: 50%;
  bottom: 0;
  transform: translateX(-50%); /* Center horizontally */
  opacity: 0;
  transition: all 0.4s ease;
}

.description__card__para {
  font-size: 1.2rem; /* Slightly reduced */
  margin: 1rem 0;
}

.description__card__title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Media query for responsiveness */
@media (max-width: 1220px) {
  .description__cards {
    gap: 1.5rem;
  }
  
  .description__card {
    width: calc(50% - 1rem); /* Two cards per row */
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  .description__card {
    width: 100%; /* Full width on mobile */
    max-width: 400px; /* Prevent cards from getting too wide */
  }
}

/* Update description card hover effects */
.description__card:hover .description__card__text {
  transform: translateY(-50px);
  transition: transform 0.3s ease;
}

.description__card:hover .card__character {
  opacity: 1;
  transform: translate(-50%, -20px) scale(1.3);
  transition: all 0.4s ease;
}

.description__card:hover {
  background-color: rgb(255, 235, 210); /* Slightly darker on hover */
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card__character img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

/* Ensure smooth transitions */
.description__card {
  /* ...existing code... */
  transition: all 0.3s ease;
}

.description__card__text {
  /* ...existing code... */
  transition: all 0.3s ease;
}








/* ADMISSION CARDS */
.admission__card__text{
  background-color: #CA1111;
  height:8rem;
  display:flex;
  align-items: center;
  justify-content: center;
  
  gap:2rem;
  color:white;
}

.admission__button{
  border: 2px solid white;
}
/* SCROLLABLE CARDS */

.clubs{
    /* background-color: #333; */
    height:23rem;
    width:95%;
    margin: 0 auto;
    border-radius: 25px;
}

.clubs__title{
  text-align: center;
  color:#CA1111;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  opacity:0.7;
  margin: 2rem 2rem auto;
}


.wrapper {
  width: 100%;
  /* border: 2px solid black; */
  height: 100px;
  margin: 60px auto;
  position: relative;
  overflow: hidden;
  margin-bottom:10rem;
  mask-image: linear-gradient(to right,transparent,#000 10% 90%,transparent);
}
@keyframes scroll {
  to {
    left: -400px;
  }
}
.items {
  width: 50%;
  height: inherit; /*   background-color:red; */
  position: absolute; /*   left:-200px; */
  margin-top: 0px;
  padding: 2px;
  left: 100%;
  animation: scroll 5s linear infinite;
}
.item1 {
  animation-delay: calc(30s / 5 * (5 - 1) * -1);
}
.item2 {
  animation-delay: calc(30s / 5 * (5 - 2) * -1);
}
.item3 {
  animation-delay: calc(30s / 5 * (5 - 3) * -1);
}
.item4 {
  animation-delay: calc(30s / 5 * (5 - 4) * -1);
}
.item5 {
  animation-delay: calc(30s / 5 * (5 - 5) * -1);
}

.wrapper .items img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media(min-width:650px){

}
.academics{
    text-align: center;
    padding:30px;
    background-color: rgba(243, 243, 243, 0.318);
   
}
.title_academic{
  font-size: 3.3rem;
  height: fit-content;
  font-weight: bolder;
  position: relative;
  /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); Added text shadow */
}
.academic_title {
  width: fit-content;
  margin: 0 auto;
  position: relative; /* Add position relative */
}

.academic_title:before, .academic_title:after {
    content: '★';
    position: absolute;
    top: 50%;
    font-size: 2rem; /* Adjust size as needed */
    color: gold; /* Star color */
    transform: translateY(-50%);
}

.academic_title:before {
    left: -2rem; /* Adjust position as needed */
}

.academic_title:after {
    right: -2rem; /* Adjust position as needed */
}

/* ...existing code... */

.p_academics {
  font-size: 1.2rem;
  margin: 0.5rem auto;
  margin-bottom:2rem;
}


.container__academics {
  margin: 2rem auto;
  width: 95%;
  height: 600px;
  background-color: #000000;
  overflow: hidden;
  padding:40px;
  /* border-radius: 25px; */
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  /* background-color: white;; */
}

/* card voices */

.voice {
  margin-top: 10rem;
  background-color: #CA1111;
  padding: 20px;
  display: flex;
  flex-direction: row; /* Default for larger screens */
  align-items: center;
  justify-content: space-between;
  color: #fff;
}

.voice__title {
  text-align: center;
  font-size: 4rem;
  padding-bottom: 40px;
  font-family: "Jacques Francois", serif;
  font-weight: 100;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.voice__highlight {
  font-weight: 1;
}

.voice__para {
  font-size: 1.5rem;
  font-family: inherit;
  font-weight: 100;
  width: 600px;
  padding: 20px;
}

.voice__title i {
  font-size: 2rem;
  position: relative;
}

.voice__title i:after {
  content: ')';
  position: absolute;
  top: -5px;
  left: 60%;
  width: 100%;
  font-size: 2rem;
  height: 4px;
  color: white;
  animation: fadess 1s infinite;
}

@keyframes fadess {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

/* Responsive adjustments */
@media screen and (max-width: 992px) {
  .voice {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }

  .voice__title {
    font-size: 3rem;
    padding-bottom: 20px;
  }

  .voice__para {
    width: 100%;
    max-width: 600px;
    font-size: 1.2rem;
    padding: 10px;
  }
}

@media screen and (max-width: 576px) {
  .voice__title {
    font-size: 2rem;
  }

  .voice__para {
    font-size: 1rem;
  }
}

@import url("https://fonts.googleapis.com/css?family=Montserrat:400,400i,700");
@import "https://cdn.jsdelivr.net/npm/open-props@1.6.17/open-props.min.css";

.app {
  display: flex;
  margin-top: 0;
  justify-content: center;
  align-items: center;
  height: 500px;
  flex-direction: column;
  gap: 1em;
  font-family: 'Montserrat';
}
.splide {
  max-width: 50vw;
  min-width: 300px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
 
}
.splide__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  /* box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; */
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.splide__slide__container {
  height: 120px;
  aspect-ratio: 16/9;
  background-color: red;
  border-radius: 0.4em;
  display: flex;
  align-items: end;
  cursor: pointer;
  transition: background-color 250ms ease-in-out, height 300ms var(--ease-bounce-1);
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.splide__slide__container h1 {
  font-family: "Montserrat";
  margin-left: 1em;
  color: white;
}
ul:has(.splide__slide__container:hover)
.splide__slide__container:not(.splide__slide__container:hover) {
  background-color: gray;
  height: 100px;
}

.splide__slide__container h1{
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 250ms ease-in-out, transform 250ms var(--ease-bounce-1);
}
.splide__slide__container:hover h1{
  opacity: 1;
  transform: translateY(0px);
}



.testimonial{
  /* border-right: 4px solid #2A3D7D; */
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
  padding: 30px 30px 30px 130px;
  margin: 0 15px 30px 15px;
  overflow: hidden;
  border-radius: 25px;
  background-color: #fff;
  position: relative;
}
.testimonial:before{
  content: "";
  position: absolute;
  bottom: -4px;
  left: -17px;
  border-top: 25px solid yellow;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  transform: rotate(45deg);
}
.testimonial:after{
  content: "";
  position: absolute;
  top: -4px;
  left: -17px;
  border-top: 25px solid yellow;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  transform: rotate(135deg);
}
.testimonial .pic{
  display: inline-block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  position: absolute;
  top: 60px;
  left: 20px;
}
.testimonial .pic img{
  width: 100%;
  height: auto;
}
.testimonial .description{
  font-size: 15px;
  letter-spacing: 1px;
  color: #6f6f6f;
  line-height: 25px;
  margin-bottom: 15px;
}
.testimonial .title{
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #CA1111;
  margin: 0;
}
.testimonial .post{
  display: inline-block;
  font-size: 17px;
  color: #CA1111;
  font-style:italic;
}
.owl-theme .owl-controls .owl-page span{
  border: 2px solid #2A3D7D;
  background: #fff !important;
border-radius:0 !important;
  opacity: 1;
}
.owl-theme .owl-controls .owl-page.active span,
.owl-theme .owl-controls .owl-page:hover span{
  background: #CA1111 !important;
border-color:#CA1111;
}
@media only screen and (max-width: 767px){
  .testimonial{
      padding: 20px;
      text-align: center;
  }
  .testimonial .pic{
      display: block;
      position: static;
      margin: 0 auto 15px;
  }
}

/* footer  */

.vkcet {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Enable wrapping for responsiveness */
    background-color: black;
    padding: 20px;
    height: auto; /* Dynamic height to adjust content */
  }
  
  
  
  
  .footer__image {
    flex: 1 1 100%; /* Full width on smaller screens */
    text-align: center;
    margin-bottom: 60px; /* Space between logo and cards */
  }
  
  .footer__social__media{
    color:white;
    display:flex;
    justify-content:center;
    gap:0.7rem; 
    font-size:1.4rem;
  }
  
  
  
  .footer__image img {
    width: 10%;
    max-width: 200px; /* Prevent oversized logo */
    display: block;
    margin: 0 auto;
  }
  
  .footer__cards {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap; /* Wrap cards for smaller screens */
    gap: 20px;
    width: 100%;
    color: white;
  }
  
  .card1,
  .card2,
  .card3 {
    flex: 1 1 calc(33.33% - 20px); /* Three cards per row with spacing */
    min-width: 250px; /* Prevent cards from shrinking too small */
    max-width: 300px; /* Cap width for larger screens */
  }
  
  .card1__list,
  .card2__list,
  .card3__list {
    list-style: none;
    padding: 0;
  }
  
  .card1__list h3,
  .card2__list h3,
  .card3__list h3 {
    margin-bottom: 10px;
    color: white;
  }
  
  .card1__list__items a,
  .card2__list__items a,
  .card3__list__items a {
    color: grey;
    text-decoration: none;
  }
  
  .card1__list__items,
  .card2__list__items,
  .card3__list__items {
    padding: 5px 0;
  }
  
  .card3__list__items {
    color: grey;
  }
  
  @media (max-width: 768px) {
    .footer__cards {
      flex-direction: column; /* Stack cards vertically */
      align-items: center; /* Center cards on smaller screens */
    }
  
    .card1,
    .card2,
    .card3 {
      flex: 1 1 100%; /* Full width for each card */
      text-align: center; /* Center-align text for smaller screens */
    }
  
    .card3__list__items {
      text-align: center; /* Center text for address items */
    }
  }
  
  @media (max-width: 480px) {
    .footer__image img {
      width: 90%; /* Scale down the logo further */
    }
  
    .card1__list__items,
    .card2__list__items,
    .card3__list__items {
      font-size: 14px; /* Adjust font size for smaller screens */
    }
  
    .card1__list h3,
    .card2__list h3,
    .card3__list h3 {
      font-size: 16px; /* Scale down heading size */
    }
  }

/* Dropdown Navigation Styles */
.nav__link-dropdown {
    position: relative;
    z-index: 1001; /* Higher than header to ensure dropdown is visible */
}

.nav__link-dropdown .nav__link i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.nav__link-dropdown:hover .nav__link i {
    transform: rotate(180deg);
}

.dropdown__menu {
    position: absolute;
    top: 55px; /* Adjusted for better positioning */
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: max-content;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1002; /* Ensure dropdown is above other elements */
    padding: 1rem 0;
}

.nav__link-dropdown:hover .dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Custom About Us Dropdown */
.left__nav > li:nth-child(2) .dropdown__menu {
    min-width: 850px;
    background: linear-gradient(to bottom, white, #f9f9f9);
    padding: 1.5rem;
    margin-left: 222px;
}

.left__nav > li:nth-child(2) .dropdown__content {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 1rem;
    border-radius: 8px;
    padding: 0;
}

.left__nav > li:nth-child(2) .dropdown__group {
    position: relative;
    padding: 1rem 1.5rem;
}

.left__nav > li:nth-child(2) .dropdown__group:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(202, 17, 17, 0.1);
}

.left__nav > li:nth-child(2) .dropdown__title {
    position: relative;
    display: inline-block;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.left__nav > li:nth-child(2) .dropdown__title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #CA1111;
    transform: scaleX(0.3);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.left__nav > li:nth-child(2) .dropdown__group:hover .dropdown__title::after {
    transform: scaleX(0.5);
}

.left__nav > li:nth-child(2) .dropdown__list {
    gap: 0.7rem;
    list-style: none; /* Remove marker */
}

.left__nav > li:nth-child(2) .dropdown__list a {
    position: relative;
    padding-left: 0;
    transition: all 0.3s ease;
}

.left__nav > li:nth-child(2) .dropdown__list a:hover {
    padding-left: 15px;
}

.left__nav > li:nth-child(2) .dropdown__list a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.left__nav > li:nth-child(2) .dropdown__list a:hover::before {
    opacity: 1;
    left: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .header {
        position: fixed; /* Keep header fixed on mobile */
        top: 0;
    }
    
    .header__list__nav {
        position: fixed; /* Keep list nav fixed on mobile */
        bottom: 0;
    }
    .left__nav > li:nth-child(2) .dropdown__menu {
        min-width: 100%;
    }
    
    .left__nav > li:nth-child(2) .dropdown__content {
        grid-template-columns: 1fr;
    }
    
    .left__nav > li:nth-child(2) .dropdown__group::after {
        display: none;
    }
    
    .left__nav > li:nth-child(2) .dropdown__group {
        border-bottom: 1px solid rgba(202, 17, 17, 0.1);
    }
    
    .left__nav > li:nth-child(2) .dropdown__group:last-child {
        border-bottom: none;
    }
}

/* Unified Custom Dropdown Styles */
.nav__link-dropdown .dropdown__menu {
    min-width: 850px;
    background: linear-gradient(to bottom, white, #f9f9f9);
    padding: 1.5rem;
    transform: translateX(-50%) translateY(20px);
}

.nav__link-dropdown .dropdown__content {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 1rem;
    border-radius: 8px;
    padding: 0;
}

.nav__link-dropdown .dropdown__group {
    position: relative;
    padding: 1rem 1.5rem;
}

.nav__link-dropdown .dropdown__group:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(202, 17, 17, 0.1);
}

.nav__link-dropdown .dropdown__title {
    position: relative;
    display: inline-block;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.nav__link-dropdown .dropdown__title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #CA1111;
    transform: scaleX(0.3);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav__link-dropdown .dropdown__group:hover .dropdown__title::after {
    transform: scaleX(0.5);
}

.nav__link-dropdown .dropdown__list {
    gap: 0.7rem;
    list-style: none; /* Remove marker */
}

.nav__link-dropdown .dropdown__list a {
    position: relative;
    padding-left: 0;
    transition: all 0.3s ease;
}

.nav__link-dropdown .dropdown__list a:hover {
    padding-left: 15px;
}

.nav__link-dropdown .dropdown__list a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.nav__link-dropdown .dropdown__list a:hover::before {
    opacity: 1;
    left: 0;
}

/* Mobile Navigation Styles */
.mobile__nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: white;
    padding: 2rem;
    transition: 0.5s ease-in-out;
    z-index: 1002;
    overflow-y: auto; /* Enable vertical scrolling */
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.mobile__nav.active {
    right: 0;
}

.mobile__header {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.mobile__logo {
    height: 40px;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1003;
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 8px; }
.hamburger span:nth-child(3) { top: 16px; }

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 8px;
}

/* Mobile Menu Items */
.mobile__menu {
    margin-top: 2rem;
    padding: 2rem;
    
}
.submenu__header h3{
  font-size: 2.5rem;
  font-family: "Oswald", serif;
}
.mobile__menu a {
    display: block;
    padding: 1rem 0;
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.mobile__dropdown {
    margin-left: 1rem;
    display: none;
}

.mobile__dropdown.active {
    display: block;
}

/* Responsive */
@media (max-width: 992px) {
    .nav__menu {
        display: none;
    }
    
    .mobile__header {
        display: flex;
    }
    
    .hamburger {
        display: block;
    }
    
    .mobile__nav {
        display: block;
    }
}

/* Updated Mobile Navigation Styles */
.mobile__nav {
    padding: 0;
    overflow-y: auto; /* Enable vertical scrolling */
}

.mobile__nav__top {
    padding: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.mobile__nav__close {
    text-align: right;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.mobile__nav__close i {
    cursor: pointer;
    opacity:0;
}

.mobile__nav__header {
    display: flex;
    justify-content: space-around;
    padding: 1rem 0;
}

/* Submenu styles */
.submenu {
    position: fixed;
    top: -30;
    left: 100%;
    width: 100%;
    height: 100%;
    background: white;
    transition: transform 0.3s ease;
    overflow-y: auto; /* Enable vertical scrolling */
    z-index: 1002; /* Ensure submenu is above other elements */
}

.submenu.active {
    transform: translateX(-100%);
}
.back-btn {
  position: absolute;
  top: -20px;
  left: 0;
  border: none;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  gap: 5px;
}

.back-btn i {
  font-size: 2.5rem;
}

.submenu__header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
}

.submenu__content {
    padding: 1.5rem;
}

.submenu__group {
    margin-bottom: 2rem;
}

.submenu__group h4 {
    color: #CA1111;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.submenu__group ul {
    list-style: none;
}

.submenu__group ul li {
    margin-bottom: 0.8rem;
}

.submenu__group ul li a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    display: block;
    padding: 0.5rem 0;
}

/* Update JavaScript event listeners */
.hamburger.active {
    position: fixed;
    right: 1rem;
    top: 1rem;
}

/* ...rest of existing code... */

.dropdown__content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
    border-radius: 8px;
    padding: 1.5rem;

}

.dropdown__group {
    position: relative;
    list-style: none;
    padding: 1rem 1.5rem;
    /* background: white; White background for each group */

}

.dropdown__group:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(202, 17, 17, 0.1);
}

.dropdown__title {
    position: relative;
    display: inline-block;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    font-weight: bold; /* Bold title */
    color: #CA1111; /* Title color */
}

.dropdown__title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #CA1111;
    transform: scaleX(0.3);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.dropdown__group:hover .dropdown__title::after {
    transform: scaleX(0.5);
}

.dropdown__list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    list-style: none; /* Remove marker */

}

.dropdown__list a {
    position: relative;
    padding-left: 0;
    transition: all 0.3s ease;
    color: #333; /* Link color */
    text-decoration: none; /* Remove underline */
}

.dropdown__list a:hover {
    padding-left: 15px;
    color: #CA1111; /* Hover color */
}

.dropdown__list a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.dropdown__list a:hover::before {
    opacity: 1;
    left: 0;
}


.loader-container {
  display: none;
}

@media (max-width: 768px) {
  .loader-container {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #fff;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      z-index: 9999;
  }

  .loader-text {
      font-size: 1.5rem;
      font-weight: bold;
      margin-bottom: 8px;
  }

  .progress-bar {
      width: 150px;
      height: 4px;
      background: #eee;
      border-radius: 4px;
      overflow: hidden;
  }

  .progress {
      width: 0%;
      height: 100%;
      background: #CA1111;
      transition: width 0.5s ease;
  }
}

.content {
  display: none;
}

/* Responsive adjustments for swiper images in container__academics */
@media (max-width: 768px) {
    .swiper-slide img {
        content: url('https://static.pw.live/5eb393ee95fab7468a79d189/GLOBAL_CMS/cfb17717-3a8c-47e1-9872-4193a588ec53.webp'); /* Replace with the path to your mobile image */
    }
    .swiper-slide:nth-child(2) img {
        content: url('https://static.pw.live/5eb393ee95fab7468a79d189/GLOBAL_CMS/cfb17717-3a8c-47e1-9872-4193a588ec53.webp'); /* Replace with the path to your mobile image */
    }
    .swiper-slide:nth-child(3) img {
        content: url('https://static.pw.live/5eb393ee95fab7468a79d189/GLOBAL_CMS/cfb17717-3a8c-47e1-9872-4193a588ec53.webp'); /* Replace with the path to your mobile image */
    }
    .swiper-slide:nth-child(4) img {
        content: url('https://static.pw.live/5eb393ee95fab7468a79d189/GLOBAL_CMS/cfb17717-3a8c-47e1-9872-4193a588ec53.webp'); /* Replace with the path to your mobile image */
    }
    .swiper-slide:nth-child(5) img {
        content: url('https://static.pw.live/5eb393ee95fab7468a79d189/GLOBAL_CMS/cfb17717-3a8c-47e1-9872-4193a588ec53.webp'); /* Replace with the path to your mobile image */
    }
    .swiper-slide:nth-child(6) img {
        content: url('https://static.pw.live/5eb393ee95fab7468a79d189/GLOBAL_CMS/cfb17717-3a8c-47e1-9872-4193a588ec53.webp'); /* Replace with the path to your mobile image */
    }
}
