/* === Hero Section === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('https://images.unsplash.com/photo-1614873636018-548106274e2a?ixlib=rb-4.1.0&auto=format&fit=crop&q=80&w=2070');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    padding-top: 80px;
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        min-height: auto;
        padding-top: 60px;
        padding-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 50px;
        padding-bottom: 1.5rem;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    padding: 2rem;
    color: var(--white);
    animation: fadeInDown 0.8s ease-out forwards;
}

.hero-content .welcome-text {
    display: block;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.6rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
}

.hero-content h2 {
    font-size: 4.5rem;
    color: var(--white);
    margin-bottom: 1.25rem;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 1.7;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.hero-button {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* === Testimonials Section === */
.testimonials {
    padding: 5rem 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--light-bg);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.testimonial-card.featured-review {
    background-color: var(--secondary);
    color: var(--white);
}

.testimonial-card.featured-review .testimonial-text {
    color: rgba(255, 255, 255, 0.85);
}

.testimonial-card.featured-review .author-info strong {
    color: var(--white);
}

.testimonial-card.featured-review .author-info span {
    color: var(--accent);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    color: var(--accent);
    font-size: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    font-style: italic;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    flex-shrink: 0;
}

.author-info strong {
    display: block;
    font-size: 0.95rem;
    color: var(--secondary);
    font-family: var(--font-heading);
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* === Mobile Optimizations === */
@media (max-width: 768px) {
    .testimonials {
        padding: 3rem 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-content {
        padding: 1.5rem;
    }

    .hero-content h2 {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }
}

@media (max-width: 640px) {
    .hero-content h2 {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .testimonials-grid {
        gap: 1rem;
    }

    .testimonial-card {
        padding: 1.25rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-content .welcome-text {
        font-size: 1.2rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .hero-button {
        gap: 0.5rem;
    }

    .testimonial-card {
        padding: 1rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .author-info strong {
        font-size: 0.85rem;
    }

    .author-info span {
        font-size: 0.75rem;
    }
}