
/* =============================================
   COMMON
============================================= */
.sd-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* =============================================
   SECTION 1: HERO (Same as other pages)
============================================= */
.sd-hero {
    height: 300px;
   background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.35);
    background-blend-mode: multiply;
  padding: 127px 20px 222px;
    text-align: center;
}

/* ---- Responsive (same as offer/other pages) ---- */
/* ===== Service Detail hero responsive heights ===== */
/* @media (max-width: 1024px){
    .sd-hero{
        height: 320px;
        min-height: 320px;
    }
}
@media (max-width: 820px){
    .sd-hero{
        height: 280px;
        min-height: 280px;
    }
}
@media (max-width: 786px){
    .sd-hero{
        height: 240px;
        min-height: 240px;
    }
}
@media (max-width: 500px){
    .sd-hero{
        height: 160px;
        min-height: 160px;
    }
} */




/* ===== SECTION 1: Hero ===== */

.sd-hero h1 {
    margin: 0 0 18px;
    font-size: 44px;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 3px 8px rgba(0, 0, 0, 0.45);
}

@media (max-width: 320px) {
    .sd-hero h1 {
        font-size: 24px;
        overflow-wrap: anywhere;
    }

    .sd-hero ul,
    .sd-hero ul li,
    .sd-hero ul li a,
    .sd-hero ul li span {
        font-size: 7px !important;
    }
}

/* Breadcrumb */
.sd-hero ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sd-hero ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.sd-hero ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sd-hero ul li a:hover {
    color: var(--secondary);
}

/* Separator › */
.sd-hero ul li span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}







/* ===== SECTION 2: Welcome + Steps ===== */
.sd-welcome {
    max-width: 1200px;
    margin: 0 auto;
    padding: 45px 27px;
}

.sd-welcome h2 {
    margin: 0 0 8px;
    font-size: 35px;
    font-weight: 700;
    color: #000;
}

/* Body text - BLACK (ContentOne ka p) */
.sd-welcome > div:first-child > p {
    margin: 0 0 50px;
    font-size: 18px;
    line-height: 1.9;
    color: #000;
}

/* Tagline - primary, centered.
   Editor may save <small>, <p><span>, or a plain <p>. */
.sd-welcome > div:last-child > small,
.sd-welcome > div:last-child p small,
.sd-welcome > div:last-child > p:first-of-type {
    display: block;
    margin-bottom: 10px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
}

.sd-welcome > div:last-child > p:first-of-type:has(> span:only-child) {
    margin-top: 0;
    padding: 0;
    line-height: 1.4;
}

.sd-welcome > div:last-child > p:first-of-type:has(> span:only-child) span {
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}

/* Section heading. First service uses h3; later services use h2. */
.sd-welcome > div:last-child > h2,
.sd-welcome > div:last-child > h3 {
    margin: 0 0 60px;
    text-align: center;
    font-size: 35px;
    font-weight: 700;
    color: #000;
}

/* Steps grid + FULL dotted line */
.sd-welcome ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    background: repeating-linear-gradient(90deg, var(--primary) 0 4px, transparent 4px 10px) no-repeat 50% 39px / calc(75% - 78px) 2px;
}

.sd-welcome ul li {
    text-align: center;
}

/* Number circle — direct child span OR span inside editor-wrapped <p> */
.sd-welcome ul li > span,
.sd-welcome ul li > p:first-child span {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: var(--secondary);
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

/* Neutralize editor <p> wrapper around step number only */
.sd-welcome ul li > p:first-child:has(> span:only-child) {
    margin: 0 0 0;
    padding: 0;
}

/* Step titles. First service uses h4; later services use h3. */
.sd-welcome ul li h3,
.sd-welcome h4 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    color: #000;
}

.sd-welcome ul li p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #000;
}

/* ===== Responsive: 1024 ===== */
@media (max-width: 1024px) {
    .sd-welcome {
        padding: 55px max(20px, calc((100% - 1160px) / 2));
    }

    .sd-welcome > div > h2,
    .sd-welcome > div:last-child > h3 {
        font-size: 26px;
    }

    .sd-welcome ul {
        gap: 25px;
        background-position: 50% 34px;
        background-size: calc(75% - 68px) 2px;
    }

    .sd-welcome ul li > span,
    .sd-welcome ul li > p:first-child span {
        width: 68px;
        height: 68px;
        font-size: 24px;
    }
}

/* ===== Responsive: 768 ===== */
@media (max-width: 767.98px) {
    .sd-welcome {
        padding: 45px 20px;
    }

    .sd-welcome > div:first-child > p {
        margin-bottom: 35px;
    }

    .sd-welcome > div:last-child > h2,
    .sd-welcome > div:last-child > h3 {
        margin-bottom: 40px;
    }

    /* 2 columns, dotted line OFF */
    .sd-welcome ul {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px 20px;
        background: none;
    }
}

