@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: 'Poopins', sans-serif;
}

/* Global Tags */

h1{
    font-size: 2.5rem;
    font-weight: 700;
    color: rgb(35, 35, 85);
}
span{
    font-size: .9rem;
    color: #757373;
}
h6{
    font-size: 1.1rem;
    color: rgb(24, 24, 49);
}

/* Navigation */

nav{
    position: fixed;
    width: 100%;
    background-color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1vw 8vw;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 999;
}
nav img{
    width: 250px;
    cursor: pointer;
}
nav .navigation{
    display: flex;
}
#menu-btn{
    width: 40px;
    height: 40px;
    display: none;
}
#menu-close{
    display: none;
}
nav .navigation ul{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
nav .navigation ul li{
    list-style: none;
    margin-left: 30px;
}
nav .navigation ul li a{
    text-decoration: none;
    color: rgb(21, 21, 100);
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s ease;
}
nav .navigation ul li a.active,
nav .navigation ul li a:hover{
    color: #FDC938;
}

/* Home */

#home{
    background-image: linear-gradient(rgba(9, 5, 54, 0.3), rgba(5, 4, 46, 0.7)),
    url("Images/back1.jpg");
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 20px;
}
#home h2{
    color: white;
    font-size: 2.2rem;
    letter-spacing: 1px;
}
#home p{
    width: 50%;
    color: white;
    font-size: 0.9rem;
    letter-spacing: 1px;
    line-height: 25px;
}
#home .btn{
    margin-top: 30px;
}
#home a{
    text-decoration: none;
    font-size: 0.9rem;
    padding: 13px 35px;
    background-color: white;
    font-weight: 600;
    border-radius: 5px;
}
#home a.blue{
    color: white;
    background: rgb(21, 21, 100);
    transition: 0.3s ease;
}
#home a.blue:hover{
    color: rgb(21, 21, 100);
    background: white;
}
#home a.yellow{
    color: white;
    background: #FDC938;
    transition: 0.3s ease;
}
#home a.yellow:hover{
    color: rgb(21, 21, 100);
    background: white;
}

/* Features */

#features{
    padding: 5vw 8vw 0 8vw;
    text-align: center;
}
#features .fea-base{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    grid-gap: 1rem;
    margin-top: 50px;
}
#features .fea-box{
    background: #F9F9FF;
    text-align: start;
    padding-bottom: 10px;
    padding-top: 20px;
}
#features .fea-box i{
    font-size: 2.3rem;
    color: rgb(44, 44, 80);
}
#features .fea-box h3{
    font-size: 1.2rem;
    font-weight: 600;
    color: rgb(46, 46, 59);
    padding: 13px 0 7px 0;
}
#features .fea-box p{
    font-size: 1rem;
    font-weight: 400;
    color: rgb(70, 70, 87);
}

/* Courses */

#course{
    padding: 8vw 8vw 0vw 8vw;
    text-align: center;
}
#course .course-box{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    grid-gap: 1rem;
    margin-top: 50px;
}
#course .courses{
    text-align: start;
    background: #F9F9FF;
    height: 100%;
    position: relative;
}
#course .courses img{
    width: 100%;
    height: 60%;
    background-size: cover;
    background-position: center;
}
#course .courses .details{
    padding: 15px 15px 0 15px;
}
#course .courses .details i{
    color: #FDC938;
    font-size: 0.9rem;
}
#course .courses .cost{
    background-color: rgb(74, 74, 136);
    color: white;
    line-height: 70px;
    width: 70px;
    height: 70px;
    text-align: center;
    border-radius: 50%;
    position: absolute;
    right: 15px;
    bottom: 100px;
}

/* Registration */

