/* ====================================================
   Single Service Details Page Styles
   ==================================================== */

.single-service-section {
    padding: 50px 0;
    background-color: var(--body-bg);
}

.service-details-layout {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 45px;
    align-items: start;
}

/* =====================
   Main Content Area
   ===================== */
.service-details-content {
    background: var(--card-bg);
}

.service-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: 35px;
    border: 1px solid var(--border-color);
}

.service-content-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(240, 79, 78, 0.08);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    margin-bottom: 16px;
}

.single-service-section h1.service-main-title, .service-rich-content h2 {
    font-size: 25px !important;
    font-family: var(--primary-font);
    color: var(--primary-color);
    margin-bottom:10px;
    line-height: 1;
}
.service-rich-content p 
{
    color: var(--text-light);
    margin-bottom: 22px;
    line-height: 1.8;
    font-family: 'Arimo', sans-serif;
    margin-top:5px !important;
}
.service-rich-content p:last-child
{
    margin-bottom: 30px;
}
.service-rich-content ul li 
{
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 0.8;
    font-family: 'Arimo', sans-serif;
    list-style-type: disc;
    margin-left: 40px;
    font-size:15px;
}
.service-lead-text {
    line-height: 1.5;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 400;
    font-family: 'Arimo', sans-serif;
    font-size:15px;
}

.service-details-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.5;
    font-size:15px;
    font-weight: 400;
    font-family: 'Arimo', sans-serif;
}

.single-service-section h3.service-subheading {
    font-size: 1.6rem !important;
    font-family: var(--primary-font);
    color: var(--heading-color);
}


/* Key Features Grid */
.service-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 25px 0 35px 0;
}

.feature-box {
    background: var(--section-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: var(--transition);
}

.feature-box:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
}

.feature-info h4 {
    font-size: 1.15rem !important;
    font-family: var(--primary-font);
    margin-bottom: 6px;
    color: var(--heading-color);
}

.feature-info p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-light);
    line-height: 1.5;
}

/* Service FAQ Accordion (Clean CSS & Details) */
.service-faq-group {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--card-bg);
    overflow: hidden;
}

.faq-card summary {
    padding: 18px 22px;
    font-weight: 700;
    color: var(--heading-color);
    cursor: pointer;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    transition: var(--transition);
}

.faq-card summary:hover {
    color: var(--primary-color);
}

.faq-card[open] summary {
    border-bottom: 1px solid var(--border-color);
    color: var(--primary-color);
}

.faq-content {
    padding: 30px 22px;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 2;
    background: var(--section-bg);
    
}

/* =====================
   Sticky Sidebar Area
   ===================== */
.service-sidebar {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Widget 1: Services Navigation List */
.sidebar-widget {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 30px 24px;
}

.single-service-section h3.widget-title {
    font-size: 1.35rem !important;
    font-family: var(--primary-font);
    color: var(--heading-color);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--gray-100);
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 45px;
    height: 2px;
    background: var(--primary-color);
}

.sidebar-service-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-service-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    background: var(--gray-50);
    border: 1px solid transparent;
    transition: var(--transition);
}

.sidebar-service-link:hover,
.sidebar-service-link.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.sidebar-service-link svg {
    width: 16px;
    height: 16px;
    transition: transform .25s ease;
}

.sidebar-service-link:hover svg {
    transform: translateX(4px);
}

/* Widget 2: Help / Emergency Box */
.help-widget {
    background: linear-gradient(145deg, #1A1A1A, #111111);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 35px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.help-widget::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 140px;
    height: 140px;
    background: var(--primary-color);
    opacity: 0.2;
    border-radius: 50%;
}

.help-widget-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    color: var(--secondary-color);
}

.help-widget-icon svg {
    width: 30px;
    height: 30px;
}

.help-widget h3 {
    font-size: 1.4rem !important;
    color: var(--white) !important;
    margin-bottom: 12px;
}

.help-widget p {
    color: var(--gray-300);
    font-size: 0.92rem;
    margin-bottom: 22px;
    line-height: 1.6;
}

