

.wrapper {
    position: relative;
    height: 70vh;
    width: 100%;
    max-width: 500px;
    padding: 30px;
    margin: auto;
    border: 2px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(4px);
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    color: #fff;
    border-radius: 10px;
    transition: all .6s ease-in-out; /* Smooth transition for all properties */
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    text-align: left;
}
.service2 .card2:hover, .service2 .card2:hover img, .service2 .card2:hover i {
    transition: all .3s ease-in-out;
}

/* Responsive adjustments for service cards on mobile */

  .wrapper h1 {
    font-size: 26px;
    text-align: center;
  }
  
  .wrapper .input-box {
    position: relative;
    width: 80%;
    height: 40px;
    background: transparent;
    margin: 30px 0;
  }
  
  .input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    font-size: 16px;
    color: #fff;
    padding: 20px 45px 20px 20px;
  }
  
  .input-box input::placeholder {
    color: #fff;
  }
  
  .input-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
  }
  
  .wrapper .remember-forgot {
    display: flex;
    justify-content: space-between;
    font-size: 14.5px;
    margin: 45px 0 15px;
  }
  
  .remember-forgot label input {
    color: #fff;
    margin-right: 3px;
  }
  
  .remember-forgot a {
    color: #fff;
  }
  
  .remember-forgot a:hover {
    text-decoration: underline;
  }
  
  .wrapper .btn {
    width: 100%;
    height: 45px;
    background: #fff;
    border: none;
    outline: none;
    border-radius: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    cursor: pointer;
    color: #333;
    font-weight: 600;
    margin-bottom: 0px;
  }
  
  .wrapper .register-link {
    font-size: 14.5px;
    text-align: center;
    margin-top: 18px;
  }
  
  .register-link p a {
    color: #fff;
  }
  
  
  .service-wrapper2 {
    position: absolute;
    top: 17vh;
    left: 40%;
    justify-content: flex-start;
    align-items: baseline;
    background: transparent;
    display: flex;
    text-align: left;
    max-width: 80%; /* Limit max width to avoid overflow on larger screens */
}

.service2{
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: first baseline;
    justify-content: left;
}

.service2 h1{
    text-align: left;
    color: #ffffff;
    font-size: 3rem;
    position: relative;
    font-weight: 100;
    font-family:'montserrat', sans-serif;
    
}


.service2 h1:after {
    content: "";
    position: relative;
    top: 100%;
    left: 10%;
    height: 8px;
    width: 80%;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.5);
}

.service2 h1 span {
    position: absolute;
    top: 100%;
    left: 10%;
    height: 8px;
    width: 8px;
    border-radius: 50%;
    background-color: #72e2ae;
    animation: anim 5s linear infinite;
}

@keyframes anim {
    95%{
        opacity: 1;
    }
    100%{
        opacity: 0;
        left: 88%;
    }
}

.service2 .cards1{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 40px;
    margin-top: 80px;
    
}


.service2 .card2:after{
    content: "";
    position: absolute;
    top: 150%;
    left: -200px;
    width: 120%;
    transform: rotate(50deg);
    background-color: #fff;
    height: 18px;
    filter: blur(30px);
    opacity: 0.5;
    transition: 1s;

}

.service2 .card2:hover:after {
    width: 225%;
    top: -100%;
}


.service2 .card2 i {
    color: #fff;
    margin-top: 12px;
    margin-bottom: 10px;
    font-size: 1.7rem;
}

.service2 .card2 h2{
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 4px;
}

.service2 .card2 p{
    text-align: center;
    width: 100%;
    margin: 12px 0;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);

}
.service2 .card2:hover{
    background-color: rgba(255, 255, 255, 0.1);
    
    transform: translateY(-8px);
    border-color: #01d1a4;
}
.service2 .card2 img {
    color: #fff;
    transition: filter 0.3s ease; /* Animasyon için geçiş efekti */
     margin-top: 30px;
    margin-bottom: 20px;
}

.service2 .card2:hover img {
    filter: grayscale(100%); /* Fare ile üzerine gelindiğinde siyah-beyaz yapar */
}
.service2 .card2:hover i{
    color:#01d1a4;
}



@media screen and (max-width: 480px) {
    .service-wrapper2 {
        top: 110px;
        width: 80%; /* Adjust as needed */
        left: 50px;
      
        justify-content: center;
        padding-top: 0;
        padding: 0;
        margin-top: 0;
        padding-bottom: 20px;
        flex-direction: row; 
    }

    .service2 .wrapper {
      height: 200vh;
    }
    
}