/* === CTA SECTION (Styled like hero-testimonials / instructors) === */
.cta-section {
    background: linear-gradient(135deg, #0b3313, #005c2c, #003d1f);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-top: 2px solid limegreen;
    border-bottom: 2px solid limegreen;
    padding: 3.5rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 30px rgba(0, 230, 118, 0.3);
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 100, 50, 0.35);
    z-index: 0;
    pointer-events: none;
}

/* === CTA BOX === */
.cta-box {
    background: white;
    color: black;
    padding: 3.5rem 4rem;
    border-radius: 16px;
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.25);
    border: 2px solid black;
    max-width: 700px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-box:hover {
    transform: scale(1.02);
    box-shadow: 0 0 35px rgba(0, 255, 0, 0.4);
}

/* CTA Title */
.cta-box h2 {
    margin-top: 1rem;
    font-size: clamp(1.4rem, 4vw, 2.8rem);
    margin-bottom: 1.5rem;
    color: #00c853;
    text-shadow: 0 0 12px rgba(0, 255, 0, 0.2);
    font-weight: 800;
}

/* CTA Paragraph */
.cta-box p {
    font-size: clamp(0.95rem, 2.5vw, 1.4rem);

    color: #333;
    line-height: 1.6;
    padding: 0 2rem;
}

/* CTA Button */
.cta-button {
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    display: inline-block;
    padding: 0.7em 2em; /* padding w em → skaluje się razem z fontem */
    font-size: clamp(0.9rem, 2.2vw, 1.4rem);
    background: linear-gradient(135deg, #00c853, limegreen);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: background 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 18px rgba(0, 255, 0, 0.45);
}

.cta-button:hover {
    background: linear-gradient(135deg, limegreen, #00c853);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.6);
}

/* === RESPONSIVE DESIGN === */
/* === Large Laptops (max-width: 1200px) === */
@media (max-width: 1200px) {
    .cta-box {
        padding: 3rem 3.5rem;
        max-width: 650px;
    }
}

/* === Medium Laptops / Tablets Landscape (max-width: 992px) === */
@media (max-width: 992px) {
    .cta-section {
        padding: 3rem 2rem;
    }

    .cta-box {
        padding: 2.5rem 3rem;
        max-width: 90%;
    }

}

/* === Tablets Portrait (max-width: 768px) === */
@media (max-width: 768px) {
    .cta-section {
        padding: 2.5rem 1.5rem;
    }

    .cta-box {
        padding: 2rem 2.5rem;
    }

}

/* === Phones (max-width: 480px) === */
@media (max-width: 480px) {
    .cta-section {
        padding: 2rem 1rem;
    }

    .cta-box {
        padding: 1rem 1.5rem;
    }

}