/* ===== Responsive: 520 ===== */
@media (max-width: 520px) {
    .sd-welcome > div > h2,
    .sd-welcome > div:last-child > h3 {
        font-size: 21px;
    }

    .sd-welcome ul {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .sd-welcome ul li > span,
    .sd-welcome ul li > p:first-child span {
        width: 62px;
        height: 62px;
        font-size: 20px;
    }
}








/* ===== SECTION 3: CTA Band ===== */
/* Section - corner to corner (max-width hataya) */
.sd-cta {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: multiply;
    padding: 45px 0;
}

/* Content - 1200px centered (site container pattern) */
.sd-cta .container-1200 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
}

.sd-cta h2,
.sd-cta h3 {
    margin: 0;
    font-size: 35px !important;
    font-weight: 700;
    color: #fff;
}

.sd-cta a {
    display: inline-block;
    background: var(--secondary);
    color: #fff;
    padding: 13px 32px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.3s ease, transform 0.3s ease;
}

.sd-cta a:hover {
    background: white;
    color: #000;
    border: 2px solid var(--primary);
    transform: translateY(-2px);
}




/* ===== SECTION 3: CTA Band ===== */
.sd-cta {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: multiply;
    padding: 45px 0;
}

.sd-cta .container-1200 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
}

.sd-cta h2,
.sd-cta h3 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
}

.sd-cta a {
    display: inline-block;
    background: var(--secondary);
     border: 2px solid var(--secondary);
    color: #fff;
    padding: 13px 32px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.3s ease, transform 0.3s ease;
}

.sd-cta a:hover {
    background: white;
    color: #000;
    border: 2px solid var(--primary);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 767.98px) {
    .sd-cta {
        padding: 35px 0;
    }

    .sd-cta .container-1200 {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .sd-cta h2,
.sd-cta h3 {
        font-size: 22px;
    }
}


/* ===== SECTION 4: Method - 2 column grid ===== */
.sd-method {
    max-width: 1200px;
    margin: 0 auto;
    padding: 75px 27px 0px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px 50px;
    align-items: stretch;
}

/* ----- Common Label (dono spans) -----
   CMS editors often output <p><span>Label</span></p> instead of bare <span>. */
.sd-method > span,
.sd-method > p:has(> span:only-child) {
    grid-column: 1 / -1;
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
}

/* Full margin/line-height so body copy rule (.sd-method > p) doesn't leak into labels */
.sd-method > p:has(> span:only-child) {
    margin: 0 0 10px;
    line-height: 1.25;
}

.sd-method > p:has(> span:only-child) span {
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    color: inherit;
}

/* Second label — Part 2 ki top spacing (after <ul>) */
.sd-method > span:last-of-type,
.sd-method > ul + span,
.sd-method > ul + p:has(> span:only-child) {
    margin-top: 40px;
    margin-bottom: 10px;
}

/* ----- Common Heading (dono h2) ----- */
.sd-method > h2 {
    grid-column: 1 / -1;
    margin: 0 0 5px;
    font-size: 35px;
    font-weight: 700;
    color: #000;
    line-height: 1.3;
        max-width: 600px;
}

/* ----- Part 1: Image (Left) ----- */
.sd-method > img {
    grid-column: 1;
    align-self: stretch;
    width: 100%;
    object-fit: cover;
    display: block;
    border: 2px solid var(--secondary);
    border-radius: 12px;
}

/* ----- Part 1: Feature cards (Right) ----- */
.sd-method > ul {
    grid-column: 2;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
}

/* Card box — grid: circle left, text right */
.sd-method ul li {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    background: #fff;
    border-radius: 10px;
    padding: 16px 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sd-method ul li:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

/* ===== Circle span (icon) — or <p><span><i> from rich text ===== */
.sd-method ul li > span,
.sd-method ul li > p:first-child:has(> span) {
    grid-column: 1;
    grid-row: 1 / 3;              /* title + text dono ke sath center */
    align-self: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--secondary);
    color: #fff;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sd-method ul li > p:first-child:has(> span) {
    margin: 0;
    padding: 0;
}

.sd-method ul li > p:first-child span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: inherit;
    color: inherit;
    font-size: inherit;
}

.sd-method ul li > p:first-child span i {
    line-height: 1;
}

.sd-method ul h4 {
    grid-column: 2;
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
    color: #000;
}

.sd-method ul li p {
    grid-column: 2;
    margin: 0;
    font-size: 14px;
    color: #000;
}

/* ----- Part 2: Paragraph + Button ----- (exclude single-span label paragraphs from CMS) */
.sd-method > p:not(:has(> span:only-child)) {
    grid-column: 1 / -1;
    margin: 0 0 25px;
    font-size: 17px;
    line-height: 1.8;
    color: #000;
}

.sd-method > a {
    grid-column: 1 / -1;
    justify-self: start;
    display: inline-block;
    background: var(--secondary);
      border: 2px solid var(--secondary);
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}

