.services {
    padding: 120px 10% 70px;
}

.center-text h2 {
    font-size: var(--h2-font);
    font-weight: 800;
    text-align: center;
    margin-bottom: 30px;
}

.services-content {
    display:grid;
    grid-template-columns: repeat(2,1fr);
    
    gap: 2rem;
    margin-top: 3rem;
}
.box{
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 300px;
}

.box img {
    width:100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    filter: brightness(70%);
    transition: all .3s cubic-bezier(.499,.05,.55,.95);
    will-change: filter;
}
    

.services-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;

}

.services-text h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);

}

.services-text p{
    font-size: 14px;
}

.services-text span{
    font-size: 14px;
    color: #fff;
    display: block;
    text-transform: uppercase;
    text-shadow: 3px 3px 3px rgba(0,0,0,0.6);
    letter-spacing: 1px;

}

.box img:hover {
    filter: brightness(100%);
    transform: scale(1.04);
    cursor: pointer;
}

.center-btn {
    text-align: center;
    margin-top: 3rem;

}

.btn {
    display: inline-block;
    padding: 13px 40px;
    background: var(--main-color);
    color: var(--bg-color);
    font-size: 15px;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: all.50s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateX(10px);
    border: 2px solid var(--text-color);
    background: transparent;
    color: var(--text-color);
}

@media(max-width: 1024px) {
    .services {
        padding: 100px 5% 50px;
    }
    .services-content {
        gap: 1.5rem;
    }
    .box {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .services-content {
        grid-template-columns: 1fr;
    }
    .box {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .services {
        padding: 80px 5% 40px;
    }
    .services-text h3 {
        font-size: 18px;
    }

    .services-text span {
        font-size: 12px;
    }
}