.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 40px;
    gap: 40px;
    background-image: linear-gradient(to top, #a8edea 0%, #fed6e3 100%);
    min-height: 70vh;
}

.hero-text {
    flex: 0 0 70%;
    max-width: 70%;
}

.hero-text h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.hero-text p {
    color: #555;
    margin-bottom: 25px;
    max-width: 100%;
    text-align: justify;
    line-height: 25px;
    text-align: center;
    font-size: 18px;
}

.hero-buttons {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-left: 30%;
    margin-bottom: 30px;
}

.btn-primary {
    background: #0066ff;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
}

.btn-secondary {
    color: #0066ff;
    text-decoration: none;
    align-self: center;
    font-weight: 500;
}

.stats {
    display: flex;
    gap: 60px;
    margin-top: 20px;
    margin-left: 15%;
}

.stat {
    background-color: rgb(157, 134, 162);
    padding: 5px 40px;
    border-radius: 20px;
    margin-left: 20px;
}


.stat h3 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
}

.stat p {
    color: #fefefe;
    font-size: 17px;
    text-align: center;
    margin-top: -20px;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    height: 100%;
    width: 100%;
    border-radius: 20px;
}

.news-section {
    text-align: center;
    width: 100%;
}

.news-section h2 {
    font-size: 2rem;
    font-weight: 400;
    color: #333;
}

.news-section h2 span {
    font-weight: 700;
}

.filter-buttons {
    margin: 15px 0;
}

.filter-buttons button {
    background: #e6e6e6;
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    margin: 5px;
    font-size: 1rem;
    cursor: pointer;
}

.filter-buttons button.active {
    background: #fff;
    font-weight: 600;
}

.curriculum-section {
    text-align: center;
    padding: 60px 20px;
    max-width: 100vw;
    margin: 0 auto;
    max-height: 100vh;
    background-image: linear-gradient(45deg, #93a5cf 0%, #e4efe9 100%);
}

.curriculum-section h4 {
    color: #7a5cf3;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.curriculum-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #222;
}

.curriculum-section p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 50px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.curriculum-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    text-align: left;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #222;
}

.card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card ul li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #555;
}

.card a {
    display: inline-block;
    margin-top: 15px;
    color: #7a5cf3;
    font-weight: bold;
    text-decoration: none;
}

.card a:hover {
    text-decoration: underline;
}

.why-us {
    display: flex;
    align-items: flex-start;
    padding: 40px 20px;
    gap: 20px;
    position: relative;
    background-image: linear-gradient(to top, #accbee 0%, #e7f0fd 100%);
}

.why-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    background: #0d6efd;
    color: #fff;
    font-weight: bold;
    padding: 10px 5px;
    border-radius: 6px;
    font-size: 14px;
}

.why-container {
    flex: 1;
}

.why-header {
    margin-bottom: 30px;
}

.why-header h2 {
    font-size: 28px;
    line-height: 1.4;
    margin: 0 0 10px;
}

.why-header .subtitle {
    font-size: 15px;
    color: #666;
    max-width: 50%;
    text-align: justify;
    line-height: 25px;
}

.why-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.why-card {
    flex: 1;
    min-width: 260px;
    background: #d1ead9;
    border-radius: 16px;
    padding: 20px;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.why-card .icon {
    font-size: 28px;
    margin-bottom: 12px;
    color: #111;
}

.why-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
    line-height: 1.4;
}

.why-card h3 .highlight {
    color: #0d6efd;
}

.why-card p {
    font-size: 16px;
    text-align: justify;
    color: #555;
    margin-bottom: 30px;
}

.why-card .arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 20px;
    color: #0d6efd;
    border: 2px solid #0d6efd;
    border-radius: 50%;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-card .arrow:hover {
    background: #0d6efd;
    color: #fff;
    cursor: pointer;
}


@media screen and (max-width: 1200px) {
    .hero-text h1 {
        font-size: 24px;
        text-align: center;
        margin-left: 20px;
        margin-top: -30px;
    }

    .hero-text p {
        font-size: 20px;
        text-align: justify;
        line-height: 22px;
    }

    .stats {
        gap: 50px;
        margin-left: 5%;
    }

    .stat {
        background-color: rgb(157, 134, 162);
        padding: 5px 40px;
        border-radius: 20px;
        margin-left: 20px;
    }

    .stat h3 {
        font-size: 22px;
        font-weight: 700;
        color: #ffffff;
        text-align: center;
    }

    .stat p {
        color: #fefefe;
        font-size: 17px;
        text-align: center;
        margin-top: -20px;
    }

    .why-header h2 {
        font-size: 20px;
        text-align: center;
        line-height: 1.4;
        margin: 0 0 10px;
        margin-top: -30px;

    }

    .why-header .subtitle {
        font-size: 16px;
        color: #000;
        max-width: 100%;
        text-align: justify;
        line-height: 25px;
    }
}

