/* =========================================
   PROGRAMS SECTION
========================================= */

.programs-section {
    padding: 110px 0;
    background: #F8FAFC;
}

.programs-section .container {
    position: relative;
}


/* =========================================
   SECTION HEADING
========================================= */

.programs-section .section-heading {
    margin-bottom: 60px;
}

.programs-section .section-heading span {
    display: inline-block;

    color: #0F4C81;
    font-size: 14px;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.programs-section .section-heading h2 {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 800;

    color: #1E293B;

    margin: 15px 0;
}

.programs-section .section-heading p {
    max-width: 650px;

    margin: 0 auto;

    color: #64748B;

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


/* =========================================
   PROGRAM CARD
========================================= */

.program-card {
    position: relative;

    width: 100%;
    height: 100%;
    min-height: 500px;

    display: flex;
    flex-direction: column;

    background: #fff;

    border-radius: 24px;

    padding: 40px;

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;

    box-shadow: 0 15px 40px rgba(0, 0, 0, .06);

    border: 1px solid #eef2f7;
}

.program-card:hover {
    transform: translateY(-10px);

    box-shadow: 0 25px 60px rgba(15, 76, 129, .15);

    border-color: rgba(15, 76, 129, .12);
}


/* =========================================
   PROGRAM ICON
========================================= */

.program-icon {
    width: 85px;
    height: 85px;

    flex: 0 0 85px;

    border-radius: 20px;

    background: #EEF6FF;

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

    margin-bottom: 25px;

    transition:
        background .35s ease,
        transform .35s ease;
}

.program-icon i {
    font-size: 40px;
    line-height: 1;

    color: #0F4C81;

    transition: color .35s ease;
}

.program-card:hover .program-icon {
    background: #0F4C81;
    transform: translateY(-3px);
}

.program-card:hover .program-icon i {
    color: #fff;
}


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

.program-card h3 {
    font-size: 28px;
    line-height: 1.25;

    margin: 0 0 22px;

    font-weight: 700;

    color: #1E293B;

    overflow-wrap: anywhere;
}


/* =========================================
   COURSE LIST
========================================= */

.program-card ul {
    list-style: none;

    padding: 0;
    margin: 0 0 30px;
}

.program-card li {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    margin-bottom: 13px;

    color: #555;

    font-size: 16px;
    line-height: 1.5;
}

.program-card li:last-child {
    margin-bottom: 0;
}

.program-card li i {
    flex: 0 0 auto;

    color: #0F4C81;

    font-size: 15px;

    margin-top: 3px;
}


/* =========================================
   BUTTON
========================================= */

.program-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    width: fit-content;

    margin-top: auto;

    color: #0F4C81;

    font-size: 16px;
    font-weight: 700;

    text-decoration: none;

    transition:
        color .25s ease,
        gap .25s ease;
}

.program-btn:hover {
    color: #0b3c66;
    gap: 14px;
}

.program-btn i {
    font-size: 17px;
}


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

@media (max-width: 991px) {

    .programs-section {
        padding: 80px 0;
    }

    .programs-section .section-heading {
        margin-bottom: 45px;
    }

    .programs-section .section-heading h2 {
        font-size: 36px;
    }

    .programs-section .section-heading p {
        font-size: 16px;
    }

    .program-card {
        min-height: 460px;
        padding: 32px;
    }

    .program-icon {
        width: 75px;
        height: 75px;
        flex-basis: 75px;

        margin-bottom: 22px;
    }

    .program-icon i {
        font-size: 35px;
    }

    .program-card h3 {
        font-size: 25px;
    }

    .program-card li {
        font-size: 15px;
    }

}


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

@media (max-width: 576px) {

    .programs-section {
        padding: 60px 0;
    }

    .programs-section .container {
        padding-left: 16px;
        padding-right: 16px;
    }


    /* Section heading */

    .programs-section .section-heading {
        margin-bottom: 30px;
    }

    .programs-section .section-heading span {
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    .programs-section .section-heading h2 {
        font-size: 30px;
        line-height: 1.2;

        margin: 10px 0;
    }

    .programs-section .section-heading p {
        font-size: 15px;
        line-height: 1.6;
    }


    /* Grid */

    .programs-section .row {
        --bs-gutter-x: 0;
        --bs-gutter-y: 20px;
    }

    .programs-section .col-lg-6,
    .programs-section .col-md-6 {
        width: 100%;
    }


    /* Card */

    .program-card {
        min-height: 0;

        height: auto;

        padding: 28px 20px;

        border-radius: 19px;

        box-shadow: 0 10px 30px rgba(0, 0, 0, .055);
    }

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


    /* Icon */

    .program-icon {
        width: 65px;
        height: 65px;

        flex-basis: 65px;

        border-radius: 16px;

        margin-bottom: 18px;
    }

    .program-icon i {
        font-size: 29px;
    }


    /* Title */

    .program-card h3 {
        font-size: 23px;
        line-height: 1.25;

        margin-bottom: 18px;
    }


    /* Courses */

    .program-card ul {
        margin-bottom: 24px;
    }

    .program-card li {
        gap: 9px;

        margin-bottom: 11px;

        font-size: 14px;
        line-height: 1.45;
    }

    .program-card li i {
        font-size: 13px;
        margin-top: 3px;
    }


    /* Button */

    .program-btn {
        font-size: 14px;
    }

    .program-btn i {
        font-size: 15px;
    }

}


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

@media (max-width: 380px) {

    .programs-section {
        padding: 50px 0;
    }

    .programs-section .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .programs-section .section-heading h2 {
        font-size: 28px;
    }

    .programs-section .section-heading p {
        font-size: 14px;
    }

    .programs-section .row {
        --bs-gutter-y: 15px;
    }

    .program-card {
        padding: 24px 17px;
        border-radius: 17px;
    }

    .program-icon {
        width: 58px;
        height: 58px;
        flex-basis: 58px;

        border-radius: 14px;

        margin-bottom: 15px;
    }

    .program-icon i {
        font-size: 26px;
    }

    .program-card h3 {
        font-size: 21px;
        margin-bottom: 15px;
    }

    .program-card li {
        font-size: 13px;
        gap: 8px;
        margin-bottom: 9px;
    }

    .program-btn {
        font-size: 13px;
    }

}