/* Lightning Pro - Service Page Layouts */

/* ========================================
   Service-Specific Layout Modules
   ======================================== */

/* Base service page styling */
.service-hero-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
    font-size: 1.125rem;
    color: var(--light-grey);
    line-height: 1.6;
}

/* Service content sections spacing */
.features {
    padding: 4rem 0;
}

/* Hero stats styling with retro boxes */
.hero-stats {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.stat {
    background: linear-gradient(145deg, var(--accent-beige), #f5f2ed);
    border: 2px solid var(--primary-black);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    min-width: 140px;
    position: relative;
    box-shadow: 4px 4px 0px var(--primary-black);
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-2px);
    box-shadow: 6px 6px 0px var(--primary-black);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-black);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary-grey);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* Dark mode support for hero stats */
[data-theme="dark"] .stat {
    background: linear-gradient(145deg, var(--dark-secondary), #2a2a2a);
    border-color: var(--light-beige);
    box-shadow: 4px 4px 0px var(--light-beige);
}

[data-theme="dark"] .stat:hover {
    box-shadow: 6px 6px 0px var(--light-beige);
}

[data-theme="dark"] .stat-number {
    color: var(--light-beige);
}

[data-theme="dark"] .stat-label {
    color: var(--secondary-grey);
}

/* Retro Benefits Grid */
.retro-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-card {
    background: linear-gradient(145deg, var(--accent-beige), #f5f2ed);
    border: 3px solid var(--primary-black);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    box-shadow: 6px 6px 0px var(--primary-black);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 8px 8px 0px var(--primary-black);
}


.benefit-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--secondary-grey);
    line-height: 1.5;
    margin: 0;
}

/* Dark mode support for retro benefits */
[data-theme="dark"] .benefit-card {
    background: linear-gradient(145deg, var(--dark-secondary), #2a2a2a);
    border-color: var(--light-beige);
    box-shadow: 6px 6px 0px var(--light-beige);
}

[data-theme="dark"] .benefit-card:hover {
    box-shadow: 8px 8px 0px var(--light-beige);
}

[data-theme="dark"] .benefit-card h4 {
    color: var(--light-beige);
}

[data-theme="dark"] .benefit-card p {
    color: var(--secondary-grey);
}

/* Retro Content Header */
.retro-content-header {
    text-align: center;
    background: linear-gradient(145deg, var(--accent-beige), #f5f2ed);
    border: 3px solid var(--primary-black);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin: 2rem auto 4rem;
    max-width: 800px;
    position: relative;
    box-shadow: 8px 8px 0px var(--primary-black);
}

.retro-content-header::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, var(--primary-black), var(--secondary-grey));
    border-radius: 23px;
    z-index: -1;
}

.retro-content-header h2 {
    color: var(--primary-black);
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
}

.retro-content-header .service-hero-description {
    margin: 0;
    color: var(--secondary-grey);
    font-size: 1.125rem;
    line-height: 1.6;
}

/* Dark mode support for retro content header */
[data-theme="dark"] .retro-content-header {
    background: linear-gradient(145deg, var(--dark-secondary), #2a2a2a);
    border-color: var(--light-beige);
    box-shadow: 8px 8px 0px var(--light-beige);
}

[data-theme="dark"] .retro-content-header::before {
    background: linear-gradient(45deg, var(--light-beige), var(--secondary-grey));
}

[data-theme="dark"] .retro-content-header h2 {
    color: var(--light-beige);
}

[data-theme="dark"] .retro-content-header .service-hero-description {
    color: var(--secondary-grey);
}

/* Service grid layout variations */
.services-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.services-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
}

.services-grid-single {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 700px;
    margin: 2rem auto 0;
}

.services-grid-single .service-card {
    text-align: center;
    padding: 3rem 2.5rem;
}