@media(max-width: 992px) {
    .hero {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 5px 10px;
        gap: 10px;
        margin-bottom: -200px;
        margin-top: -20px;
    }

    .hero-text {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 26px;
        text-align: center;
        margin-left: 20px;
        margin-top: -200px;
    }

    .hero-text p {
        font-size: 16px;
        text-align: justify;
        line-height: 22px;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 15px;
        margin-left: 35%;
    }

    .hero-image img {
        display: none;
    }

    .stats {
        display: none;
    }

    .stat {
        padding: 8px 20px;
    }


    .curriculum-section {
        text-align: center;
        padding: 60px 20px;
        max-width: 100vw;
        margin: 0 auto;
        min-height: 100%;
        margin-bottom: -150px;
        background-image: linear-gradient(45deg, #93a5cf 0%, #e4efe9 100%);
    }

    .curriculum-section h4 {
        font-size: 24px;
        margin-top: -40px;
    }

    .curriculum-section h2 {
        font-size: 1.9rem;
    }

    .curriculum-section p {
        font-size: 1.0rem;
    }

    .curriculum-cards {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 15px;
    }

    .card {
        background: #fff;
        border-radius: 15px;
        padding: 20px;
        text-align: left;
        box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease;
    }

    .card img {
        display: none;
    }

    .card h3 {
        font-size: 1rem;
        text-align: center;
    }

    .card ul li {
        margin-bottom: 10px;
        font-size: 0.9rem;
        color: #555;
    }
    .why-label {
        display: none;
    }

    .why-header h2 {
        font-size: 20px;
        text-align: center;
        line-height: 1.4;
        margin: 0 0 10px;
        margin-top: -30px;

    }

    .why-header .subtitle {
        font-size: 16px;
        color: #000;
        max-width: 100%;
        text-align: justify;
        line-height: 25px;
    }

}

@media (max-width: 768px) {
    .curriculum-section h4 {
        margin-top: -20px;
        font-size: 22px;
    }

    .curriculum-section h2 {
        font-size: 1.4rem;
        margin-bottom: 20px;
        color: #222;
    }
    .why-us {
        flex-direction: column;
        padding: 40px 20px;
    }

    .why-cards {
        flex-direction: column;
    }
    .hero-buttons {
        flex-direction: row;
        gap: 15px;
        margin-left: 30px;
    }
    .curriculum-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
        margin-top: -30px;
    }
}

@media screen and (max-width: 450px) {
    .hero {
        align-items: center;
        justify-content: space-between;
        padding: 5px 10px;
        gap: 10px;
        margin-top: -20px;
        max-height: 60vh;
        margin-bottom: -200px;
    }


    .hero-text {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 20px;
        text-align: center;
        margin-left: 20px;
        margin-top: -170px;
    }

    .hero-text p {
        font-size: 16px;
        text-align: justify;
        line-height: 22px;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 15px;
        margin-left: 30px;
    }

    .hero-image img {
        display: none;
    }

    .stats {
        display: none;
    }

    .stat {
        padding: 8px 20px;
    }

    .curriculum-section h4 {
        margin-top: -20px;
    }

    .curriculum-section h2 {
        font-size: 1.7rem;
        margin-bottom: 20px;
        color: #222;
    }

    .curriculum-section p {
        font-size: 1rem;
        color: #555;
        margin-bottom: 50px;
        line-height: 1.6;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    .curriculum-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
        margin-top: -30px;
    }
    .card {
        border-radius: 10px;
    }
    .card img {
        display: none;
    }

    .card h3 {
        font-size: 1rem;
        margin-top: -15px;
        text-align: center;
    }

    .card ul li {
        margin-bottom: 10px;
        font-size: 0.8rem;
        color: #555;
    }

    .why-label {
        display: none;
    }

    .why-header h2 {
        font-size: 20px;
        text-align: center;
        line-height: 1.4;
        margin: 0 0 10px;
        margin-top: -30px;

    }

    .why-header .subtitle {
        font-size: 16px;
        color: #000;
        max-width: 100%;
        text-align: justify;
        line-height: 25px;
    }

    .why-card {
        max-width: 100%;
        border-radius: 12px;
        padding: 15px;
    }

    .why-card h3 {
        font-size: 18px;
        text-align: center;
        margin-top: -10px;
    }

    .why-card p {
        font-size: 16px;
        color: #000;
        margin-bottom: 40px;
    }
}