@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,600;1,700;1,800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html {
    font-size: 10px;
    font-family: "Poppins", sans-serif;
    /* overflow-x: hidden; */
}

body {
    overflow: auto;
    /* -webkit-overflow-scrolling: touch; */

}


h1,
h2 {
    font-family: "Poppins", sans-serif;
    font-size: 5.2rem;
    font-weight: 600;
    color: var(--primary-text-black);
}

a {
    text-decoration: none;
}

:root {
    --primary-color: #1C1E27;
    --primary-theme: #9d2035;
    --primary-text-black: #000000;
    --primary-text-White: #fff;
    --primary-thumb-color: #1a1b1e;
    --primary-color: #1C1E27;
    --primary-color: #1C1E27;
}

.primary-btn {
    border: 0px;
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: 500;
    color: white;
    letter-spacing: 1px;
    background-color: var(--primary-theme);
    width: fit-content;
    padding: 10px 25px;
    border-radius: 5px;
}

.fa-bars {
    color: var(--primary-theme);
    font-size: 26px;
    display: none;
}




.whatsapp-Icon-Fix {
    display: flex;
    width: fit-content;
    padding: 10px;
    font-size: 24px;
    position: fixed;
    z-index: 1000;
    right: 25px;
    bottom: 35px;
    animation: mover .7s infinite alternate;
}

#main-navbar {
    display: none;
}

#active-1 {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px !important;
}

#active-1 li a {
    color: black !important;
    font-size: 1.6rem;
    font-weight: 500;
    padding-left: 5px;
    text-transform: capitalize;
}

#toogle-bars {
    box-shadow: none;
    outline: none;
}






@keyframes mover {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }

}



@media (max-width: 1350px) {
    .Our_Counert {
        margin-top: -20px !important;
    }
}

@media (max-width: 1230px) {
    .Videos {
        display: flex;
        align-items: start;
        justify-content: start;
        flex-wrap: wrap;
        gap: 20px;
        width: 100%;
        height: auto !important;
        padding: 20px 10px !important;
    }

    video {
        width: 100% !important;
        height: 100%;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 95%;
        padding: 4px 20px;
    }

    .quran-img {
        width: 90%;
    }

    .Project_Complete div {
        width: 240px !important;
        /* padding: 35px 10px !important; */

    }
}

@media (max-width: 1130px) {
    .About_Text h1 {
        font-size: 2.2rem;
        font-weight: 700;
        width: 100%;
    }

    .Our_All_Video {
        margin-top: 10px;
    }

    .Video-Coloum {
        width: 330px !important;
    }

    .Video_Row {
        justify-content: space-between;
        gap: 0px;
    }

}

@media (max-width: 1130px) {
    .course-card p {
        font-size: 2rem;
    }

    .Screening p {
        width: 100% !important;
    }

    .What-we-offer p {
        width: 100%;
    }
    .Testimonial_inner{
    flex-direction: column;
    gap: 10px;
    
    }

}

@media (max-width: 1050px) {
    .About_Work {
        display: flex;
        flex-wrap: wrap-reverse;
        gap: 50px;
        align-items: center;
    }

    .About_Text {
        display: flex;
        align-items: start;
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .Our_Team_Member {
        display: flex;
        align-items: start;
        flex-wrap: wrap !important;
        gap: 40px !important;
        justify-content: start !important;
        padding: 50px 25px !important;
    }

    .Project_Complete {
        display: flex;
        align-items: center;
        justify-content: start;
        flex-wrap: wrap;
        gap: 20px;
        padding: 50px 20px;
    }

    .Project_Complete div {
        width: 48% !important;
    }

    .Video-Coloum {
        width: 307px !important;
    }

    .Video_Row {
        justify-content: space-between;
        gap: 0px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 100%;
    }

    .course-card-main {
        /* display: none; */
        width: 45%;
        /* or whatever width you want when the screen is less than 992px */

    }

    .quran-img {
        margin-top: 20px;
    }

    .Director-Expertise {
        width: 100% !important;
    }

    .services_row {
        padding: 20px 10px !important;
    }

    /* .service_coloum {
        width: 400px;
    } */
    .Video_Row {
        flex-direction: column;
        gap: 30px !important;
        align-items: center;
    }

    .Video-Coloum {
        width: 90% !important;
    }
    
    .from_container{
        width: 70% !important;
    }
    
    /*new work*/
    
    .Teaching-experience{
        
    justify-content: space-around;
    }
    .Rating_across span{
        justify-content: start;
    }
    .across-members{
        
     text-align: start;
    }
    .Rating_across{
        margin-left: 50px;
    }
    .Testimonial_Slider{
        margin-top: -50px;
    }
   .Testimonial_inner img{
       width: 60px;
       height: 60px;
   }
}



@media (max-width: 856px) {
    .menu {
        display: none !important;
    }

    #bars {
        display: block !important;
    }

    #header {
        display: none;
    }

    #main-navbar {
        display: flex;
        /* background-color: wheat !important; */
    }

}

