
.services-wrapper {
    background-color: var(--primary_color); 
    padding: 100px 0;
    
}




.service-card {
    position: relative;
    background: #ffffff;
    padding: 45px 35px;
    border-radius: 4px;
    height: 100%;
    overflow: hidden;
    border: none;
    z-index: 1;
    transition: transform 0.4s ease;
}


.card-content {
    position: relative;
    z-index: 3;
    transition: opacity 0.4s ease-in-out;
}

.service-card:hover .card-content {
    opacity: 0; 
}


.card-header-flex {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}



.service-icon {
    width: clamp(30px ,2vw,50px);
    height: clamp(30px ,2vw,50px);
    color: var(--secondary_color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon svg {
    width: 100%;  
    height: 100%;
    display: block;
}

.service-title {
    color: var(--secondary_color);
    font-weight: 700;
    margin-bottom: 0;
    font-size: clamp(1rem, 3vw, 1.2rem);
}

.service-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}


.service-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 2;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-bg-image {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-5px);
}


.cta-text { color: #fff; }
.btn-contact {
    border: 1px solid #fff;
    color: #fff;
    padding: 8px 25px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
}
.btn-contact:hover { background: #fff; color: #001c40; }

@media (max-width: 767px) {
    .services-wrapper.content_body {
        padding: 20px 20px;
    }
}