/* Modern Theme Match Styles - High Performance Design */

/* Reset and Base Styles for Performance */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

/* High Performance Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Modern Grid System */
@supports (display: grid) {
    .container {
        display: block; /* Fallback first */
    }
}

/* Clean Modern Hero Section - No Gradients */
.service-hero {
    background: #f8f9fa;
    padding: 80px 0;
    border-bottom: 3px solid #0066cc;
}

.service-hero .container {
    position: relative;
}

.service-hero-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: start;
}

.service-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #6c757d;
}

.service-breadcrumb a {
    color: #0066cc;
    text-decoration: none;
}

.service-breadcrumb a:hover {
    text-decoration: underline;
}

.service-title {
    font-size: 3rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 16px;
    line-height: 1.2;
}

.service-subtitle {
    font-size: 1.5rem;
    color: #0066cc;
    font-weight: 600;
    margin-bottom: 20px;
}

.service-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 30px;
}

.service-highlights {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #28a745;
    font-weight: 600;
}

.highlight-item i {
    font-size: 18px;
}

.urgency-badges {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.urgency-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #e3f2fd;
    padding: 12px 16px;
    border-radius: 8px;
    color: #1976d2;
    font-weight: 500;
    font-size: 14px;
}

.urgency-item i {
    font-size: 16px;
}

.credibility-section {
    margin-bottom: 30px;
}

.credibility-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #0066cc;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-cta {
    display: flex;
    gap: 16px;
}

.btn-primary, .btn-secondary {
    padding: 16px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #0066cc;
    color: white;
    border: 2px solid #0066cc;
}

.btn-primary:hover {
    background: #0056b3;
    border-color: #0056b3;
    color: white;
}

.btn-secondary {
    background: white;
    color: #0066cc;
    border: 2px solid #0066cc;
}

.btn-secondary:hover {
    background: #0066cc;
    color: white;
}

.service-hero-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e3f2fd;
    color: #1976d2;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 16px;
}

.section-title .highlight {
    color: #0066cc;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    line-height: 1.6;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

.benefit-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    background: white;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: #0066cc;
    box-shadow: 0 8px 24px rgba(0,102,204,0.1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: #e3f2fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: #0066cc;
    font-size: 32px;
}

.benefit-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 16px;
}

.benefit-description {
    color: #6c757d;
    line-height: 1.6;
}

/* Design Showcase */
.design-showcase {
    padding: 80px 0;
    background: #f8f9fa;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
}

.showcase-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.showcase-item:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    transform: translateY(-4px);
}

.showcase-item.featured {
    grid-column: span 1;
}

.showcase-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.showcase-item:hover .showcase-image img {
    transform: scale(1.05);
}

.showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.showcase-item:hover .showcase-overlay {
    opacity: 1;
}

.showcase-info {
    text-align: center;
}

.showcase-info h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.showcase-details {
    padding: 30px;
}

.showcase-details h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 16px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.project-tags span {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}

/* Process Section */
.process-section {
    padding: 80px 0;
    background: white;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: #0066cc;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 24px;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 16px;
}

.step-description {
    color: #6c757d;
    line-height: 1.6;
}

/* Service Guide */
.service-guide {
    padding: 80px 0;
    background: #f8f9fa;
}

.guide-content {
    max-width: 900px;
    margin: 0 auto;
}

.guide-section h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 24px;
}

.guide-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #495057;
    margin-bottom: 20px;
}

.service-types {
    margin-top: 60px;
}

.service-types h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 40px;
}

.service-type {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
}

.service-type h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 16px;
}

.service-type p {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 20px;
}

.type-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.type-benefits .benefit {
    background: #e8f5e8;
    color: #28a745;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
}

/* Materials Section */
.materials-section {
    padding: 80px 0;
    background: white;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.material-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    text-align: center;
    transition: all 0.3s ease;
}

.material-card:hover {
    border-color: #0066cc;
    box-shadow: 0 8px 24px rgba(0,102,204,0.1);
}

.material-icon {
    width: 80px;
    height: 80px;
    background: #e3f2fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: #0066cc;
    font-size: 32px;
}

.material-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 16px;
}

.material-description {
    color: #6c757d;
    line-height: 1.6;
}

/* Reviews Section */
.reviews-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.review-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.review-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    color: #ffc107;
}

.review-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 24px;
    font-style: italic;
}

.review-author .author-name {
    display: block;
    font-weight: 700;
    color: #212529;
    margin-bottom: 4px;
}

.review-author .author-business {
    display: block;
    color: #6c757d;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.faq-item {
    margin-bottom: 32px;
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 12px;
}

.faq-answer {
    color: #6c757d;
    line-height: 1.6;
}

/* Final CTA */
.final-cta {
    padding: 80px 0;
    background: #e3f2fd;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #495057;
    font-weight: 500;
}

.contact-item i {
    color: #0066cc;
}

/* New Sections Styling */

/* Service Area Section */
.service-area-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.service-area-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #212529;
    margin: 40px 0 24px;
}

.service-districts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.district {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.district h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 16px;
}

.permitting-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.permitting-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
}

.permitting-list li:before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    margin-right: 12px;
}

/* Industry Applications Section */
.industry-applications {
    padding: 80px 0;
    background: white;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.industry-item {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    border-left: 4px solid #0066cc;
}

.industry-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 20px;
}

.industry-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.industry-features li {
    padding: 8px 0;
    color: #495057;
    position: relative;
    padding-left: 24px;
}

.industry-features li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: bold;
}

/* ROI Case Studies Section */
.roi-case-studies {
    padding: 80px 0;
    background: #f8f9fa;
}

.case-studies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin: 40px 0 60px;
}

.case-study {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.case-study h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 20px;
}

.roi-metrics {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.roi-metrics li {
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f5;
    color: #495057;
}

.roi-metrics li strong {
    color: #212529;
}

.financing-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.financing-section h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 24px;
}

.financing-benefits {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.financing-benefits li {
    padding: 12px 0;
    color: #495057;
    border-bottom: 1px solid #f1f3f5;
}

.financing-benefits li strong {
    color: #28a745;
}

/* Performance Optimizations */
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Improved Loading Performance */
.container {
    will-change: transform;
}

.section-header {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-title {
        font-size: 2.2rem;
    }
    
    .service-highlights,
    .urgency-badges,
    .credibility-stats,
    .service-cta {
        flex-direction: column;
        gap: 16px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        gap: 20px;
    }
    
    .service-districts,
    .industry-grid,
    .case-studies {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .industry-item,
    .case-study {
        padding: 24px;
    }
}