#registration{
    padding: 10vw 8vw 6vw 8vw;
    background-image: linear-gradient(rgba(7, 16, 61, 0.719), rgba(81, 91, 233, 0.5)), 
    url("Images/signup.jpg");
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}
#registration .reminder{
    color: white;   
}
#registration .reminder h1{
    color: white;   
}
#registration .reminder .time{
    display: flex;
    margin-top: 40px;
}
#registration .reminder .time .date{
    text-align: center;
    padding: 13px 13px 33px 33px;
    background-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border-radius: 10px;
    margin: 0 5px 10px 5px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 1.1rem;
    font-weight: 600;
}
#registration .form .register{
    background: white;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    padding: 40px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);;
}
#registration .form input{
    margin: 15px 0;
    padding: 15px 10px;
    border: 1px solid rgb(84, 40, 241);
    outline: none;
}
#registration .form input::placeholder{
    color: #413c3c;
    font-weight: 500;
    font-size: 0.9rem;
}
#registration .form .btn{
    margin-top: 20px;
}
#registration .form a.yellow{
    text-decoration: none;
    font-size: 0.9rem;
    padding: 13px 35px;
    background-color: white;
    font-weight: 600;
    border-radius: 5px;
    color: white;
    background: #FDC938;
    transition: 0.3s ease;
}
#registration .form a.yellow:hover{
    color: rgb(21, 21, 100);
    background: white;
}

/* Experts */

#experts{
    padding: 6vw 8vw 6px 8vw;
    text-align: center;
    margin-bottom: 20px;
}

#experts .expert-box{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 1rem;
    margin-top: 50px;
}
#experts .expert-box .profile img{
    width: 80%;
    height: 80%;
    background-size: cover;
    background-position: center;
    border-radius: 100px;
}
#experts .expert-box .profile{
    background: #fafaf1;
    padding: 30px 10px;
}
.pro-link{
    margin-top: 10px;
}
.pro-link i{
    padding: 10px 13px;
    border: 1px solid rgb(21, 21, 100);
    cursor: pointer;
    transition: 0.3s ease;
}
.pro-link i:hover{
    background: rgb(21, 21, 100);
    color: white;
    border: 1px solid rgb(21, 21, 100);
    cursor: pointer;
}

/* Footer */

footer{
    padding: 6vw 8vw 8vw 8vw;
    background-color: #1b3057;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
footer .footer-col{
    padding-bottom: 40px;
}
footer h3{
    color: rgb(241, 240, 245);
    font-weight: 600;
    padding-bottom: 20px;
}
footer li{
    list-style: none;
    color: #7b838a;
    padding: 10px 0;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s ease;
}
footer li:hover{
    color: rgb(241, 240, 245);
}
footer p{
    color: #7b838a;
}
footer .subscribe{
    margin-top: 20px;
}
footer input{
    width: 220px;
    padding: 15px 12px;
    background: #334F6C;
    border: none;
    outline: none;
    color: white;
}
footer .subscribe a{
    text-decoration: none;
    font-size: 0.9rem;
    padding: 12px 15px;
    background-color: white;
    font-weight: 600;
}
footer .subscribe a.yellow{
    color: #2c2c2c;
    background: #FDC938;
    transition: 0.3s ease;
}
footer .subscribe a.yellow:hover{
    color: rgb(21, 21, 100);
    background: white;
}
footer .pro-link{
    margin-top: 20px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
}
footer .pro-link i{
    padding: 10px 13px;
    background: #334F6C;
    border: 1px solid rgb(21, 21, 100);
    cursor: pointer;
    transition: 0.3s ease;
}
footer .pro-link i:hover{
    background-color: #FDC938;
    color: #2c2c2c;
    border: 1px solid rgb(21, 21, 100);
    cursor: pointer;
}

/* About */

#about-home{
    background-image: linear-gradient(rgba(9, 5, 54, 0.3), rgba(5, 4, 46, 0.7)),
    url("Images/aboutback.jpg");
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    
}
#about-home h2{
    color: white;
    font-size: 2.2rem;
    letter-spacing: 1px;
}
#about-container{
    display: flex;
    align-items: center;
    padding: 6vw 8vw 2vw 8vw;
}
#about-container .about-img{
    width: 60%;
    padding-right: 60px;
}
#about-container .about-img img{
    width: 100%;
}
#about-container .about-text{
    width: 40%;
}
#about-container .about-text h2{
    color: #293038;
    padding-bottom: 15px;
}
#about-container .about-text p{
    color: #686f7a;
    font-weight: 300;
}
#about-container .about-text .about-fe{
    display: flex;
    justify-content: space-between;
    align-self: flex-start;
    margin-top: 30px;
}
#about-container .about-text .about-fe img{
    width: 50px;
    background-size: cover;
    background-position: center;
    margin-right: 20px;
}
#about-container .about-text .about-fe .fe-text{
    width: 90%;
}
#about-container .about-text .about-fe .fe-text h5{
    font-size: 16px;
    color: #293038;
}

