

.services-page {
    max-width: 1150px;
    margin: 50px auto 90px;
    padding: 0 20px;
    font-family: Arial, Helvetica, sans-serif;
}

/* PAGE TITLE */
.services-title {
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 45px;
    color: #111;
}



.service-block {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 55px 0;
}

/* creates modern wave feeling */
.service-block.left {
    transform: translateX(-10px);
}

.service-block.right {
    transform: translateX(10px);
}


.service-card {
    flex: 1;
    background: #f3f3f3;   /* light gray */
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    position: relative;
    z-index: 1;
    min-height: 170px;
}

.service-card h2 {
    margin: 0 0 12px;
    font-size: 28px;
    text-decoration: underline;
    color: #111;
}

.service-card p {
    margin: 0;
    color: #333;
    line-height: 1.7;
    font-size: 16px;
}


.service-media {
    width: 300px;
    flex: 0 0 300px;
    position: relative;
    z-index: 2;
}

.service-media img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(0,0,0,0.18);
    display: block;
    transition: transform 0.25s ease;
}


/* overlap effect */
.service-block.right .service-media {
    margin-left: -70px;
}

.service-block.left .service-media {
    margin-right: -70px;
}

/* left-right direction */
.service-block.left {
    flex-direction: row;
}

.service-block.right {
    flex-direction: row-reverse;
}

.cta-box {
    margin-top: 70px;
    background: #ffffff;
    border-radius: 16px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.cta-box h3 {
    margin: 0 0 12px;
    font-size: 30px;
    color: #111;
}

.cta-box p {
    margin: 0 0 22px;
    color: #444;
    font-size: 16px;
    line-height: 1.6;
}


/* SIMPLE CTA BUTTON */

.cta-btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 10px;
    text-decoration: none;
    background: #1f5b7a;
    color: #fff;
    font-weight: bold;
}

.cta-btn:hover,
.cta-btn:focus,
.cta-btn:active {
    background: #1f5b7a !important;
    color: #fff !important;
    text-decoration: none !important;
    transform: none !important;
    opacity: 1 !important;
    box-shadow: none !important;
}


@media (max-width: 900px) {

    .service-block,
    .service-block.left,
    .service-block.right {
        flex-direction: column;
        transform: none;
        gap: 14px;
    }

    .service-media {
        width: 100%;
        flex: 0 0 auto;
        margin: 0 !important;
    }

    .service-media img {
        width: 100%;
        height: 220px;
    }

    .service-card {
        padding: 22px;
    }

    .services-title {
        font-size: 32px;
    }
}
