/* ============================================================
   SERVICE DETAIL PAGE  —  service-detail.css
   All classes are prefixed .sd-* to avoid any collisions
   ============================================================ */

/* ── Design tokens ── */
:root {
    --sd-cyan: #009AB5;
    --sd-cyan-mid: #3DBFEA;
    --sd-blue-dark: #206C86;
    --sd-card-bg: #DCF3FF;
    --sd-faq-bg: #FFF5D5;
    --sd-approach-bg: #FFF5D5;
    --sd-stats-bg: #009AB5;
    --sd-text: #222222;
    --sd-gray: #555555;
    --sd-border: #D1E5EB;
    --sd-white: #ffffff;
}

/* ── Shared container ── */
.sd-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Shared section title ── */
.sd-section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--sd-text);
    margin: 0 0 24px;
    line-height: 1.25;
}

.sd-section-title--center {
    text-align: center;
}

.sd-text-cyan {
    color: var(--sd-cyan) !important;
}

/* ── Shared buttons ── */
.sd-btn {
    display: inline-block;
    padding: 14px 50px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 2px solid transparent;
}

.sd-btn--cyan {
    background: var(--sd-cyan);
    color: var(--sd-white);
    border-color: var(--sd-cyan);
}

.sd-btn--cyan:hover {
    background: #007a90;
    border-color: #007a90;
    color: var(--sd-white);
}

.sd-btn--white {
    background: var(--sd-cyan);
    color: var(--sd-white);
    /* border-color: var(--sd-white); */
}

.sd-btn--white:hover {
    background: transparent;
    color: var(--sd-white);
    border-color: var(--sd-white);
}


/* ============================================================
   1. HERO SECTION
   ============================================================ */
.sd-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0 120px;
    overflow: hidden;
    min-height: 460px;
    display: flex;
    align-items: center;
}

/* .sd-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 0;
} */

.sd-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.sd-hero__title {
    font-size: 52px;
    font-weight: 800;
    color: var(--sd-white);
    margin: 0 0 18px;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
}

.cta-eyebrow {
    position: relative;
    z-index: 1;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #f8cc00 !important;
    margin-bottom: 12px;
}

.sd-hero__tagline {
    font-size: 20px;
    font-weight: 500;
    color: var(--sd-white);
    margin: 0 0 32px;
    text-shadow: 2px 15px 15px rgba(0, 0, 0, 0.95), 0 0 20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 0, 0, 0.6), 2px 2px 3px rgba(0, 0, 0, 1);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

.sd-hero__btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}


/* ============================================================
   2. INTRO / ABOUT SECTION  (image left + text right)
   ============================================================ */
.sd-intro {
    background: var(--sd-white);
    padding: 60px 0;
}

.sd-intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* ── Left: image column ── */
.sd-intro__image-col {
    position: relative;
}

.sd-intro__image-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
}

.sd-intro__main-image {
    width: 100%;
    height: 460px;
    /* object-fit: cover; */
    display: block;
    border-radius: 4px;
}

/* Circular overlay image (top-right corner) */
.sd-intro__overlay-img {
    position: absolute;
    top: 30px;
    right: -30px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--sd-white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    z-index: 2;
}

.sd-intro__overlay-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Experience badge (rotated on right edge of image) */
.sd-intro__exp-badge {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: center center;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    z-index: 3;
}

/* CMS stats inside the badge use these rules */
.sd-intro__exp-badge strong,
.sd-intro__exp-badge b,
.sd-intro__exp-badge .stat-num {
    font-size: 52px;
    font-weight: 800;
    color: var(--sd-cyan);
    line-height: 1;
}

.sd-intro__exp-badge span,
.sd-intro__exp-badge p,
.sd-intro__exp-badge .stat-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--sd-text);
}

/* ── Right: text column ── */
.sd-intro__text-col {
    padding-left: 12px;
}

.sd-intro__heading {
    font-size: 40px;
    font-weight: 800;
    color: var(--sd-text);
    line-height: 1.2;
    margin: 0 0 20px;
}

.sd-intro__heading .sd-text-cyan,
.sd-intro__heading span {
    color: var(--sd-cyan);
}

.sd-intro__body {
    font-size: 16px;
    line-height: 1.85;
    color: var(--sd-text);
}

