
/* css slider */

.slider{
    height: 110vh;
    margin-top: 110px;
    position: relative;
}
.slider .list .item{
    position: absolute;
    inset: 0 0 0 0;
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}
.slider .list .item img{
    width: 100%;
    height: 100%;

    object-position: center;
  
}
.slider .list .item::after{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
  
    background-image: linear-gradient(to top, #8b7d7d4a 40%, transparent);
}
/* .slider .list .item::after{
    background: linear-gradient(transparent, black);

} */

.slider .list .item .content{
    position: absolute;
    /* left: 10%;
    top: 20%; */
    width: 500px;
    max-width: 80%;
    z-index: 1;
    color: #fff;
    /* color: #054467; */
    left: 12%;
    /* top: 25%; */
    top: 40%;
}
.slider .list .item .content p:nth-child(1){
    text-transform: uppercase;
    letter-spacing: 10px;
}
.slider .list .item .content h2{
    /* font-size: 80px; */
    font-size: 40px;
    margin: 0;
   
}

.slider .list .item.active{
    opacity: 1;
    z-index: 10;
}

.slider .list .item .content .get-st-bt{
    padding-top: 4%;
}

.slider .list .item .content .btn-get-started {

    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 32px;
    border-radius: 4px;
    transition: 0.5s;
    color: #fff;
    background: #1bb1dc;
    color: #fff;
}

.slider .list .item .content .btn-get-started:hover{
    background: #000;
}

.slider .list .item .content span{
   color: #1bb1dc;
       /* color: #4a53c7; */
   
}

@keyframes showContent {
    to{
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }
}
.slider .list .item.active p:nth-child(1),
.slider .list .item.active h2,
.slider .list .item.active p:nth-child(3){
    transform: translateY(30px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s .7s ease-in-out 1 forwards;
}
.slider .list .item.active h2{
    animation-delay: 1s;
}
.slider .list .item.active p:nth-child(3){
    animation-duration: 1.3s;
}
.arrows{
    position: absolute;
    top: 30%;
    right: 50px;
    z-index: 100;
    display: none;
}
.arrows button{
    background-color: #eee5;
    border: none;
    font-family: monospace;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    font-size: x-large;
    color: #eee;
    transition: .5s;
}
.arrows button:hover{
    background-color: #eee;
    color: black;
}
.thumbnails{
    position: absolute;
    /* bottom: 0px; */
    /* bottom: -114px; */
     bottom: -180px;
    z-index: 11;
    display: flex;
    gap: 10px;
    width: 100%;
    /* height: 250px; */
    height: 70px;
    padding: 0 50px;
    box-sizing: border-box;
    overflow: auto;
    /* justify-content: center; */
    justify-content: center;
}
.thumbnails::-webkit-scrollbar{
    width: 0;
}
.thumbnails .item{
    /* width: 150px; */
    /* height: 220px; */
    filter: brightness(.5);
    transition: .5s;
    flex-shrink: 0;
}
.thumbnails .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.thumbnails .item.active{
    filter: brightness(1.5);
}
.thumbnails .item .content{
    position: absolute;
    inset: auto 10px 10px 10px;
    color: #fff;
}
.thumbnails .bubble {
    display: block;
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

@media screen and (max-width: 678px) {
    .thumbnails{
        justify-content: center;
    }
    .slider .list .item .content h2{
        font-size: 35px;
    }
    .arrows{
        top: 10%;
    }
    .slider .list .item .content .btn-get-started {
       
        padding: 10px 10px;
        border-radius: 4px;
        transition: 0.5s;
    
    }
    
}

@media screen and (max-width: 477px) {

    .slider .list .item .content h2{
        font-size: 30px;
    }
    .arrows{
        top: 10%;
    }
    .slider .list .item .content .btn-get-started {
       
        padding: 5px 4px;
        border-radius: 1px;
  
    
    }

}


/* Compact Certification Slider */
#certifications .slider {
  position: relative;
  height: auto;
  margin-top: 30px;
}

#certifications .slider .list {
  position: relative;
  height: 300px; /* Adjust height for compact size */
}

#certifications .slider .item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: 0.5s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#certifications .slider .item img {
  max-height: 120px;
  width: auto;
  object-fit: contain;
}

#certifications .slider .item.active {
  opacity: 1;
  z-index: 1;
}

#certifications .slider .content {
  margin-top: 15px;
  color: #333;
}

#certifications .slider .arrows {
  position: absolute;
  top: 40%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 2;
}

#certifications .slider .arrows button {
  background: #ddd;
  border: none;
  padding: 8px 14px;
  font-size: 20px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

#certifications .slider .arrows button:hover {
  background: #bbb;
}

#certifications .slider .thumbnails {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
}

#certifications .slider .thumbnails .item {
  width: 60px;
  height: 60px;
  filter: brightness(0.5);
  cursor: pointer;
  transition: 0.3s;
  flex-shrink: 0;
}

#certifications .slider .thumbnails .item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#certifications .slider .thumbnails .item.active {
  filter: brightness(1);
  border: 2px solid #1bb1dc;
  border-radius: 8px;
}