#trust{
    text-align: center;
    padding: 8vw;
}
#trust .trust-img{
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#trust .trust-img img{
    width: 90px;
    height: auto;
}

/* Bolg */

#blog-container{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 8vw;
}
#blog-container .blogs{
    width: 60%;
}
#blog-container .blogs img{
    width: 100%;
    border-radius: 19px;
}
#blog-container .blogs .post{
    padding-bottom: 60px;
}
#blog-container .blogs .post h3{
    color: #293038;
    padding: 15px 0 10px 0;
}
#blog-container .blogs .post p{
    color: #757373;
    padding-bottom: 20px;
}
#blog-container .blogs .post a{
    text-decoration: none;
    font-size: 0.9rem;
    padding: 13px 35px;
    background-color: rgb(21, 21, 100);
    color: white;
    border-radius: 5px;
    font-weight: 600;
}
#blog-container .cate{
    width: 30%;
}
#blog-container .cate h2{
    padding-bottom: 7px;
}
#blog-container .cate a{
    text-decoration: none;
    color: #757373;
    font-weight: 500;
    line-height: 45px;
}

#blog-container .blogpost{
    width: 60%;
    margin: 0 auto;
}
#blog-container .blogpost p{
    text-align: justify;
    padding-bottom: 60px !important;
}

/* course-js */

#course-js{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8vw;
}
#course-js h3{
    padding: 35px 0 25px 0;
    color: #293038;
}
#course-js p{
    color: #64626e;
}
#course-js hr{
    height: 1px;
    background: rgba(236, 226, 229 0.5);
    margin-top: 40px;
}
#course-js .overview{
    width: 70%;
}
#course-js .overview .course-img{
    width: 100%;
    height: 60vh;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}
#course-js .overview .course-head{
    display: flex;
    align-self: flex-start;
    justify-content: space-between;
}
#course-js .overview .course-head .c-name{
    width: 70%;
}
#course-js .overview .course-head .c-name h2{
    color: #293038;
}
#course-js .overview .course-head .c-name .star{
    margin: 6px 0;
}
#course-js .overview .course-head .c-name .star i{
    color: #FDC938;
    font-size: 0.9rem;
}
#course-js .overview .course-head .c-name p{
    font-size: 15px;
}
#course-js .overview .course-head span{
    padding: 16px 22px;
    border-radius: 5px;
    color: #5838fc;
    font-size: 24px;
    font-weight: 700;
    background-color: rgba(88, 56, 252, 0.1);
}
#course-js .learn p{
    font-size: 15px;
    padding-bottom: 15px;
}
#course-js .learn p i{
    color: #654ce6;
    font-weight: 700;
    margin-right: 20px;
}
#course-js .tutor{
    display: flex;
}
#course-js .tutor img{
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-right: 20px;
}
#course-js .tutor h5{
    font-size: 15px;
}
#course-js .enroll{
    width: 300px;
    padding: 0 30px 30px 30px;
    border-radius: 11px;
    box-shadow: 0px 20px 40px 0 rgb(11 2 55 / 8%);
}
#course-js .enroll h3{
    padding-bottom: 10px;
}
#course-js .enroll p{
    font-size: 15px;
    color: #646266;
    margin: 15px 0;
}
#course-js .learn p i{
    color: #654ce6;
    font-weight: 500;
    margin-right: 18px;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
}
#course-js .enroll .enroll-btn{
    padding: 25px 0 20px 0;
    margin: auto;
    text-align: center;
}
#course-js .enroll .enroll-btn a{
    text-decoration: none;
    font-size: 0.8rem;
    padding: 13px 45px;
    border-radius: 5px;
    font-weight: 600;
    color: white;
    background: rgb(50, 50, 136);
}

#course-python{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8vw;
}
#course-python h3{
    padding: 35px 0 25px 0;
    color: #293038;
}
#course-python p{
    color: #64626e;
}
#course-python hr{
    height: 1px;
    background: rgba(236, 226, 229 0.5);
    margin-top: 40px;
}
#course-python .overview{
    width: 70%;
}
#course-python .overview .course-img{
    width: 100%;
    height: 60vh;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}
