* {
    box-sizing: border-box;
}

.university-programs {
    width: 100%;
    padding: 70px 20px;
    background: #f7f9fc;
    font-family: Arial, Helvetica, sans-serif;
}

.university-container {
    width: 90%;
    max-width: 1250px;
    margin: auto;
}


/* =========================
   MAIN HEADING
========================= */

.university-heading {
    text-align: center;
    margin-bottom: 45px;
}

.heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    margin-bottom: 12px;

    border-radius: 50%;

    background: #e8eef9;

    font-size: 29px;
}

.university-heading h2 {
    margin: 0;

    color: #101b35;

    font-size: 38px;
    font-weight: 750;
    line-height: 1.25;
}

.university-heading h2 span {
    color: #1c4f91;
}

.university-heading p {
    max-width: 800px;

    margin: 14px auto 0;

    color: #667085;

    font-size: 17px;
    line-height: 1.7;
}


/* =========================
   UNIVERSITY CARD
========================= */

.university-card {

    margin-bottom: 30px;

    padding: 28px;

    background: #ffffff;

    border: 1px solid #e0e5ec;

    border-radius: 18px;

    box-shadow:
        0 8px 25px rgba(16, 27, 53, 0.06);

    transition: 0.3s ease;
}

.university-card:hover {

    box-shadow:
        0 14px 35px rgba(16, 27, 53, 0.10);

    transform: translateY(-2px);
}


/* =========================
   UNIVERSITY HEADER
========================= */

.university-header {

    display: flex;

    align-items: center;

    gap: 25px;

    padding-bottom: 25px;

    margin-bottom: 25px;

    border-bottom: 1px solid #e7eaf0;
}

.university-logo {

    width: 180px;
    height: 85px;

    display: flex;

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

    padding: 8px;

    flex-shrink: 0;

    border: 1px solid #edf0f4;

    border-radius: 12px;

    background: #ffffff;
}

.university-logo img {

    max-width: 100%;
    max-height: 68px;

    width: auto;
    height: auto;

    object-fit: contain;
}

.university-name h3 {

    margin: 0 0 7px;

    color: #101b35;

    font-size: 25px;

    line-height: 1.3;
}

.university-tag {

    display: inline-block;

    padding: 5px 11px;

    border-radius: 20px;

    color: #1c4f91;

    background: #eef4fc;

    font-size: 12px;

    font-weight: 700;
}

.university-full-name {

    display: block;

    color: #667085;

    font-size: 14px;
}


/* =========================
   PROGRAM COLUMNS
========================= */

.program-columns {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 25px;
}


/* =========================
   PROGRAM BOX
========================= */

.program-box {

    padding: 24px;

    border-radius: 14px;

    border: 1px solid #e3e7ed;

    background: #fafbfd;
}

.program-box.bachelor {

    border-top: 4px solid #1c4f91;
}

.program-box.master {

    border-top: 4px solid #b88924;
}


/* =========================
   PROGRAM TITLE
========================= */

.program-title {

    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 18px;
}

.program-icon {

    width: 45px;
    height: 45px;

    display: flex;

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

    border-radius: 12px;

    background: #eaf1fb;

    font-size: 21px;

    flex-shrink: 0;
}

.master .program-icon {

    background: #fbf4e6;
}

.program-title h4 {

    margin: 0;

    color: #101b35;

    font-size: 19px;
}

.program-title span {

    display: block;

    margin-top: 3px;

    color: #7a8493;

    font-size: 13px;
}


/* =========================
   PROGRAM LIST
========================= */

.program-box ul {

    list-style: none;

    padding: 0;
    margin: 0;
}

.program-box li {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-bottom: 11px;

    color: #4f5968;

    font-size: 14px;

    line-height: 1.5;
}

.program-box li:last-child {

    margin-bottom: 0;
}

.program-box li span {

    display: inline-flex;

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

    width: 20px;
    height: 20px;

    flex-shrink: 0;

    margin-top: 1px;

    border-radius: 50%;

    background: #e5eefb;

    color: #1c4f91;

    font-size: 11px;

    font-weight: bold;
}

.master li span {

    background: #f8edd8;

    color: #a47517;
}


/* =========================
   CTA
========================= */

.university-cta {

    display: flex;

    align-items: center;

    gap: 20px;

    margin-top: 45px;

    padding: 25px 30px;

    border-radius: 16px;

    background: #101b35;

    color: #ffffff;
}

.cta-icon {

    width: 55px;
    height: 55px;

    display: flex;

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

    flex-shrink: 0;

    border-radius: 50%;

    background: rgba(255,255,255,0.12);

    font-size: 26px;
}

.cta-content {

    flex: 1;
}

.cta-content h3 {

    margin: 0 0 5px;

    font-size: 20px;
}

.cta-content p {

    margin: 0;

    color: #cbd5e1;

    font-size: 14px;

    line-height: 1.5;
}

.university-whatsapp {

    display: inline-flex;

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

    padding: 13px 20px;

    border-radius: 8px;

    background: #ffffff;

    color: #101b35;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    white-space: nowrap;

    transition: 0.3s ease;
}

.university-whatsapp:hover {

    background: #f0c35b;

    color: #101b35;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .university-container {
        width: 95%;
    }

    .university-heading h2 {
        font-size: 32px;
    }

    .program-columns {
        grid-template-columns: 1fr;
    }

    .university-cta {
        flex-wrap: wrap;
    }

    .cta-content {
        min-width: 60%;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .university-programs {
        padding: 45px 12px;
    }

    .university-container {
        width: 100%;
    }

    .university-heading {
        margin-bottom: 30px;
    }

    .heading-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .university-heading h2 {
        font-size: 27px;
    }

    .university-heading p {
        font-size: 14px;
        line-height: 1.6;
    }


    /* UNIVERSITY CARD */

    .university-card {

        padding: 18px;

        margin-bottom: 20px;

        border-radius: 14px;
    }


    /* HEADER */

    .university-header {

        flex-direction: column;

        text-align: center;

        gap: 15px;

        padding-bottom: 20px;

        margin-bottom: 20px;
    }

    .university-logo {

        width: 180px;
        height: 78px;
    }

    .university-logo img {

        max-height: 60px;
    }

    .university-name h3 {

        font-size: 20px;

        line-height: 1.4;
    }


    /* PROGRAMS */

    .program-columns {

        grid-template-columns: 1fr;

        gap: 15px;
    }

    .program-box {

        padding: 18px;
    }

    .program-title {

        gap: 11px;

        margin-bottom: 15px;
    }

    .program-icon {

        width: 40px;
        height: 40px;

        font-size: 18px;
    }

    .program-title h4 {

        font-size: 17px;
    }

    .program-box li {

        font-size: 13px;

        margin-bottom: 10px;
    }


    /* CTA */

    .university-cta {

        flex-direction: column;

        text-align: center;

        padding: 25px 18px;

        gap: 14px;
    }

    .cta-content {

        width: 100%;
    }

    .cta-content h3 {

        font-size: 18px;
    }

    .cta-content p {

        font-size: 13px;
    }

    .university-whatsapp {

        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .university-heading h2 {
        font-size: 24px;
    }

    .university-card {
        padding: 14px;
    }

    .university-name h3 {
        font-size: 18px;
    }

    .program-box {
        padding: 15px;
    }

}
