

:root {
    --ss-navy: #1e3567;
    --ss-dark: #14264a;
    --ss-yellow: #f4bf4f;
    --ss-yellow-dark: #e6ae35;
    --ss-text: #414a59;
    --ss-muted: #6d7685;
    --ss-line: #e5e8ed;
    --ss-white: #ffffff;
    --ss-background: #f7f8fa;
    --ss-shadow: 0 18px 45px rgba(24, 38, 70, 0.09);
}

* {
    box-sizing: border-box;
}

.single-service-section {
    width: 100%;
    padding: 42px 0 80px;
    background: var(--ss-background);
}

.single-service-container {
    width: min(1050px, calc(100% - 36px));
    margin: 0 auto;
}


.single-service-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 20px;
    color: var(--ss-muted);
    font-size: 14px;
}

.single-service-breadcrumb a {
    color: var(--ss-navy);
    font-weight: 700;
    text-decoration: none;
}

.single-service-breadcrumb a:hover {
    color: var(--ss-yellow-dark);
}


.single-service-card {
    overflow: hidden;
    border: 1px solid var(--ss-line);
    border-radius: 26px;
    background: var(--ss-white);
    box-shadow: var(--ss-shadow);
}


.single-service-banner {
    position: relative;
    width: 100%;
    height: clamp(260px, 40vw, 470px);
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            rgba(20, 38, 74, 0.96),
            rgba(30, 53, 103, 0.82)
        );
}

.single-service-banner-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit:fill;
    object-position: center;
}

.single-service-banner-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 38px;
    background:
        linear-gradient(
            180deg,
            rgba(10, 22, 49, 0.03) 20%,
            rgba(10, 22, 49, 0.30) 62%,
            rgba(10, 22, 49, 0.85) 100%
        );
}

.single-service-banner-title {
    max-width: 850px;
    margin: 0;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(31px, 5vw, 52px);
    line-height: 1.12;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.28);
    overflow-wrap: anywhere;
}

.single-service-banner.no-image {
    display: flex;
    align-items: center;
    min-height: 280px;
    height: auto;
    padding: 55px 40px;
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(244, 191, 79, 0.32),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #14264a,
            #1e3567
        );
}

.single-service-banner.no-image .single-service-banner-overlay {
    position: static;
    width: 100%;
    padding: 0;
    background: none;
}


.single-service-content {
    padding: 10px 0px 0px;
}

.single-service-description {
    color: var(--ss-text);
    font-size: 17px;
    line-height: 1.78;
    overflow-wrap: anywhere;
}

.single-service-description > :first-child {
    margin-top: 0;
}

.single-service-description > :last-child {
    margin-bottom: 0;
}

.single-service-description p {
    margin: 0 0 19px;
}

.single-service-description h2,
.single-service-description h3,
.single-service-description h4,
.single-service-description h5 {
    color: var(--ss-dark);
    line-height: 1.3;
}

.single-service-description h2 {
    margin: 38px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f3d58f;
    font-size: clamp(26px, 4vw, 32px);
}

.single-service-description h3 {
    margin: 30px 0 13px;
    font-size: clamp(22px, 3vw, 26px);
}

.single-service-description h4 {
    margin: 26px 0 12px;
    font-size: 21px;
}

.single-service-description h5 {
    margin: 24px 0 10px;
    font-size: 18px;
}

.single-service-description ul,
.single-service-description ol {
    margin: 0 0 22px;
    padding-left: 25px;
}

.single-service-description li {
    margin-bottom: 9px;
}

.single-service-description strong {
    color: var(--ss-dark);
}

.single-service-description a {
    color: #a86d00;
    font-weight: 700;
    text-decoration: underline;
}

.single-service-description blockquote {
    margin: 25px 0;
    padding: 19px 22px;
    border-left: 4px solid var(--ss-yellow);
    border-radius: 0 12px 12px 0;
    background: #fff9eb;
    color: var(--ss-dark);
}

.single-service-description img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 26px auto;
    border-radius: 15px;
}

.single-service-description iframe,
.single-service-description video {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 26px auto;
    border: 0;
    border-radius: 15px;
}

.single-service-description table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 25px 0;
    overflow-x: auto;
    border-collapse: collapse;
}

.single-service-description th,
.single-service-description td {
    min-width: 145px;
    padding: 12px 14px;
    border: 1px solid #dfe3e9;
    text-align: left;
    vertical-align: top;
}

.single-service-description th {
    background: var(--ss-dark);
    color: #ffffff;
}


.single-service-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    margin: 25px 0px 25px 40px;
    padding: 11px 22px;
    border-radius: 999px;
    background: var(--ss-yellow);
    color: var(--ss-dark);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}



.single-service-back:hover {
    background: var(--ss-yellow-dark);
    transform: translateY(-2px);
}


.single-service-message {
    padding: 50px 30px;
    border: 1px solid var(--ss-line);
    border-radius: 24px;
    background: var(--ss-white);
    box-shadow: var(--ss-shadow);
    text-align: center;
}

.single-service-message h1 {
    margin: 0 0 12px;
    color: var(--ss-dark);
    font-size: clamp(30px, 5vw, 44px);
    line-height: 1.2;
}

.single-service-message p {
    margin: 0;
    color: var(--ss-muted);
    font-size: 17px;
}


@media (max-width: 900px) {

    .single-service-section {
        padding-top: 32px;
    }

    .single-service-banner-overlay {
        padding: 30px;
    }

    .single-service-content {
        padding: 35px 32px 40px;
    }
}

@media (max-width: 650px) {

    .single-service-section {
        padding: 24px 0 55px;
    }

    .single-service-container {
        width: min(100% - 10px, 1050px);
    }

    .single-service-card,
    .single-service-message {
        border-radius: 18px;
    }

    .single-service-banner {
        height: 260px;
    }

    .single-service-banner-overlay {
        padding: 23px 20px;
    }

    .single-service-banner.no-image {
        min-height: 230px;
        padding: 35px 20px;
    }

    .single-service-banner-title {
        font-size: 30px;
    }

    .single-service-content {
        padding: 27px 20px 32px;
    }

    .single-service-description {
        font-size: 16px;
        line-height: 1.72;
    }

    .single-service-description h2 {
        margin-top: 31px;
        font-size: 25px;
    }

    .single-service-description h3 {
        font-size: 21px;
    }

    .single-service-back {
    display: flex;
    width: fit-content;
    justify-content: center;
    text-align: center;

    }


}

@media (max-width: 390px) {

    .single-service-banner {
        height: 230px;
    }

    .single-service-banner-title {
        font-size: 27px;
    }

    .single-service-content {
       padding: 20px 0 0 0;
    }
	
	.single-service-breadcrumb{
	margin: 0 0 20px 10px;
	}
}
