﻿:root {
    --st-primary: #42a3d5;
    --st-primary-dark: #267fa9;
    --st-navy: #173646;
    --st-navy-light: #24536b;
    --st-heading: #1d303a;
    --st-text: #62727b;
    --st-light: #f4f8fa;
    --st-white: #ffffff;
    --st-border: #e1ebef;
    --st-shadow: 0 18px 50px rgba(23, 54, 70, 0.11);
}

html {
    scroll-behavior: smooth;
}

.st-services-page {
    color: var(--st-text);
    overflow: hidden;
}

.st-section {
    position: relative;
    padding: 95px 0;
    scroll-margin-top: 90px;
}

/* ==========================================
   COMMON HEADING
========================================== */

.st-section-heading {
    max-width: 760px;
    margin: 0 auto 52px;
    text-align: center;
}

    .st-section-heading > span {
        display: block;
        margin-bottom: 8px;
        color: var(--st-primary);
        font-size: 13px;
        font-weight: 800;
        letter-spacing: 2.7px;
    }

    .st-section-heading h2 {
        margin: 0 0 13px;
        color: var(--st-navy);
        font-size: 43px;
        font-weight: 800;
        line-height: 1.2;
    }

    .st-section-heading p {
        margin: 0;
        font-size: 17px;
        line-height: 1.75;
    }

.st-heading-line {
    width: 75px;
    height: 3px;
    margin: 20px auto 0;
    background: var(--st-primary);
    border-radius: 5px;
}

/* ==========================================
   HERO
========================================== */

.st-services-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: url("../Img/project-4.jpg") center center / cover no-repeat;
}

.st-services-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(10, 35, 48, 0.95) 0%, rgba(18, 63, 83, 0.80) 48%, rgba(18, 63, 83, 0.25) 100% );
}

.st-services-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 80px 0;
}

.st-hero-label {
    display: block;
    margin-bottom: 13px;
    color: #78cef4;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
}

.st-services-hero h1 {
    max-width: 800px;
    margin: 0 0 21px;
    color: #ffffff;
    font-size: 58px;
    font-weight: 850;
    line-height: 1.1;
}

.st-services-hero-content > p {
    max-width: 730px;
    margin: 0 0 30px;
    color: #dceef6;
    font-size: 18px;
    line-height: 1.75;
}

.st-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.st-primary-button,
.st-outline-button,
.st-detail-button,
.st-cta-button {
    padding: 14px 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #ffffff;
    background: var(--st-primary);
    border: 2px solid var(--st-primary);
    border-radius: 7px;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    transition: 0.3s ease;
}

    .st-primary-button:hover,
    .st-detail-button:hover,
    .st-cta-button:hover {
        color: #ffffff;
        background: var(--st-primary-dark);
        border-color: var(--st-primary-dark);
        transform: translateY(-2px);
    }

.st-outline-button {
    background: transparent;
    border-color: #ffffff;
}

    .st-outline-button:hover {
        color: var(--st-navy);
        background: #ffffff;
    }

.st-service-breadcrumb {
    margin-top: 31px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cfe6ef;
    font-size: 14px;
}

    .st-service-breadcrumb a {
        color: #ffffff;
        font-weight: 700;
        text-decoration: none;
    }

    .st-service-breadcrumb i {
        color: var(--st-primary);
        font-size: 12px;
    }

/* ==========================================
   OVERVIEW CARDS
========================================== */

.st-services-overview {
    background: var(--st-light);
}

.st-service-card {
    position: relative;
    height: 100%;
    min-height: 355px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: var(--st-text);
    background: #ffffff;
    border: 1px solid var(--st-border);
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(23, 54, 70, 0.06);
    text-decoration: none;
    transition: 0.35s ease;
}

    .st-service-card:hover {
        color: var(--st-text);
        border-color: rgba(66, 163, 213, 0.55);
        box-shadow: var(--st-shadow);
        transform: translateY(-8px);
    }

.st-service-number {
    position: absolute;
    top: 13px;
    right: 22px;
    color: #e6eef2;
    font-size: 53px;
    font-weight: 900;
}

.st-service-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf6fb;
    border-radius: 13px;
}

    .st-service-icon img {
        width: 47px;
        height: 47px;
        object-fit: contain;
    }

