*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: .3s;
    font-family: Poppins, sans-serif;
}
:root {
    --bs-primary: #303188;
    --bs-blue: #0056D2;
    --bs-yellow: #FFCE20;
    --bs-orange: #EE5D50;
    --bs-success: #28A745;
    --bs-dark: #0E0F29;
    --bs-black: #0D160B;
    --bs-white: #FFFFFF;
    --bs-light: #F2F2F2;
    --bs-darklight: #EEEEEE;
} 
::-webkit-scrollbar {
width: 5px;
}

::-webkit-scrollbar-thumb {
background-color: #e7eef2;
border-radius: 6px;
}

::-webkit-scrollbar-track {
background-color:transparent;
}
button{
    outline: none;
    border: none;
    background-color: transparent;
}
hr{
    margin:0
}
.table{
    font-size: 14px;
    width: 100%;
}
.table thead{
    background-color: none;
    border: none;
}
.table thead th{
    color: var(--bs-dark);
}
.table tr{
    align-items: center;
}
.table tr a{
    text-decoration: none;
    font-weight: 600;
    color: var(--bs-dark);
}
.form-group{
    margin-top: 10px;
}
.form-control, .form-select{
    margin: 7px 0;
    width: 100%;
    background-color: transparent;
    border-radius: 3px;
    border: 1px solid lightgray;
    padding: 12px;
}
.form-control:focus, .form-select:focus {
    color: #212529;
    background-color: transparent;
    border: 1px solid #86b7fe;
    outline: 0;
    box-shadow: none;
    outline: none;
}
.modal-dialog{
    min-width: 550px;
}
.modal-dialog .modal-header, .modal-dialog .modal-footer{
    border: none;
}
.modal-dialog #exampleModalLabel{
    font-weight: 600;
}
body{
    background-color: #F9F8FA;
}
.second-home{
    width: 100%;
    position: relative;
    height: 50vh;
}
.home{
    width: 100%;
    position: relative;
    /* height: 100vh;; */
}
.main-container{
    width: 100%;
    height: 100%;
    background: hsla(240, 47%, 94%, 1);
    background: linear-gradient(0deg, hsla(240, 47%, 94%, 1) 0%, hsla(0, 0%, 97%, 1) 100%);
}
.home-container{
    background: hsla(240, 47%, 94%, 1);
    background: linear-gradient(0deg, hsla(240, 47%, 94%, 1) 0%, hsla(0, 0%, 97%, 1) 100%);
    overflow: hidden;
}
.home-container .container{
    height: 100vh;
}
.nav-wrapper{
    width: 100%;
    position: sticky;
    top: 0;
    height: 10vh;
    z-index: 9999;
    display: flex;
    background-color: transparent;
}
.nav-wrapper.scrolled{
    background-color: white;
    display: flex;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
#nav_container{
    width: 100%;
    display: flex;
}
.navigation-bar{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    top: 0;
}

.navigation-bar .brand{
    width: 10%;
    height: 8vh;
}
.navigation-bar .brand img{
    width: 100%;
    height: 100%;
}
.navigation-bar .nav-items{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 30px;
    /* background-color: pink; */
    transition: display 2s ease-in-out !important;
}
.navigation-bar .nav-items .item{
    text-decoration: none;
    font-size: 16px;
    color: var(--bs-dark);
    border-bottom: 2px solid #F9F8FA;
}
.navigation-bar .nav-items .item:hover{
    text-decoration: none;
    border-bottom: 2px solid var(--bs-primary);
    color: var(--bs-primary);
}
.navigation-bar .nav-items .item.active{
    text-decoration: none;
    border-bottom: 2px solid var(--bs-primary);
    color: var(--bs-primary);
}
.navigation-bar .nav-buttons{
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: center;
}
.navigation-bar .nav-buttons .name{
    font-size: 18px;
    font-weight: 600;
    color: var(--bs-primary);
}
.navigation-bar .nav-buttons a{
    outline: none;
    border-radius: 6px;
    text-decoration: none;
    padding: 8px 25px;
}
.navigation-bar .nav-buttons a.sign-in{
    background-color: var(--bs-primary);
    color: white;
}
.navigation-bar .nav-buttons a.sign-up{
    border: 2px solid var(--bs-primary);
    color: var(--bs-primary);
    margin-left: 10px;
}
.navigation-bar .menu-icon.cross-icon {
    display: none;
    cursor: pointer;
    margin-left: auto;
    font-size: 24px;
}
.menu-icon{
    display: none;
    cursor: pointer;
    font-size: 24px;
}

