*{
    margin: 0;
    padding: 0;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body{
  overflow-x:hidden;
}

/*.......coding the navigation section*/
.header{
   
    min-height: 100vh;
    width: 100%;
    animation: slideshow 40s infinite;
    background-position: center;
    background-size: cover;
    position: relative;
    transition: opacity 1s ease-in-out, background-image 1s ease-in-out;
}

@keyframes slideshow {
    0%{
        background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(../images/price1.jpg);
    }

    20%{
        background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(../images/bus.jpg);
    }

    40%{
        background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(../images/form3.jpg);
    }

    60%{
        background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(../images/choir.jpg);
    }

    80%{
        background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(../images/grounds.jpg);
    }

    100%{
        background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(../images/science.jpg);
    }
}

nav{
    user-select: none;
    background: linear-gradient(rgba(27, 27, 27, 0.7)100%, rgba(159, 159, 163, 0.7));
    position:fixed;
    width: 100%;
    /* height: 10vh; */
    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-left:20px;
}

.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: 1.5s;
}

.nav-links ul li a:hover{
    font-weight: bolder;
    transition: 1.0s ease-in-out;
}

.nav-links ul li:hover::after{
    width: 100%;
}

/*now i a coding the body..textbox*/

.text-box{
    user-select: none;
    width: 90%;
    color: #fff;
    position: absolute;
    top: 60%;
    left:50% ;
    bottom: 0%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.header::after {
    content: '';
    position: absolute;
    top: 90%;
    left: 0;
    width: 50px;
    height: 50px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cpath fill='%23fff' d='M50 0L62.5 37.5 100 50 62.5 62.5 50 100 37.5 62.5 0 50 37.5 37.5 50 0z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
    background-size: contain;
    background-position: center;
    opacity: 0.30; /* Increased opacity */
    z-index: 1; /* Increased z-index */
    animation: bounce 5s infinite;
  }

.text-box h1{
    font-size: 62px;
}

.text-box p{
    margin: 10px 0 40px;
    font-size: 15px;
    color: #fff;
}

.visit-btn{
    display: inline-block;
    text-decoration: none;
    font-size: 14px;
    padding: 14px 12px 12px 34px;
    border: 1px solid;
    color: #fff;
    cursor: pointer;
    position: relative;
    background: transparent;
}

.visit-btn:hover{
    border: 1px solid #757373;
    background: #979292;
    transition: 1s;
}


/*hiding the icons from font awesome...*/

nav .fa{
    display: 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{
        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: 80px;
        padding-left: 20px; 
        /* border:1px solid red; */
    }

    .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 */
}

/*coding the responsive part for the cources section*/
@media(max-width:700px){
    .row{
        flex-direction: column;
    }

    .video{
        border-radius: 10px;
        width: 100%;
    }

}

/*coding the campus section*/

.campus{
    text-align: center;
    margin: auto; 
    padding-top: 50px;
    padding-bottom: 50px;
    width: 80%;
}

.campus-column{
    background: #fff3f3;
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.course-column img{
    width: 100%;
    display: block;
}

.layer{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    transition: 0.5s;
}

.layer:hover{
    background: rgba(4, 0, 22, 0.7);
}
.layer h1{
    width: 100%;
    color: #fff;
    font-weight: 700;
    position: absolute;
    transform: translateX(-50px);
    bottom: 0%;
    left: 50px;
    opacity: 0;
    transition: 1.5s;
}

.layer:hover h1{
    opacity: 1;
    bottom: 49%;
}

/*coding the facilities section*/


.facility-column .video{
    width: 100%;
}

.facility-column{
    background: #fff3f3;
    flex-basis: 32px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 5%;
    width: 100%;
}

.facility-column img{
    border-radius: 10px;
    width: 100%;
}

.facility-column h2{
    margin-top: 15px;
    text-align: left;
}
.facility-column p{
    margin-top: 15px;
    text-align: left;
}


/*coding the testimonies section*/

.testimonies{
    text-align: center;
    margin: auto;
    padding-top: 100px;
    padding-bottom: 50px;
    width: 80%;
}

.testimonies-col{
    flex-basis: 44%;
    border-radius: 10px;
    text-align: left;
    margin-bottom: 5%;
    padding: 25px;
    background: #fff3f3;
    cursor: pointer;
    display: flex;
    transition: 0.8s;
    box-sizing: border-box;
}

.testimonies-col img{
    border-radius: 50%;
    height: 40px;
    margin-left: 5px;
    margin-right: 30px;
    width: 40%;
}

.testimonies-col p{
    padding: 0;
}

.testimonies-col h3{
    margin-top: 15px;
    text-align: left;
   
}

.testimonies-col .fa{
    color: #f44336;
}

.testimonies-col:hover{
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.19);
}

/*-----the responsive part of testimonies--------*/
@media(max-width:700px){

    .testimonies-col{
        flex-direction: column;
    }

    .testimonies-col img{
        margin-left: 0px;
        margin-right: 15px;
        width: 40px;
    }
}

/*-----coding the call to action section--------*/

.cta{
    width: 80%;
    margin: 100px auto;
    padding: 100px 0px;
    background-size: cover;
    background-position: center;
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),url(...../images/complab.PNG);
    border-radius: 10px;
    text-align: center;
}

.cta h1{
    color: #fff;
    margin-bottom: 40px;
}

/*-----coding the responsive part of the call to action section--------*/

@media(max-width:700px){
     .cta h1{
        font-size: 24px;
     }
}

/*-----coding the footer section--------*/

.footer{
    text-align: center;
    width: 100%;
    padding: 5px 0;
}

.footer h4{
    /* margin-bottom: 25px; */
    /* margin-top: 20px; */
    font-weight: 600;
}

.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;
}
/*--coding the comment section part--*/

.comment-section{
    width: auto;
    margin: 10px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.comment-section h2{
    color: #d61d1d;
    padding: 10px;
    padding-bottom: 20px;
}

#comment-form{
    display: flex;
    flex-direction: column;
    align-items: center;
}

#name, #comment{
    font-size: larger;
    padding: 5px;
    width: 100%;
    height: 40px;
    background-color: transparent;
    color: #af6c6c;
    border: 1px solid #ccc;
    border-radius: 5px;

}

#comment{
    margin-top: 10px;
}

::placeholder{
    font-size: 20px;
}

#submit-btn{
    margin-top: 45px;
    width: 98px;
    border-radius: 10px;
    height: 2rem;
    border: none;
    cursor: pointer;
    transition: 0.5s linear;
}

#submit-btn:hover{
    background-color: #f44336;
}

#comments-container{
    margin-top: 40px;
}

.comment{
    background-color: #f7f7f7;
    padding: 20px;
    border-bottom: 1px solid #ccc;
}

.comment:last-child{
    border-bottom: none;
}

.comment-name{
    font-weight: bold;
    margin-bottom: 10px;
}


/*--coding the responsive part for the comment section--*/

@media(max-width:700px){
    .comment-section{
        width: auto;
        margin: 10px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        background-position: center;
    }
}