.sd-intro__body h2 {
    font-size: 30px;
    font-weight: 800;
}

.sd-intro__body p {
    margin: 0 0 16px;
}

.sd-intro__body p:last-child {
    margin-bottom: 0;
}


/* ============================================================
   3. STATS BANNER
   ============================================================ */
.sd-stats {
    background: var(--sd-stats-bg);
    padding: 30px 0;
}

.sd-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.sd-stats__box {
    text-align: center;
    color: var(--sd-white);
    border-right: 1px solid rgba(255, 255, 255, 0.35);
    padding: 10px 16px;
}

.sd-stats__box:last-child {
    border-right: none;
}

.sd-stats h3 {
    font-size: 50px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    text-align: center;
    padding: 10px 20px;
    margin: 0px !important;
}

/* CMS drops whatever HTML it wants — these rules style it */
/* .sd-stats__box strong,
.sd-stats__box b,
.sd-stats__box .stat-num {
    display: block;
    font-size: 50px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 6px;
    color: var(--sd-white);
} */

.sd-stats__box span,
.sd-stats__box p,
.sd-stats__box .stat-text {
    font-size: 17px;
    color: #fff;
    margin-top: 4px;
    text-align: center;
}


/* ============================================================
   4. APPROACH SECTION  (cream background)
   ============================================================ */
.sd-approach {
    background: var(--sd-approach-bg);
    padding: 60px 0;
}

.sd-approach .sd-section-title {
    margin-bottom: 28px;
}

.sd-approach__body {
    font-size: 16px;
    line-height: 1.85;
    color: var(--sd-text);
    text-align: justify;
}

.sd-approach__body p {
    margin: 0 0 18px;
}

.sd-approach__body p:last-child {
    margin-bottom: 0;
}

.sd-approach__body h2,
.sd-approach__body h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--sd-text);
    margin: 0 0 16px;
    line-height: 1.25;
}

.sd-approach__body h3 {
    font-size: 26px;
}

/* ── Section heading inside approach from CMS ── */
.sd-approach__body h2 span,
.sd-approach__body h2 .cyan {
    color: var(--sd-cyan);
}


/* ============================================================
   5. PROCESS CARDS
   ============================================================ */
.sd-process {
    padding: 48px 0;
    background: var(--sd-white);
}

.sd-process__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.sd-process-card {
    background: var(--sd-card-bg);
    display: flex;
    flex-direction: column;
    border-bottom: 6px solid var(--sd-cyan);
    overflow: hidden;
}

.sd-process-card__top {
    height: 8px;
    width: 100%;
    background: var(--sd-cyan);
}

.sd-process-card__body {
    padding: 24px 20px 20px;
    flex: 1;
}

.sd-step-num {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--sd-cyan);
    line-height: 1;
    margin-bottom: 8px;
}

.sd-process-card__body p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--sd-gray);
    margin: 0 0 10px;
}

.sd-process-card__body h3,
.sd-process-card__body h4 {
    font-size: 17px;
    font-weight: 800;
    color: var(--sd-text);
    margin: 0 0 8px;
}


/* ============================================================
   6. BEFORE / AFTER PROJECTS
   ============================================================ */
.sd-projects {
    padding: 48px 0;
    background: #E4F6FF;
}

.sd-projects__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 24px;
}

.sd-projects__col {
    position: relative;
}

.sd-projects__img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.sd-project-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--sd-cyan);
    color: var(--sd-white);
    padding: 5px 16px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}


/* ============================================================
   7. DISCOUNT / CTA BANNER
   ============================================================ */
.sd-discount {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 24px;
    text-align: center;
    color: #222222;
    margin: 32px 40px;
    border-radius: 28px;
    overflow: hidden;
}

.sd-discount h2 {
    position: relative !important;
    z-index: 1 !important;
    font-size: 38px !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin: 0 0 16px !important;
    line-height: 1.2 !important;
    font-family: 'Open Sans Condensed', sans-serif !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .6) !important;
    text-transform: capitalize !important;
}

.sd-discount P {
    font-size: 18px !important;
    margin-bottom: 22px !important;
    color: #fff;
    text-shadow: 2px 15px 15px rgba(0, 0, 0, 0.95), 0 0 20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 0, 0, 0.6), 2px 2px 3px rgba(0, 0, 0, 1);
}