/* Retro styling for service cards */
.service-card {
    background: linear-gradient(145deg, var(--accent-beige), #f5f2ed);
    border: 3px solid var(--primary-black);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    position: relative;
    box-shadow: 6px 6px 0px var(--primary-black);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 8px 8px 0px var(--primary-black);
}

.service-card h3 {
    color: var(--primary-black);
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.service-card p {
    color: var(--secondary-grey);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Dark mode support for service cards */
[data-theme="dark"] .service-card {
    background: linear-gradient(145deg, var(--dark-secondary), #2a2a2a);
    border-color: var(--light-beige);
    box-shadow: 6px 6px 0px var(--light-beige);
}

[data-theme="dark"] .service-card:hover {
    box-shadow: 8px 8px 0px var(--light-beige);
}

[data-theme="dark"] .service-card h3 {
    color: var(--light-beige);
}

[data-theme="dark"] .service-card p {
    color: var(--secondary-grey);
}


/* Text-only layout for government services */
.service-benefits-section {
    text-align: center;
    margin: 4rem 0;
    padding: 3rem 2rem;
    background-color: var(--accent-beige);
    border-radius: 8px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.service-benefits-section h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-black);
    font-size: 1.5rem;
    font-weight: 600;
}

.service-benefits-section p {
    color: var(--secondary-grey);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Dark mode support for service layouts */
[data-theme="dark"] .service-hero-description,
[data-theme="dark"] .service-benefits-section p {
    color: var(--secondary-grey);
}

[data-theme="dark"] .service-benefits-section {
    background-color: var(--dark-secondary);
}

[data-theme="dark"] .service-benefits-section h3 {
    color: var(--light-beige);
}

/* Dark mode improvements for better contrast */
[data-theme="dark"] .features {
    background-color: var(--dark-secondary);
}

[data-theme="dark"] .features h2 {
    color: var(--light-beige);
}

[data-theme="dark"] .cta-buttons .cta-primary {
    background-color: var(--primary);
    color: var(--dark-beige);
}

[data-theme="dark"] .cta-buttons .cta-primary:hover {
    background-color: var(--light-beige);
    color: var(--dark-beige);
}

/* ========================================
   Responsive Design for Service Layouts
   ======================================== */

@media (max-width: 768px) {
    .services-grid-2col,
    .services-grid-3col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat {
        min-width: 120px;
        padding: 1.25rem 0.75rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .retro-benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }

    .benefit-card {
        padding: 1.5rem 1rem;
    }

    .benefit-card h4 {
        font-size: 1.125rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-card h3 {
        font-size: 1.25rem;
    }

    .service-card p {
        font-size: 0.95rem;
    }

    .retro-content-header {
        padding: 2rem 1.5rem;
        margin: 1.5rem auto 3rem;
    }

    .retro-content-header .service-hero-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .services-grid-2col,
    .services-grid-3col,
    .services-grid-single {
        gap: 1.5rem;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .stat {
        min-width: 180px;
        max-width: 200px;
    }

    .benefit-card {
        padding: 1.25rem 1rem;
    }


    .benefit-card h4 {
        font-size: 1rem;
    }

    .benefit-card p {
        font-size: 0.875rem;
    }

    .service-card {
        padding: 1.75rem 1.25rem;
    }

    .service-card h3 {
        font-size: 1.125rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .retro-content-header {
        padding: 1.5rem 1rem;
        margin: 1rem auto 2rem;
        border-radius: 16px;
    }

    .retro-content-header::before {
        border-radius: 19px;
    }

    .retro-content-header .service-hero-description {
        font-size: 0.95rem;
    }
}

/* ========================================
   FAQ Section Styles
   ======================================== */

.faq-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--light-grey) 0%, var(--light-beige) 100%);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.faq-question {
    color: var(--dark-beige);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.faq-answer {
    color: var(--secondary-grey);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

/* Dark mode support for FAQ */
[data-theme="dark"] .faq-section {
    background: linear-gradient(135deg, var(--dark-secondary) 0%, var(--dark-beige) 100%);
}

[data-theme="dark"] .faq-item {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 215, 0, 0.3);
}

[data-theme="dark"] .faq-item:hover {
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .faq-question {
    color: var(--light-beige);
}

[data-theme="dark"] .faq-answer {
    color: var(--secondary-grey);
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .faq-item {
        padding: 1.5rem;
    }

    .faq-question {
        font-size: 1.1rem;
    }

    .faq-answer {
        font-size: 0.95rem;
    }
}