* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 50px;
    background-color: #03002e;
}

nav {
    display: flex;
    gap: 25px;
}

nav a{
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
}

nav a:hover {
    color: #f0a500;
}

a img {
    width: 75px;
    height: auto;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
} 

.menu-toggle {
    display: none;
}

.search form {
    display: flex;
}

.search input {
    padding: 10px 12px;
    border: 1px solid #ccc;
    outline: none;
}

.search button {
    padding: 10px 15px;
    border: none;
    background-color: #f0a500;
    color: white;
    cursor: pointer;
}

.dashboard-btn {
    text-decoration: none;
    padding: 10px 18px;
    background-color: #f0a500;
    color: white;
    border-radius: 5px;
}

.dashboard-btn:hover {
    background-color: #f0a500;
}

.hero {
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    background-color: #f1f8f4;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    max-width: 800px;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin-bottom: 30px;
}

.hero a {
    display: inline-block;
    padding: 12px 25px;
    background-color: #f0a500;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.hero a:hover {
    background-color: #f0a500;
}

.programs h2 {
    grid-column: 1 / -1;
}

.programs {
    padding: 60px 50px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.programs article{
    padding: 30px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.about {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 50px;
}

.about a {
    display: inline-block;
    padding: 12px 25px;
    background-color: #f0a500;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.features h2 {
    grid-column: 1 / -1;
}

.features {
    padding: 60px 50px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.features article{
    padding: 30px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.gallery {
    padding: 60px 50px;
    text-align: center;
}

.gallery-container {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.gallery-container img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.gallery-category h3 {
    margin-bottom: 15px;
}

.news-events {
    padding: 60px 50px;
}

.news-events h2 {
    grid-column: 1 / -1;
}

.news-events {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.news-events article{
    padding: 30px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.cta {
    text-align: center;
    padding: 60px 50px;
    background-color: #f1f8f4;
}

.cta a {
    display: inline-block;
    padding: 12px 25px;
    background-color: #f0a500;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin: 0 10px;
}

.footer-about,
.footer-links,
.footer-contact,
.footer-social {
    flex: 1;
    min-width: 200px;
}

footer {
    display: flex;
    flex-wrap: wrap;
    padding: 50px;
    background-color:#03002e;
    color: white;
    gap: 30px;
}

footer h3 {
    margin-bottom: 15px;
}

footer a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 8px;
}

.footer-bottom {
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

#chat-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: #f0a500;
    color: white;
    font-size: 24px;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

#chat-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 300px;
    max-height: 400px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px #03002e;
    overflow-y: auto;
    z-index: 1000;
}

.hidden {
    display: none;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background-color: #03002e;
    color: white;
    border-radius: 10px 10px 0 0;
}

.chat-header button {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.chat-body {
    padding: 15px;
}

#chat-questions {
    list-style: none;
}

#chat-questions li {
    padding: 8px 10px;
    margin-bottom: 8px;
    background-color: #f1f8f4;
    border-radius: 6px;
    cursor: pointer;
}

#chat-questions li:hover {
    background-color: #e0efe6;
}

#chat-answer {
    margin-top: 10px;
    padding: 10px;
    background-color: #fff8e6;
    border-radius: 6px;
}

.chat-body {
    display: flex;
    flex-direction: column;
    height: 350px;
    padding: 10px;
}

#chat-messages {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.bot-msg,
.user-msg {
    max-width: 80%;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 14px;
}

.bot-msg {
    align-self: flex-start;
    background-color: #f1f8f4;
    border-bottom-left-radius: 2px;
}

.user-msg {
    align-self: flex-end;
    background-color: #f0a500;
    color: white;
    border-bottom-right-radius: 2px;
}

#chat-questions {
    list-style: none;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

#chat-questions li {
    padding: 8px 10px;
    margin-bottom: 6px;
    background-color: #fff8e6;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

#chat-questions li:hover {
    background-color: #ffedbf;
}

@media (max-width: 768px) {
     header {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    nav {
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .menu-toggle {
        display: block;
    }

        .programs {
        grid-template-columns: repeat(1, 1fr);
    }

    .features {
        grid-template-columns: repeat(1, 1fr);
    }

    .news-events {
        grid-template-columns: repeat(1, 1fr);
    }

        .hero h1 {
        font-size: 28px;
    }

        .gallery-container {
        flex-direction: column;
        align-items: center;
    }

    .nav-active {
     display: flex;
    }

    .cta a {
        display: block;
        margin: 10px auto;
        max-width: 250px;
    }
}