* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333333;
    line-height: 1.6;
}

/* Header Styles */
header {
    background-color: #ffffff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid #0066cc;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo-link:hover {
    opacity: 0.8;
}

.seal {
    width: 100px;
    height: 100px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-section h1 {
    font-size: 1.5rem;
    color: #333333;
    font-weight: 600;
    margin: 0;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333333;
    border-radius: 3px;
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.main-nav {
    display: block;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    display: block;
}

.main-nav a:hover {
    color: #0066cc;
    border-bottom: 2px solid #0066cc;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 68, 153, 0.05)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23f8f9fa" width="1200" height="600"/><circle fill="%23e3f2fd" cx="300" cy="150" r="100" opacity="0.5"/><circle fill="%23e3f2fd" cx="900" cy="450" r="150" opacity="0.3"/></svg>');
    background-size: cover;
    background-position: center;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    padding: 4rem 2rem;
}

.hero-overlay {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    max-width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: #0066cc;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #666666;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555555;
    line-height: 1.8;
}

.city-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0f7ff, #e3f2fd);
    border-radius: 10px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0066cc;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666666;
    font-weight: 500;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hero-feature {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
    transition: all 0.3s;
}

.hero-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.15);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.hero-feature strong {
    display: block;
    color: #0066cc;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.hero-feature p {
    color: #666666;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

.hero-cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
}

.cta-button.primary {
    background-color: #0066cc;
    color: #ffffff;
}

.cta-button.primary:hover {
    background-color: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3);
}

.cta-button.secondary {
    background-color: #ffffff;
    color: #0066cc;
    border: 2px solid #0066cc;
}

.cta-button.secondary:hover {
    background-color: #f0f7ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.2);
}

.hero-contact {
    color: #666666;
    font-size: 0.95rem;
    margin-top: 1rem;
    text-align: center;
}

.hero-contact a {
    color: #0066cc;
    text-decoration: none;
}

.hero-contact a:hover {
    text-decoration: underline;
}

.hero-contact strong {
    color: #0066cc;
}

/* Announcements Section */
.announcements {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 4rem 2rem;
    border-top: 3px solid #0066cc;
    border-bottom: 3px solid #0066cc;
}

.announcements-container {
    max-width: 1200px;
    margin: 0 auto;
}

.announcements h2 {
    font-size: 2.5rem;
    color: #0066cc;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.announcements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.announcement-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
    position: relative;
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 102, 204, 0.2);
    border-color: #0066cc;
}

.announcement-card.featured {
    border-color: #0066cc;
    border-width: 3px;
    background: linear-gradient(135deg, #ffffff, #f0f7ff);
}

.announcement-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #0066cc;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 102, 204, 0.3);
}

.announcement-card h3 {
    color: #0066cc;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.announcement-date {
    color: #888888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.announcement-card p {
    color: #555555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.announcement-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.announcement-link:hover {
    color: #0052a3;
    text-decoration: underline;
}

/* Services Section */
.services {
    background-color: #ffffff;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-heading {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #0066cc;
    font-weight: 700;
}

.services-subtitle {
    font-size: 1.1rem;
    color: #666666;
    font-weight: 400;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 102, 204, 0.15);
    border-color: #0066cc;
}

.service-card h3 {
    color: #0066cc;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.service-card a:hover {
    color: #0052a3;
    text-decoration: underline;
}

