/* =========================================
   SERVICE DETAILS PAGE CUSTOM STYLES
   ========================================= */

:root {
    --primary: #0D8EDA;
    --secondary: #DEF3FF;
    --text-dark: #000000;
    --text-body: #4a4a4a;
    --bg-light: #F4F9FD;
}

.section-padding {
    padding: 10px 0;
}

.section-padding-top {
    padding-top: 20px;
}

.mt-4 {
    margin-top: 30px;
}

/* Base Headings & Text */
.sd-heading {
    margin: 0 0 !important;
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 40px 0 20px;
}

.sd-process-text h2{

margin: 0 0 !important;
}

.sd-heading span {
    color: var(--primary);
}

.sd-subtitle {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

p {
    font-size: 16px;
    color: #000000;
    line-height: 1.8;
    margin-bottom: 0px;
}

/* Base Primary Button */
.btn-primary {
    display: inline-block;
    background-color: #70CBFF;
    color: #000000;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #0482d6;
    box-shadow: 0 4px 12px rgba(5, 158, 255, 0.3);
    color: #ffffff;
}

/* --- 1. Hero Section --- */
.sd-hero {
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.sd-hero-title {
    color: #ffffff;
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.sd-hero-subtitle {
    color: #ffffff;
    font-size: 20px;
    margin: 0;
    font-weight: 500;
    text-align: center;
}

/* --- 2. Main Layout (66% / 33% Split) --- */
.sd-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

/* LEFT COLUMN TOP CONTENT */
.sd-main-image {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 20px;
    display: block;
}

.sd-two-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.sd-two-images img {
    width: 100%;
    border-radius: 4px;
    display: block;
}

/* RIGHT COLUMN SIDEBAR */
.sd-sidebar {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.sd-widget {
    background: #fff;
}

.sd-widget-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    background: #D2EEFF;
    padding: 18px 20px;
    margin: 0;
    border-radius: 4px 4px 0 0;
}

.sd-widget-title span {
    color: var(--primary);
}

.sd-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #D2EEFF;
}

.sd-services-list li {
    border-bottom: 1px solid #D2EEFF;
}

.sd-services-list li:last-child {
    border-bottom: none;
}

.sd-services-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.sd-services-list li:hover a {
    background: #0D8EDA;
    color: #000000;
}

.sd-services-list li.active a {
    background: #0D8EDA;
    color: #000000;
}

.sd-emergency-widget {
    background: #D2EEFF;
    text-align: center;
    padding: 40px 20px;
    border-radius: 4px;
}

.sd-emergency-widget h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin: 0 0 20px;
}

.sd-phone-icon {
    width: 50px;
    height: 50px;
    background: #fff;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.sd-phone-icon svg {
    width: 24px;
    height: 24px;
}

.sd-emergency-label {
    font-size: 14px;
    color: #000000;
    margin: 0 0 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sd-emergency-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.sd-emergency-desc {
    font-size: 14px;
    color: #000000;
    margin-bottom: 25px;
    line-height: 1.6;
}

.sd-emergency-btn {
    width: 100%;
    text-align: center;
    color: #000000 !important;
}

.sd-emergency-btn:hover {
    width: 100%;
    text-align: center;
    color: #ffffff !important;
}

/* --- FULL WIDTH SECTIONS --- */
.sd-full-width-section {
    background-color: #ffffff;
}

/* Process Area Grid (Full Width) */
.sd-process-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.sd-process-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.sd-process-box {
    background: #D2EEFF;
    border: 1px solid var(--secondary);
    padding: 20px;
    border-radius: 4px;
    transition: transform 0.3s;
}

.sd-process-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(5, 158, 255, 0.1);
}

.sd-process-box .sd-number {
    font-size: 32px;
    font-weight: 800;
    color: #07669C;
    margin-bottom: 10px;
    line-height: 1;
}

.sd-process-box h4 {
    font-size: 15px;
    color: var(--text-dark);
    margin: 0 0 10px;
}

.sd-process-box p {
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

/* Looking For Area (Full Width) */
.sd-looking-for-area {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}

.sd-contact-bold {
    font-weight: 700;
    color: var(--text-dark) !important;
}

.sd-contact-bold span {
    color: var(--primary);
}

.sd-looking-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* CTA Section (Full Width, Blue BG) */
.sd-cta-section {
    background-color: #D2EEFF;
    text-align: left;
}

.sd-cta-section p {
    color: #000000;
    font-size: 16px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0;
}

/* FAQ Section (Full Width with Secondary BG and Centering Fix) */
.sd-faq-section {
    background-color: #D2EEFF;
}

.sd-faq-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: stretch;
    /* Stretch to allow inner containers to fill height for centering */
}

/* Container to handle vertical and horizontal centering */
.sd-faq-sidebar-centered {
    display: flex;
    justify-content: center;
    /* Horizontal Center */
    align-items: center;
    /* Vertical Center */
    height: 100%;
}

/* Centered Quote Box Styling */
.sd-faq-quote-box {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(5, 158, 255, 0.15);
    max-width: 320px;
    margin: 0 auto;
}

.sd-faq-quote-box p {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.5;
    font-style: italic;
    margin: 0;
}

/* Accordion with higher contrast lines for colored background */
.sd-faq-list {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.sd-faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.sd-faq-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    padding: 20px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    text-align: left;
}

.sd-faq-icon {
    color: var(--primary);
    font-size: 24px;
    font-weight: 400;
}

.sd-faq-item.active .sd-faq-btn {
    color: var(--primary);
}

.sd-faq-content {
    display: none;
    padding-bottom: 20px;
}

.sd-faq-content p {
    margin: 0;
    color: #000000;
    line-height: 1.7;
    font-size: 15px;
}


/* =========================================
   RESPONSIVE QUERIES
   ========================================= */
@media (max-width: 1024px) {
    .sd-layout {
        grid-template-columns: 1fr;
    }

    .sd-process-area {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .sd-looking-for-area {
        grid-template-columns: 1fr;
    }

    .sd-faq-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .sd-faq-sidebar-centered {
        margin-top: 30px;
        justify-content: center;
    }

    .sd-faq-quote-box {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .sd-hero {
        height: 200px;
    }

    .sd-hero-title {
        font-size: 32px;
    }

    .sd-two-images {
        grid-template-columns: 1fr;
    }

    .sd-process-boxes {
        grid-template-columns: 1fr;
    }

    .sd-heading {
        font-size: 26px;
    }

    .sd-faq-btn {
        font-size: 16px;
    }
}