/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Body */
body {
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #003366;
    padding: 10px 20px;
    position: fixed;
    content: sticky;
    width: 1280px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 50px;5
    height: auto;
}

.logo h1 {
    color: white;
    font-size: 20px;
}

/* Menu links */
#menu {
    display: flex;
    align-items: center;
}

#menu a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    padding: 5px 10px;
    
}

#menu a:hover {
    background-color: #e6f0ff;
    color: #003366;
    border-radius: 4px;
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color:goldenrod;
    min-width: 150px;
    right: 0;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    display: block;
    padding: 10px;
    color: #003366;
}

.dropdown-content a:hover {
    background-color: #e6f0ff;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Introduction Section */
.intro {
    padding: 30px 20px;
    text-align: left;
}

.intro h2 {
    color: #003366;
    margin-bottom: 10px;
}

.intro ul {
    list-style-type: square;
    padding-left: 20px;
}

/* Cards Section */
.cards-section {
    padding: 30px 20px;
}

.cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    background-color: #e6f0ff;
    padding: 20px;
    border-radius: 8px;
    flex: 1 1 30%;
    text-align: center;
}

.card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Gallery Section */
.gallery-section {
    padding: 30px 20px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.gallery img {
    width: calc(33% - 10px);
    border-radius: 8px;
}

/* Announcements Section */
.notices {
    padding: 20px;
    background-color: #ffe6e6;
}

.notice {
    padding: 10px;
    margin-bottom: 10px;
    background-color: #ffcccc;
    border-left: 5px solid #ff3333;
}

/* Display Section */
.display-section {
    padding: 20px;
}

.hidden-on-mobile {
    display: block;
}

/* Footer */
footer {
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 20px 10px;
}

footer a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsiveness */
@media screen and (max-width: 1024px) {
    .cards {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .gallery img {
        width: calc(50% - 10px);
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    #menu {
        flex-direction: column;
        text-align: left;
        margin-top: 10px;
    }

    #menu a {
        margin-left: 0;
        margin-top: 5px;
    }
    
    .cards {
        flex-direction: column;
    }

    .gallery img {
        width: 100%;
    }

    .hidden-on-mobile {
        display: none;
    }
}
