@media screen and (max-width: 1399px) {
    .contact-avatar-right {
        right: -10px;
        width: 230px;
    }
    .banner-top-left {
        top: -120px;
        left: 22%;
        transform: translateX(-76%);
    }
    .banner-bottom-left {
        bottom: -130px;
        left: 15%;
        transform: translateX(-80%);
    }
    .banner-top-right {
        top: -120px;
        right: 22%;
        transform: translateX(76%);
    }
    .banner-bottom-right {
        right: 15%;
        bottom: -90px;
        transform: translateX(80%);
    }
}

@media screen and (max-width: 1199px) {
    .shadow-separator {
        bottom: -130px;
    }
    .contact-avatar-right {
        right: -16px;
        width: 230px;
    }
    .contact-avatar-left {
        left: 20px;
        width: 190px;
    }
    .login-right{
        padding: 40px 50px;
    }
    h1{font-size: 35px; line-height: 1;}
    h2{font-size: 42px; line-height: 1;}
    h3{font-size: 37px; line-height: 1;}
    h5{font-size: 23px; line-height: 1;}
}

@media screen and (max-width: 991px) {
    h1{font-size: 32px; line-height: 1;}
    h2{font-size: 38px; line-height: 1;}
    h3{font-size: 33px; line-height: 1;}
    h5{font-size: 22px; line-height: 1;}
    .p-lg{font-size: 20px;}
    .p-md{font-size: 18px;}
    .shadow-separator {
        bottom: -80px;
    }

    .navbar-collapse {
        position: absolute;
        z-index: 9;
        top: 150px;
        padding: 10px;
        background: rgb(34, 102, 197);
        width: 100%;
    }
    .contact-card{
        border-radius: 20px;
        padding: 15px 30px;
    }
    .banner-bottom-right {
        right: 8%;
        bottom: -60px;
        transform: translateX(80%);
        width: 100px;
    }
    .banner-bottom-left {
        bottom: -80px;
        left: 8%;
        width: 80px;
        transform: translateX(-80%);
    }
    .banner-top-right {
        top: -100px;
        right: 18%;
        transform: translateX(76%);
        width: 100px;
    }
    .banner-top-left {
        top: -90px;
        left: 16%;
        transform: translateX(-76%);
        width: 70px;
    }
}

@media screen and (max-width: 768px) {
    h1{font-size: 28px; line-height: 1;}
    h2{font-size: 35px; line-height: 1;}
    h3{font-size: 30px; line-height: 1;}
    .ctn-preloader .animation-preloader .txt-loading {
        font: bold 3em "Circular Std Book";
    }

    .shadow-separator {
        bottom: 40px;
    }

    .story-card-inner {
        padding: 40px 30px 40px 30px;
        margin-left: 0;
    }
    
    .story-card-inner-2 {
        margin-right: 0;
        padding: 40px 30px 40px 30px;
    }
    .courses-card-left, .courses-card-left img, .courses-img{
        border-radius: 50px 50px 0 0;
    }
    .courses-card-right{
        border-radius: 0 0 50px 50px;
        height: auto;
    }
    .courses-icon{
        left: 50%;
        transform: translateX(-50%);
    }
    .banner-top-left {
        top: -50px;
        left: 17%;
        transform: translateX(-76%);
        width: 50px;
    }
    .banner-top-right {
        top: -50px;
        right: 17%;
        transform: translateX(76%);
        width: 70px;
    }
    .banner-bottom-left {
        bottom: -30px;
        left: 9%;
        width: 60px;
        transform: translateX(-80%);
    }
    .banner-bottom-right {
        right: 11%;
        bottom: -22px;
        transform: translateX(80%);
        width: 80px;
    }
    .black-home .courses-card-right {
        height: auto;
    }
    .about-1{
        animation: none !important;
    }
    .about-2{
        animation: none !important;
    }
    .about-3{
        animation: none !important;
    }
    .about-4{
        animation: none !important;
    }
    .banner-top-left, .banner-top-right, .banner-bottom-left, .banner-bottom-right {
        display: none;
    }
}

@media screen and (max-width: 575px) {
    h1{font-size: 28px; line-height: 1;}
    h2{font-size: 28px; line-height: 1;}
    h3{font-size: 25px; line-height: 1;}
    h5{font-size: 18px; line-height: 1;}
    .p-lg{font-size: 17px;}
    .p-md{font-size: 16px;}
    body{font-size: 14px;}
    .courses-card-left, .courses-card-left img, .courses-img{
        border-radius: 25px 25px 0 0;
        height: 200px;
    }
    .courses-card-right{padding: 30px 20px; border-radius: 0 0 25px 25px;}
    .ctn-preloader .animation-preloader .txt-loading {
        font: bold 2.2em "Circular Std Book";
    }
    .banner-card-3::after, .heading-before::before, .heading-before::after{
        display: none;
    }
    .site-logo {
        width: 200px;
    }
    .login-right{
        padding: 30px;
    }
    .black-home .banner {
        background: transparent;
        padding: 230px 0 50px 0;
        min-height: 0;
    }
    .about-1{
        width: 100px !important;
    }
    .about-2{
        width: 160px !important;
    }
    .about-3{
        width: 180px !important;
    }
    .about-4{
        width: 100px !important;
    }
}