.programs-content-container {
    width: 75%; 
    margin: auto; 
    max-width: 1000px; 
    min-width: 650px;
    overflow: hidden;
}

#border-on-top {
    border: none; 
    width: 90%; 
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.2); 
    margin-top: 0; 
    margin-bottom: 3%;
    overflow: hidden;
}

.btn-apply {
    color: #fff;
    background-color: #2f7edc;
    font-family: inter-reg;
    border: none;
    font-size: 16px;
    padding: 13px 35px;
    border-radius: 5px;
}

.programs-title {
    font-family: inter-Bold;
    font-size: 20px;
}

.program-text {
    font-size: 16px;
}

.line-title {
    width: 45%; 
    margin: auto; 
    height: 25px;
}

.line-title hr {
    border-top: none; 
    border-radius: 50%; 
    border-color: #b3b3b3;
}

.line-title-text {
    position: absolute; 
    top: -2px; 
    left: 50%; 
    transform: translateX(-50%); 
    background-color: #fff; 
    font-family: inter-reg; 
    color: #2d2d2d; 
    font-size: 16px;
}

.program-text ul {
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 8px;
}

.programs-left {
    width: 49%;
    margin-right: 1%;
    float: left;
    overflow: hidden;
}

.programs-right {
    width: 49%;
    margin-left: 1%;
    float: right;
    overflow: hidden;
}

#btn-programs-container {
    width: 70%; 
    margin: auto; 
    overflow: hidden; 
    text-align: center; 
    margin-top: 5%; 
    margin-bottom: 6%;
}

.desktop-programs-container {
    width: calc(32% - 58px);
    overflow: hidden;
    padding: 25px 25px;
    text-align: center;
    background-color: #f7f7f7;
    border-radius: 15px;
    cursor: pointer;
    margin-top: 20px;
    margin-left: 4px;
    /*transition: width 0.5s;*/
}

.desktop-programs-container:hover {
    width: calc(32% - 50px);
    padding: 35px 25px;
}

#boxProgram1, #boxProgram2 {
    margin-right: calc(2% + 4px);
}

#boxProgram1:hover, #boxProgram2:hover {
    /*width: calc(24.25% - 50px);*/
    margin-right: 2%;
    margin-top: 0;
    margin-left: 0;
    /*padding: 35px 25px;*/
}

#boxProgram3 {
    margin-right: 4px;
}

#boxProgram3:hover {
    /*width: calc(24.25% - 50px);*/
    margin-right: 0;
    margin-top: 0;
    margin-left: 0;
    /*padding: 35px 25px;*/
}

.desktop-programs-container .programs-pic {
    width: 100%;
    overflow: hidden;
    text-align: center;
}

.desktop-programs-container .programs-pic img {
    height: 65px;
}

.desktop-programs-container .programs-title {
    font-size: 20px;
    font-family: inter-Bold;
    margin-top: 15px;
}

.desktop-programs-container .program-text {
    font-size: 16px;
    margin-top: 8px;
}

.desktop-programs-container .txt-learnmore {
    margin-top: 12px;
}

.desktop-programs-container .txt-learnmore a {
    font-size: 13px;
    text-decoration: none;
    color: #2c7edd;
}

.desktop-programs-container .txt-learnmore .fa-chevron-right {
    font-size: 8px;
}

.desktop-programs-container .txt-learnmore a:hover {
    text-decoration: underline;
}

@media (max-width: 1220px) {
    .desktop-programs-container {
        padding-right: 15px;
        padding-left: 15px;
        width: calc(32% - 38px);
    }
    
    .desktop-programs-container:hover {
        padding-right: 15px;
        padding-left: 15px;
        padding-top: 35px;
        padding-bottom: 35px;
        width: calc(32% - 30px);
    }
}

@media (max-width: 1100px) {    
    .desktop-programs-container .programs-pic img {
        height: 60px;
    }

    .desktop-programs-container .programs-title {
        font-size: 18px;
        margin-top: 15px;
    }

    .desktop-programs-container .program-text {
        font-size: 14px;
        margin-top: 8px;
    }

    .desktop-programs-container .txt-learnmore {
        margin-top: 12px;
    }

    .desktop-programs-container .txt-learnmore a {
        font-size: 11px;
    }

    .desktop-programs-container .txt-learnmore .fa-chevron-right {
        font-size: 5px;
    }
}

@media (max-width: 1025px) {
    .programs-title {
        font-size: 18px;
    }
    
    .program-text, .line-title-text {
        font-size: 14px;
    }
    
    .btn-apply {
        font-size: 14px;
        padding: 12px 33px;
    }
    
    .desktop-programs-container {
        width: calc(32.333% - 58px);
        padding: 25px 25px;
    }
    
    #boxProgram1, #boxProgram2 {
        margin-right: calc(1.5% + 4px);
    }

    #boxProgram1:hover, #boxProgram2:hover {
        width: calc(32.333% - 50px);
        margin-right: 1.5%;
        margin-top: 0;
        margin-left: 0;
        padding: 35px 25px;
    }

    #boxProgram3 {
        margin-right: 4px;
    }

    #boxProgram3:hover {
        width: calc(32.333% - 50px);
        margin-right: 0;
        margin-top: 0;
        margin-left: 0;
        padding: 35px 25px;
    }
    
    .desktop-programs-container .programs-pic img {
        height: 50px;
    }

    .desktop-programs-container .programs-title {
        font-size: 16px;
        margin-top: 12px;
    }

    .desktop-programs-container .program-text {
        font-size: 12px;
        margin-top: 5px;
    }

    .desktop-programs-container .txt-learnmore {
        margin-top: 10px;
    }

    .desktop-programs-container .txt-learnmore a {
        font-size: 11px;
    }

    .desktop-programs-container .txt-learnmore .fa-chevron-right {
        font-size: 6px;
    }
}

