/* --- HERO SECTION --- */
.hero {
    height: 75vh;
    background: url("/media/cnc-hero.png") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.hero h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #ddd;
}

.hero .cta-btn,
.intro .cta-btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: #4db5ff;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.hero .cta-btn:hover,
.intro .cta-btn:hover {
    background: #3791d0;
}

/* Testimonials */
.testimonials {
    background: #f7f7f7;
    padding: 3rem 5%;
    text-align: center;
}

.testimonials h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #333;
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.testimonial-card p {
    font-size: 1rem;
    color: #444;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #4db5ff;
}

.intro {
    margin-top: 2rem;
    margin-bottom: 2rem;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;

    text-align: center;
}

.intro p {
    margin-bottom: 1rem;
    text-align: center;

    max-width: 800px;
}