
/* =========================================================
   MARKBLY SERVICES V2
   ========================================================= */
a {
    text-decoration: none !important;
}

img.service-detail-dimage
 {
     object-fit: contain;
    margin: 0 auto;
   max-height: 350px;
 }
.service-intro-grid {
    padding-right: 50px;
}
.services-listing-hero,
.service-detail-hero {
    padding: 70px 20px 45px;
    text-align: center;
}

.services-listing-hero .wrap,
.service-detail-hero .wrap {
    max-width: 1100px;
    margin: 0 auto;
}

.service-detail-eyebrow {
    display: inline-block;
    color: #0f5a9c;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.services-listing-hero h1,
.service-detail-hero h1 {
    margin: 0;
    color: #07579b;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.12;
    font-weight: 800;
}

.services-listing-hero h1:after,
.service-detail-hero h1:after {
    content: "";
    display: block;
    width: 180px;
    height: 4px;
    margin: 12px auto 0;
    background: #159515;
    border-radius: 10px;
}

.services-listing-hero p {
    max-width: 1050px;
    margin: 32px auto 0;
    color: #24384c;
    font-size: 19px;
    line-height: 1.65;
}

.services-listing-section {
    padding: 25px 20px 80px;
}

.services-v2-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-v2-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.service-v2-image-wrap {
    overflow: hidden;
    border-radius: 28px;
    background: #e9f5fc;
    border: 7px solid #e7f5fd;
    box-shadow: 0 7px 18px rgba(0,0,0,.13);
    aspect-ratio: 1.9 / 1;
}

.service-v2-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.service-v2-card:hover .service-v2-image {
    transform: scale(1.045);
}

.service-v2-card h3 {
    margin: 15px 8px 0;
    text-align: center;
    color: #07579b;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 800;
}

.service-v2-card p {
    margin: 9px 10px 0;
    color: #536273;
    line-height: 1.55;
    text-align: center;
}

.service-card-link {
    display: block;
    margin-top: 9px;
    text-align: center;
    color: #159515;
    font-weight: 700;
}

/* DETAIL PAGE */

.service-detail-main {
    padding: 20px 20px 80px;
}



.service-detail-image-wrap {
      border-radius: 28px;
    overflow: hidden;
    border: 7px solid #e7f5fd;
    box-shadow: 0 9px 25px rgba(0, 0, 0, .12);
    position: absolute;
    right: 91px;
    right: 5%;
}

.service-detail-image {
     width: 450px;
    display: block;
    object-fit: cover;
   
}

.service-detail-label,
.section-heading-center span,
.service-form-copy > span {
    color: #159515;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.service-detail-intro h2 {
    color: #07579b;
    font-size: 36px;
    line-height: 1.2;
    margin: 10px 0 18px;
}

.service-rich-text {
    color: #263849;
    font-size: 18px;
    line-height: 1.8;
}

.service-points-section,
.service-enquiry-section,
.related-services-section {
    max-width: 1180px;
    margin: 85px auto 0;
}

.section-heading-center {
    text-align: center;
    margin-bottom: 35px;
}

.section-heading-center h2 {
    color: #07579b;
    font-size: 34px;
    margin: 8px 0;
}

.section-heading-center p {
    color: #5b6875;
}

.service-points-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.service-point-card {
    display: flex;
    gap: 18px;
    padding: 26px;
    border-radius: 18px;
    background: #f8fbfe;
    border: 1px solid #e2edf5;
    box-shadow: 0 5px 16px rgba(0,0,0,.06);
}

.service-point-number {
    min-width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #dff1ff;
    color: #07579b;
    font-weight: 800;
}

.service-point-card h3 {
    margin: 0 0 8px;
    color: #07579b;
    font-size: 21px;
}

.service-point-card p {
    margin: 0;
    color: #47596b;
    line-height: 1.7;
}

.service-enquiry-section {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 45px;
    padding: 42px;
    border-radius: 24px;
    background: #f3f9fd;
    border: 1px solid #dcebf5;
}

.service-form-copy h2 {
    color: #07579b;
    font-size: 34px;
    line-height: 1.25;
    margin: 10px 0 15px;
}

.service-form-copy p {
    color: #536273;
    line-height: 1.7;
}

.service-enquiry-form label {
    display: block;
    margin-bottom: 6px;
    color: #24384c;
    font-weight: 700;
}

.service-enquiry-form input,
.service-enquiry-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ccd9e3;
    border-radius: 9px;
    padding: 12px 14px;
    background: #fff;
    font: inherit;
    margin-bottom: 16px;
}

.service-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.service-btn {
    display: inline-block;
    border: 0;
    border-radius: 7px;
    background: #07579b;
    color: #fff;
    padding: 13px 25px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.service-btn:hover {
    background: #06477c;
}

.form-message {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.form-message.success {
    background: #e6f7e6;
    color: #176b17;
}

.form-message.error {
    background: #fff0f0;
    color: #b32626;
}

.related-services-section {
    padding-bottom: 20px;
}

.service-not-found {
    padding: 100px 20px;
    text-align: center;
}

.service-empty {
    padding: 70px 20px;
    text-align: center;
}
@media screen and (max-width:968px) {
    .service-detail-main {
        padding:0 !important;
    }
}
@media (max-width: 900px) {
    .services-v2-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-intro-grid,
    .service-enquiry-section {
        grid-template-columns: 1fr;
    }

    .service-points-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .services-v2-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-listing-hero {
        padding-top: 45px;
    }

    .services-listing-hero p {
        font-size: 16px;
    }

    .service-detail-image {
        height: 280px;
    }

    .service-detail-intro h2,
    .service-form-copy h2,
    .section-heading-center h2 {
        font-size: 28px;
    }

    .service-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .service-enquiry-section {
        padding: 25px 18px;
    }
}
