/* Banner */
.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.404); 
  z-index: 1; 
}
.carousel-item img {
  height: 85vh;
  object-fit: cover;
  z-index: 0; /* Ensure the image is below the overlay */
}
.carousel-caption {
  position: absolute;
  top: 55%;
  left: 50%;
  width: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff; 
  z-index: 2; 
  text-align: center;
}
 .carousel-caption h5, .carousel-caption p{
  color: #fff;

 }
 /* 233333333333333333333 */

 .carousel-control-prev-icon,
 .carousel-control-next-icon {
     background-color: rgb(241, 10, 10) !important;
     color: #fff !important; 
     height: 50px !important; 
     width: 50px !important;
     padding: 30px !important;
     border-radius: 50%; 
 }
 

 /* Style for the indicators (dots) */
 .carousel-indicators button {
     background-color: white !important;
     color: #fff !important;
     width: 15px !important; 
     height: 15px !important; 
     border-radius: 50%;
 }
 
 .carousel-indicators .active {
     background-color: #f1f1f1; /* Change the color of the active dot */
 }
  

/* apply-section */

.apply-section{
  background: #ee7c3088;
  padding: 20px;
  text-align: center;
  margin: 30px;
}

  /* about section */
  .about-section-img img{
    width: 250px;
    height: 400px;
    border-radius: 3px;
  }
  .about-img{
    margin-top: 30px;
  }
/* popular course */
/* From Uiverse.io by Tiagoadag */ 
.course-card{
  display: grid;
  grid-template-columns: auto auto auto auto;
  gap: 10px;
}
.cards {
  width: 250px;
  height: 220px;
  background-image: linear-gradient(163deg, #ff008c 0%, #3700ff 100%);
  border-radius: 20px;
  transition: all .3s;
 }
 
 .card2 {
  width: 250px;
  height: 220px;
  background-color: #fff;
  transition: all .2s ease-in-out;
 }
 .card2 img{
 width: 250px; 
 transition: all .2s ease-in-out;
 }
 .card2:hover  img{
  border-radius: 20px 20px 0 0;
 }
 .card2:hover {
  transform: scale(0.98);
  border-radius: 20px;
 }
 
 .cards:hover {
  box-shadow: 0px 0px 30px 2px rgba(0, 255, 117, 0.30);
 }
/* media */


  @media screen and (min-width: 1024px) {
   

}

/* tablet */
@media screen and (min-width: 561px)and (max-width: 768px) {

 

    .primary-button {
        margin-top: 10px;
        padding: 13px 25px;
        font-size: 18px;
        background: #ee7d30;
        border: 0;
        border-radius: 2px;
        color: white;
        font-weight: 600;
        width: 50%;
    }

}

/* Mobile menu styles */
@media (max-width: 560px) {
   

  /* about section */
  .about-section-img img{
    width: 160px;
    height: 300px;
    border-radius: 3px;
  }
.about-section-img{
    width: 100%;
    margin: 0 auto;
}

.carousel-caption {
  top: 45%;
}
.carousel-item img {
  height: 65vh;
}
.course-card{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 350px;
  margin:  auto;
}
.course-card .cards .card2 img{
  margin: 0 auto;
  width: 350px;
}
    

  
}