/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background-color: gray;
}

/* Animation Classes */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 7rem;
    padding: 1.5rem 5%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left-side {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.right-side {
    display: flex;
}

.seal {
    width: 80px;
    height: 80px;
    background: url('assets/Seal-Concepcion-Tarlac-2.png') center/contain no-repeat;
}

.city {
    color: white;
}

.town {
    font-weight: 200;
    font-size: 1rem;
    letter-spacing: 4px;
}

.town span {
    font-weight: 550;
}

.province {
    font-weight: 200;
    font-size: 0.85rem;
    letter-spacing: 4px;
}

.province span {
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-weight: 400;
    position: relative;
    padding: 10px;
    height: 100%;
    letter-spacing: 4px;
}

.nav-links a:not(.login-btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 0.2rem;
    background: #ffffff;
    border-radius: 10px;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-links a:not(.login-btn):hover::after,
.nav-links a:not(.login-btn).active::after {
    width: 100%;
    font-weight: 500;
}

.login-btn {
    position: relative;
    padding: 10px 2rem;
    border-radius: 5px;
    font-weight: 400;
    border: 2px solid transparent;
    background: transparent;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease, border-color 0.4s ease;
}

.login-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(291deg, #005174 0%, #088C78 63%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 0;
}

.login-btn span {
    position: relative;
    z-index: 1;
    transition: color 0.4s ease;
}

.login-btn {
    border: 2px solid transparent;
}

.login-btn::before {
    transform: scaleX(0);
}

.login-btn:hover::before,
.login-btn.active::before {
    transform: scaleX(1);
}

.login-btn:hover,
.login-btn.active {
    border-color: transparent;
    color: white;
}

/* Sections */
section {
    min-height: 100vh;
    padding: 8rem 5% 2rem;
    scroll-snap-align: start;
}

/* Home Section */
.home {
    background: url('assets/MGC.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 4rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    isolation: isolate;
}

.greetings {
    margin-top: 4.5rem;
}

.dialect {
    font-style: italic;
    margin-bottom: 0.1rem;
}

.banner {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
}

.lokal {
    background: linear-gradient(291deg, #005174 0%, #088C78 63%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.sub-banner {
    font-size: 1.2rem;
    opacity: 0.9;
}

.municipal-stats {
    text-align: center;
    margin-top: 15rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 25px;
    padding: 2rem;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    width: 80%;
    max-width: 900px;
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
    font-family: 'Poppins', sans-serif;
    z-index: 2;
    position: relative;
    isolation: isolate;
}

.stat-item {
    flex: 1 1 180px;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(291deg, #005174 0%, #088C78 63%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 0.5rem;
}

.stat-title {
    font-size: 1rem;
    color: #333;
}

/* Fallback for browsers without backdrop-filter support */
@supports not (backdrop-filter: blur(40px)) {
    .municipal-stats {
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }
}

/* Announcements Section */
.announcements {
    background: url('assets/MGC2.jpg') center/cover no-repeat;
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.banner-announcements {
    display: flex;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.announcement-box {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 25px;
    padding: 2rem;
    max-width: 1374px;
    margin: 0 auto;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
}

.pages {
    text-align: left;
    margin-bottom: 1rem;
    font-weight: 400;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #ddd;
    font-weight: 400;
}

td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
    font-weight: 300;
    transition: all 0.3s ease;
}

td:nth-child(2) {
    text-align: left;
}

tbody tr {
    cursor: pointer;
    transition: all 0.3s ease;
}

tbody tr:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background-color: rgb(225, 225, 225);
    border-radius: 8px;
    z-index: 2;
    position: relative;
}

.page-counter {
    padding: 1.5rem;
    text-align: center;
}

.page-counter a {
    border: solid;
    border-color: #2C6159;
    text-decoration: none;
    color: inherit;
    padding: 10px 15px;
    margin: 9px;
    border-radius: 10px;
}

.page-counter a:visited {
    color: inherit;
}

.page-counter a.active {
    background-color: #2C6159;
    color: white;
}

.announcement-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.announcement-modal {
    background: #fff;
    padding: 3rem;
    max-width: 700px;
    border-radius: 25px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    text-align: left;
    animation: fadeIn 0.4s ease;
}

.announcement-modal h2 {
    margin-top: 0;
    font-size: 1.5rem;
}

.announcement-modal p {
    margin-bottom: 1rem;
    color: #333;
}

.announcement-modal a {
    color: #2C6159;
    font-weight: 500;
    text-decoration: none;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
}

.signature {
    margin-top: 2rem;
    font-style: italic;
    font-size: 0.95rem;
    text-align: right;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.announcement-modal {
    isolation: isolate;
}

.announcement-modal::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('assets/Seal-Concepcion-Tarlac-2.png') center / 250px no-repeat;
    opacity: 0.1;
    z-index: -1;
}

/* Help Desk Section Styling */
.help-desk {
    width: 100%;
    min-height: 100vh;
    background: url('assets/MGC4.jpg') no-repeat center center/cover;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    position: relative;
}

.help-desk-content {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    margin: auto;
}

.help-desk h1.banner-announcements {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    align-self: flex-start;
}

.help-desk .sub-banner {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    align-self: flex-start;
}

.help-desk .faq-button {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    background: linear-gradient(291deg, #005174 0%, #088C78 63%);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
    align-self: flex-start;
}

.help-desk .faq-button:hover {
    background: linear-gradient(291deg, #005174 0%, #088C78 63%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.help-desk-containers {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
}

/* Left side - FAQ content */
.left-side-help {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

/* FAQ Modal */
.faq-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.help-modal {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 25px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    text-align: left;
    animation: fadeIn 0.4s ease;
}

.help-modal h2 {
    margin-top: 0;
    font-size: 1.5rem;
}

.help-modal .search {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.help-modal .search input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.help-modal .search button {
    padding: 10px 20px;
    background: linear-gradient(291deg, #005174 0%, #088C78 63%);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.help-modal .faq-list {
    margin-top: 20px;
}

.help-modal .faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.help-modal .faq-question {
    padding: 10px;
    cursor: pointer;
    background: #f9f9f9;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.help-modal .faq-answer {
    padding: 10px;
    display: none;
    background: #f1f1f1;
    border-radius: 5px;
}

.help-modal .faq-item.active .faq-answer {
    display: block;
}

.help-modal .close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

.help-modal::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('assets/Seal-Concepcion-Tarlac-2.png') center / 250px no-repeat;
    opacity: 0.1;
    z-index: -1;
}

/* Right side - Contact form */
.help-desk-containers {
    display: flex;
    justify-content: space-between;
    padding: 20px;

}

.right-side-help {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    border-radius: 15px;
}

.contact-container {
    background: rgba(255, 255, 255, 0.6); /* Semi-transparent white background */
    border-radius: 15px;
    padding: 30px;
    width: 100%;
    color: #333;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    text-align: center;
    backdrop-filter: blur(40px); /* Adjusted blur intensity */
    -webkit-backdrop-filter: blur(40px); /* For Safari compatibility */
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: rgb(110, 110, 110);
}

.contact-container form input,
.contact-container form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    resize: none;
    background: rgba(255, 255, 255, 0.8);
    outline: none;
}

.contact-container form input:focus,
.contact-container form textarea:focus {
    border-color: #1e3a3a;
    box-shadow: 0 0 5px rgba(30, 58, 58, 0.3);
}

.contact-container form button[type="submit"] {
    width: 100%;
    padding: 12px;
    background: linear-gradient(291deg, #005174 0%, #088C78 63%);
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-container form button[type="submit"]:hover {
    background: linear-gradient(291deg, #005174 0%, #088C78 63%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Login Section */
.login {
    background: url('assets/MGC3.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 4rem 2rem;
}

.login-container {
    display: flex;
    gap: 40px;
    width: 100%;
    max-width: 1000px;
    align-items: center;
    justify-content: center;
}

.login-form {
    flex: 0 0 400px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 20px;
    padding: 3rem;
    width: 100%;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    order: 2; /* Put login form in the middle/right */
}

.demo-credentials {
    flex: 0 0 350px;
    background: rgba(44, 97, 89, 0.85);
    border-radius: 20px;
    padding: 2.5rem;
    color: white;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    text-align: left;
    order: 1; /* Put credentials box on the left */
}

.demo-credentials h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 0.5rem;
    color: #fff;
    text-align: center;
}

.cred-group {
    margin-bottom: 1.5rem;
}

.cred-group p {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: #fff;
    font-weight: 600;
}

.copy-box {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.copy-box span {
    font-size: 0.85rem;
    color: #e0f2f1;
    margin-right: 10px;
    min-width: 45px;
    user-select: none;
}

.copy-box code {
    flex: 1;
    font-family: monospace;
    font-size: 0.9rem;
    color: #fff;
    user-select: all;
    background: transparent;
    padding: 0;
    border: none;
}

.demo-credentials .note {
    font-size: 0.85rem;
    opacity: 0.9;
    font-style: italic;
    margin-top: 1rem;
    text-align: center;
}

@media (max-width: 900px) {
    .login-container {
        flex-direction: column;
        align-items: center;
    }
    .demo-credentials {
        flex: none;
        width: 100%;
        max-width: 450px;
    }
}

.system-name {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
}

.system-name span {
    background: linear-gradient(291deg, #005174 0%, #088C78 63%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.login-dialect {
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    color: #333;
    opacity: 0.85;
}

.login-form input {
    width: 100%;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 10px;
    background: rgb(240, 240, 240, 0.4);
    font-size: 1rem;
    box-sizing: border-box;
}

.login-form input::placeholder {
    color: #999;
    font-weight: 500;
}

.login-form button {
    width: 100%;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(291deg, #005174 0%, #088C78 63%);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.login-form button:hover {
    background: linear-gradient(291deg, #005174 0%, #088C78 63%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.login-message {
    margin-top: 1rem;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
}

/* Mobile Navigation will be handled by mobile-nav.js */

/* Mobile Navigation Styles */
.mobile-hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    z-index: 1001;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mobile-hamburger span {
    height: 3px;
    width: 25px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.mobile-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1001;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-nav-sidebar.active {
    right: 0;
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.mobile-nav-close:hover {
    background: rgba(255, 255, 255, 1);
    transform: rotate(90deg);
}

.mobile-nav-links {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    padding: 80px 0 40px 0;
    margin: 0;
    height: 100%;
}

.mobile-nav-links a {
    display: flex !important;
    align-items: center;
    color: #333 !important;
    text-decoration: none;
    font-weight: 500;
    padding: 20px 30px;
    letter-spacing: 2px;
    font-size: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav-links a:hover {
    background: rgba(44, 97, 89, 0.1);
    color: #2C6159 !important;
    padding-left: 40px;
}

.mobile-nav-links a.login-btn {
    margin: 20px 30px;
    padding: 15px 20px;
    border-radius: 10px;
    background: linear-gradient(291deg, #005174 0%, #088C78 63%);
    color: white !important;
    text-align: center;
    border: none;
    font-weight: 600;
    letter-spacing: 1px;
}

.mobile-nav-links a.login-btn:hover {
    background: linear-gradient(291deg, #004060 0%, #076b5f 63%);
    padding-left: 20px;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    header {
        padding: 1rem 3%;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .login-btn {
        padding: 8px 1.5rem;
    }

    .municipal-stats {
        width: 90%;
        margin-top: 10rem;
    }

    .announcement-box {
        max-width: 100%;
        padding: 1.5rem;
    }

    .help-desk-containers {
        gap: 20px;
    }

    .login-form {
        padding: 2rem;
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    /* Header Mobile Styles */
    header {
        background: rgba(255, 255, 255, 0.6);
        -webkit-backdrop-filter: blur(40px);
        backdrop-filter: blur(40px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    nav {
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .mobile-hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .left-side .city {
        color: #333;
    }

    .home {
        padding-top: 2rem;
    }

    .greetings {
        margin-top: 2rem;
    }

    .municipal-stats {
        margin-top: 5rem;
        padding: 1rem;
    }

    .stat-item {
        flex: 1 1 150px;
    }

    .announcements {
        padding: 4rem 2rem;
    }

    .help-desk {
        padding: 40px 10px;
    }

    .help-desk-content {
        max-width: 100%;
    }

    .help-desk-containers {
        flex-direction: column;
        align-items: center;
    }

    .left-side-help,
    .right-side-help {
        width: 100%;
        max-width: 100%;
    }

    .contact-container {
        max-width: 100%;
    }

    .help-desk .faq-button {
        width: 100%;
        max-width: 300px;
    }

    .login {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    header {
        height: 5rem;
        padding: 1rem 2%;
    }

    .seal {
        width: 60px;
        height: 60px;
    }

    .town {
        font-size: 0.9rem;
    }

    .province {
        font-size: 0.7rem;
    }

    .nav-links a {
        padding: 8px;
        font-size: 0.9rem;
    }

    .banner {
        font-size: 2rem;
    }

    .banner-announcements {
        font-size: 2rem;
    }

    .municipal-stats {
        width: 95%;
        margin-top: 2rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-title {
        font-size: 0.9rem;
    }

    .announcement-box {
        padding: 1rem;
    }

    th, td {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .page-counter a {
        padding: 8px 12px;
        margin: 5px;
    }

    .help-modal {
        width: 90%;
        padding: 1.5rem;
    }

    .contact-container {
        padding: 20px;
    }

    .contact-title {
        font-size: 1.2rem;
    }

    .login-form {
        padding: 1.5rem;
        max-width: 100%;
    }

    .system-name {
        font-size: 1.5rem;
    }
}