#course-python .overview .course-head{
    display: flex;
    align-self: flex-start;
    justify-content: space-between;
}
#course-python .overview .course-head .c-name{
    width: 70%;
}
#course-python .overview .course-head .c-name h2{
    color: #293038;
}
#course-python .overview .course-head .c-name .star{
    margin: 6px 0;
}
#course-python .overview .course-head .c-name .star i{
    color: #FDC938;
    font-size: 0.9rem;
}
#course-python .overview .course-head .c-name p{
    font-size: 15px;
}
#course-python .overview .course-head span{
    padding: 16px 22px;
    border-radius: 5px;
    color: #5838fc;
    font-size: 24px;
    font-weight: 700;
    background-color: rgba(88, 56, 252, 0.1);
}
#course-python .learn p{
    font-size: 15px;
    padding-bottom: 15px;
}
#course-python .learn p i{
    color: #654ce6;
    font-weight: 700;
    margin-right: 20px;
}
#course-python .tutor{
    display: flex;
}
#course-python .tutor img{
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-right: 20px;
}
#course-python .tutor h5{
    font-size: 15px;
}
#course-python .enroll{
    width: 300px;
    padding: 0 30px 30px 30px;
    border-radius: 11px;
    box-shadow: 0px 20px 40px 0 rgb(11 2 55 / 8%);
}
#course-python .enroll h3{
    padding-bottom: 10px;
}
#course-python .enroll p{
    font-size: 15px;
    color: #646266;
    margin: 15px 0;
}
#course-python .learn p i{
    color: #654ce6;
    font-weight: 500;
    margin-right: 18px;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
}
#course-python .enroll .enroll-btn{
    padding: 25px 0 20px 0;
    margin: auto;
    text-align: center;
}
#course-python .enroll .enroll-btn a{
    text-decoration: none;
    font-size: 0.8rem;
    padding: 13px 45px;
    border-radius: 5px;
    font-weight: 600;
    color: white;
    background: rgb(50, 50, 136);
}

/* Contact Us */

#contact{
    padding: 8vw;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
#contact .getin{
    width: 350px;
}
#contact .getin h2{
    color: #2c234d;
    font-size: 30px;
    font-weight: 800;
    line-height: .8;
    margin-top: 16px;
    padding-bottom: 25px;
}
#contact .getin p{
    color: #686875;
    line-height: 24px;
    margin-bottom: 33px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5e4ed;
}
#contact .getin h3{
    color: #2c234d;
    font-size: 16px;
    font-weight: 600;
    line-height: 26px;
    margin-top: 15px;
}
#contact .getin .getin-details div{
    display: flex;
}
#contact .getin .getin-details div .get{
    font-size: 16px;
    line-height: 22px;
    color: #5838fc;
    margin-right: 20px;
}
#contact .getin .getin-details div p{
    font-size: 14px;
    border-bottom: none;
    line-height: 22px;
    margin-bottom: 15px;
}
#contact .getin .getin-details .pro-link i{
    margin-right: 8px;
}

#contact .form{
    width: 60%;
    background: #f7f6fa;
    padding: 40px;
    border-radius: 10px;
}
#contact .form h4{
    font-size: 24px;
    color: #2c234d;
    line-height: 30px;
    margin-bottom: 8px;
}
#contact .form p{
    color: #686875;
    line-height: 24px;
    padding-bottom: 25px;
}
#contact .form .form-row{
    display: flex;
    justify-content: space-between;
    width: 100%;
}
#contact .form .form-row input{
    width: 48%;
    font-size: 14px;
    font-weight: 400;
    border-radius: 3px;
    border: none;
    background: white;
    color: #7e7c87;
    outline: none;
    padding: 20px 30px;
    margin-bottom: 20px;
}
#contact .form .form-col input,
#contact .form .form-col textarea{
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    border-radius: 3px;
    border: none;
    background: white;
    color: #7e7c87;
    outline: none;
    padding: 20px 30px;
    margin-bottom: 20px;
}
#contact .form button{
    font-size: 0.9rem;
    padding: 13px 25px;
    background: rgb(21, 21, 100);
    border-radius: 5px;
    outline: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
    color: white;
}

#map{
    width: 100%;
    height: 70vh;
    margin-bottom: 8vw;
}                        /* Makes map responsiove */
#map iframe{
    width: 100%;
    height: 100%;
}

