body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    width: 100%;
    height: 100px;
    position: relative; /* important for header container */
    overflow: hidden;
}

.header-container {
    position: relative;
    width: 100%;
    height: 100%;
}

header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo {
    position: absolute;
    top: 50%; /* Position at the vertical center */
    left: 50%; /* Position at the horizontal center */
    transform: translate(-50%, -50%); /* Center both horizontally and vertically */
    width: 100px;
    height: auto;
}

@media (max-width: 768px) {
    header {
        height: 100px;
    }
}

nav {
    display: flex;
    justify-content: space-between;
    background-color: #a8a8a8;
    padding: 10px 20px; /* Added padding */
}

nav a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
	line-height: 1;
    margin: 5px;
    font-weight: bold;
    transition: background 0.3s, border-bottom 0.3s;
    border-radius: 5px;
}

nav .nav-buttons {
	display: flex;
	justify-content: center;
	flex-grow: 1;
}


nav a:hover, nav a.active {
    background-color: #fbc315;
    color: black;
    border-bottom: 3px solid #101010;
    padding: 8px 15px
}

main {
    padding: 20px;
    max-width: 85%;
    margin: auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1,h2,h3 {
    color: #101010;
    border-bottom: 2px solid #fbc315;
    padding-bottom: 5px;
}

.green-text {
    color: green;
}


.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.contact-form label {
    font-weight: bold;
    margin-bottom: 5px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.contact-form button {
    background-color: #101010;
    color: #fbc315;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.contact-form button:hover {
    background-color: #fbc315;
    color: black;
}

.footer-contact {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.contact-box {
    text-decoration: none;
    color:  black;
    background: #F2B300;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.contact-box:hover {
    background: #F0E9E9;
    color: black;
}

.contact-address {
    text-align: center;
    font-size: 18px;
    margin-top: 10px;
    color: white;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: black;
    color: white;
    margin-top: 20px;
    border-top: 5px solid #fbc315;
    border-bottom: 5px solid #fbc315;;
}

/* Student Grid */
.student-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
    padding: 20px 0;
}

.student img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.student {
    text-align: center;
}

/* Map Styling */
.map-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

iframe {
    width: 90%;
    max-width: 600px;
    height: 450px;
    border: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: center;
    }
    nav a {
        display: block;
        width: 100%;
        text-align: center;
    }
    .student-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-form input, .contact-form textarea {
        font-size: 14px;
    }
    .contact-form button {
        font-size: 14px;
    }
    .footer-contact {
        flex-direction: column;
        align-items: center;
    }
    .contact-box {
        width: 80%;
        text-align: center;
    }
    .map-container iframe {
        width: 100%;
        height: 350px;
    }
}
