/* =========================================
   SERVICE DETAILS PAGE CUSTOM STYLES
   ========================================= */

:root {
    --primary: #059EFF;
    --secondary: #CEEDFF;
    --text-dark: #000000;
    --text-body: #4a4a4a;
    --bg-light: #F4F9FD;
}

.section-padding { padding: 20px 0; }
.section-padding-top { padding-top: 20px; }
.mt-4 { margin-top: 30px; }

/* Base Headings & Text */
.sd-heading {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 40px 0 20px;
}
.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: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Base Primary Button */
.btn-primary {
    display: inline-block;
    background-color: var(--primary);
    color: #fff;
    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);
}

/* --- 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: 3px 3px 0px rgba(0, 0, 0, 0.8);
}
.sd-hero-subtitle {
    color: #ffffff;
    font-size: 20px;
    margin: 0;
    font-weight: 500;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 1.8);
}

/* --- 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: var(--secondary);
    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: var(--bg-light);
}
.sd-services-list li {
    border-bottom: 1px solid #e0ebf5;
}
.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: var(--secondary);
    color: var(--primary);
}
.sd-services-list li.active a {
    background: var(--primary);
    color: #ffffff;
}

.sd-emergency-widget {
    background: var(--secondary);
    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: var(--text-dark);
    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: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.6;
}
.sd-emergency-btn { width: 100%; text-align: center; }


/* --- 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: center;
}
.sd-process-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.sd-process-box {
    background: #CEEDFF;
    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: #059EFF; 
    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-looking-text p {
    margin-bottom: 8px;
    line-height: 1.4;
}
.sd-looking-text h2 {
    margin-bottom: 8px;
}
.sd-contact-bold {
    font-weight: 700;
    color: var(--text-dark) !important;
}
.sd-contact-bold span {
    color: var(--primary);
}
.sd-looking-image img {
    height: auto;
    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: var(--secondary);
    text-align: left;
}
.sd-cta-section p {
    color: var(--text-body);
    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: var(--secondary); 
}

.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: var(--text-dark);
    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; }
}