/* ---------- Hero section ---------- */
section.hero {
    position: relative;
    z-index: 1;

    width: 100%;
    height: 100dvh;

    padding: 200px var(--padding);
    background-color: var(--hero-bg-light);

    display: flex;
    flex-direction: column;

    justify-content: flex-start;
    align-items: flex-start;

    overflow: hidden;
}

section.hero svg {
    position: absolute;
    scale: -1;

    bottom: -5px;
    left: 0;

    fill: #ffffff;
}

section.hero h1 {
    font-size: 60px;
    font-weight: bold;

    color: var(--primary-dark);
}

section.hero p {
    width: 100%;
    max-width: 900px;

    font-size: 18px;
    font-weight: 300;

    color: var(--primary-dark);
    margin-bottom: 20px;
}

section.hero .cta {
    display: flex;
    flex-direction: row;

    gap: 5px;
}

section.hero .cta a {
    display: flex;
    flex-direction: row;

    justify-content: center;
    align-items: center;
}

/* ---------- Introduction ---------- */
section.introduction {
    position: relative;
    z-index: 1;

    width: 100%;
    height: max-content;

    padding: var(--padding);

    display: flex;
    flex-direction: column;

    justify-content: flex-start;
    align-items: center;
}

section.introduction h2 {
    font-size: 40px;
    text-align: center;
    color: var(--primary-dark);
}

section.introduction p {
    width: 100%;
    max-width: 850px;

    text-align: center;
    font-size: 20px;
    color: var(--primary-dark);
}

section.introduction img {
    position: absolute;
    z-index: -1;

    top: 0;
    left: 20%;

    opacity: 0.6;

    width: 100%;
    max-width: 500px;
}

/* ---------- Classes Section ----------*/
section.classes {
    display: flex;
    flex-direction: column;

    justify-content: flex-start;
    align-items: flex-start;

    gap: var(--padding);
}

section.classes .cards {
    width: 100%;
    height: max-content;

    display: flex;
    flex-direction: row;

    justify-content: center;
    align-items: center;

    flex-wrap: wrap;
    gap: 15px;
}

section.classes .cards .card {
    width: 300px;
    height: 320px;

    background-color: var(--hero-bg-lighter);
    border-radius: 5px;

    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;

    transition: 0.3s ease-out;
}

section.classes .cards .card .i {
    width: 100%;
    height: 130px;

    padding-top: 15px;
    background-color: var(--hero-bg-lighter);

    display: flex;
    text-align: center;

    justify-content: center;
    align-items: center;
}

section.classes .cards .card .i i {
    font-size: 55px;
    color: var(--primary-dark);
    transition: 0.3s ease-out;
}

section.classes .cards .card:hover {
    box-shadow: 0 20px 10px rgba(255, 255, 255, 0.5);
    border: 1px solid var(--primary-dark);
    transform: scale(1.1);
}

section.classes .cards .card:hover .i i {
    transform: rotateZ(-5deg) scale(1.1);
}

section.classes .cards .card h3 {
    width: 100%;
    height: auto;

    text-align: center;
    font-size: 20px;

    color: var(--primary-dark);
    margin-bottom: 5px;
}

section.classes .cards .card p {
    width: 100%;
    height: auto;

    text-align: center;
    font-size: 16px;

    padding: 8px;
    color: var(--primary-dark);
}

/* ---------- Testimonials ---------- */
section.testimonials {
    position: relative;
    background-color: var(--hero-bg-light);

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    gap: var(--padding);
}

section.testimonials .testimonial {
    width: 100%;
    max-width: 600px;
    height: 300px;

    padding: 15px;
    border-radius: 5px;

    background-color: #ffffff;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;
}

section.testimonials .testimonial i {
    font-size: 35px;
    color: var(--primary-light);
    margin-bottom: 20px;
}

section.testimonials .testimonial p {
    font-size: 18px;
    color: var(--primary-light);

    text-align: center;
}

section.testimonials .testimonial .block {
    display: flex;
    flex-direction: row;

    justify-content: center;
    align-items: center;

    margin-top: 25px;
    gap: 15px;
}

section.testimonials .testimonial .block img {
    aspect-ratio: 1/1;
    border-radius: 50%;

    width: 50px;
    height: auto;
}

section.testimonials .testimonial .block > div {
    display: flex;
    flex-direction: column;
}

section.testimonials .testimonial .block > div span.author {
    font-size: 15px;
    font-weight: bold;
}
section.testimonials .testimonial .block > div span.role {
    font-size: 13px;
    font-weight: 400;
}

/* ---------- Enrol Section ---------- */
section.enrol {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

section.enrol h2 {
    margin: 0 auto;
    color: var(--primary-light);

    text-align: center;
    font-size: 32px;
}
section.enrol h2::before {
    background-color: var(--primary-light);
}

section.enrol p {
    font-size: 18px;
    font-weight: 300;
    color: var(--primary-dark);
    text-align: center;
}

section.enrol a {
    margin-top: 15px;
    font-size: 20px;
    font-weight: bold;

    padding: 15px;
    border-radius: 5px;

    color: #ffffff;
    background-color: var(--primary-dark);
}

/* ---------- Responsive ---------- */
@media (max-width: 500px) {
    section.hero h1 {
        font-size: 50px;
    }

    section.introduction h2,
    section.introduction p {
        text-align: left;
    }
}

@media (max-width: 600px) {
    section.hero .hero-shape-5 {
        display: none;
    }
}