.sd-discount__inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.sd-discount__badge {
    display: inline-block;
    background: var(--sd-cyan);
    color: var(--sd-white);
    padding: 7px 22px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.sd-discount__title {
    font-size: clamp(24px, 4vw, 42px);
    font-weight: 800;
    color: var(--sd-white);
    line-height: 1.2;
    margin: 0 0 16px;
    word-break: break-word;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.sd-discount__desc {
    font-size: 18px;
    line-height: 1.65;
    color: #eeeeee;
    margin: 0 0 28px;
}

.sd-discount__btn {
    display: inline-block;
    background: var(--sd-cyan);
    color: var(--sd-white);
    padding: 13px 38px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.2s ease;
}

.sd-discount__btn:hover {
    background: #007a90;
    transform: translateY(-2px);
    color: var(--sd-white);
}


/* ============================================================
   8. WHY CHOOSE SECTION  (white background)
   ============================================================ */
.sd-why-choose {
    background: var(--sd-white);
    padding: 30px 0;
}

.sd-why-choose__body {
    font-size: 16px;
    line-height: 1.85;
    color: var(--sd-text);
}

.sd-why-choose__body p {
    margin: 0 0 18px;
}

.sd-why-choose__body p:last-child {
    margin-bottom: 0;
}

.sd-why-choose__body h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--sd-text);
    margin: 0 0 20px;
    line-height: 1.25;
    text-transform: capitalize !important;
}

.sd-why-choose__body h2 span,
.sd-why-choose__body h2 .cyan {
    color: var(--sd-cyan);
}

.sd-why-choose__body h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--sd-text);
    margin: 24px 0 12px;
}

.sd-why-choose__body a {
    color: var(--sd-cyan);
    text-decoration: underline;
}


/* ============================================================
   9. FAQ SECTION  (full-width accordion, cream background)
   ============================================================ */
.sd-faq {
    background: var(--sd-faq-bg);
    padding: 60px 0 70px;
}

.sd-faq__title {
    font-size: 50px;
    font-weight: 800;
    color: var(--sd-text);
    margin: 0 0 40px;
    line-height: 1.1;
}

/* Accordion */
.sd-faq__accordion {
    display: flex;
    flex-direction: column;
    max-width: 900px;
}

.sd-faq__item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.sd-faq__item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.sd-faq__item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.sd-faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--sd-text);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s ease;
    line-height: 1.4;
}

.sd-faq__question:hover {
    color: var(--sd-cyan);
}

.sd-faq__num {
    color: var(--sd-cyan);
    font-weight: 700;
    margin-right: 4px;
}

/* Toggle button */
.sd-faq__icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background: var(--sd-cyan);
    color: var(--sd-white);
    border: 2px solid var(--sd-cyan);
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease;
}

.sd-faq__item.is-open .sd-faq__icon {
    background: var(--sd-white);
    color: var(--sd-cyan);
}

/* Answer panel */
.sd-faq__answer {
    padding: 0 0 20px 24px;
}

.sd-faq__answer[hidden] {
    display: none;
}