.st-service-card h3 {
    margin: 0 0 13px;
    color: var(--st-navy);
    font-size: 23px;
    font-weight: 800;
    line-height: 1.3;
}

.st-service-card p {
    margin: 0 0 22px;
    font-size: 15px;
    line-height: 1.7;
}

.st-service-link {
    margin-top: auto;
    color: var(--st-primary-dark);
    font-size: 14px;
    font-weight: 750;
}

    .st-service-link i {
        margin-left: 6px;
        transition: margin-left 0.3s ease;
    }

.st-service-card:hover .st-service-link i {
    margin-left: 11px;
}

/* Consultation card */

.st-consultation-card {
    height: 100%;
    min-height: 355px;
    padding: 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #d2e7f0;
    background: linear-gradient( 145deg, var(--st-navy), var(--st-navy-light) );
    border-radius: 14px;
    box-shadow: var(--st-shadow);
}

    .st-consultation-card > span {
        color: #75caf0;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 2px;
    }

    .st-consultation-card h3 {
        margin: 10px 0 14px;
        color: #ffffff;
        font-size: 28px;
        font-weight: 800;
        line-height: 1.3;
    }

    .st-consultation-card p {
        line-height: 1.7;
    }

    .st-consultation-card a {
        width: fit-content;
        color: #ffffff;
        font-weight: 750;
        text-decoration: none;
    }

        .st-consultation-card a i {
            margin-left: 7px;
        }

/* ==========================================
   SERVICE DETAILS
========================================== */

.st-service-detail {
    background: #ffffff;
}

.st-detail-alternate {
    background: var(--st-light);
}

.st-service-image {
    position: relative;
    height: 535px;
}

    .st-service-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        border-radius: 17px;
        box-shadow: var(--st-shadow);
    }

.st-detail-number {
    position: absolute;
    right: -18px;
    bottom: 28px;
    width: 90px;
    height: 90px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--st-primary);
    border: 7px solid #ffffff;
    border-radius: 50%;
    font-size: 27px;
    font-weight: 850;
    box-shadow: 0 10px 25px rgba(23, 54, 70, 0.22);
}

.st-detail-alternate .st-detail-number {
    right: auto;
    left: -18px;
    border-color: var(--st-light);
}

/* ==========================================
   MEP AUTO IMAGE SLIDER
========================================== */

.st-mep-slider {
    overflow: hidden;
    border-radius: 17px;
    background: #eaf1f4;
    box-shadow: var(--st-shadow);
}

.st-mep-slider .carousel,
.st-mep-slider .carousel-inner,
.st-mep-slider .carousel-item {
    width: 100%;
    height: 100%;
}

.st-mep-slider .carousel-item {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.st-mep-slider .carousel-item.active {
    opacity: 1;
}

.st-mep-slider .carousel-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    box-shadow: none;
}

.st-mep-slider .st-detail-number {
    z-index: 5;
}

.st-detail-content {
    padding: 10px 20px;
}

.st-detail-label {
    display: block;
    margin-bottom: 8px;
    color: var(--st-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.4px;
}

.st-detail-content h2 {
    margin: 0;
    color: var(--st-navy);
    font-size: 41px;
    font-weight: 800;
    line-height: 1.2;
}

.st-detail-line {
    width: 72px;
    height: 3px;
    margin: 20px 0 25px;
    background: var(--st-primary);
}

.st-detail-content p {
    font-size: 15px;
    line-height: 1.8;
}

.st-detail-lead {
    color: var(--st-heading);
    font-size: 18px !important;
    font-weight: 600;
}

.st-feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;
    margin: 27px 0 30px;
}

    .st-feature-list > div {
        display: flex;
        align-items: flex-start;
        gap: 9px;
        color: var(--st-heading);
        font-size: 14px;
        font-weight: 650;
    }

    .st-feature-list i {
        color: var(--st-primary);
        font-size: 18px;
    }

/* ==========================================
   PROCESS
========================================== */