.height{
    height: 70vh;
}
 @media (max-width: 1000px){
 .navigation-bar .nav-buttons a {
      padding: 8px 12px;
 }
   .navigation-bar .nav-buttons a.sign-up{
        margin-left: 6px;
    }
 }
 @media (max-width: 768px) {
    #nav_container{
        /* height: 100vh; */
    }
    .navigation-bar{
        /* flex-wrap: wrap; */
        /* background-color: orange; */
        align-items: start;
    }
    
    #menuIcon{
        display: block;
        color: var(--bs-primary);
        margin-top: 12px;
    }
    #crossIcon{
        padding: 1px 10px;
        text-align: center;
        display: none;
        background-color: var(--bs-orange);
        color: white;
    }
    .navigation-bar .brand{
        width: 30%;
    }
    .navigation-bar .nav-items {
        height: 100vh;
        justify-content: start;
        background-color: white;
        display: none;
        position: fixed;
        right: 0;
        padding: 20px;
        align-items: start;
        flex-direction: column;
        gap: 25px;
    }
 }
.body-home{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
    position: absolute;
    height: 100vh;
    justify-content: center;
    /* background-color: pink; */
}
.body-home .left-content{
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.body-home .left-content .heading-first{
    font-size: 25px;
    color: #787878;
    font-weight: 400;
}
.body-home .left-content .heading-first{
    font-size: 25px;
    color: #787878;
    font-weight: 400;
}
.body-home .left-content .heading-second{
    font-size: 45px;
    color: var(--bs-primary);
    font-weight: 400;
}

.small-screen-heading-first{
    display: none;
    font-size: 25px;
    color: #787878;
    font-weight: 400;
    padding-top: 10px;
}

.body-home .left-content .paragraph{
    font-size: 16px;
    color: #676767;
}


.body-home .right-content{
    width: 50%;
    /* height: 40vh; */
}
.body-home .right-content img{
    width: 100%;
    height: 100%;
}
.primary-btn{
    outline: none;
    border-radius: 6px;
    text-decoration: none;
    padding: 12px;
    text-decoration: none;
    max-width: 200px;
    text-align: center;
    background-color: var(--bs-primary);
    color: white;
}
.primary-btn:hover{
    background-color: var(--bs-primary);
    color: white;
}

.category-presenter{
    margin: 60px 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    gap: 0px;
    position: relative;

}
.category-presenter img{
    width: 100%;
    
}
.category-presenter img.line-svg{
    width: 90%;
    left: 0;
    top: 0;
    position: absolute;

}
.category-presenter .left-bar{
    width: 35%;
    display: flex;
    flex-direction: column;
    height: 220px;
}
.category-presenter .left-bar h2{
    color: var(--bs-blue);
    margin-top: 20px;
    font-size: 20px;
    font-weight: 400;
}
.category-presenter .left-bar h2 img{
    width: 20px;
    vertical-align:  top;
}
.category-presenter .left-bar h1{
    color: var(--bs-dark);
    font-size: 35px;
    font-weight: 400;
}
.category-presenter .left-bar a{
    bottom: 0;
    margin-top: auto;
}
.category-presenter .right-bar{
    width: 65%;
    display: flex;
    height: 240px;
    flex-direction: row;
    justify-content: space-around;
    gap: 20px;
    padding-top: 30px;
}
.category-presenter .right-bar .item{
    width: 100%;
    background-color: white;
    color: var(--bs-dark);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    border-radius: 10px;
    transition: .1s;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}
.category-presenter .right-bar .item .image{
    width: 40%;
    overflow: hidden;
}
.category-presenter .right-bar .item .image img{
    width: 100%;
    object-fit: cover;
    object-position: center center;
}
.category-presenter .right-bar .item h2{
    font-size: 23px;
    margin: 0;
}
.category-presenter .right-bar .item p{
    font-size: 14px;
    margin: 0;
}
.category-presenter .right-bar .item a{
    color: var(--bs-primary);
    font-weight: 500;
    text-decoration: none;
}

#small-screen-category-btn{
    display: none;
    margin-left: 30px;
}
.absolute-btns{
    width: 10%;
    justify-content: end;
    top: -15px;
    right: 0;
    display: flex;
    flex-direction: row;
    gap: 10px;
    position: absolute;
}
.absolute-btns a{
    padding: 6px 25px;
    text-decoration: none;
    border-color: gray;
    border-radius: 5px;
    color: var(--bs-primary);
    background-color: rgb(211, 211, 218);
}
.absolute-btns a:hover{
    background-color: var(--bs-primary);
    color: white;
}