@media (max-width: 785px) {


    .All-page-img-set {
        min-height: 45vh;
    }

    .logo img {
        width: 150px;
    }

    .primary-btn {
        padding: 7px 15px;
    }

    .section-1 {
        margin-top: 10px;
    }

    .row-1 {
        flex-direction: column;
        padding: 30px;
    }

    .course-card-main {
        width: 100%;
    }

    .inner-faq-Page {
        padding: 10PX 0px;
    }

    .footer_Links img {
        width: 170px !important;
    }
}

@media (max-width: 767px) {

    .services_row {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .Video_Row {
        flex-direction: column;
        gap: 10px;
    }

    .Video-Coloum {
        width: 100% !important;
    }
}

@media (max-width: 700px) {
    .Videos video {
        width: 100% !important;
        height: auto !important;
    }

    .Project_Complete {
        display: flex;
        align-items: center;
        flex-wrap: wrap !important;
        gap: 30px !important;
        justify-content: start !important;
        padding: 30px 20px !important;
    }

    .Project_Complete div {
        width: 100% !important;
    }
}

@media (max-width: 600px) {
    .about_img img {
        width: 100%;
        height: auto;
    }

    .About_Text h1 {
        font-size: 2rem !important;
        font-weight: 700;
        width: 100%;
    }

    .Our_Team_Member {
        display: flex;
        align-items: start;
        flex-wrap: wrap !important;
        flex-direction: column !important;
        gap: 30px !important;
        justify-content: center !important;
        padding: 30px 25px !important;
    }

    .Project_Complete {
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        gap: 20px;
    }


    .Hedding03 h1 {
        font-size: 2.3rem !important;
        text-transform: uppercase;
        font-weight: 600;
    }

    .Heading01 h1 {
        font-size: 3.5rem !important;
        font-weight: 600 !important;
    }

    .heading04 h1 {
        font-size: 2.5rem !important;
        font-weight: 600;
    }



    .Our_Counert {
        padding: 10px;
    }

    .row-1 {
        padding: 10px !important;
    }
}

@media (max-width: 580px) {
    h1 {
        font-size: 4.4rem !important;

    }

    .What-we-offer h1 {
        text-align: center;
    }

    .What-we-offer p {
        font-size: 1.6rem;
    }
    
     .from_container{
        width: 100% !important;
    }


}

@media (max-width: 500px) {
    .heading04 p {
        font-size: 1.4rem !important;
        font-weight: 200 !important;
    }

    .Videos {
        display: flex;
        align-items: center;
        justify-content: center !important;
        flex-wrap: wrap;
        gap: 20px;
    }

    .About_Text p {
        font-size: 1.4rem;
        color: #6A6A74;
        font-weight: 500;
        width: 100%;
    }

    .Video-Coloum {
        width: 100% !important;
    }

    .about_us_heading h1 img {
        width: 400px !important;
        margin-top: 20px;
    }


}

@media (max-width: 425px) {

    .container {
        padding: 4px 10px !important;
    }

    .logo img {
        width: 140px;
    }

    .Main-goal {
        padding: 0px;
    }

    .Educational {
        padding: 0px;
    }

    .qari-goals {
        font-size: 1.8rem !important;
    }

    .Expert-Qaris h3 {
        font-size: 3.3rem;
        line-height: 46px;
        /* font-weight: 900 !important; */
    }

    .quran-img {
        width: 100%;
    }

    .beautifull-images {
        padding: 4px;
    }

    .Members img {
        width: 180px !important;
    }

    .Service_card,
    .coloum_width-set {
        width: 95% !important;
    }


}

@media (max-width: 400px) {
    .Heading01 h1 {
        font-size: 2.5rem !important;
        font-weight: 600 !important;
    }

    .Hedding03 h1 {
        font-size: 1.8rem !important;
        text-transform: uppercase;
        font-weight: 500;
    }

    .Members img {
        width: 180px !important;
    }

    .about_us_heading h1 img {
        width: 280px !important;
        margin-top: 20px;
    }

    .about_us_heading h3 {
        font-size: 3rem !important;
        margin-bottom: -5px;
    }
    Our_Team{
        padding-top: 20px;
    }
}

@media (max-width: 350px) {
    .What-we-offer h1 {
        font-size: 2.8rem !important;
    }

    .Our_Counert {
        margin-top: 10px !important;
    }

    .Our_All_Video {
        margin-top: 0px !important;
    }

    .Our_Team {
        padding: 25px 0px !important;
    }

    .services_row {
        margin-top: -10px !important;
    }

    .Year_Experience {
        padding: 5px !important;
        background-color: rebeccapurple;
    }

    .About-Our-Agency {
        padding-top: 40px !important;
    }

    .Project_Complete {
        margin-top: -20px;
    }
}