.sd-method > a:hover {
    color: #000;
    background: white;
    border: 2px solid var(--primary);
}

/* ===== Responsive: 1024 ===== */
@media (max-width: 1024px) {
    .sd-method {
        gap: 45px 30px;
        padding: 55px max(20px, calc((100% - 1160px) / 2));
    }

    .sd-method > h2 {
        font-size: 26px;
    }
}

/* ===== Responsive: 992 - stack columns ===== */
@media (max-width: 992px) {
    .sd-method {
        grid-template-columns: 1fr;
    }

    .sd-method > span,
    .sd-method > p:has(> span:only-child),
    .sd-method > h2,
    .sd-method > img,
    .sd-method > ul,
    .sd-method > p:not(:has(> span:only-child)),
    .sd-method > a {
        grid-column: auto;
    }

    .sd-method > span:last-of-type,
    .sd-method > ul + span,
    .sd-method > ul + p:has(> span:only-child) {
        margin-top: 15px;
    }

    .sd-method > ul {
        margin-top: 25px;
    }
}

/* ===== Responsive: 768 ===== */
@media (max-width: 767.98px) {
    .sd-method {
        padding: 45px 20px;
    }

    .sd-method > h2 {
        font-size: 23px;
    }

    .sd-method ul li > span,
    .sd-method ul li > p:first-child:has(> span) {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}

/* ===== Responsive: 520 ===== */
@media (max-width: 520px) {
    .sd-method > h2 {
        font-size: 20px;
    }

    .sd-method ul li {
        padding: 14px 15px;
        column-gap: 12px;
    }
}





/* ===== SECTION 5: FAQs ===== */
.sd-faqs {
  
   max-width: 1200px;
    margin: 0 auto;
    padding: 25px 27px;
}

.sd-faqs h2 {
    margin: 0 0 6px;
    font-size: 35px;
    font-weight: 700;
    color: #000;
}

.sd-faqs > p {
    margin: 0 0 30px;
    font-size: 18px;
    line-height: 1.9;
    color: #000;
}

.sd-faqs h2:last-of-type {
    margin-bottom: 10px;
}

/* Closed = primary filled */
.sd-faqs details {
    background: var(--primary);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background 0.3s ease;
}

.sd-faqs summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.sd-faqs summary::-webkit-details-marker {
    display: none;
}

/* Plus/minus toggle */
.sd-faqs summary .fa-minus {
    display: none;
}

.sd-faqs details[open] summary .fa-plus {
    display: none;
}

.sd-faqs details[open] summary .fa-minus {
    display: inline-block;
}

/* Open = secondary tint (cream) */
.sd-faqs details[open] {
    background: color-mix(in srgb, var(--secondary) 18%, #fff);
}

.sd-faqs details[open] summary {
    color: #000;
}

.sd-faqs details p {
    margin: 0;
    padding: 0 40px 18px;
    font-size: 17px;
    line-height: 1.8;
    color: #000;
}

/* ===== Responsive: 1024 ===== */
@media (max-width: 1024px) {
    .sd-cta h2,
.sd-cta h3 {
        font-size: 22px;
    }

    .sd-method {
        gap: 0 30px;
        padding: 55px max(20px, calc((100% - 1160px) / 2));
    }

    .sd-method h2 {
        font-size: 26px;
    }

    .sd-faqs {
        padding: 55px max(20px, calc((100% - 1160px) / 2));
    }

    .sd-faqs h2 {
        font-size: 26px;
    }
}

/* ===== Responsive: 992 - method stack ===== */
@media (max-width: 992px) {
    .sd-method {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .sd-method > ul:first-of-type {
        grid-column: auto;
        grid-row: auto;
        margin: 35px 0 50px;
        height: auto;
        gap: 15px;
    }

    .sd-method > ul:last-of-type {
        grid-column: auto;
        grid-row: auto;
        margin-top: 30px;
    }
}

/* ===== Responsive: 768 ===== */
@media (max-width: 767.98px) {
    .sd-cta {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 35px 20px;
    }

    .sd-cta h2,
.sd-cta h3 {
        font-size: 20px;
    }

    .sd-method {
        padding: 45px 20px;
    }

    .sd-method h2 {
        font-size: 23px;
    }

    .sd-faqs {
        padding: 45px 20px;
    }

    .sd-faqs h2 {
        font-size: 23px;
    }

    .sd-faqs summary {
        font-size: 14px;
    }
}

/* ===== Responsive: 520 ===== */
@media (max-width: 520px) {
    .sd-cta h2,
.sd-cta h3 {
        font-size: 18px;
    }

    .sd-method h2 {
        font-size: 20px;
    }

    /* Table rows stack */
    .sd-method > ul:last-of-type li {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .sd-faqs h2 {
        font-size: 20px;
    }

    .sd-faqs summary {
        font-size: 13px;
        padding: 14px 16px;
    }

    .sd-faqs details p {
        font-size: 13px;
        padding: 0 16px 16px;
    }
}