/* Quick Links Section */
.quick-links {
    background-color: #f8f9fa;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.quick-links h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #0066cc;
    font-weight: 700;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.quick-link {
    background-color: #ffffff;
    color: #0066cc;
    padding: 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s;
    display: block;
    border: 2px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.quick-link:hover {
    background-color: #0066cc;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3);
    border-color: #0066cc;
}

/* Page Content Styles */
.page-header {
    background: linear-gradient(135deg, #0066cc, #004499);
    padding: 3rem 2rem;
    text-align: center;
    color: #ffffff;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    color: #e0f0ff;
}

/* Sub Navigation */
.sub-nav {
    background: #f8f9fa;
    border-bottom: 2px solid #e0e0e0;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.sub-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.sub-nav-container::-webkit-scrollbar {
    height: 4px;
}

.sub-nav-container::-webkit-scrollbar-track {
    background: #f0f0f0;
}

.sub-nav-container::-webkit-scrollbar-thumb {
    background: #0066cc;
    border-radius: 2px;
}

.sub-nav a {
    display: block;
    padding: 1rem 1.5rem;
    color: #666666;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.sub-nav a:hover {
    color: #0066cc;
    background: #f0f7ff;
    border-bottom: 3px solid #0066cc;
}

.sub-nav a.active {
    color: #0066cc;
    background: #e3f2fd;
    border-bottom: 3px solid #0066cc;
    font-weight: 600;
}

.sub-nav a:active,
.sub-nav a:focus {
    outline: none;
}

.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background-color: #ffffff;
}

.content-section {
    background-color: #ffffff;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    border-left: 5px solid #0066cc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.content-section h2 {
    color: #0066cc;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.content-section h3 {
    color: #333333;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.content-section p {
    color: #555555;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-section ul, .content-section ol {
    color: #555555;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-section li {
    margin-bottom: 0.5rem;
}

.last-updated {
    color: #888888;
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* Council Members Grid */
.council-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.council-member {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.council-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid #0066cc;
}

.council-member h3 {
    color: #0066cc;
    margin-bottom: 0.5rem;
}

.council-member .title {
    color: #666666;
    font-style: italic;
    margin-bottom: 1rem;
}

/* Staff Directory */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.staff-member {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.staff-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 102, 204, 0.15);
    border-color: #0066cc;
}

.staff-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #0066cc;
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.2);
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0066cc, #004499);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

.staff-member h3 {
    color: #333333;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.staff-member .position {
    color: #0066cc;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1rem;
}

.staff-member .contact {
    color: #555555;
    font-size: 0.9rem;
    text-align: left;
    width: 100%;
    margin-top: auto;
}

.staff-member .contact p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.staff-member .contact strong {
    color: #333333;
    display: inline-block;
    min-width: 60px;
}

.staff-member .contact a {
    color: #0066cc;
    text-decoration: none;
}

.staff-member .contact a:hover {
    text-decoration: underline;
}

/* Staff Directory Grid (New Card Layout) */
.staff-directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.staff-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.staff-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.15);
    border-color: #0066cc;
}

.staff-card .staff-photo {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #0066cc;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.2);
    flex-shrink: 0;
}

.staff-card .photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0066cc, #004499);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
}

.staff-card .staff-info {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.staff-card h3 {
    color: #333333;
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.staff-card .position {
    color: #0066cc;
    margin: 0 0 1rem 0;
    font-weight: 600;
    font-size: 0.95rem;
}

.staff-card .staff-contact {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-top: auto;
    text-align: left;
}

.staff-card .staff-contact .contact-item {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
}

.staff-card .staff-contact .contact-item:last-child {
    margin-bottom: 0;
}

.staff-card .staff-contact .contact-item strong {
    color: #333333;
    flex-shrink: 0;
}

.staff-card .staff-contact .contact-item a {
    color: #0066cc;
    text-decoration: none;
    word-break: break-word;
    overflow-wrap: break-word;
}

.staff-card .staff-contact .contact-item a:hover {
    text-decoration: underline;
}

/* Calendar Styles */
.calendar {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
}

.calendar-day {
    background-color: #ffffff;
    padding: 1rem;
    text-align: center;
    border-radius: 5px;
    min-height: 80px;
    border: 1px solid #e0e0e0;
}

.calendar-day.other-month {
    opacity: 0.4;
    background-color: #f5f5f5;
}

.calendar-day.today {
    background-color: #0066cc;
    color: #ffffff;
    font-weight: bold;
    border-color: #0066cc;
}

.calendar-day.has-event {
    border: 2px solid #0066cc;
}

.day-number {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333333;
}

.calendar-day.today .day-number {
    color: #ffffff;
}

.event {
    font-size: 0.8rem;
    color: #0066cc;
    margin-top: 0.5rem;
}

.calendar-day.today .event {
    color: #ffffff;
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: bold;
    color: #0066cc;
}

/* Minutes Styles */
.minutes-entry {
    background-color: #f8f9fa;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    border-left: 5px solid #0066cc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.minutes-entry h3 {
    color: #0066cc;
    margin-bottom: 1rem;
}

.minutes-entry .date {
    color: #666666;
    font-style: italic;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: #333333;
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
    color: #ffffff;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #cccccc;
    line-height: 1.8;
}

.footer-security {
    background-color: #2a2a2a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem 2rem;
    margin-top: 2rem;
}

.footer-security .footer-container {
    margin-bottom: 0;
}

.security-section {
    max-width: 100%;
    text-align: center;
}

.security-section h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.security-intro {
    color: #cccccc;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.security-intro strong {
    color: #ffffff;
    font-weight: 600;
}

.security-intro a {
    color: #4caf50;
    text-decoration: underline;
}

.security-intro a:hover {
    color: #66bb6a;
}

.security-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem auto;
    max-width: 900px;
}

.security-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.security-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.badge-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 102, 204, 0.2);
    border-radius: 50%;
}