.help-call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--primary-color);
    color: var(--white);
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
}

.help-call-btn:hover {
    background: var(--secondary-color);
}

/* =====================
   Responsiveness
   ===================== */
@media (max-width: 1024px) {
    .service-details-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .service-sidebar {
        position: static;
    }

    .service-main-image {
        height: 320px;
    }
}

@media (max-width: 640px) {
    .single-service-section {
        padding: 60px 0;
    }

    .service-features-grid {
        grid-template-columns: 1fr;
    }

    .service-main-image {
        height: 240px;
        margin-bottom: 25px;
    }
}

/* ====================================================
   Premium FAQ Accordion Styling
   ==================================================== */

.service-faq-group {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Base FAQ Card */
.faq-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* Left Accent Highlight when Active */
.faq-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Hover state */
.faq-card:hover {
    border-color: rgba(240, 79, 78, 0.4);
    box-shadow: var(--shadow-md);
}

/* Open/Active Card State */
.faq-card[open] {
    border-color: rgba(160, 0, 0, 0.25);
    box-shadow: 0 10px 30px rgba(160, 0, 0, 0.06);
    background: #FFFFFF;
}

.faq-card[open]::before {
    opacity: 1;
}

/* Summary Header (Clickable Area) */
.faq-card summary {
    list-style: none; /* Remove default browser marker */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 26px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.25s ease;
}

.faq-card summary::-webkit-details-marker {
    display: none; /* Chrome/Safari marker removal */
}

/* Question Title & Number Badge */
.faq-question-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.faq-q-badge {
    width: 38px;
    height: 38px;
    min-width: 38px;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.faq-question-text {
    font-size: 1.08rem;
    font-weight: 700;
    font-family: var(--primary-font);
    color: var(--heading-color);
    line-height: 1.4;
    transition: color 0.3s ease;
}

/* Toggle Arrow Icon */
.faq-toggle-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: var(--radius-round);
    background: var(--gray-50);
    border: 1px solid var(--border-color);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.faq-toggle-icon svg {
    width: 18px;
    height: 18px;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Open State Styling for Header Elements */
.faq-card[open] summary {
    background: rgba(249, 250, 251, 0.6);
}

.faq-card[open] .faq-q-badge {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.faq-card[open] .faq-question-text {
    color: var(--primary-color);
}

.faq-card[open] .faq-toggle-icon {
    background: rgba(240, 79, 78, 0.1);
    color: var(--secondary-color);
    border-color: rgba(240, 79, 78, 0.3);
}

.faq-card[open] .faq-toggle-icon svg {
    transform: rotate(180deg); /* Smooth arrow flip */
}

/* Answer Content Container */
.faq-content {
    padding: 0 26px 24px 80px; /* Aligns neatly under question text */
    background: rgba(249, 250, 251, 0.6);
    border-top: 1px dashed rgba(229, 231, 235, 0.8);
    animation: fadeInFaq 0.35s ease;
}

.faq-content p {
    margin: 18px 0 0 0 !important;
    font-size: 0.96rem;
    line-height: 1.75;
    color: var(--text-light);
}

/* Smooth Fade In */
@keyframes fadeInFaq {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .faq-card summary {
        padding: 18px 16px;
        gap: 12px;
    }

    .faq-q-badge {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 0.78rem;
    }

    .faq-question-text {
        font-size: 0.98rem;
    }

    .faq-toggle-icon {
        width: 30px;
        height: 30px;
        min-width: 30px;
    }

    .faq-toggle-icon svg {
        width: 15px;
        height: 15px;
    }

    .faq-content {
        padding: 0 16px 20px 16px; /* Reset padding for mobile */
    }
}



/* ==========================================
   Mobile Toggle Color - Single Pages Only
   ========================================== */

.single-services-page .menu-toggle span,
.blog-details-page .menu-toggle span{
    background: red;   /* Your required color */
}

/* Optional - hover */

.single-services-page .menu-toggle:hover span,
.blog-details-page .menu-toggle:hover span{
    background: var(--primary-color);
}