/* =========================================
   SERVICE DETAIL PAGE - EXACT IMAGE MATCH (NO VARIABLES)
   ========================================= */

:root {
    --primary: #DB6A9E;
    /* Brand Pink */
    --primary-dark: #94619C;
    /* Brand Purple */
    --text-dark: #000000;
    --text-body: #000000;
    --bg-faint: #FFF0F7;
    /* Faint pinkish background for FAQ */
    --border-light: #94619C;
}

.service-detail-page {
    background-color: #ffffff;
    font-family: inherit;
    overflow-x: hidden;
}

/* NEW CONTAINERS FOR 80% WIDTH & FULL WIDTH */
.container-1200 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-80 {
    width: 80%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0 5%;
    margin: 0 auto;
}

.section-padding {
    padding: 40px 0;
}

.section-padding-bottom {
    padding-bottom: 40px;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.mt-5 {
    margin-top: 40px;
}

.text-primary {
    color: var(--primary) !important;
}

.text-purple {
    color: var(--primary-dark) !important;
}

/* Buttons */
.btn-pill-pink {
    display: inline-block;
    background-color: var(--primary);
    color: #ffffff;
    padding: 14px 45px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-pill-pink:hover {
    background-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
}

.btn-pill-outline {
    display: inline-block;
    background-color: transparent;
    color: #ffffff;
    padding: 12px 45px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 50px;
    border: 2px solid #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-pill-outline:hover {
    background-color: #ffffff;
    color: var(--text-dark);
}

/* --- 1. Hero Banner --- */
.sd-hero-banner {
    height: 60vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.sd-hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.sd-hero-title {
    font-size: 52px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 15px 0;
}

.sd-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    font-weight: 500;
    line-height: 1.6;
}

.sd-hero-actions {
    display: flex;
    gap: 15px;
}

/* --- 2, 5, 7. Dynamic Content Styling (80% container handles width) --- */
.sd-dynamic-content {
    max-width: 100%;
    margin: 0 auto;
}

.sd-dynamic-content h2 {
    font-size: 38px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.3;
}

/* .sd-dynamic-content span {
color: #94619C;
} */

.sd-dynamic-content p {
    font-size: 16px;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 25px;
}

/* The Offset Framed Image - Full width of the 80% container, forced 400px height */
.sd-featured-image-wrapper {
    width: 100%;
    height: 400px;
    margin: 40px auto 0;
    position: relative;
    border-radius: 20px;
}

.sd-featured-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--primary);
}

/* Pink border outline behind the image
.sd-featured-image-wrapper::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 4px solid var(--primary);
    border-radius: 25px;
    z-index: 1;
} */

/* --- 3. Benefits Grid --- */
.sd-section-title {
    font-size: 38px;
    font-weight: 900;
    color: var(--text-dark);
    margin: 0;
}

.sd-benefits-section h2 {
    font-size: 38px;
    font-weight: 900;
    color: var(--text-dark);
    margin: 0;
}

.sd-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.sd-benefit-card {
    background: #ffffff;
    border-top: 6px solid var(--primary);
    box-shadow: 0 5px 25px rgba(219, 106, 158, 0.08);
    /* Updated Shadow */
    padding: 35px 25px;
    border-radius: 0 0 10px 10px;
    text-align: left;
}

.sd-benefit-num {
    color: var(--primary);
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 15px;
    display: block;
}

.sd-benefit-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.sd-benefit-card p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.6;
    margin: 0;
}

/* --- 4. Stats Banner --- */
.sd-stats-banner {
    background-color: var(--primary-dark);
    padding: 30px 0;
}

.sd-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.sd-stat-item h3 {
    font-size: 52px;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 5px 0;
}

.sd-stat-item p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin: 0;
}

/* --- 6. Recent Projects (Before & After) --- */
.sd-projects-desc {
    max-width: 700px;
    margin: 15px auto 0;
    color: var(--text-body);
    line-height: 1.6;
    font-size: 16px;
}

.sd-projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Fixed Image Boundaries and Borders */
.sd-project-img {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 350px;
    /* Fixed height so images match */
    border: 2px solid var(--primary);
    /* Fixed Pink border */
    box-shadow: 0 10px 30px rgba(219, 106, 158, 0.15);
    /* Pink tinted shadow */
}

.sd-project-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.sd-badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background: var(--primary);
    color: #ffffff;
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-transform: capitalize;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

/* --- 8. FAQ Section --- */
.sd-faq-section {
    background-color: var(--bg-faint);
}

.sd-faq-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.sd-faq-subtitle {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 4px;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

/* Accordion Styles */
.sd-accordion {
    border-top: 1px solid var(--border-light);
}

.sd-accordion-item {
    border-bottom: 1px solid var(--border-light);
}

.sd-accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 25px 0;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.sd-accordion-item.active .sd-accordion-header {
    color: var(--primary-dark);
}

.sd-icon {
    width: 12px;
    height: 12px;
    border-right: 3px solid var(--primary-dark);
    border-bottom: 3px solid var(--primary-dark);
    transform: rotate(45deg);
    transition: transform 0.3s;
}

.sd-accordion-item.active .sd-icon {
    transform: rotate(-135deg);
}

.sd-accordion-body {
    padding-bottom: 25px;
    color: var(--text-body);
    font-size: 16px;
    line-height: 1.8;
}

/* FAQ Contact Box (Horizontally & Vertically Centered) */
.sd-faq-contact-box {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Vertically Centers */
    height: 100%;
    /* Stretches to the full height of the grid column */
    padding-top: 0;
}

.sd-contact-card {
    background: #ffffff;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(219, 106, 158, 0.1);
    text-align: center;
    width: 100%;
    /* Ensures it fills its space nicely */
}

.sd-contact-card p {
    color: var(--primary);
    font-size: 26px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
}

/* =========================================
   RESPONSIVE QUERIES
   ========================================= */
@media (max-width: 1200px) {
    .container-80 {
        width: 90%;
    }

    /* Softens the width on tablets */
}

@media (max-width: 1024px) {
    .sd-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .sd-faq-grid {
        grid-template-columns: 1fr;
    }

    .sd-faq-contact-box {
        height: auto;
        padding-top: 30px;
    }
}

@media (max-width: 767px) {
    .container-80 {
        width: 100%;
    }

    .sd-hero-title {
        font-size: 40px;
    }

    .sd-hero-actions {
        flex-direction: column;
    }

    .btn-pill-pink,
    .btn-pill-outline {
        text-align: center;
        width: 100%;
    }

    .sd-dynamic-content h2 {
        font-size: 32px;
    }

    .sd-featured-image-wrapper::after {
        left: -10px;
        right: 10px;
        bottom: -10px;
    }

    .sd-featured-image-wrapper {
        height: 300px;
    }

    /* Slightly shorter on mobile */

    .sd-benefits-grid {
        grid-template-columns: 1fr;
    }

    .sd-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .sd-stat-item h3 {
        font-size: 36px;
    }

    .sd-projects-grid {
        grid-template-columns: 1fr;
    }

    .sd-project-img {
        height: 250px;
    }

    /* Scales down projects on mobile */
    .sd-contact-card p {
        font-size: 22px;
    }
}