* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f8ff;
    line-height: 1.6;
    color: #333;
}

/* Top Bar */
.top-bar {
    background-color: #b3d9ff;
    padding: 8px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    border-bottom: 1px solid #4d94ff;
}

.top-bar .left {
    font-weight: bold;
}

.top-bar .right-icons {
    display: flex;
    gap: 12px;
}

.top-bar .right-icons button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
}

/* Header */
header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background-color: #e6f2ff;
    border-bottom: 1px solid #99ccff;
    flex-wrap: wrap;
}

.emblem {
    width: 85px;
    height: 120px;
}

.header-text {
    margin-right: 20px;
}

.gov-text {
    font-size: 12px;
    font-weight: bold;
    color: #0066cc;
}

.main-title {
    font-size: 20px;
    font-weight: bold;
}

.button-home {
    padding: 8px 15px;
    border: 1px solid #66a3ff;
    background-color: white;
    cursor: pointer;
    font-size: 14px;
    margin-right: auto;
    margin-left: 20px;
}

.logo-group {
    margin-left: auto;
    display: flex;
    gap: 15px;
}

.logo-circle {
    width: 90px;
    height: 90px;
}

/* Navigation */
nav {
    background-color: #e6f2ff;
    position: relative;
    color: #0066cc;
    border-bottom: 1px solid #4d94ff;
}

.mobile-menu-btn {
    display: none;
    color: #0066cc;
    padding: 15px 20px;
    cursor: pointer;
    background-color: #e6f2ff;
    font-size: 1.2rem;
    font-weight: 500;
}

.mobile-menu-btn i {
    margin-right: 8px;
}

.navbar {
    display: flex;
    list-style: none;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.navbar>li {
    padding: 0;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    min-width: 120px;
}

.navbar>li>a {
    color: #0066cc;
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar>li:hover>a {
    background-color: #4d94ff;
    color: white;
}

.has-dropdown {
    cursor: pointer;
}

.has-dropdown>.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #0066cc;
    box-shadow: 0 8px 16px rgba(77, 148, 255, 0.2);
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.has-dropdown:hover>.dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown li {
    position: relative;
    transition: background-color 0.2s;
}

.dropdown li a {
    padding: 12px 20px;
    display: block;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid #4d94ff;
    transition: background-color 0.3s ease, padding-left 0.3s ease;
}

.dropdown li a:hover {
    background-color: #4d94ff;
    padding-left: 25px;
}

.dropdown.nested {
    left: 100%;
    top: 0;
    border-radius: 0 4px 4px 4px;
}

.donate-btn {
    background-color: #0066cc;
    font-weight: bold;
    color: white !important;
}

.donate-btn:hover {
    background-color: #004d99 !important;
}

.navbar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Quick Links */
.quick {
    border: 1px solid #99ccff;
    border-radius: 8px;
    padding: 25px;
    margin: 40px auto;
    text-align: center;
    max-width: 1200px;
    width: calc(100% - 40px);
    background-color: #0066cc;
}

.quick h2 {
    color: white;
    font-size: 25px;
    margin-bottom: 20px;
    border-bottom: 2px solid #4d94ff;
}

.quick ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    list-style-type: none;
    padding: 0;
}

.quick ul li a {
    color: white;
    text-decoration: none;
    line-height: 1.8;
    display: block;
    padding: 5px;
    transition: all 0.3s;
}

.quick ul li a:hover {
    background-color: white;
    color: #0066cc;
    border-radius: 4px;
    transform: scale(1.05);
}

/* Footer */
footer {
    background: #0066cc;
    color: white;
    padding: 30px 0 20px;
    text-align: center;
}

.footer-top {
    background-color: #004d99;
    padding: 15px 0;
}

.footer-top ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-top ul li {
    padding: 5px 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-top ul li:last-child {
    border-right: none;
}

.footer-top ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-top ul li a:hover {
    color: #b3d9ff;
    text-decoration: underline;
}

.footer-bottom {
    padding: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .navbar>li {
        min-width: 100px;
    }
    
    .navbar>li>a {
        padding: 15px 12px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .navbar {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 80%;
        max-width: 300px;
        background-color: #0066cc;
        z-index: 1000;
        overflow-y: auto;
        padding: 20px 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .navbar.active {
        display: flex;
        transform: translateX(0);
    }

    .navbar>li {
        width: 100%;
        text-align: left;
    }

    .navbar>li>a {
        padding: 15px 20px;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: white;
    }

    .has-dropdown>.dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: transparent;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .has-dropdown.active>.dropdown {
        max-height: 1000px;
    }

    .dropdown li a {
        color: #ddd;
        padding: 12px 20px 12px 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
    }

    .dropdown.nested {
        position: static;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding-left: 15px;
        background-color: rgba(0, 0, 0, 0.1);
    }

    .dropdown.nested.open {
        max-height: 1000px;
    }

    .navbar-overlay.active {
        display: block;
    }

    header {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .header-text {
        margin: 10px 0;
    }

    .button-home {
        margin: 15px 0;
        order: 3;
        width: 100%;
    }

    .logo-group {
        margin: 10px auto;
    }

    .logo-circle {
        width: 70px;
        height: 70px;
    }

    .content-wrapper {
        flex-direction: column;
    }

    .tabs-container {
        margin-top: 30px;
    }

    .tab {
        padding: 12px 10px;
        font-size: 14px;
    }

    .gallery-container {
        flex-direction: column;
        align-items: center;
    }

    .Gallery-section img {
        max-width: 100%;
    }

    .footer-top ul {
        flex-direction: column;
        gap: 10px;
    }

    .footer-top ul li {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        width: 100%;
        text-align: center;
        padding: 10px;
    }

    .footer-top ul li:last-child {
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    .top-bar {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    .slideshow-arrow {
        font-size: 1.2rem;
        padding: 8px 12px;
    }

    .dot {
        width: 12px;
        height: 12px;
    }

    .card {
        max-width: 100%;
    }

    .art-intro {
        padding: 15px;
    }

    .quick ul {
        grid-template-columns: 1fr;
    }

    .tab {
        padding: 10px 5px;
        font-size: 12px;
    }
}