/* Center the navbar links */

@media (max-width: 768px){
  .class-text{
    margin-top: 70px !important;


  }
  .bg-main{
    height: 100% !important;
  }
}

/* Default styling for all screens */
#textOverCarousel {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#imageCarousel .carousel-item img {
  width: 100%;
  height: 100vh;
  object-fit: cover; /* Ensures image fills space without distortion */
}

/* Text overlay styling */
.class-text {
  width: 60%;
  padding: 25px;
  text-align: center;
  z-index: 10;
  backdrop-filter: blur(3px);
}

/* Responsive tweaks for mobile */
@media (max-width: 768px) {
  #textOverCarousel {
    height: 100vh;
  }

  #imageCarousel .carousel-item img {
    height: 100vh;
    object-fit: cover;
  }

  .class-text {
    width: 90%;
    padding: 15px;
    font-size: 1rem;
  }

  .class-text h2,
  .class-text p {
    font-size: 1.3rem;
  }
}




.navbar-nav {
  margin-left: auto;
}

.team-section {
  text-align: center;
  padding: 40px 0;
}
.team-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.flip-card {
  perspective: 1000px;
  width: 220px;
  border: 1px solid #888;
  border-radius: 5px;
  height: 270px;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.flip-card-front {
  background: white;
}
.flip-card-back {
  background: #3e4095;
  color: white;
  transform: rotateY(180deg);
}
.card-logo {
  width: 140px;       /* Use same value for width and height */
  height: 140px;
 margin-bottom: 10px;
  border-radius: 50%; /* Makes it circular */
  object-fit: cover;  /* Fills the circle without stretching */
  overflow: hidden;
}
/* For mobile view fix */
@media (max-width: 768px) {
  .navbar {
    position: sticky !important;
    top: 0;
    width: 100%;
    z-index: 1050;
  }


}
html, body {
  overscroll-behavior: none !important;
}




.navbar {
  background-color: rgb(255, 255, 255);
  padding: 5px 30px;
  border: 1px solid rgba(128, 128, 128, 0.179);
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.115);
}

/* Dropdown menu styling */
.nav-item .dropdown-menu {
  display: none;
  position: absolute;
  background-color: rgb(255, 255, 255);
  border-radius: 5px;
  border: none;
  padding: 0;
}

.nav-item {
  font-size: 23px;
  margin: 0px 15px;
}

.item1 {
  font-size: 20px;
}

.nav-item:hover .dropdown-menu {
  display: block;
  padding: 10px 0;
  background-color: rgb(255, 255, 255);
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.358);
}

/* Dropdown link styles */
.dropdown-item {
  color: rgb(0, 0, 0);
  padding: 10px 20px 0 20px;
  transition: 0.3s ease-in-out;
  position: relative;
  background-color: rgb(255, 255, 255) !important;

}

/* Hover effect on dropdown items */
.dropdown-item:hover {
  color: #000000;
}

.dropdown-item::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 20px;
  /* Match left padding of dropdown-item */
  right: 20px;
  /* Match right padding of dropdown-item */
  background-color: blue;
  transition: width 0.3s ease-in-out;
}

.dropdown-item:hover::after {
  width: calc(100% - 40px);
  /* Subtract left and right padding */
}


@font-face {
  font-family: liberation;
  src: url(./fonts/liberationfont/LiberationSansBold-1adM.ttf);
}

.liberationfont {
  font-family: liberation;
}

@font-face {
  font-family: cardiff;
  src: url(./fonts/cardiff-font/CardiffBold-6av1.ttf);
}

.cardiff {
  font-family: cardiff;
}

.chnagetextposition {
  position: absolute !important;
  text-align: center;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #0000008f;
  /* Semi-transparent black */
  padding: 10px 25px;
  backdrop-filter: blur(1px);
  /* Adjust the blur strength */
  -webkit-backdrop-filter: blur(10px);
  /* For Safari support */
  border-radius: 10px;
  /* Optional: for rounded corners */
}

.largefont {
  color: #FC6E61;
  font-size: 55px;
}

.prev1 .carousel-control-prev-icon,
.prev1 .carousel-control-next-icon {
  background-color: rgb(0, 0, 0);
  border-radius: 50%;
  padding: 20px;
  background-size: 20px;
}

.nvbtn {
  text-decoration: none;
  background-color: #3E4095;
  color: White;
  border-radius: 7px;
  border-bottom: 3px solid #5a5bac;
  border: 2px solid #5a5bac;
  transition: transform 0.3s ease-in-out !important;
}

.nvbtn:hover {
  transform: translateY(-7px) !important;
}


/* .prev11 .carousel-control-prev-icon,
.prev11 .carousel-control-next-icon {
  background-color: rgb(0, 0, 0);
  border-radius: 50%;
  padding: 10px;
  position: absolute;
  left: auto;
} */


.carousel-control-prev,
.carousel-control-next {
  width: 3% !important;
  /* gap: 700px; */
}