
.service-wrapper1 {
    position: absolute;
    top: 8vh;
    left: 25%; /* Changed from a fixed value to a percentage for better responsiveness */
    right: 5%; /* Added to ensure the wrapper does not stretch too wide on larger screens */
    display: flex;
    justify-content: left;
    align-items: first baseline;
    background: transparent;
    text-align: left;
}

@media (max-width: 1199px) {
    .service-wrapper1 {
        left: 5%;
        right: 5%;
    }
}

/* For screens smaller than 992px */
@media (max-width: 991px) {
    .service-wrapper1 {
        left: 15%;
        right: 5%;
    }
}

/* For screens smaller than 768px */
@media (max-width: 767px) {
    .service-wrapper1 {
        left: 5%;
        right: 5%;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* For screens smaller than 576px */
@media (max-width: 575px) {
    .service-wrapper1 {
        left: 5%;
        right: 5%;
        flex-direction: column;
        align-items: flex-start;
    }
}
.service1 {
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: first baseline;
    justify-content: left;
}

.service1 h1 {
    text-align: left;
    color: turquoise;
    font-size: 2.5rem; /* Adjusted for better scaling */
    position: relative;
    font-weight: 100;
    font-family: 'montserrat', sans-serif;
}

.service1 h1:after {
    content: "";
    position: relative;
    top: 100%;
    left: 10%;
    height: 8px;
    width: 80%;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.5);
}

.service1 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%;
    }
}

.service1 .cards1{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 40px;
    margin-top: 80px;
    
}

.service1 .card1 {
    height: auto; /* Changed from a fixed value to auto for better scaling */
    width: 120vh; /* Adjusted for better responsiveness */
    background: transparent;
    backdrop-filter: blur(3px);
    border: 0.1px solid #ffffff4b;
    padding: 3% 8%;
    border-radius: 8px;
    transition: .6s;
    display: flex;
    align-items: baseline;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    text-align: left;
    
}
@media (max-width: 768px) {
    .service1 .card1 {
    height: auto; /* Changed from a fixed value to auto for better scaling */
    width: 47vh;
    left: 13px; /* Adjusted for better responsiveness */
    background: transparent;
    backdrop-filter: blur(3px);
    border: 0.1px solid #ffffff4b;
    padding: 3% 8%;
    border-radius: 8px;
    transition: .6s;
    display: flex;
    align-items: baseline;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    text-align: left;
    
}
}

.service1 .card1: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;

}

.service1 .card2:hover:after {
    width: 225%;
    top: -100%;
}


.service1 .card1 i {
    color: #fff;
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 3.4rem;
}

.service1 .card1 h2{
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 4px;
}

.service1 .card1 p{
    text-align: center;
    width: 100%;
    margin: 12px 0;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);

}
.service1 .card1:hover{
    background-color: rgba(255, 255, 255, 0.1);
    
    transform: translateY(-8px);
    border-color: #01d1a4;
}
.service1 .card1 img {
    color: #fff;
    transition: filter 0.3s ease; /* Animasyon için geçiş efekti */
     margin-top: 30px;
    margin-bottom: 20px;
}

.service1 .card1:hover img {
    filter: grayscale(100%); /* Fare ile üzerine gelindiğinde siyah-beyaz yapar */
}
.service1 .card1:hover i{
    color:#01d1a4;
}

@media screen and (max-width:1200px) {
    .cards1 {
        grid-template-columns: repeat(2,1fr);
    }
}

@media screen and (max-width:900px) {
    .cards1 {
        grid-template-columns: repeat(1,1fr);
    }
    h1{
        font-size: 3.5rem;
    }
}
@media screen and (max-width:480) {
    .cards1 {
        grid-template-columns: repeat(0,1fr);
    }
    h1{
        font-size: 3.5rem;
    }
}
@media screen and (max-width: 600px) {
    .service1 h1 {
        font-size: 1.5rem;
    }

    .service1 .card1 h2, .service1 .card1 p {
        font-size: smaller; /* Adjust font size for smaller devices */
    }
}
@media screen and (max-width: 900px) {
    .service-wrapper1 {
        left: 2%;
        right: 2%;
        height: 200vh;
        width: 1000vh;
        font-size: smaller;
    }

    .service1 .cards1 {
        grid-template-columns: 1fr;
    }

  

    .service1 .card1 {
        padding: 5%;
    }
}