header.two .two-bar:after {
    top: 20%;
    height: 57%;
    border-radius: 51px;
    /* width: 82%; */
    width: 97%;
    background-color: #fff;
    z-index: -1;
}
.top-bar {
    padding: 5px 0;
}
.two-bar {
    background-color: var(--common-colour);
    padding: 10px 0;
}
.hero-section.two {
    height: auto;
    padding-top: 10px;
}
@media screen and (max-width: 1400px) {
    .hero-section.two .hero-text h1 {
        font-size: 37px!important;
    }
}
.learn-quran {
    text-align: center;
    border-bottom-right-radius: 330px;
    border-bottom-left-radius: 330px;
    padding: 19px;
    padding-top: 19px;
    padding-bottom: 100px;
}

@media screen and (max-width: 1400px) {
    .gap {
        padding-top: 40px!important;
        padding-bottom: 40px!important;
    }
}
.pdf-slider {
    margin-top: 0px;
}
.heading {
    text-align: center;
    width: 60%;
    margin: auto;
    padding-bottom: 15px;
}

.courses-img figure img {
    width: 100%!important;
}


footer.two .wpo-lower-footer {
    display: flex
;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 1px solid #444;
    margin-top: 0px;
}

@media screen and (max-width: 1400px) {
    .Information {
        padding-bottom: 10px!important;
    }
}
.courses-two > img {
    width: 85px;
    height: 85px;
}
.timeline_img img{
    width: 40%;
}

.hoverimg img{
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.scholar img{
        width: 24%!important;
}
.bannr-section {
    padding-top: 22px;
    text-align: center;
    padding-bottom: 10px;
    background-repeat: no-repeat;
    position: relative;
    background-size: cover;
}
form#contact-form input, form#contact-form textarea, select {
    margin-bottom: 15px;
    width: 100%;
    height: 40px;
    padding-left: 16px;
    border: 1px solid #c1c1c1;
    outline: none;
}
.our-courses .content {
    padding: 50px;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    background-color: #076f371c;
}
.content p span {
    border-bottom: 3px solid #027d3a;
}
.submit-btn{
    text-transform: capitalize;
    border-radius: 50px;
    color: #ffffff !important;
    line-height: 16px;
    overflow: hidden;
    padding: 20px 50px;
    position: relative;
    font-weight: 700;
    text-align: center;
    white-space: pre;
    z-index: 1;
    border: 0;
    background-color: #007c3a;
    padding: 20px 43px;
    border-radius: 55px;
    color: #000;
    font-weight: bold;
}
.our-courses.contact-form .content {
    padding: 30px 15px;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    background-color: #076f371c;
}
@media (max-width: 1400px) {
    .real-history-book.mt-10 {
        margin-top: 0px;
    }
}
.two:after{
    content: '';
    position: fixed;
    bottom: 0;
    right: 0;
    width: 123px;
    height: 300px;
    background: url(../../user/img/leaf.webp) no-repeat;
    background-size: 121px;
    background-position: center right;
}
.two:before{
    content: '';
    position: fixed;
    top: 125px;
    left: 0;
    width: 188px;
    height: 188px;
    background: url(../../user/img/left-leaf.webp) no-repeat;
    background-size: 256px;
    background-position: -108px -34px;
}

@media screen and (max-width: 992px){
    .d-none-xs{
        display: none;
    }
        .hero-img.two {
        justify-content: center!important;
        margin-top: 0px;
        display: contents;
    }
    .service {
        text-align: center;
    }
    .courses-two h6 {
        background-color: var(--theme-colour);
        padding: 8px 14px;
        font-weight: bold;
        position: absolute;
        right: 0;
        border-radius: 52px;
        border-bottom-right-radius: 0;
        border-top-right-radius: 0;
        bottom: 16px;
        font-size: 10px;
    }
    .hero-section.two .hero-text h1 {
        font-size: 25px !important;
    }
    .hero-text p {
        padding-bottom: 38px;
        font-size: 13px!important;
        width: 91%;
    }
    .learn-quran {
        margin-top: 0px!important;
    }
}

@media screen and (max-width: 768px){
    .two:after{
        display: none;
    }
    .two:before{
        display: none;
    }
}