@media (max-width: 769px) {
    nav {
        padding: 15px 20px;
        z-index: 9999;
    }
    nav img {
        width: 230px;
        cursor: pointer;
    }
    #menu-btn{
        display: initial;
    }
    #menu-close{
        display: initial;
        font-size: 1.6rem;
        color: white;
        padding: 30px 0 20px 20px;
    }
    nav .navigation ul {
        position: absolute;
        top: 0;
        right: -220px;
        width: 220px;
        height: 100vh;
        background: rgba(17, 20, 104, 0.45);
        backdrop-filter: blur(0.5px);
        border: 1px solid rgba(255, 255, 255, 0.18);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        transition: 0.3s ease;
    }
    nav .navigation ul.active{
        right: 0px;
    }
    nav .navigation ul li{
        padding: 20px 0 20px 40px;
        margin-left: 0;
    }
    nav .navigation ul li a{
        color: white;
    }
    #home {
        padding-top: 0px;
    }
    #home p {
        width: 90%;
    }
    #features {
        padding: 8vw 4vw 0 4vw;
    }
    #course {
        padding: 8vw 4vw 0 4vw;
    }
    #registration {
        margin-top: 6vw;
        padding: 6vw 4vw 6vw 4vw;
    }

    /* About */

    #about-container {
        padding: 6vw 4vw 2vw 4vw;
    }
    #about-container .about-img {
        padding-right: 30px;
    }
    #about-home {
        height: 80vh;
    }

    /* Blog */

    #about-home {
        height: 60vh;
    }
    #blog-container {
        padding: 8vw 4vw;
    }

    #blog-container .blogpost {
        width: 100%;
        margin-top: 50px;
    }
    #blog-container .blogpost img {
        width: 100%;
        height: 50vh;
        object-fit: cover;
    }

    /* course-js */

    #course-js {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 8vw 4vw;
    }
    #course-js .overview {
        width: 100%;
    }
    #course-js .overview .course-img {
        width: 100%;
        height: 100%;
    }
    #course-js .enroll {
        margin-top: 25px;
    }
        #course-python {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 8vw 4vw;
    }
    #course-python .overview {
        width: 100%;
    }
    #course-python .overview .course-img {
        width: 100%;
        height: 100%;
    }
    #course-python .enroll {
        margin-top: 25px;
    }

    /* Contact Us */

    #contact {
        padding: 8vw 4vw;
    }
    #contact .getin {
        width: 250px;
    }
    
}

@media (max-width: 475px){
    #registration {
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    /* About */

    #about-container {
        flex-direction: column-reverse;
    }
    #about-container .about-img img {
        width: 100%;
       padding-right: 0;
    }
    #about-container .about-text {
        width: 100%;
        padding-bottom: 20px;
    }
    #trust .trust-img {
        margin-top: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }
    #trust .trust-img img {
        width: 70px;
        margin: 10px 15px;
        height: auto;
    }

    /* Blog */

    #blog-container {
        flex-direction: column;
    }
    #blog-container .blogs {
        width: 100%;
    }
    #blog-container .cate {
        width: 100%;
    }

    #blog-container .blogpost {
        width: 100%;
        margin-top: 70px;
    }
    #blog-container .blogpost img {
        width: 100%;
        height: 50vh;
        object-fit: cover;
    }

    /* course-js */

    #course-js .overview .course-head .c-name {
        width: 50%;
    }
    #course-js .overview .course-head .c-name h2 {
        font-size: 22px;
    }
    #course-js .overview .course-head span {
        font-size: 22px;
    }
    #course-js .enroll {
        width: 100%;
    }
    #course-python .overview .course-head .c-name {
        width: 50%;
    }
    #course-python .overview .course-head .c-name h2 {
        font-size: 22px;
    }
    #course-python .overview .course-head span {
        font-size: 22px;
    }
    #course-python .enroll {
        width: 100%;
    }


    /* Contact Us */

    #contact {
        padding: 8vw 4vw;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }
    #contact .getin {
        width: 100%;
        margin-bottom: 30px;
    }
    #contact .form {
        width: 100%;
        padding: 40px 30px;
    }
    #contact .form .form-row {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 100%;
    }
    #contact .form .form-row input{
        width: 100%;
    }
}