/*services start*/
.services-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f5f5f5;
    height: auto;
    width: 100%;
    padding-bottom: 50px;
}

.services-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 180px;
}

.services-header .services-title {
    color: #1e88c9;
    font-size: 30px;
    letter-spacing: 2px;
}

.services-header .services-subtitle {
    color: #565656;
    font-size: 25px;
    margin-top: 5px;
}

.service-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 35px;
}

.service-wrapper .service-card {
    height: 545px;
    width: 360px;
}

.service-wrapper a:hover {
    transform: scale(1.04);
    transition: transform 0.3s;
}

.service-wrapper a:hover .service-detail span,
.service-wrapper a:hover .service-detail i {
    color: #1e88c9;
}

.service-wrapper a {
    height: 450px;
    width: 34%;
    text-decoration: none;
    background-color: #ffffff;
    color: #000000;
}

.service-wrapper .service-item {
    position: relative;
}

.service-wrapper .service-item::before {
    content: '';
    background-image: url(/images/hizmet-bg.png);
    background-repeat: no-repeat;
    background-size: 75% 25%;
    background-position: start;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.5;
    z-index: 0;
}

.service-wrapper .service-item:hover::before {
    opacity: 1;
}

.service-wrapper .service-item>* {
    position: relative;
}

.service-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-image img {
    height: 200px;
    padding: 50px 0px 50px 0px;
}

.service-content .service-description {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-content .service-description p {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 17px;
    font-weight: 500;
    width: 74%;
    height: 150px;
    color: #565656;
    border-bottom: 1px solid #565656;
    letter-spacing: 1px;
    line-height: 30px;
}

.service-item .service-detail {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 63px;
}

.service-item .service-detail span {
    margin-right: 10px;
}

@media (max-width:1200px){
    .service-wrapper .service-card {
        height: 500px;
        width: 315px;
    }
    .service-image img {
        height: 180px;
        padding: 50px 0px 30px 0px;
    }
    .service-content .service-description p {
        height: 145px;
        line-height: 25px;
    }
}

@media (max-width:1050px){
    .service-wrapper {
        gap: 20px; 
    }
    .service-wrapper .service-card {
        height: 500px;
        width: 285px;
    }
    .service-image img {
        height: 180px;
        padding: 50px 0px 30px 0px;
    }
    .service-content .service-description p {
        height: 145px;
        line-height: 25px;
    }
}

@media (max-width:768px) {
    .services-header .services-title {
        font-size: 25px;
    }

    .services-header .services-subtitle {
        font-size: 20px;
    }

    .service-wrapper .service-card {
        height: 410px;
        width: 250px;
    }

    .service-image img {
        height: 150px;
        padding: 50px 0px 20px 0px;
    }

    .service-content .service-description h1 {
        font-size: 20px;
    }

    .service-content .service-description p {
        height: 100px;
        font-size: 13px;
    }
}
/*services end*/