/* =========================
   Modern Services Design
========================= */
/* .services-area1 .service-modern-row {
    margin-bottom: 40px;
} */

.services-area1 .service-modern-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    display: block;
    /* default: image on top */
}

.services-area1 .service-modern-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.15);
}

/* Image */
.services-area1 .service-modern-img {
    overflow: hidden;
    width: 100%;
}

.services-area1 .service-modern-img img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.services-area1 .service-modern-card:hover .service-modern-img img {
    transform: scale(1.08);
}

/* Content */
.services-area1 .service-modern-content {
    padding: 30px 25px;
    text-align: center;
}

.services-area1 .service-modern-content h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #c11920;
}

.services-area1 .service-modern-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 0;
}

/* Soft top accent */
.services-area1 .service-modern-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #c11920, #e74c3c);
}

/* ====================================
   Responsive (< 992px) → Image Left, Content Right
===================================== */

@media (min-width:560px) and (max-width: 991px) {

    .services-area1 .service-modern-card {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .services-area1 .service-modern-img {
        width: 45%;
    }

    .services-area1 .service-modern-img img {
        height: 170px;
    }

    .services-area1 .service-modern-content {
        width: 55%;
        text-align: left;
        padding: 20px;
    }
}

/* Small Mobile */
@media (max-width: 575px) {
    .services-area1 .service-modern-img img {
        height: 150px;
    }

    .services-area1 .service-modern-content {
        padding: 18px;
    }

    .services-area1 .service-modern-content h4 {
        font-size: 18px;
    }

    .services-area1 .service-modern-content p {
        font-size: 14px;
    }
}

.service-modern-row .col-md-12{
    margin-bottom: 20px;
}

.col-md-6{
    margin-bottom: 20px;
}





/* ============================
   BENEFITS SECTION
============================ */

.benefits-area {
    position: relative;
}

/* Card */
.benefit-card {
    position: relative;
    padding: 40px 30px;
    border: 1px solid #eee;
    background: #fff;
    height: 100%;
    transition: all 0.35s ease;
    overflow: hidden;
}

/* Number */
.benefit-card .benefit-number {
    font-size: 48px;
    font-weight: 800;
    color: rgba(31, 43, 123, 0.08);
    position: absolute;
    top: 20px;
    right: 20px;
}

/* Title */
.benefit-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: #0b0b2b;
    margin-bottom: 12px;
}

/* Text */
.benefit-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

/* Hover effect */
.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Accent line */
.benefit-card::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 3px;
    background: #c11920;
    transition: width 0.4s ease;
}

.benefit-card:hover::before {
    width: 100%;
}

/* ============================
   RESPONSIVE
============================ */

@media (max-width: 991px) {
    .benefit-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 575px) {
    .benefit-card {
        padding: 30px 20px;
    }

    .benefit-card h4 {
        font-size: 18px;
    }
}