/* VNT service introduction page — shared across the public service brief routes. */

.service-intro {
    padding-block: clamp(64px, 8vw, 112px) clamp(72px, 9vw, 126px);
}

.service-intro__layout {
    --bs-gutter-x: clamp(32px, 5vw, 86px);
    align-items: flex-start !important;
}

.service-intro__media {
    align-self: flex-start !important;
}

.service-intro__image {
    aspect-ratio: 4 / 3;
    border-radius: 22px !important;
    background: var(--gotur-gray, #f3f8f6);
    box-shadow: 0 22px 50px rgba(19, 39, 66, .12) !important;
}

.service-intro__image img {
    width: 100%;
    height: 100%;
    max-height: none !important;
    object-fit: cover;
}

.service-intro__copy-column,
.service-intro__copy {
    min-width: 0;
}

.service-intro__copy {
    margin: 0 !important;
}

.service-intro__copy .sec-title {
    margin: 0 0 22px;
    padding: 0;
}

.service-intro__copy .sec-title__title {
    max-width: 620px;
    text-wrap: balance;
}

.service-rich-content {
    max-width: 680px;
    color: var(--gotur-text, #595959);
    font-size: 16px;
    line-height: 1.85;
    text-wrap: pretty;
    word-break: break-word;
}

.service-rich-content__lead {
    color: var(--gotur-black, #132742);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.75;
    margin-bottom: 18px;
}

.service-rich-content p {
    margin: 0 0 18px;
    line-height: 1.8;
}

.service-rich-content p:last-child {
    margin-bottom: 0;
}

/* ── Headings ────────────────────────────────────────────────── */
.service-rich-content h1,
.service-rich-content h2,
.service-rich-content h3,
.service-rich-content h4,
.service-rich-content h5,
.service-rich-content h6 {
    margin: 28px 0 12px;
    color: var(--gotur-black, #132742);
    font-weight: 750;
    line-height: 1.3;
    text-wrap: balance;
}

.service-rich-content h1 { font-size: clamp(24px, 2.6vw, 32px); }
.service-rich-content h2 { font-size: clamp(22px, 2.3vw, 28px); }
.service-rich-content h3 { font-size: clamp(19px, 2.0vw, 24px); }
.service-rich-content h4 { font-size: clamp(17px, 1.6vw, 20px); }
.service-rich-content h5 { font-size: clamp(15px, 1.4vw, 18px); }
.service-rich-content h6 { font-size: clamp(14px, 1.2vw, 16px); }

/* ── Inline Text Formatting (Bold, Italic, Underline, Strikethrough) */
.service-rich-content strong,
.service-rich-content b {
    font-weight: 750;
}

.service-rich-content em,
.service-rich-content i {
    font-style: italic !important;
}

.service-rich-content u {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.service-rich-content s,
.service-rich-content strike,
.service-rich-content del {
    text-decoration: line-through;
}

.service-rich-content sub {
    vertical-align: sub;
    font-size: smaller;
}

.service-rich-content sup {
    vertical-align: super;
    font-size: smaller;
}

/* ── Rich Unordered List: Bulleted Lists ─────────────────────── */
.service-rich-content ul {
    list-style-type: disc;
    padding: 0;
    padding-inline-start: 24px;
    margin: 18px 0 22px;
}

.service-rich-content ul ul {
    list-style-type: circle;
    margin: 8px 0;
    padding-inline-start: 20px;
}

.service-rich-content ul ul ul {
    list-style-type: square;
}

.service-rich-content ul li {
    list-style-type: disc;
}

.service-rich-content ul ul li {
    list-style-type: circle;
}

.service-rich-content ul ul ul li {
    list-style-type: square;
}

/* ── Rich Ordered List: Numbered Lists ───────────────────────── */
.service-rich-content ol {
    list-style-type: decimal;
    padding: 0;
    padding-inline-start: 24px;
    margin: 18px 0 22px;
}

.service-rich-content ol ol {
    list-style-type: lower-alpha;
    margin: 8px 0;
    padding-inline-start: 20px;
}

.service-rich-content ol ol ol {
    list-style-type: lower-roman;
}

.service-rich-content ol li {
    list-style-type: decimal;
}

.service-rich-content ol ol li {
    list-style-type: lower-alpha;
}

.service-rich-content ol ol ol li {
    list-style-type: lower-roman;
}

/* ── Quill Specific List Markers, UI & Indentations ──────────── */
.service-rich-content li[data-list="bullet"],
.service-rich-content li.ql-list-bullet {
    list-style-type: disc !important;
}

.service-rich-content li[data-list="bullet"].ql-indent-1,
.service-rich-content li.ql-list-bullet.ql-indent-1 {
    list-style-type: circle !important;
}

.service-rich-content li[data-list="bullet"].ql-indent-2,
.service-rich-content li.ql-list-bullet.ql-indent-2,
.service-rich-content li[data-list="bullet"].ql-indent-3,
.service-rich-content li.ql-list-bullet.ql-indent-3 {
    list-style-type: square !important;
}

.service-rich-content li[data-list="ordered"],
.service-rich-content li.ql-list-ordered {
    list-style-type: decimal !important;
}

.service-rich-content li[data-list="ordered"].ql-indent-1,
.service-rich-content li.ql-list-ordered.ql-indent-1 {
    list-style-type: lower-alpha !important;
}

.service-rich-content li[data-list="ordered"].ql-indent-2,
.service-rich-content li.ql-list-ordered.ql-indent-2 {
    list-style-type: lower-roman !important;
}

.service-rich-content .ql-ui {
    display: none !important;
}

.service-rich-content .ql-indent-1 {
    padding-inline-start: 24px;
}

.service-rich-content .ql-indent-2 {
    padding-inline-start: 48px;
}

.service-rich-content .ql-indent-3 {
    padding-inline-start: 72px;
}

.service-rich-content .ql-indent-4 {
    padding-inline-start: 96px;
}

.service-rich-content ul li,
.service-rich-content ol li {
    margin-bottom: 8px;
    line-height: 1.7;
    font-size: 15px;
}

.service-rich-content ul li:last-child,
.service-rich-content ol li:last-child {
    margin-bottom: 0;
}

/* ── Links & Blockquote ──────────────────────────────────────── */
.service-rich-content a {
    color: var(--gotur-base, #63ab45);
    font-weight: 650;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.service-rich-content a:hover {
    color: var(--gotur-primary, #f7921e);
}

.service-rich-content blockquote {
    padding: 16px 20px;
    border-inline-start: 4px solid var(--gotur-primary, #f7921e);
    border-radius: 0 12px 12px 0;
    background: var(--gotur-gray, #f3f8f6);
    color: var(--gotur-black, #132742);
    font-size: 16px;
    font-style: italic;
    margin: 20px 0;
}

html[dir="rtl"] .service-rich-content blockquote,
.locale-ar .service-rich-content blockquote,
.vnt-arabic-page .service-rich-content blockquote {
    border-radius: 12px 0 0 12px;
}

/* ── Quill Alignments, Directions, Sizes & Indents ───────────── */
.service-rich-content .ql-align-center {
    text-align: center;
}

.service-rich-content .ql-align-right {
    text-align: right;
}

.service-rich-content .ql-align-left {
    text-align: left;
}

.service-rich-content .ql-align-justify {
    text-align: justify;
}

.service-rich-content .ql-direction-rtl {
    direction: rtl;
    text-align: inherit;
}

.service-rich-content .ql-size-small {
    font-size: 0.75em;
}

.service-rich-content .ql-size-large {
    font-size: 1.5em;
}

.service-rich-content .ql-size-huge {
    font-size: 2.25em;
}

.service-rich-content .ql-indent-1 { padding-inline-start: 3em; }
.service-rich-content .ql-indent-2 { padding-inline-start: 6em; }
.service-rich-content .ql-indent-3 { padding-inline-start: 9em; }
.service-rich-content .ql-indent-4 { padding-inline-start: 12em; }
.service-rich-content .ql-indent-5 { padding-inline-start: 15em; }
.service-rich-content .ql-indent-6 { padding-inline-start: 18em; }
.service-rich-content .ql-indent-7 { padding-inline-start: 21em; }
.service-rich-content .ql-indent-8 { padding-inline-start: 24em; }

/* ── Collapsible Long Content & Read More Button ─────────────── */
.service-rich-content-wrapper {
    position: relative;
    margin-bottom: 24px;
}

.service-rich-content.js-collapsible-content {
    position: relative;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.service-rich-content.is-collapsed {
    max-height: 400px;
}

.service-rich-content.is-collapsed::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
}

.service-rich-content.is-expanded {
    max-height: none !important;
}

.service-rich-content.is-expanded::after {
    display: none;
}

.service-read-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    background: transparent;
    border: none;
    padding: 6px 12px;
    color: var(--gotur-base, #63ab45);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.25s ease, transform 0.25s ease;
}

.service-read-more-btn:hover {
    color: var(--gotur-primary, #f7921e);
    transform: translateY(-1px);
}

.service-read-more-btn .read-more-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
    display: inline-block;
    margin: 0 !important;
}

.service-read-more-btn[aria-expanded="true"] .read-more-icon {
    transform: rotate(180deg);
}

/* ── Service Brief Dedicated CTA Button(s) ──────────────────── */
.service-intro__cta-wrap {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.service-brief-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: var(--gotur-base, #63ab45);
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 20px rgba(99, 171, 69, 0.28);
    line-height: 1.2;
    border: none;
    outline: none;
    white-space: nowrap;
}

.service-brief-cta-btn:hover {
    background-color: var(--gotur-primary, #f7921e);
    box-shadow: 0 10px 28px rgba(247, 146, 30, 0.38);
    color: #ffffff !important;
    transform: translateY(-2px);
}

.service-brief-cta-btn__text {
    display: inline-block;
}

.service-brief-cta-btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.service-brief-cta-btn:hover .service-brief-cta-btn__icon {
    transform: translateX(4px);
}

html[dir="rtl"] .service-brief-cta-btn:hover .service-brief-cta-btn__icon,
.locale-ar .service-brief-cta-btn:hover .service-brief-cta-btn__icon,
.vnt-arabic-page .service-brief-cta-btn:hover .service-brief-cta-btn__icon {
    transform: translateX(-4px);
}

@media (max-width: 575px) {
    .service-intro__cta-wrap {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .service-brief-cta-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* ── Service Brief Static Gallery ────────────────────────────── */
.service-gallery {
    padding-top: 0;
    overflow: hidden;
}

.service-gallery__heading {
    max-width: 620px;
    margin: 0 0 28px;
}

.service-gallery__heading .sec-title__tagline {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--gotur-base, #63ab45);
    font-size: 15px;
    font-weight: 700;
}

.service-gallery__title {
    margin: 0;
    color: var(--gotur-black, #132742);
    font-size: clamp(25px, 3vw, 38px);
    font-weight: 750;
    line-height: 1.2;
    text-wrap: balance;
}

.service-gallery__grid {
    margin-top: 10px;
}

.service-gallery__item {
    aspect-ratio: 16 / 10;
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    background: var(--gotur-gray, #f3f8f6);
    box-shadow: 0 12px 28px rgba(19, 39, 66, .09);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-gallery__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 350ms ease-out;
}

.service-gallery__item:hover {
    box-shadow: 0 16px 36px rgba(19, 39, 66, .14);
}

.service-gallery__item:hover img {
    transform: scale(1.04);
}

.service-benefits {
    background: var(--gotur-gray, #f3f8f6);
}

.service-benefits__card {
    min-height: 254px;
    padding: 30px 24px 26px !important;
    border: 1px solid rgba(19, 39, 66, .08);
    border-radius: 18px !important;
    background: var(--gotur-white, #fff) !important;
    box-shadow: 0 10px 30px rgba(19, 39, 66, .07) !important;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease !important;
}

.service-benefits__card:hover {
    border-color: rgba(99, 171, 69, .25);
    box-shadow: 0 17px 36px rgba(19, 39, 66, .11) !important;
    transform: translateY(-4px);
}

.service-benefits__icon {
    width: 68px;
    height: 68px;
    margin-bottom: 18px;
    border: 5px solid rgba(99, 171, 69, .1);
    background: var(--gotur-base, #63ab45) !important;
    font-size: 27px;
}

.service-benefits__title {
    margin-bottom: 9px;
    color: var(--gotur-black, #132742);
    font-size: 18px;
    line-height: 1.35;
    text-wrap: balance;
}

.service-benefits__text {
    color: var(--gotur-text, #697584);
    font-size: 14px;
    line-height: 1.7;
}

.service-process {
    background: var(--gotur-white, #fff);
}

.service-process .sec-title { margin-bottom: 42px; }
.service-process .how-to-work__icon { width: 86px; height: 86px; margin-bottom: 20px; font-size: 36px; }
.service-process .how-to-work__icon__count { width: 30px; height: 30px; }
.service-process .how-to-work__icon__count::after { content: counter(workPlanningSerialNumber, decimal-leading-zero); }
.service-process .how-to-work__title { margin-bottom: 11px; font-size: 20px; line-height: 1.35; text-wrap: balance; }
.service-process .how-to-work__text { max-width: 280px; color: var(--gotur-text, #697584); font-size: 14px; line-height: 1.7; }

.service-cta__content { padding-block: clamp(60px, 8vw, 88px); }
.service-cta__title { text-wrap: balance; }
.service-cta__text { text-wrap: pretty; }

html[dir="rtl"] .service-intro__copy,
html[dir="rtl"] .service-rich-content,
.locale-ar .service-intro__copy,
.locale-ar .service-rich-content {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .service-gallery__heading,
.locale-ar .service-gallery__heading {
    direction: rtl;
    text-align: right;
}

@media (max-width: 991.98px) {
    .service-intro { padding-block: 62px 80px; }
    .service-intro__copy-column { margin-top: 10px; }
}

@media (max-width: 767.98px) {
    .service-intro { padding-block: 50px 68px; }
    .service-intro__layout { --bs-gutter-x: 24px; }
    .service-intro__image { aspect-ratio: 5 / 4; border-radius: 18px !important; }
    .service-intro__copy .sec-title { margin-bottom: 18px; }
    .service-rich-content { font-size: 15px; line-height: 1.8; }
    .service-rich-content__lead { font-size: 17px; }
    .service-rich-content ul {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .service-gallery__heading { margin-bottom: 20px; }
    .service-gallery__carousel .owl-stage-outer { padding-bottom: 18px; }
    .service-process .sec-title { margin-bottom: 30px; }
    .service-process .how-to-work__icon { width: 78px; height: 78px; }
}

@media (max-width: 575.98px) {
    .service-intro { padding-block: 38px 52px; }
    .service-intro__image { border-radius: 14px !important; }
    .service-rich-content ul li,
    .service-rich-content ol li { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .service-intro__image img,
    .service-gallery__item img,
    .service-benefits__card { transition: none !important; }
}
