*{
    margin: 0;
    padding: 0;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/*.......coding the navigation section*/
.header{
    min-height: 80vh;
    width: 100%;
    background-image:linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(images/form3.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
    transition: opacity 1s ease-in-out, background-image 1s ease-in-out;
}

nav{
    background: linear-gradient(rgba(27, 27, 27, 0.7)100%, rgba(197, 197, 211, 0.7));
    position:fixed;
    width: 100%;
    /* height: 5vh; */
    display: flex;
    align-items: center;
    padding: 2% 6%;
    justify-content: space-between;
    z-index: 999;
    box-shadow: 2PX 2PX 10px 10px rgba(0, 0, 0, 0.19);
}
/*this is the image in the nav bar*/
nav img{
    width: 80px;
    padding:0;
    margin: 0 ;
}

.nav-links{
    flex: 1;
    text-align: center;
}

.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 2%;
}

.nav-links ul li a{
    text-decoration: none;
    text-align: center;
    color:#fff;
    font-size: 13px;
}

.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #fff;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li a:hover{
    font-weight: bolder;

}

.nav-links ul li:hover::after{
    width: 100%;
}

/*...now i a coding the body.....textbox*/

.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    /* top: 50%; */
    left:50% ;
    bottom: 0%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text-box h1{
    padding: 5% 0;
    font-size: 52px;
}

.text-box p{
    margin: 10px 0 40px;
    font-size: 15px;
    color: #fff;
}

/*hiding the icons from font awesome......*/

nav .fa{
    display: none;

}

/*-----coding the popping section---*/
#section {
    opacity: 0;
    transform: translateY(20px); /* Start slightly below */
    transition: opacity 0.5s ease, transform 0.5s ease; /* Smooth transition */
}

#section.visible {
    opacity: 1; /* Fully visible */
    transform: translateY(0); /* Move to original position */
}
.cost a{
    color: #fff;
    text-decoration: none;
}
/*responsive part for small screens like smart phones and tablets......*/

@media(max-width: 700px){
    .text-box h1{
        font-size: 30px;
    }

    nav{
        position:relative;
        /* height: 5vh; */
        display: flex;
        align-items: center;
        padding: 2% 6%;
        justify-content: space-between;
        z-index: 999;
        box-shadow: 2PX 2PX 10px 10px rgba(0, 0, 0, 0.19);
    }

    .nav-links ul li:hover::after{
        width: 0%;
    }

    .nav-links{
        position: absolute;
        height: 100vh;
        width: 200px;
        /* top: 0; */
        right: -200px;
        text-align: left;
        z-index: 2;
        background: #e09191;
        transition: 1s;
    }
    
    .nav-links ul li{
        display: block;
    }

    /*displaying the icons from font awesome in smaller screens......*/

    nav .fa{
        display: block;
        color: #fff;
        cursor: pointer;
        margin: 10%;
        font-size: 22px;
    }

    nav img{
        width: 60px;
    }

    .nav-links ul{
        padding: 35px;

    }
    .course h2{
        font-size: 20px;
    } 

}



/*Coding the course*/
.course{
    width: 80%;
    text-align: center;
    margin:auto;
    padding-top: 100px;
}

h2{
    font-size: 32px;
    font-weight: 600;
}

p{
    font-size: 14px;
    color: #777;
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: 300;
}

.row{
    margin-top: 5%;
    display: flex;
    justify-content:space-between;
}

.course-column{
    flex-basis: 31%;
    background: #fff3f3;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}

.video{
    border-radius: 10px;
    width: 120%;
}

h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;

}

.course-column:hover{
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.19);
}

/*-----coding the popping section---*/
#section {
    opacity: 0;
    transform: translateY(20px); /* Start slightly below */
    transition: opacity 0.5s ease, transform 0.5s ease; /* Smooth transition */
}

#section.visible {
    opacity: 1; /* Fully visible */
    transform: translateY(0); /* Move to original position */
}


/*features coding --*/
/*Coding the course*/
.course{
    width: 80%;
    text-align: center;
    margin:auto;
    padding-top: 100px;
}

h2{
    font-size: 32px;
    font-weight: 600;
}

p{
    font-size: 14px;
    color: #777;
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: 300;
}

.row{
    margin-top: 5%;
    display: flex;
    justify-content:space-between;
}

.course-column{
    flex-basis: 31%;
    background: #fff3f3;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}

.video{
    border-radius: 10px;
    width: 120%;
}

h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;

}

.course-column:hover{
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.19);
}

/*-----coding the popping section---*/
#section {
    opacity: 0;
    transform: translateY(20px); /* Start slightly below */
    transition: opacity 0.5s ease, transform 0.5s ease; /* Smooth transition */
}

#section.visible {
    opacity: 1; /* Fully visible */
    transform: translateY(0); /* Move to original position */
}

/*coding the responsive part for the cources section*/
@media(max-width:700px){
    .row{
        flex-direction: column;
    }

    .course-box img{
        border-radius: 10px;
        width: 10%;
        height: 10%;
    }

    .course-box{
        display: inline-block;
        margin-left: -20%;
    }

}

/*extra service coding --*/


#courses{
    padding-left: 0%;
    padding-top: 60px;
    padding-bottom: 50px;
    text-align: start;
    background: #F9F9FF;
}

#courses h1{
text-align: center;

}

#courses p{
    text-align: center;
    color: grey !important;
    font-weight: 400;
    }

#courses .course-base{
    

    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(320px, 1fr));
    grid-gap: 1rem;
    margin-top: 50px;
    height: 100%;
    margin-left: 10rem;
    margin-right: 5rem;
}
    
#courses .course-box{
    text-align: start;
    position: relative;
}

#courses .course-box img{
    width: 290px;
    height: 70%;
    font-size: 2.3rem;
    color: rgb(46, 46,59);
}


#courses .details{
    padding: 15px 15px 0 15px;
}
#courses .details h6{
    font-weight: 400;
    font-size: 1rem;
    color: rgb(70, 70,80);

}

#courses .course-box span{
    font-weight: 400;
    font-size: 1rem;
    color: rgb(70, 70,80);

}

#courses .course-box {
    font-weight: 400;
    font-size: 1rem;
    color: rgb(70, 70,80);

}

#courses .cost{
    height: 70px;
    width: 70px;
    background-color: rgba(74,74,136);
    color: #fff;
    line-height: 70px;
    text-align: center;
    position: absolute;
    border-radius: 50%;
    right: 30px;
    bottom: 60px;
    cursor: pointer;
}

/*--responsive part of extra co curiculum*/
@media(max-width:700px){

    .courses {
        text-align: center;
    }
#courses .cost{
    height: 70px;
    width: 70px;
    background-color: rgba(74,74,136);
    color: #fff;
    line-height: 70px;
    text-align: center;
    position:absolute;
    border-radius: 50%;
    right: 60px;
    bottom: 60px;
    cursor: pointer;
}

}





/*-----coding the footer section--------*/

.footer{
    text-align: center;
    width: 100%;
    padding: 30px 0;
}

.footer h4{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
}

.footer p{
    margin-top: 15px;
    padding: 15px;
}

.icons .fa{
    color: #f44336;
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
   
}

p img{
    height: 15px;
    padding-left: 10px;

}

p a{
    text-decoration: none;
    transition: 1.5s ease-in-out;
}

p a:hover{
    text-shadow: #f44336;
    font-size: larger;
    color: brown;
}
.icons a{
    text-decoration: none;
}