.badge-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.badge-text strong {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
}

.badge-text span {
    color: #cccccc;
    font-size: 0.85rem;
}

.security-note {
    color: #4caf50;
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555555;
    color: #cccccc;
}

.footer-bottom a {
    color: #ffffff;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #0066cc;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .main-nav.active {
        max-height: 500px;
        border-top: 2px solid #0066cc;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }

    .main-nav li {
        border-bottom: 1px solid #f0f0f0;
    }

    .main-nav li:last-child {
        border-bottom: none;
    }

    .main-nav a {
        padding: 1rem 2rem;
        border-bottom: none;
        border-left: 3px solid transparent;
    }

    .main-nav a:hover {
        background: #f0f7ff;
        border-left: 3px solid #0066cc;
        border-bottom: none;
        color: #0066cc;
    }

    .seal {
        width: 75px;
        height: 75px;
    }

    .logo-section h1 {
        font-size: 1.2rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .city-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .hero-cta-buttons {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
    }

    .announcements-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .council-grid {
        grid-template-columns: 1fr;
    }

    .sub-nav-container {
        padding: 0 1rem;
    }

    .sub-nav a {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    .staff-grid {
        grid-template-columns: 1fr;
    }

    .staff-directory-grid {
        grid-template-columns: 1fr;
    }

    .staff-photo {
        width: 100px;
        height: 100px;
    }

    .staff-card .staff-photo {
        width: 90px;
        height: 90px;
    }

    .photo-placeholder {
        font-size: 2rem;
    }

    .staff-card .photo-placeholder {
        font-size: 1.75rem;
    }

    .security-badges {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .security-badge {
        padding: 0.875rem;
    }

    .badge-icon {
        width: 35px;
        height: 35px;
        font-size: 1.25rem;
    }

    .badge-text strong {
        font-size: 0.9rem;
    }

    .badge-text span {
        font-size: 0.8rem;
    }

    .footer-security {
        padding: 2rem 1rem;
    }

    .security-section h3 {
        font-size: 1.1rem;
    }

    .security-intro {
        font-size: 0.9rem;
    }
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

th {
    background-color: #0066cc;
    color: #ffffff;
    font-weight: 600;
}

td {
    color: #555555;
}

tr:hover {
    background-color: #f8f9fa;
}

/* Departments Page Styles */
.intro-section {
    background: linear-gradient(135deg, #f0f7ff, #ffffff);
    padding: 3rem 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
    border-left: 5px solid #0066cc;
}

.intro-content h2 {
    color: #0066cc;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.intro-content p {
    color: #555555;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.quick-stat {
    text-align: center;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.quick-stat strong {
    display: block;
    font-size: 2rem;
    color: #0066cc;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.departments-categories {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2rem;
    color: #0066cc;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.category-tabs {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.category-tab {
    padding: 0.75rem 1.5rem;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-weight: 600;
    color: #666666;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.category-tab:hover {
    background: #e3f2fd;
    border-color: #0066cc;
    color: #0066cc;
}

.category-tab.active {
    background: #0066cc;
    color: #ffffff;
    border-color: #0066cc;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.department-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.department-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 102, 204, 0.2);
    border-color: #0066cc;
}

.department-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.department-icon {
    font-size: 3rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e3f2fd, #f0f7ff);
    border-radius: 12px;
    flex-shrink: 0;
}

.department-title-section {
    flex: 1;
}

.department-title-section h3 {
    color: #0066cc;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.department-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.emergency-badge {
    background: #ffebee;
    color: #c62828;
}

.public-badge {
    background: #e8f5e9;
    color: #2e7d32;
}

.admin-badge {
    background: #e3f2fd;
    color: #1565c0;
}

.department-description {
    color: #555555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.department-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-item {
    flex: 1;
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 0.25rem;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: #666666;
}

.department-services {
    margin-bottom: 1.5rem;
}

.department-services strong {
    color: #333333;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.75rem;
}

.department-services ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.department-services li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    color: #666666;
    position: relative;
    font-size: 0.9rem;
}

.department-services li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: bold;
}

.department-contact {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.contact-item {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item strong {
    color: #333333;
    flex-shrink: 0;
}

.contact-item a {
    color: #0066cc;
    text-decoration: none;
    word-break: break-word;
    overflow-wrap: break-word;
    display: inline-block;
    max-width: 100%;
}

.contact-item a:hover {
    text-decoration: underline;
}

.department-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 2px solid #f0f0f0;
}

.dept-button {
    flex: 1;
    padding: 0.75rem 1.5rem;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.dept-button.primary {
    background: #0066cc;
    color: #ffffff;
}

.dept-button.primary:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3);
}

.dept-button.secondary {
    background: #ffffff;
    color: #0066cc;
    border: 2px solid #0066cc;
}

.dept-button.secondary:hover {
    background: #f0f7ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.2);
}

.help-section {
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.help-card {
    background: linear-gradient(135deg, #0066cc, #004499);
    color: #ffffff;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 102, 204, 0.3);
}

.help-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.help-card > p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #e0f0ff;
}

.help-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.help-option {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.help-option strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.help-option p {
    margin-bottom: 0.5rem;
}

.help-option a {
    color: #ffffff;
    text-decoration: underline;
    font-size: 1.1rem;
    font-weight: 600;
}

.help-option a:hover {
    color: #e0f0ff;
}

.help-option span {
    display: block;
    font-size: 0.9rem;
    color: #e0f0ff;
    font-style: italic;
}

.help-card .cta-button {
    background: #ffffff;
    color: #0066cc;
}

.help-card .cta-button:hover {
    background: #f0f7ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .departments-grid {
        grid-template-columns: 1fr;
    }

    .department-actions {
        flex-direction: column;
    }

    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .help-options {
        grid-template-columns: 1fr;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .contact-item strong {
        min-width: auto;
    }

    .contact-item a {
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .category-tabs {
        justify-content: center;
    }
}

/* Security Page Styles */
.intro-box {
    background: linear-gradient(135deg, #f0f7ff, #ffffff);
    padding: 2.5rem;
    border-radius: 10px;
    margin-bottom: 3rem;
    border-left: 5px solid #0066cc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.intro-box h2 {
    color: #0066cc;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.intro-box p {
    color: #555555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.intro-box a {
    color: #0066cc;
    text-decoration: underline;
}

.intro-box a:hover {
    color: #004499;
}

.security-measures {
    margin-bottom: 4rem;
}

.security-measures h2 {
    color: #0066cc;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.security-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #0066cc;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.security-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.security-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.security-card h3 {
    color: #0066cc;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-align: center;
}

.security-card p {
    color: #555555;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.security-card ul {
    color: #555555;
    line-height: 1.8;
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.security-card ul li {
    margin-bottom: 0.5rem;
}

.why-matters {
    background: #f0f7ff;
    padding: 1rem;
    border-radius: 5px;
    border-left: 3px solid #0066cc;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.why-matters strong {
    color: #0066cc;
}

.cybersecurity-tips {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 3rem 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
}

.cybersecurity-tips h2 {
    color: #0066cc;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-intro {
    color: #555555;
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.tips-section {
    margin-bottom: 3rem;
}

.tips-section h3 {
    color: #0066cc;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    text-align: center;
}

.seniors-section {
    background: #fff9e6;
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid #ffd700;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tip-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #0066cc;
    transition: transform 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.tip-card h4 {
    color: #0066cc;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.tip-card p {
    color: #555555;
    line-height: 1.7;
    font-size: 0.95rem;
}

.tip-card a {
    color: #0066cc;
    text-decoration: underline;
}

.compliance-section {
    margin-bottom: 3rem;
}

.compliance-section h2 {
    color: #0066cc;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.compliance-box {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    border-left: 5px solid #0066cc;
}

.compliance-box h3 {
    color: #0066cc;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.compliance-box p {
    color: #555555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.compliance-box ul {
    color: #555555;
    line-height: 1.8;
    padding-left: 1.5rem;
}

.compliance-box ul li {
    margin-bottom: 0.5rem;
}

.compliance-box a {
    color: #0066cc;
    text-decoration: underline;
}

.compliance-box a:hover {
    color: #004499;
}

.report-section {
    background: linear-gradient(135deg, #e8f4f8, #ffffff);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #0066cc;
}

.report-section h2 {
    color: #0066cc;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.report-section p {
    color: #555555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.contact-box {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.contact-box p {
    margin-bottom: 0.75rem;
    color: #333333;
}

.contact-box a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
}

.contact-box a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .security-grid {
        grid-template-columns: 1fr;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }

    .intro-box {
        padding: 1.5rem;
    }

    .cybersecurity-tips {
        padding: 2rem 1rem;
    }

    .seniors-section {
        padding: 1.5rem;
    }
}