@media (max-width: 860px) {
    #btn-programs-container {
        width: 80%;
    }
}

@media (max-width: 767px) {
    .desktop-contents-container {
        width: 100%;
        margin: auto;
        overflow: hidden;
        max-width: none;
        min-width: 320px;
    }
    
    .programs-content-container {
        width: 90%; 
        margin: auto; 
        max-width: none; 
        min-width: 300px;
        overflow: hidden;
    }
    
    .programs-left, .programs-right {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        float: none;
    }
    
    #btn-programs-container {
        width: 90%;
    }
    
    #border-on-top {
        width: 100%;
        margin-bottom: 4%;
    }
    
    .programs-title {
        font-size: 15px;
    }
    
    .program-text, .line-title-text {
        font-size: 12px;
    }
    
    .btn-apply {
        font-size: 12px;
        padding: 10px 30px;
    }
}

@media (max-width: 650px) {
    .desktop-programs-container .programs-pic img {
        height: 45px;
    }

    .desktop-programs-container .programs-title {
        font-size: 14px;
        margin-top: 10px;
    }

    .desktop-programs-container .program-text {
        font-size: 10px;
        margin-top: 4px;
    }

    .desktop-programs-container .txt-learnmore {
        margin-top: 8px;
    }

    .desktop-programs-container .txt-learnmore a {
        font-size: 9px;
    }

    .desktop-programs-container .txt-learnmore .fa-chevron-right {
        font-size: 4px;
    }
}

@media (max-width: 580px) {
    .desktop-programs-container {
        width: calc(32.333% - 38px);
        padding: 15px 15px;
    }

    .desktop-programs-container:hover {
        width: calc(32.333% - 30px);
        padding: 25px 15px;
    }
}

@media (max-width: 490px) {
    .desktop-programs-container {
        width: calc(32.667% - 32px);
        padding: 12px 12px;
    }
    
    #boxProgram1, #boxProgram2 {
        margin-right: calc(1% + 4px);
    }

    #boxProgram1:hover, #boxProgram2:hover {
        width: calc(32.667% - 24px);
        margin-right: 1%;
        margin-top: 0;
        margin-left: 0;
        padding: 22px 12px;
    }

    #boxProgram3 {
        margin-right: 4px;
    }

    #boxProgram3:hover {
        width: calc(32.667% - 24px);
        margin-right: 0;
        margin-top: 0;
        margin-left: 0;
        padding: 22px 12px;
    }
    
    .desktop-programs-container .programs-pic img {
        height: 40px;
    }
    
    .desktop-programs-container .programs-title {
        font-size: 12px;
        margin-top: 8px;
    }
    
    .desktop-programs-container .program-text {
        font-size: 9px;
        margin-top: 3px;
    }
    
    .desktop-programs-container .txt-learnmore a {
        font-size: 8px;
    }

    .desktop-programs-container .txt-learnmore .fa-chevron-right {
        font-size: 3px;
    }
}

@media (max-width: 480px) {
    .programs-title {
        font-size: 14px;
    }
    
    .program-text, .line-title-text {
        font-size: 11px;
    }
    
    .btn-apply {
        font-size: 11px;
        padding: 8px 28px;
    }
}

@media (max-width: 430px) {
    .desktop-programs-container {
        width: calc(33.2% - 24px);
        padding: 12px 8px;
    }
    
    #boxProgram1, #boxProgram2 {
        margin-right: calc(0.2% + 4px);
    }

    #boxProgram1:hover, #boxProgram2:hover {
        width: calc(33.2% - 26px);
        margin-right: 0.2%;
        margin-top: 0;
        margin-left: 0;
        padding: 22px 8px;
    }

    #boxProgram3 {
        margin-right: 4px;
    }

    #boxProgram3:hover {
        width: calc(33.2% - 26px);
        margin-right: 0;
        margin-top: 0;
        margin-left: 0;
        padding: 22px 8px;
    }
}

@media (max-width: 390px) {
    .desktop-programs-container {
        width: calc(33.2% - 14px);
        padding: 10px 4px;
    }
    
    #boxProgram1, #boxProgram2 {
        margin-right: calc(0.2% + 2px);
    }

    #boxProgram1:hover, #boxProgram2:hover {
        width: calc(33.2% - 16px);
        margin-right: 0.2%;
        margin-top: 0;
        margin-left: 0;
        padding: 20px 4px;
    }

    #boxProgram3 {
        margin-right: 2px;
    }

    #boxProgram3:hover {
        width: calc(33.2% - 16px);
        margin-right: 0;
        margin-top: 0;
        margin-left: 0;
        padding: 20px 4px;
    }
}

@media (max-width: 341px) {
    .desktop-programs-container .programs-title {
        letter-spacing: -1px;
    }
}