.sd-faq__answer p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--sd-gray);
    margin: 0;
    background: var(--sd-white);
    border: 1px solid var(--sd-cyan);
    padding: 14px 18px;
    border-radius: 2px;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {

    /* Intro */
    .sd-intro__overlay-img {
        right: -10px;
        width: 130px;
        height: 130px;
    }

    .sd-intro__exp-badge {
        right: -30px;
    }

    /* Process cards */
    .sd-process__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Stats */
    .sd-stats__grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 28px;
    }

    .sd-stats__box:nth-child(2) {
        border-right: none;
    }

    .sd-stats__box {
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        padding-bottom: 20px;
    }

    .sd-stats__box:nth-child(3),
    .sd-stats__box:nth-child(4) {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* Mobile (≤ 767px) */
@media (max-width: 767px) {

    /* Hero */
    .sd-hero {
        padding: 70px 0 80px;
        min-height: 380px;
    }

    .sd-hero__title {
        font-size: 32px;
    }

    .sd-hero__tagline {
        font-size: 16px;
    }

    /* Intro */
    .sd-intro {
        padding: 40px 0;
    }

    .sd-intro__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sd-intro__overlay-img {
        display: none;
    }

    .sd-intro__exp-badge {
        display: none;
    }

    .sd-intro__main-image {
        height: 280px;
    }

    .sd-intro__heading {
        font-size: 28px;
    }

    .sd-intro__text-col {
        padding-left: 0;
    }

    /* Stats */
    .sd-stats__grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 20px;
    }

    .sd-stats__box:nth-child(2) {
        border-right: none;
    }

    .sd-stats__box {
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        padding-bottom: 16px;
    }

    .sd-stats__box:nth-child(3),
    .sd-stats__box:nth-child(4) {
        border-bottom: none;
    }

    .sd-stats__box strong,
    .sd-stats__box b,
    .sd-stats__box .stat-num {
        font-size: 36px;
    }

    /* Approach */
    .sd-approach {
        padding: 40px 0;
    }

    .sd-approach__body {
        text-align: left;
    }

    /* Process cards */
    .sd-process__grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    /* Before/after */
    .sd-projects__grid {
        grid-template-columns: 1fr;
    }

    .sd-projects__img {
        height: 260px;
    }

    /* Discount */
    .sd-discount {
        margin: 16px;
        padding: 50px 20px;
    }

    .sd-discount__title {
        font-size: clamp(20px, 6vw, 28px);
    }

    .sd-discount__desc {
        font-size: 15px;
    }

    /* Why choose */
    .sd-why-choose {
        padding: 40px 0;
    }

    .sd-why-choose__body h2 {
        font-size: 26px;
    }

    /* FAQ */
    .sd-faq__title {
        font-size: 34px;
    }

    .sd-faq__question {
        font-size: 16px;
    }

    .sd-faq__accordion {
        max-width: 100%;
    }
}

/* Extra small (≤ 480px) */
@media (max-width: 480px) {
    .sd-process__grid {
        grid-template-columns: 1fr;
    }

    .sd-stats__grid {
        grid-template-columns: 1fr;
    }

    .sd-stats__box {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        padding-bottom: 20px;
    }

    .sd-stats__box:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .sd-hero__title {
        font-size: 26px;
    }

    .sd-faq__title {
        font-size: 28px;
    }
}

/* ============================================================
   ADDITIONAL SERVICE CARDS  (stacked list style)
   ============================================================ */
.sd-service-cards {
    background: var(--sd-white);
    padding: 18px 0;
}

.sd-service-cards__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sd-service-card {
    background: var(--sd-white);
    border: 1px solid #e0eef4;
    border-radius: 8px;
    padding: 28px 32px;
    box-shadow: 0 2px 8px rgba(0, 154, 181, 0.06);
    transition: box-shadow 0.2s ease;
}

.sd-service-card:hover {
    box-shadow: 0 4px 18px rgba(0, 154, 181, 0.13);
}

/* Title inside each card (h2 / h3 from CMS) */
.sd-service-card h2,
.sd-service-card h3,
.sd-service-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--sd-cyan);
    margin: 0 0 10px;
    line-height: 1.3;
}

/* Body text */
.sd-service-card p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--sd-gray);
    margin: 0;
}

/* Responsive */
@media (max-width: 767px) {
    .sd-service-cards {
        padding: 32px 0;
    }

    .sd-service-card {
        padding: 20px 18px;
    }

    .sd-service-card h2,
    .sd-service-card h3,
    .sd-service-card h4 {
        font-size: 17px;
    }
}


/* ============================================================
   PERKS PILLS  (miscellaneous-services page only)
   ============================================================ */
.sd-perks {
    background: var(--sd-white);
    padding: 40px 0;
    text-align: center;
}

.sd-perks__heading {
    font-size: 22px;
    font-weight: 600;
    color: var(--sd-text);
    margin: 0 0 20px;
}

.sd-perks__pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.sd-perks__pill {
    background: var(--sd-cyan);
    color: var(--sd-white);
    font-size: 15px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .sd-perks__pills {
        gap: 10px;
    }

    .sd-perks__pill {
        font-size: 14px;
        padding: 10px 20px;
    }
}