/* coursses */
.container .heading{
    width: 100%;
    margin-top: 50px;
    text-align: center;
    color: var(--bs-dark);
}
.course-lists {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 15px;
    margin: 30px 0;
}
.coursefooter{
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.course-lists .item{
    text-decoration: none;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    border-radius: 10px;
}
.course-lists .item .image, .course-lists .item .image img{
    width: 100%;
    position: relative;
    height: 230px;
    border-radius: 10px 10px 0 0 ;
    object-fit: cover;
    object-position: center center;
}
.course-lists .item .image .language{
    bottom: 0;
    right: 0;
    background-color: var(--bs-dark);
    color: white;
    position: absolute;
    text-transform: uppercase;
    font-size: 14px;
    padding: 5px;
    border-radius: 8px 0 0 0;
}
.course-lists .item .image .featured{
    left: 0;
    bottom: 0;
    background-color: var(--bs-success);
    color: white;
    position: absolute;
    font-size: 14px;
    padding: 5px;
    border-radius: 0 8px 0 0;
}

.course-lists .item .body{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 10px;
}
.course-lists .item .body .category{
    font-size: 14px;
    color: var(--bs-blue);
}
.course-lists .item .body .course-name{
    font-size: 18px;
    font-weight: 600;
    color: var(--bs-dark);
}
.course-lists .item .body .detail{
    font-size: 14px;
    color: gray;
}
.course-lists .item .body .rating{
    font-size: 14px;
    color: #FFCF21;
}
.course-lists .item .body .price{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: end;
    gap: 10px;
}
.course-lists .item .body .price .cut{
    font-size: 14px;
    color: red;
    text-decoration: line-through;
}
.course-lists .item .body .price .real{
    color: var(--bs-primary);
    font-size: 23px;
    font-weight: bold;
}


/* welcome body */
.welcome-body{
    margin: 50px 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin-bottom: 80px;
}


.welcome-body .image .pic{
    width: 350px;
    position: relative;
    height: 350px;
}
.welcome-body .image .pic .rotatediv{
    width: 100%;
    height: 100%;
    border: 3px solid #e0e0e0;
    border-radius: 20px;
    right: 0%;
    top: 0%;
    rotate: -10deg;
    z-index: -1;
    position: absolute;
}

.welcome-body .image .pic img{
    width: 350px;
    height: 350px;
    z-index: 100;
    object-fit: cover;
    border-radius: 20px;
    object-position: center center;
}
.welcome-body .content{
    width: 35%;
    display: flex;
    flex-direction: column;
}
.welcome-body .content h2{
    color: var(--bs-blue);
    margin-top: 20px;
    font-size: 20px;
    font-weight: 400;
}
.welcome-body .content h2 img{
    width: 20px;
    vertical-align:  top;
}
.welcome-body .content h1{
    color: var(--bs-dark);
    font-size: 35px;
    font-weight: 400;
}
.welcome-body .content a{
    bottom: 0;
    margin-top: auto;
}
.welcome-body .content .paragraph{
    color: gray;
}
.counters{
    margin: 40px 0;
    width: 100%;
    padding: 75px;
    position: relative;
}
.counters .counter-bg{
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}
.allcounters{
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: space-between;
}
.allcounters .item{
    position: relative;
    width: 23%;
    border-radius: 10px;
    padding: 40px 20px 20px 20px;
    background-color: white;
    text-align: center;
}
.allcounters .item h2{
    font-size: 40px;
    color: var(--bs-blue);
}
.allcounters .item p{
    font-size: 16px;
    margin: 0;
    color: gray;
}
.allcounters .item  img{
    top: -30px;
    right: 37%;
    position: absolute;
}



/* blogs */
.allblogs {
    margin: 60px 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.allblogs .item{
    background-color: white;
    border-radius: 10px;
    text-decoration: none;
}
.allblogs .item .image{
    width: 100%;
    height: 250px;
    overflow: hidden;
}
.allblogs .item .image img{
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    object-position: center center;
}
.allblogs .body{
    width: 100%;
    padding: 20px;

}
.allblogs .body .title{
    font-size: 23px;
    font-weight: 600;
    color: var(--bs-dark);
}
.allblogs .body .date{
    font-size: 14px;
    color: gray;
}
.allblogs .body .user-info{
    margin-top: 10px;
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 20px;
}
.secondpage-header .user-info{
    margin-top: 10px;
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.allblogs .body .user-info .name{
    font-size: 18px;
    color: var(--bs-dark);
    font-weight: 600;
}
.avatar {
    width: 48px;
    height: 48px;
    overflow: hidden;
    border-radius: 50%;
}

.avatar img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    object-position: center center;
}

/* footer section */
.footerstart{
    width: 100%;
    background-color: var(--bs-primary);
    margin-top: 60px;
}
.footer-section{
    width: 100%;
    padding: 50px 0;
    display: flex;
    gap: 30px;
    flex-direction: row;
    justify-content: space-between; 
}
.footer-section .info{
    width: 40%;
    gap: 20px;
    display: flex;
    flex-direction: column;
}
.footer-section .info .brand{
    width: 30%;
}
.footer-section .info .brand img{
    width: 100%;
    filter: invert(100%) hue-rotate(180deg) brightness(2);
}
.footer-section .paragraph{
    font-size: 18px;
    color: white;
}
.footer-section .footerlinks{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.footer-section .footerlinks .header, .footer-section .footerlinks a{
    color: white;
}
.footer-section .footerlinks .header{
    font-size: 23px;
    font-weight: 600;
}
.footer-section .footerlinks a {
    font-size: 18px;
    text-decoration: none;
}
.footer-section .footerlinks a:hover {
    color: var(--bs-darklight);
}
.footer-section .social {
    width: 100%;
    display: flex;
    gap: 10px;
}
.footer-section .social a{
    text-decoration: none;
    color: white;
    font-size: 33px;
}
.footer-information{
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 30px 0;
    border-top: 1px solid #f0f0f0;
}
.footer-information a{
    text-decoration: none;
    color: white;
    font-weight: 500;
}
.footer-information span{
    color: white;
}
/* for other page */
.secondpage-header{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    bottom: 20%;
    text-align: center;
    position: absolute;
    justify-content: center;
}
.secondpage-header h1{
    font-size: 80px;
    font-weight: 500;
    color: var(--bs-primary);
}
.secondpage-header h1.detail{
    font-size: 40px;
    font-weight: 500;
    color: var(--bs-primary);
}
.secondpage-header p{
    font-size: 18px;
    font-weight: 500;
    color: var(--bs-dark);
}
.content-details{
    width: 100%;
    margin: 60px 0;
}
.content-details img{
    width: 100%;
}
.content-details p{
    width: 100%;
    font-size: 16px;
    text-align: justify;
}
.content-details .paragraph{
    margin: 40px 0;
}
/* reply section */
.reply-section{
    margin: 4opx 0;
    border-top: 1px solid rgb(195, 195, 195);
    width: 1005;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.reply-section .heading{
    width: 100%;
    text-align: center;
    color: var(--bs-primary);
    font-size: 30px;
}
.reply-section .heading{
    width: 100%;
    text-align: center;
    color: var(--bs-primary);
    font-size: 30px;
}
.reply-section .item{
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 40px;
    justify-content: start;
}
.reply-section .item .body{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 90%;
}
.reply-section .item .body .name{
    font-size: 23px;
    color: var(--bs-dark);
    font-weight: 500;
}
.reply-section .item .body .date{
    font-size: 16px;
    color: gray;
}
.reply-section .item .body .comment{
    font-size: 18px;
    color: rgb(75, 75, 75);
}
.btn-group{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: end;
}
.contactmap,.contactinfo{
    margin: 60px 0;
}
iframe{
    width: 100%;
}
.contactinfo{
    width: 100%;
}
.contactinfo .infos{
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 20px;
}
.contactinfo .infos .left{
    width: 35%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.contactinfo .infos .left .item{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    background-color: white;
    border-radius: 5px;
    padding: 15px;
    gap: 15px;
}
.contactinfo .infos .left .item .icon{
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bs-primary);
    color: white;
    border-radius: 50%;
}
.contactinfo .infos .left .item .body{
    width: 80%;
}
.contactinfo .infos .left .item .body h3{
    font-size: 18px;
    margin: 0;
}
.contactinfo .infos .left .item .body p{
    font-size: 14px;
    margin: 0;
    color: rgb(158, 158, 158);
}
.contactinfo .infos .right{
    width: 65%;
    background-color: white;
    border-radius: 5px;
    padding: 15px;
    text-align: left;
}
.contactinfo .infos .right h3, .contactinfo .infos .right p{
    text-align: left;
}

/* inline lists */
.inline-lists{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: start;
    gap: 15px;
}
.inline-lists button.item{
    background-color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    outline: none;
    border: none;
    color: var(--bs-dark);
}
.inline-lists button.item:hover, .inline-lists button.item.active{
    background-color: var(--bs-primary);
    color: white;
}

/* for app */
.app-home{
    margin-top: 50px;
    width: 100%;
    height: 80vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 100px;
}
.app-home .left-content{
    width: 25%;
}
.app-home .right-content{
    width: 65%;
}
.app-home .right-content img{
    width: 100%;
}


@media (max-width: 768px) {
    .inline-lists{
        overflow-x: auto;
        white-space: nowrap;
    }
    .app-home .right-content{
        width: 100%;
    }
    .body-home .left-content .heading-second{
        font-size: 28px;
    }
    .body-home .main-home-btn{
        margin: auto;
    }
    .body-home .left-content{
        /* gap: 8px; */
        text-align: center;
    }
    .small-screen-heading-first{
        display: block;
    }
    .body-home {
        gap: 10px;
        height: fit-content;
        position: static;
        flex-direction: column;
    }
    
    .body-home .right-content{
        width: 100%;
    }
    .body-home .right-content img{
        width: 100%;
        height: 100%;
    }

/* for category courses responsive  */
.category-presenter{
    flex-direction: column;
    position: static;
    justify-content: flex-start;
}
.category-presenter img.line-svg{
    display: none;
}
.category-presenter .right-bar{
    flex-direction: column;
    width: 100%;
    height: 100%;
    /* align-items: center;
    justify-content: center; */
}
.category-presenter .left-bar{
    width: 100%;
    align-items: center;
    justify-content: center;
    height: fit-content;
    /* background-color: green; */
}
#small-screen-category-btn{
    display: block;
    margin: auto;
}
#large-screen-category-btn{
    display: none;
}
.category-presenter .left-bar h2{
    text-align: center;
}
.category-presenter .left-bar h1{
    text-align : center;
    font-size: 34px;
}
.container{
    /* overflow-x: hidden; */
}
.category-presenter .right-bar .item{
    width: 94%;
    margin: 0 10px;
    justify-content: center;
}

.absolute-btns a{
    display: none;
}

/* for welcome body responsive  */
.welcome-body{
    flex-direction : column;
    justify-content: center;
    align-items: center;
    
}
.welcome-body .image{
    width: 100%;
}
.welcome-body .content{
    width: 100%;
}
.welcome-body .content h1 {
   /* font-size: 32px; */
   text-align: center;
   display: none;
}

.welcome-body .content .paragraph {
    text-align: justify;
}

/* for counter div responsive  */
.allcounters{
   flex-direction: column;
}
.allcounters .item{
   width: 100%;
   
   z-index: 100;
   margin-top: 40px;
}

.app-home{
    margin-top: 50px;
    height: 20vh;
}
.footer-section {
    
    flex-direction: column;
  
}
.footer-section .info {
    width: 100%;
   
}
.footer-section .footerlinks a {
    font-size: 14px;
    text-decoration: none;
    color: #e7eef2;

}
.footer-section .footerlinks .header {
    font-size: 20px;
    
}
.footer-information a {
    text-decoration: none;
    color: white;
    font-size: 14px;
}
.secondpage-header h1 {
    font-size: 60px;
}
.second-home {
    width: 100%;
    position: static;
    height: fit-content;
}
.secondpage-header {
   position: static;
   padding: 100px 0;
}
.contactinfo .infos {
   
    flex-direction: column;
 
}
.contactinfo .infos .left {
    width: 100%;
   
}
.contactinfo .infos .right {
    width: 100%;
   
}
.infos .right p {
   line-height : 30px;
}
}