/* Interlinking Service Section CSS - Consolidated from newHomePgae.css, buy-essay.css and argumentative-essay.css */

/* Service Section */
.service-section {
    padding: 60px 0 90px;
    background-image: unset;
}

/* Service Head */
.service-head h2 {
    font-weight: 500;
    font-size: 32px;
    line-height: 150%;
    text-align: center;
    color: #231f20;
    padding-bottom: 15px;
}

.service-head p {
    max-width: 73%;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    font-weight: 450;
    font-size: 16px;
    line-height: 140%;
    color: #575e62;
}

/* Service Wrapper */
.service-wrapper {
    margin-top: 50px;
    position: relative;
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Service Card */
.service-card {
    display: inline-block;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 1px 16px 0 rgba(54, 127, 211, .18);
    max-width: 360px;
    padding: 61px 20px;
    min-height: 227px;
    border: 1px solid transparent;
    width: 100%;
    transition: all 0.3s ease;
}

.service-card:hover {
    border: 1px solid #255394;
}

/* Service Icon */
.service-icon {
    text-align: center;
}

/* Service Content */
.service-content-interlink {
    text-align: center;
}

.service-content-interlink p {
    padding-top: 30px;
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    color: #231f20;
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 767px) {
    .service-section {
        padding: 60px 0;
    }

    .service-card {
        max-width: 300px;
    }

    .service-head h2 {
        font-size: 24px;
    }

    .service-wrapper {
        margin-top: 30px;
        gap: 20px;
    }
}

@media (max-width: 575px) {
    .service-wrapper {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding: 10px 0 10px 15px;
    }

    .service-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }
}
