@import url('https://fonts.googleapis.com/css2?family=Carlito:ital,wght@0,400;0,700;1,400;1,700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Roboto+Slab:wght@100..900&display=swap');

body {
    font-family: "Lato", sans-serif;
}

/* <================Hero section================> */
.hero {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    background-color: #f6f6f6;
}

.hero img {
    max-width: 300px;
    height: auto;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    width: 70%;
}

@media(max-width: 768px) {
    .hero {
        margin-top: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column-reverse;
    }

    .hero-text {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.0rem;
    }
}

@media(max-width: 428px) {
    .hero h1 {
        font-size: 1.5rem;
    }
}

@media (min-width: 768px) {
    .hero {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        padding: 60px 10%;
    }

    .hero-text {
        flex: 1;
        padding-right: 40px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero img {
        max-width: 400px;
    }
}

/* <=============================> */
/* <=============About=============> */
.highlight-bar {
    background-color: #111;
    color: white;
    text-align: center;
    padding: 15px;
    font-weight: bold;
    font-size: 1.2rem;
}

.section {
    padding: 40px 20px;
    text-align: center;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.section p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1rem;
    color: #333;
}

/* <=============================> */
/* Section with video and text */
.learning-section {
    display: flex;
    flex-direction: column;
    padding: 40px 20px;
    background-color: #f8f8f8;
}

.learning-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.learning-video {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.learning-video img {
    width: 90%;
    height: auto;
    border-radius: 5px;
}


.learning-text {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.learning-text h2 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.learning-text p {
    font-size: 1rem;
    color: #555;
}

/* Impact section */
.impact-section {
    background-color: #89d9bc;
    color: #2b4c5f;
    padding: 60px 20px;
    text-align: center;
}

.impact-section h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.impact-section p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1rem;
    color: #2b4c5f;
}

.impact-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    font-size: 1.5rem;
    font-weight: bold;
}

@media (min-width: 768px) {
    .learning-content {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .learning-video,
    .learning-text {
        flex: 1;
        max-width: 50%;
    }

    .learning-text {
        text-align: left;
    }

    .learning-section {
        padding: 60px 80px;
    }
}