@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');
@font-face {
    font-family: expo-arabic;
    src: url(./ExpoArabic-SemiBold.ttf);
}
@font-face {
    font-family: expo-light;
    src: url(./Expo\ Arabic\ Book.ttf);
}

*{
    margin: 0;
    padding: 0;
    font-family: expo-arabic;
}

html{
    scroll-behavior: smooth;
}

:root{
    --first-color : #4385F5;
    --second-color: #EB4336;
    --third-color: #ffffff;
    --fourth-color:#464646;
}
a{
    text-decoration: none;
}
li{
    list-style: none;
}
header{
    box-shadow: 0px 0px 15px 0px var(--fourth-color);
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--third-color);
}
.navbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .7rem 4rem;
}
.navbar .auth,.navbar .menu{
    display: none;
}

.navbar .left,.navbar .center ul,.navbar .right{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.navbar .search{
    border-radius: 25px;
    background-color: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .5rem;
    height: 100%;
}
.navbar .search input{
    border: none;
    background-color: transparent;
}
.navbar .search input:focus{
    outline: none;
}
.navbar .search img{
    background-color: var(--first-color);
    border-radius: 100%;
    padding: .5rem;
}
.navbar .search button{
    background: none;
    border: none;
}
.navbar ul a{
    color: var(--fourth-color);
    font-weight: 300;
    font-family: expo-light;
}
.navbar .active{
    color: var(--first-color);
    border-bottom: 2px solid var(--first-color);
    padding-bottom: .5rem;
    font-family: expo-arabic;
}
.navbar ul a:hover{
    color: var(--first-color);
}
.navbar .right a,.navbar .right button{
    border: 1px solid var(--first-color);
    padding: .5rem 2rem;
    height: 2rem;
    text-align: center;
    border-radius: 12px;
    font-family: expo-light;
   display: flex;
   align-items: center;
   justify-content: center;
}
.navbar .right .login{
    background-color: var(--first-color);
    color: var(--third-color);
}
.navbar .right .signup{
    color: var(--first-color);
}
.navbar .right button{
    color: var(--first-color);
    padding: 1.5rem;
    cursor: pointer;
}
.home{
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 6rem;
    text-align: justify;
    margin-top: 8rem;
}

.home .left img{
    width:400px;
}

.home .right h1{
    font-family: "Lobster", sans-serif;
    font-weight: 400;
    margin-bottom: 1.5rem;
    font-size: 4rem;
    color: var(--first-color);
}

.animated-text p {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    margin: 0;
    font-size: 1.5em;
    position: absolute; /* Make sure each line overlaps */
    margin-bottom: 1rem;
}

/* When a line is active, show it */
.animated-text p.show {
    opacity: 1;
    transform: translateY(0);
}
.home .btns{
    margin-top: 5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}
.home .btns a{
    border: 1px solid var(--first-color);
    padding: 1rem 5rem;
    border-radius: 15px;
}
.home .btns .login{
    background-color: var(--first-color);
    color: var(--third-color);

}
.home .btns .signup{
    color: var(--first-color);
}

.what,.why{
    padding: 2rem;
    background:url(./imgs/grey\ background.png);
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: -.5rem;
}
.what .left{
    width: 70%;
}
.what p{
    text-align: justify;
    line-height: 1.5rem;
    margin-top: 2rem;
}
.what .discover{
    display: flex;
    align-items: center;
    margin-top: 2rem;
    background-color: var(--first-color);
    border-radius: 20px;
    padding: 1rem 2rem;
    width: 13rem;
    gap: 1rem;
}
.what a{
    color: var(--third-color);
    font-family: expo-light;
}

.login-page{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: url(./imgs/login-background.png);
    background-position: left;
    background-size:contain;
    background-repeat: no-repeat;
}
.auth-form{
    background-color: var(--third-color);
    border-radius: 15px;
    width: 40%;
    padding: 2rem;
    box-shadow: 0px 4px 10px 0px black;
}
.auth-form h1{
    margin: .5rem 0;
}
.auth-form p{
    opacity: .7;
    font-family: expo-light;
    margin-bottom: 2.5rem;
}
.auth-form p a{
    color: var(--first-color);
}
.auth-form .inpt{
    background-color: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 10px;
    padding: .5rem 1rem;
    margin-bottom: 1rem;
    width: 90%;;
    height: 2.5rem;
}
.auth-form label{
    font-family: expo-light;
}
.auth-form .final{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 3rem;
    gap: 1rem;
}
.auth-form .final a{
    font-family: expo-light;
    font-size: 1rem;
    color: var(--fourth-color);
}
.auth-form .final button{
    background-color: var(--first-color);
    color: var(--third-color);
    padding: 1rem 3rem;
    border-radius: 15px;
    border: none;
    cursor: pointer;
}


.courses-bg{
    background: url(./imgs/our-courses.png);
    height: 25vh;
    background-position: center;
    background-size: cover;
    margin-bottom: 2rem;
    padding-top: 1rem;
}

.courses-bg h1{
    text-align: center;
    color: var(--third-color);
    font-size: 2rem;
}

.our-courses .courses{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: -10rem;
    margin-bottom: 2rem;
}
.our-courses .course{
    width: 22rem;
    height: 33rem;
    border-radius: 15px;
    box-shadow: 0px 4px 16.6px 0px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    padding-bottom: 1rem;
}

.our-courses .course .reserve{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    margin-top: auto;
    margin-left: auto;
    margin-right: auto;

  } 

  
.our-courses .course .top{
    height: 50%;
    border-radius: 15px 15px 0 0;
}
.our-courses .course .bottom{
    padding: 1rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: .5rem;
}

.our-courses .course .bottom h2{
    min-height: 60px;
}

.our-courses .course .inst{
    display: flex;
    align-items: center;
    gap: .5rem;
}

.our-courses .inst h4{
    font-size: 1rem;
    color: var(--first-color);
}
.our-courses .inst h6{
    color: #464646;
    font-weight: 100;
}
.our-courses .course p{
    color: #464646;
    opacity: .7;
    font-size: .8rem;
    font-weight: 100;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}
.our-courses .course .reserve{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
}

.our-courses .course .reserve a{
    background-color: rgba(67, 133, 245, .2);
    color: var(--first-color);
    padding: 1rem 2rem;
    border-radius: 15px;
}
.our-courses .course .reserve h3{
    color: var(--first-color);
}

.our-courses .more,.instructors .more{
    display: flex;
    justify-content: center;
}
.our-courses .more a,.instructors .more a{
   font-size: 1.5rem;
    color: var(--first-color);
    background-color: rgba(67, 133, 245, .2);
    padding: 1rem 3rem;
    border-radius: 15px;
    font-weight: 400;
}

.why{
    margin-top: 6rem;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.why p{
    color: var(--fourth-color);
    margin: 1rem 0;
   font-weight: 100;
}
.whies{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 3rem;
    justify-items: center;
    width: 100%;
}
.whies img{
    width: 350px;
}


.intro{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.intro img{
    width: 260px;
}
.intro-video{
    background: url(./imgs/aboutbg.png);
    height: 25rem;
    background-position: center;
    background-size: cover;
    width: 100%;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5rem;
}

footer{
    background: #2C2C2C;
    height: 110%;
    padding: 2rem;
    margin-top: 3rem;
}
footer .top{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10rem;
}
footer h2{
    color: var(--third-color);
    margin-bottom: .7rem;
}
footer .top a{
    color: var(--third-color);
    font-weight: 100;
    font-size: .9rem;
    margin-bottom: 1rem;
    opacity: .5;
}
footer a:hover{
    color: var(--third-color);
    opacity: 1;
}
footer .list{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
footer .center{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 2rem;
}
footer .center form{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
footer input,footer textarea{
    width: 35rem;
    background: rgba(255, 255, 255, 0.1);
    height: 2.5rem;
    border: none;
    border-radius: 5px;
    padding: .5rem;
}
footer .center .send{
   margin-top: 1rem;
}
footer .center button{
    padding: .5rem 2rem;
    background-color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
footer textarea{
    height: 7rem;
    margin-top: .5rem;
    resize: none;
}
footer iframe{
    height: 20rem;
}
footer .bottom{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}
footer .social{
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 1rem 0;
}
footer .social img{
    width: 40px;
}
footer p{
    color: var(--third-color);
    font-weight: 100;
    font-size: .8rem;
}
footer .logo img{
    width: 100px;
}

.all-head{
    margin-top: 5rem;
    display: flex;
    padding: 2rem;
    justify-content: space-between;
    align-items: center;
}
.all-head select{
    width: 12rem;
    height: 3rem;
    border: 1px solid var(--first-color);
    border-radius: 10px;
    padding: 1rem;
}
.all-head img{
    width: 300px;
}
.our-courses{
    margin-bottom: 3rem;
}
.our-courses .all-courses{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    justify-items: center;
    padding: .5rem 2rem;
    
}



/* single course page*/

.single-course{
    margin-top: 4.5rem;
    height: 110%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    padding-top: 2.5rem;
    padding-bottom: 2rem;
}
.single-course h1{
    color: var(--third-color);
    font-size: 4rem;
}
.single-course p{
    color: var(--third-color);
    font-size: 1.1rem;
    opacity: .5;
    font-family: expo-light;
    text-align: center;
    padding: .2rem 10rem;
}
.single-course img{
    width: 200px;
    border-radius: 50px;
}
.single-course h3{
    color: white;
    opacity: .9;
    font-size: 2rem;
}
.single-course h2{
    color: var(--third-color);
    opacity: .5;
    font-size: .9rem;
    font-family: expo-light;
}
.single-course .btns{
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.single-course a{
    color: var(--third-color);
    padding: 1rem 3rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid var(--third-color);
    text-align: center;
    font-size: .8rem;
    font-family: expo-light;
}
.single-course .buy{
    background-color: var(--third-color);
    color: var(--first-color);
}




.course-detail{
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
}

.course-detail .left{
    padding-right: 10px;
    padding-top: 10px;
    box-shadow: rgba(50, 50, 105, 0.15) 0px 2px 5px 0px, rgba(0, 0, 0, 0.05) 0px 1px 1px 0px;
}

.course-detail .left h1{
    color: var(--first-color);
    font-size: 3rem;
}
.course-detail .left h3{
    color: var(--first-color);
    font-size: 1.2rem;
    padding: .5rem 0;
}
.course-detail .left img{
    width: 20px;
}
.course-detail .left p{
    color: var(--first-color);
    opacity: .6;
    margin-top: .5rem;
    
}
.course-detail .right{
    flex-basis: 60%;
}
.course-detail .right h1{
    color: var(--first-color);
    font-size: 2rem;
}
.course-detail .lesson{
    background-color: rgba(67, 133, 245, .2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
}
.course-detail .lesson h3{
    color: var(--first-color);
}
.course-detail .lesson a{
    background-color: var(--first-color);
    color: var(--third-color);
    padding: .5rem 2rem;
    border-radius: 8px;
    font-size: .9rem;
}
.single-course a:hover,.course-detail a:hover{
    opacity: .8;
}




.container-course{
    margin-top: 7rem;
}
.container-course .alert-warning{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: rgba(67, 133, 245, .2);
    color: var(--first-color);
}

.container-course .course-info{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    width: 100%;
}
.container-course .course-info h2{
    color: var(--first-color);
    font-size: 3rem;
}

.container-course .accordion-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 10px;
    margin-bottom: .5rem;
}

.container-course .accordion-item{
    width: 100%;
}
.container-course .accordion-button:not(.collapsed) {
    background-color: #0056b3;
}

.container-course .accordion-body {
    padding: 1rem 2rem;
    background-color: rgba(67, 133, 245, .2);
    width: 80rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
}
.container-course h5{
    color: var(--second-color);
    font-size: 1.2rem;
    margin-bottom: .5rem;
}

.container-course iframe {
    margin-bottom: 20px;
    border: none;
    height: 35rem;
}

.container-course .attachments {
    padding: 0;
}

.container-course .attachments li {
    margin: 8px 12px 8px 8px;
}

.container-course .comment-box {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    resize: none;
    
}

.container-course .comment-box:focus {
    outline: none;
    border-color: #007bff;
}

.container-course .btn-primary {
    background-color: #007bff;
    border: none;
    padding: 10px 15px;
    color: white;
    cursor: pointer;
    border-radius: 4px;
}

.container-course .btn-primary:hover {
    background-color: #0056b3;
}


.instructors{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.instructors h1{
    color: var(--first-color);
    font-size: 2.5rem;
}
.instructors .teachers{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}
.instructors .teacher,.all-teachers .teacher{
    width: 23rem;
    height: 28rem;
    box-shadow: 0px 4px 16.6px 0px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
   
    gap: .7rem;
    
}
.instructors .teacher .top,.all-teachers .teacher .top{
    height: 60%;
    border-radius: 8px;
    box-shadow: 0px 4px 16.6px 0px rgba(20, 17, 205, 0.25);
    width: 100%;
}
.instructors .teacher h2,.all-teachers .teacher h2{
    color: var(--first-color);
    font-size: 1.2rem;
}
.instructors .teacher h3,.all-teachers .teacher h3{
    color: var(--second-color);
    font-size: .9rem;
}
.instructors .teacher a,.all-teachers .teacher a{
    background-color: rgba(67, 133, 245, .2);
    color: var(--first-color);
    padding: 1rem 6rem;
    border-radius: 5px;
}
.instructors .bottom,.all-teachers .bottom{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    gap: 1rem;
}
.instructors .bottom div,.all-teachers .bottom div{
    display: flex;
    justify-content: center;
    width: 100%;
}
.tch-bg{
    margin-top: 4.5rem;
}
.all-teachers{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    justify-items: center;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    margin-top: -12rem;
}


.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 120%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal form{
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.modal form input{
    width: 95%;
    height: 2rem;
    padding: .5rem;
    color: var(--first-color);
    border: none;
    box-shadow: 0px 4px 10.6px 0px rgba(20, 17, 205, 0.25);
    border-radius: 8px;
}
.modal form button{
    background-color: var(--first-color);
    padding: 1rem 0;
    border-radius: 5px;
    color: var(--third-color);
    border: none;
}
.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}



.modal-section{
    background-color: #f0f9ff;
    margin-bottom: -3rem;
    padding: 8px 0 3rem 0;
}

.modal-section form{
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.modal-section form input{
    width: 95%;
    height: 2rem;
    padding: .5rem;
    color: var(--first-color);
    border: none;
    box-shadow: 0px 4px 10.6px 0px rgba(20, 17, 205, 0.25);
    border-radius: 8px;
}
.modal-section form button{
    background-color: var(--first-color);
    padding: 1rem 0;
    border-radius: 5px;
    color: var(--third-color);
    border: none;
}
.modal-section .main-content-modal {
    background-color: transparent;
    margin: 30px auto;
    padding: 20px;
    width: 50%;
    border: none;
}

.accordion-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 10px;
}

.accordion-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    background-color: var(--first-color);
    padding: 10px;
    cursor: pointer;
    border: none;
    outline: none;
    font-size: 18px;
    transition: background-color 0.3s;
    color: var(--third-color);
}

.accordion-toggle:hover {
    background-color: rgba(20, 17, 205, 0.25);
}

.accordion-toggle .arrow{
    width: 20px;
    margin-inline-start: auto;
}

.hideArrow{
    display: none;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.1s ease-out;
    background-color: #bae6fd;
}

.accordion-content .content-body {
    padding: 15px;
}

.accordion-content.open {
    max-height: 999999px; 
}

.subaccordion-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    background-color: #155e75;
    padding: 10px;
    cursor: pointer;
    border: none;
    outline: none;
    font-size: 18px;
    transition: background-color 0.3s;
    color: var(--third-color);
}

.accordion-subitem{
    width: 96%;
    margin: 5px auto;
}

.subaccordion-toggle:hover {
    background-color: rgba(20, 17, 205, 0.25);
}

.subaccordion-toggle .arrow{
    width: 20px;
    margin-inline-start: auto;
}

.accordion-subcontent {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.1s ease-out;
}

.accordion-subcontent .subcontent-body {
    padding: 15px;
}

.accordion-subcontent.open {
    max-height: 999999px; 
}

.quize-container{
    padding: 10px;
}

.quize-area{
    margin: 8px;
    border-radius: 10px;
    background-color: #DCD8CF;
    border: 2px solid gray;
}

.quize-container li{
    list-style: initial;
    list-style-type: unset;
    margin: 22px 0 22px 0;
    position: relative;
    
}

.quize-container li .option-text-s{
    background-color: #CCF0FC;
    border: 2px solid transparent;
    color: #001448;
    padding: 15px 8px 10px 8px;
    border-radius: 10px;
    cursor: pointer;
}

.quize-container li .option-text-s:hover{
    border: 2px solid #001448;
    background-color: #38bdf8;
}

.quize-container .choice-label{
    background-color: white;
    padding: 4px 14px 4px 14px;
    font-size: 10px;
    position: absolute;
    top: 0;
    transform: translateY(-57%);
    border-radius: 12px;
    border: 1px solid black;
    display: flex;
    align-items: center;
    gap: 5px;
}

.checked-option:checked ~ .option-text-s{
    border: 3px solid #007bff;
    background-color: #38bdf8;
}


.quize-question{
    padding: 15px 8px 15px 8px;
    font-weight: bold;
    font-size: 18px;
    color: #001448;
}

.quize-q-text{
    margin: 10px;
}

.quize-q-text .quize-h-span{
    background-color: #A1B18D;
    padding: 15px 5px;
    border-radius: 100%;
    color: #001448;
    font-weight: 900;
    font-size: 14px;
    display: grid;
    text-align: center;
    width: fit-content;
}

.check-response-container{
    text-align: center;
    padding: 12px 20px;
}

.check-response-container button{
    background-color: #007bff;
    padding: 8px 20px;
    cursor: pointer;
    border: none;
    border-radius: 15px;
    color: white;
    font-size: 16px;
}

.correct-option{
    background-color: #a7f3d0;
}

.zrong-option{
    background-color: #fca5a5;
}

.check-response-container button:hover{
    background-color: #3e9bff;
   
}

.attach-sec{
    padding: 10px 10px;
    border-radius: 15px;
    border: 2px solid #001448;
    background-color: #DCD8CF;
    margin-bottom: 15px;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
}

.imgPdf-w{
    background-color: #001448;
    border-radius: 100%;
    padding: 8px;
    margin-left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* .accordion-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 10px;
}

.accordion-toggle {
    width: 100%;
    background-color: var(--first-color);
    padding: 10px;
    text-align: center;
    cursor: pointer;
    border: none;
    outline: none;
    font-size: 18px;
    transition: background-color 0.3s;
    color: var(--third-color);
}

.accordion-toggle:hover {
    background-color: rgba(20, 17, 205, 0.25);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content .content-body {
    padding: 15px;
}

.accordion-content.open {
    max-height: 1000px; 
} */

.attachments ul {
    list-style-type: none;
    padding: 0;
}

.attachments ul li {
    margin: 5px 0;
}

.zoom-section {
    background-color: #ffffff;
    border-radius: 8px;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.zoom-section h4 {
    font-size: 20px;
    color: #333;
}

.meeting-info p {
    font-size: 16px;
    color: #555;
    margin: 10px 0;
}

#zoom-btn{
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 18px;
    color: #ffffff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    -webkit-appearance: none; /* Remove default styling in iOS Safari */
    -moz-appearance: none; /* Remove default styling in Firefox */
    appearance: none;
}

.zoom-button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 18px;
    color: #ffffff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.zoom-button:hover {
    background-color: #0056b3;
}

.invalid-feedback-msg{
    display: block;
    padding: 0px 0px 5px 0px;
    color: red;
    font-size: 12px;
    margin-top: -8px;
}

.verfify-card-header{
    padding: 0px 0px 20px 0px;
    text-align: center;
}

.verify-d-inline{
    margin-top: 20px;
}
.verify-btn{
    padding: 10px 20px;
    font-size: 18px;
    color: blue;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: fit-content;
}

.verify-btn{
    text-decoration: underline;
}

@media only screen and (max-width:1000px){
    .zoom-button {
        margin-top: 20px;
        padding: 10px 20px;
        font-size: 18px;
        color: #ffffff;
        background-color: #007bff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    
    .zoom-button:hover {
        background-color: #0056b3;
    }

    .navbar{
        padding: 1rem;
        gap: 1rem;
    }
    header .center ul{
        position: absolute;
        flex-direction: column;
        left: -120%;
        background-color: var(--third-color);
        top: 100%;
        padding: 2rem 3rem;
        box-shadow: 0px 4px 16.6px 0px rgba(0, 0, 0, 0.25);
        border-radius: 0 0 15px 15px;
        transition: .5s ease-in-out;
    }

    .navbar .right{
        display: none;
    }
    .navbar .auth,.navbar .auth div{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: .5rem;
    }
    .navbar .auth a{
        color: var(--third-color);
        font-weight: bolder;
        background-color: var(--first-color);
        padding: .5rem 1rem;
        border-radius: 8px;
    }
    .navbar .auth button{
        color: var(--third-color);
        font-weight: bolder;
        background-color: var(--second-color);
        padding: .5rem 2rem;
        border: none;
        border-radius: 8px;
    }
    .navbar .search form{
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 1.5rem;
    }
    .navbar .menu{
        display: block;
    }
    .navbar .menu img{
        width: 30px;
    }
    .navbar .right{
        display: none;
    }

    .navbar .show{
        left: 0%
    }
    .home{
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
    }
    .home .left img{
        width:250px;
    }
    .home .right{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .home .right h1{
        text-align: center;
        font-size: 2.5rem;
    }
    .animated-text{
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .what{
        flex-direction: column;
        justify-content: center;
    }
    .what .left{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 1rem;
    }
    .what .discover{
        align-items: center;
        justify-content: center;
    }
    .what .right img{
        width: 150px;
    }
    .our-courses .courses{
        display: grid;
        grid-template-columns: repeat(2,1fr);
        justify-items: center;
    }
    .why{
        margin-top: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .why p{
        text-align: center;
    }
    .why .whies{
        grid-template-columns: repeat(1,1fr);
    }


    .login-page{
        height: 50vh;
        margin-top: -1rem;
        background-position: center;
        width: 100%;
    }
    .auth-form{
        width: 90%;
        margin-top: 40rem;
       
    }
    footer .top{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }
    footer div{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    footer .center{
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }
    footer iframe{
        width: 20rem;
    }
    footer input,footer textarea{
        width: 20rem;
    }
    footer .social{
        flex-direction: row;
    }
    .all-head{
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    .our-courses .all-courses{
        display:flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }

    .single-course h1{
        text-align: center;
        font-size: 3rem;
        padding-top: 5rem;
    }
    .single-course p{
        padding: 1rem;
    }


    .course-detail .left p{
        padding: .5rem;
    }

    .course-detail{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }
    .course-detail .left,.course-detail .right{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: .5rem;
    }
    .course-detail .lesson{
        width: 100%;
    }
    
    .container-course .accordion-body{
        width: 80%;
    }
    .instructors h1{
        text-align: center;
    }
    .teachers{
        flex-direction: column;
    }
   .instructors .teacher{
        width: 20rem;
    }
    .all-teachers{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .single-course .btns{
        flex-direction: column;
        gap: .5rem;
        padding-bottom: 2rem;
    }
    .single-course .btns a{
        width: 10rem;
    }
    .course-detail h1{
        text-align: center;
        font-size: 1.5rem;
    }
    .modal{
        top: 10%;
    }
    .modal-content{
        width: 80%;
    }
    .modal form{
        gap: 1rem;
    }
    .modal form input{
        width: 90%;
    }
    .container-course .course-info h2{
        font-size: 1.5rem;
        margin-top: 2rem;
    }
}




@media only screen and (max-width:600px){
    .zoom-button {
        margin-top: 20px;
        padding: 10px 20px;
        font-size: 18px;
        color: #ffffff;
        background-color: #007bff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    
    .zoom-button:hover {
        background-color: #0056b3;
    }
    .modal-section .main-content-modal {
        font-size: 1rem;
        background-color: transparent;
        padding: 10px;
        width: 90%;
        border: none;
    }
    .home img{
        width: 350px;
    }
    .home .btns a{
        padding: 1rem 3rem;
    }
    .our-courses .courses{
        grid-template-columns: repeat(1,1fr);
    }
    .why{
        margin-top: 6rem;
    }

    .container-course .course-info h2{
        font-size: 1rem;
        margin-top: 0.5rem;
    }
    .quize-container{
        font-size: 13px;
    }
}