/* Installer Landing Page Styles */

:root {
    --primary-color: #2a9d8f;
    --secondary-color: #264653;
    --accent-color: #e76f51;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --text-color: #333;
    --success-color: #38b000;
    --border-radius: 5px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Hero Section */
.installer-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/hero-bg.jpg');
    background-position: center;
    background-size: cover;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.installer-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.installer-hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Stats Section */
.installer-stats {
    background-color: var(--secondary-color);
    color: white;
    padding: 1.5rem 0;
}

.installer-stats .container {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--accent-color);
}

.stat-item p {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.benefits-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    font-size: 2.2rem;
}

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

.benefit-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-card .icon {
    background-color: var(--primary-color);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.benefit-card .icon i {
    font-size: 1.8rem;
    color: white;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.benefit-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    background-color: white;
    padding: 80px 0;
    text-align: center;
}

.how-it-works h2 {
    color: var(--secondary-color);
    font-size: 2.2rem;
    margin-bottom: 50px;
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    gap: 40px;
}

.step {
    flex: 1;
    padding: 30px 20px;
    background-color: #f5f7fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    z-index: 1;
    position: relative;
}

.step-number {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    font-weight: bold;
}

.step h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.step p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Add step connectors between steps */
.steps-container {
    position: relative;
}

.steps-container:before {
    content: '';
    position: absolute;
    top: 35px;
    left: 15%;
    right: 15%;
    height: 2px;
    background-color: var(--primary-color);
    z-index: 0;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: white;
}

.testimonials h2 {
    text-align: center;
    color: var(--secondary-color);
    font-size: 2.2rem;
    margin-bottom: 50px;
}

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

.testimonial-card {
    background-color: #f5f7fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.customer-image {
    text-align: center;
    padding-top: 30px;
}

.customer-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-content {
    padding: 25px;
    text-align: center;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-color);
}

.testimonial-content h4 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.location {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.rating {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* CTA Section */
.installer-cta {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.installer-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.installer-cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

.installer-cta .btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    padding: 15px 30px;
    font-size: 1.1rem;
}

.installer-cta .btn-primary:hover {
    background-color: #e05d3d;
    border-color: #e05d3d;
}

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

.faq-section h2 {
    text-align: center;
    color: var(--secondary-color);
    font-size: 2.2rem;
    margin-bottom: 50px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.toggle-icon {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 20px 20px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .steps-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .steps-container:before {
        display: none;
    }
    
    .step {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .installer-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .installer-stats .container {
        flex-direction: column;
    }
    
    .stat-item {
        margin-bottom: 1.5rem;
    }
    
    .installer-hero {
        min-height: 500px;
    }
    
    .installer-hero h1 {
        font-size: 2rem;
    }
    
    .installer-hero p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .benefit-card {
        padding: 1.5rem;
    }
    
    .installer-cta h2 {
        font-size: 2rem;
    }
    
    .installer-cta p {
        font-size: 1rem;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: var(--dark-color);
    border-radius: 3px;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    nav {
        display: none;
    }
    
    nav.active {
        display: block;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: var(--box-shadow);
        z-index: 100;
    }
    
    nav.active ul {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    nav.active ul li {
        margin: 0;
    }
    
    nav.active ul li a {
        display: block;
        padding: 0.75rem 1.5rem;
    }
}