.st-working-process {
    color: #d4e8f1;
    background: linear-gradient( 120deg, #102f40, #1d536d );
}

    .st-working-process .st-section-heading h2 {
        color: #ffffff;
    }

    .st-working-process .st-section-heading p {
        color: #cfe4ed;
    }

.st-process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

    .st-process-grid article {
        position: relative;
        min-height: 235px;
        padding: 27px 20px;
        overflow: hidden;
        text-align: center;
        background: rgba(255, 255, 255, 0.07);
        border: 1px solid rgba(255, 255, 255, 0.13);
        border-radius: 12px;
        transition: 0.3s ease;
    }

        .st-process-grid article:hover {
            background: rgba(255, 255, 255, 0.12);
            border-color: var(--st-primary);
            transform: translateY(-6px);
        }

        .st-process-grid article > span {
            position: absolute;
            top: 8px;
            right: 13px;
            color: rgba(255, 255, 255, 0.09);
            font-size: 37px;
            font-weight: 900;
        }

        .st-process-grid article > i {
            width: 55px;
            height: 55px;
            margin: 10px auto 23px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            background: var(--st-primary);
            border-radius: 50%;
            font-size: 22px;
        }

    .st-process-grid h3 {
        margin: 0 0 9px;
        color: #ffffff;
        font-size: 17px;
        font-weight: 800;
    }

    .st-process-grid p {
        margin: 0;
        color: #cfe4ed;
        font-size: 13px;
        line-height: 1.6;
    }

/* ==========================================
   CTA
========================================== */

.st-services-cta {
    padding: 95px 0;
    background: #ffffff;
}

.st-services-cta-box {
    padding: 48px 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: #d4e8f1;
    background: linear-gradient( 115deg, var(--st-navy), var(--st-navy-light) );
    border-radius: 17px;
    box-shadow: var(--st-shadow);
}

    .st-services-cta-box > div > span {
        color: #75c9ef;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 2px;
    }

    .st-services-cta-box h2 {
        margin: 7px 0;
        color: #ffffff;
        font-size: 34px;
        font-weight: 800;
    }

    .st-services-cta-box p {
        margin: 0;
    }

.st-cta-button {
    flex: 0 0 auto;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 1199.98px) {
    .st-process-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .st-service-image {
        height: 580px;
    }
}

@media (max-width: 991.98px) {
    .st-section {
        padding: 75px 0;
    }

    .st-services-hero {
        min-height: 540px;
    }

        .st-services-hero h1 {
            font-size: 47px;
        }

    .st-service-image {
        height: 480px;
    }

    .st-detail-content {
        padding: 10px 0;
    }

    .st-detail-number,
    .st-detail-alternate .st-detail-number {
        right: 20px;
        left: auto;
    }

    .st-services-cta-box {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .st-section {
        padding: 58px 0;
    }

    .st-section-heading {
        margin-bottom: 37px;
    }

        .st-section-heading h2 {
            font-size: 33px;
        }

    .st-services-hero {
        min-height: 500px;
    }

        .st-services-hero h1 {
            font-size: 38px;
        }

    .st-services-hero-content > p {
        font-size: 16px;
    }

    .st-detail-content h2 {
        font-size: 32px;
    }

    .st-service-image {
        height: 400px;
    }

    .st-feature-list {
        grid-template-columns: 1fr;
    }

    .st-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .st-services-cta {
        padding: 60px 0;
    }

    .st-services-cta-box {
        padding: 36px 28px;
    }

        .st-services-cta-box h2 {
            font-size: 28px;
        }
}

@media (max-width: 575.98px) {
    .st-services-hero-content {
        text-align: center;
    }

    .st-services-hero h1 {
        font-size: 32px;
    }

    .st-hero-actions {
        flex-direction: column;
    }

    .st-primary-button,
    .st-outline-button,
    .st-detail-button,
    .st-cta-button {
        width: 100%;
    }

    .st-service-breadcrumb {
        justify-content: center;
    }

    .st-service-card,
    .st-consultation-card {
        min-height: 325px;
        padding: 28px;
    }

    .st-service-image {
        height: 325px;
    }

    .st-detail-number,
    .st-detail-alternate .st-detail-number {
        right: 13px;
        bottom: 13px;
        width: 72px;
        height: 72px;
        border-width: 5px;
        font-size: 22px;
    }

    .st-process-grid {
        grid-template-columns: 1fr;
    }
}
