* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

.header {
    min-height: 100vh;
    width: 100%;
    background-image: 
    linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(images/Banner.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:right;
}

nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

nav img {
    width: 150px;
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-links ul li {
    margin-left: 20px; 
}

.nav-links ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    padding: 10px;
    transition: color 0.3s;
}

.nav-links ul li a:hover {
    color: #007bff;
}

.text-box {
    width: 90%;
    text-align: center;
    margin: auto;
}

.text-box h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.text-box p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid blue;
    padding: 12px 34px;
    font-size: 1rem;
    background: transparent;
    cursor: pointer;
    transition: background 1s, border-color 0.3s;
}

.hero-btn:hover {
    background: #fff;
    color: #000;
}

nav .fa {
    display: none;
}

@media(max-width: 700px) {
    .text-box h1 {
        font-size: 20px;
    }

    .nav-links ul {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        background: rgba(0, 0, 0, 0.9);
        width: 100%;
        text-align: center;
    }

    .nav-links ul.active {
        display: flex; 
    }

    .nav-links ul li {
        margin: 0;
    }

    nav .fa {
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    .nav-links ul li {
        display: block;
        margin: 20px 0;
    }
}

/* Courses Section */

.course {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

.course h1 {
    font-size: 36px;
    font-weight: 600;
}

.course p {
    color: hsla(180, 100%, 2%, 0.952);
    font-size: 17px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.row {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.course-col {
    flex-basis: calc(33.33% - 20px);
    background: #068852;
    border-radius: 10px;
    margin-bottom: 30px;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
    text-align: left;
}

.course-col h3 {
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
    color: #fff;
}

.course-col:hover {
    box-shadow: 0 0 20px 0px black;
}

@media(max-width: 700px) {
    .row {
        flex-direction: column;
    }
}

/* Mentors Section */

.mentors {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}

.mentors .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 50px;
}

.mentors-col {
    flex-basis: calc(33.33% - 20px);
    background: rgb(1, 1, 94);
    border-radius: 10px;
    margin-bottom: 30px;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.mentors-col img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.5s;
}

.mentors-col:hover img {
    transform: scale(1.1);
}

.mentors-col .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s;
}

.mentors-col:hover .overlay {
    opacity: 1;
}

/*-------facilities------*/

.facilities{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}

.facilities .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 50px;
}

.facilities-col {
    flex-basis: calc(33.33% - 20px);
    background: #068852;
    border-radius: 10px;
    margin-bottom: 30px;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.facilities-col img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.5s;
}

.facilities-col:hover img {
    transform: scale(1.1);
}

.facilities-col .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s;
}

.facilities-col:hover .overlay {
    opacity: 1;
}




.testimonial{
   width: 80%;
   margin: auto;
   padding-top: 50px;
   text-align: center;
}
.testimonial-col{
   flex-basis: 44%;
   border-radius: 50px;
   margin-bottom: 5%;
   text-align: left;
   background: #034d9c;
   padding: 25px;
   cursor: pointer;
   display: flex;
}
.testimonial-col img{
   height: 40px;
   margin-left: 5px;
   margin-right: 30px;
   border-radius: 50%;
}
.testimonial-col p{
   padding: 0;
}
.testimonial-col h3{
   margin-top: 15px;
   text-align: left;
}

.cta{
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(images/Banner\ 2.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}
.cta h1{
    color: #fff;
    margin-bottom: 40px;
    padding: 0;
}
@media(max-width:700px){
    .cta h1{
        font-size: 24px;
    }
}

/*--------footer-------*/
.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
}

.footer h4{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
}
.icons .fa{
    color: blue;
    margin: 0 13px;
   cursor: pointer; 
   padding: 18px 0;
}










/* Chatbot Section */

.chatbot {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}

.chatbox {
    border: 1px solid hsl(253, 100%, 50%);
    border-radius: 5px;
    padding: 10px;
    max-width: 600px;
    margin: auto;
    background-color: #068852;
}

#chat-output {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
}

.user-message,
.bot-message {
    border-radius: 5px;
    padding: 10px;
    margin: 5px 0;
    text-align: left;
}

.user-message {
    background-color: #384bfa;
}

.bot-message {
    background-color: #09f86c;
}

#user-input {
    width: calc(100% - 80px);
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

button {
    padding: 10px;
    border: none;
    background-color: #4CAF50;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}
