body {
    font-family: "Elms Sans", sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    max-width: 100vw;   
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
header {
    background-color: #1c2f59;
    color: #e0e0e0;
    padding: 1.3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    font-size: 2.3rem;
    flex-direction: row;
}
.logo {
    font-size: 1rem;
    font-weight: bold;
}
.logo a {
    color: white;
    text-decoration: none;
}
.logo a:hover {
    text-decoration: underline;
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}
nav ul li {
    margin: 0 1rem;
}
nav a {
    color: white;
    text-decoration: none;
}
nav a:hover {
    text-decoration: underline;
}
#menu__toggle {
    opacity: 0;
}
#menu__toggle:checked + .menu__btn > span {
    transform: rotate(45deg);
}
#menu__toggle:checked + .menu__btn > span::before {
    top: 0;
    transform: rotate(0deg);
}
#menu__toggle:checked + .menu__btn > span::after {
    top: 0;
    transform: rotate(90deg);
}
#menu__toggle:checked ~ .menu__box {
    right: 0 !important;
}
.menu__btn {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 26px;
    height: 26px;
    cursor: pointer;
    z-index: 1004;
    display: none;
}
.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
    display: block;  /* Changed from 'none' to 'block' to make the hamburger lines visible */
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: white;
    transition-duration: .25s;
}
.menu__btn > span::before {
    content: '';
    top: -8px;
}
.menu__btn > span::after {
    content: '';
    top: 8px;
}
.menu__box {
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    margin: 0;
    padding: 80px 0;
    list-style: none;
    background-color: #6e8dc4;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, .4);
    transition-duration: .25s;
    z-index: 1003;
}
.menu__item {
    display: flex;
    padding: 12px 24px;
    color: white;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition-duration: .25s;
    justify-content: center;
}
.menu__item:hover {
    background-color: white;
}
.banner {
    margin-top: 50px;
    text-align: center;
}
.banner img {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: cover;
    background-size: auto;
}
main {
    flex: 1;
    padding: 2rem;
    text-align: center;
}
section {
    margin-bottom: 2rem;
}
.media-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(auto, 1fr);
    
}
.media-item {
    display: grid;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, .4);
}
.media-item a {
    text-decoration: none;
    color: inherit;
}
.media-item img {
    width: 100%;
    max-width: 350px;
    height: auto;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.media-item img:hover {
    transform: scale(1.1);
}
.map-container {
    margin-top: 2rem;
    text-align: center;
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 66.67%; /* Aspect ratio based on original 600x400 (2:3) */
}
.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #ddd;
}
footer {
    background-color: #1c2f59;
    color: white;
}
.footer-content {
    display: grid;
    grid-template-areas:
        "logo contact additional"
        "social social social";
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    color: white;
    font-size: 1rem;
}
.footer-content .logo {
    grid-area: logo;
}
.contact-info {
    grid-area: contact;
}
.additional-info {
    grid-area: additional;
}
.social-links {
    grid-area: social;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.footer-content a {
    color: white;
    text-decoration: none;
}
.footer-content a:hover {
    text-decoration: underline;
}
.footer-content img {
    width: 200px;
    height: auto;
}
.btn {
    background-color: #1A2E55;
    border: none;
    color: white;
    padding: 20px 50px;
    cursor: pointer;
    font-size: 12px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    margin: 2px 1px;
}

.btn:hover {
    background-color: #ffffff;
    color: black;
    border: 2px solid #1A2E55;
}

.Box2 {
    background-color: #c5d9f1;
    padding: 8px;
    border: 1px solid #ddd;
    text-align: center;            
}

.Box3 {
    background-color: #8ba6d5;
    padding: 8px;
    border: 1px solid #ddd;
    font-weight: bold;
    text-align: center;
    color:#283663 ;
}

.Box1 {
    background-color: #6e8dc4;
    padding: 8px;
    border: 1px solid #ddd;
    font-weight: bold;
    text-align: center;
    color: white;
}

.Box4{
    background-color: white;        
}
#image-modal.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}
#image-modal .modal-content {
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
#image-modal img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
#image-modal .close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}
#image-modal .prev,
#image-modal .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
}
#image-modal .prev {
    left: 10px;
}
#image-modal .next {
    right: 10px;
}
#image-modal .prev:hover,
#image-modal .next:hover,
#image-modal .close:hover {
    color: #ddd;
}
#search-icon {
    background: none;
    border: none;
    font-size: 20px;
    color: #007bff;
    cursor: pointer;    
    padding: 0px;
    transition: color 0.3s ease;
    margin-left: 20px;
}   
#search-icon:hover {
    color: #28a745;
}
#mobile-search-icon {
    background: #1c2f59;
    border: none;
    font-size: 20px;
    color: #007bff;
    cursor: pointer;
    padding: 0px;
    transition: color 0.3s ease;
    position: fixed;
    right: 60px;
    top: 8px;
    display: none;
    z-index: 100;
}
#search-modal.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}
#search-modal .modal-content {
   background-color: white;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 5px;
    text-align: center;
    }
#search-modal .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
#search-modal .close:hover {
    color: black;
}
#search-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#modal-search-input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
#modal-submit-search {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}
#modal-submit-search:hover {
    background-color: #0056b3;
}
@media (max-width: 768px) {
    .banner {
        margin-top: 9px;
    }
    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    .footer-content .logo {
        order: 1;
        margin-bottom: 10px;
    }
    .contact-info {
        order: 2;
        margin-bottom: 10px;
    }
    .additional-info {
        order: 3;
        margin-bottom: 10px;
    }
    .social-links {
        order: 4;
        color: white;
        display: flex;
        justify-content: center;
        gap: 10px;
    }
    .hamburger {
        display: none;
    }
    nav {
        display: none;
    }
    .menu__btn {
        display: block;
        position: absolute;
    }
    .banner img {
        max-height: 300px;
    }
    .media-gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    .media-item img {
        max-width: 150px;
        height: auto;
    }
    .map-container {
        padding-bottom: 50%; /* Adjust aspect ratio for mobile if needed, e.g., more square */
    }
    #search-icon {
        display: none;
    }
    #mobile-search-icon {
        display: block;
    }
 .menu__btn {
        display: block;
        position: fixed;  /* Changed from 'absolute' to 'fixed' to prevent scrolling */
        top: 20px;  /* Keep for alignment */
        right: 20px;  /* Keep for alignment */
        z-index: 1004;  /* Ensure it's above other elements */
    }
}