/* Dublin City Inspired Government Portal Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dublin City Inspired Color Palette */
    --primary-dark: #003d4d;
    --primary: #00587a;
    --primary-light: #0077a2;
    --secondary: #4a90a4;
    --accent: #e8f4f8;
    --accent-hover: #d0e8ef;

    /* Neutral Colors */
    --text-dark: #1a1a1a;
    --text-body: #333333;
    --text-muted: #666666;
    --text-light: #888888;

    /* Backgrounds */
    --bg-white: #ffffff;
    --bg-light: #f5f7f8;
    --bg-section: #f0f4f5;
    --bg-dark: #1a2a30;

    /* Borders */
    --border-light: #e0e5e7;
    --border-medium: #c5cdd0;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);

    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-body);
    background: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

/* Skip Link (Accessibility) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-dark);
    color: white;
    padding: 8px 16px;
    z-index: 1000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Top Bar */
.top-bar {
    background: var(--primary-dark);
    color: white;
    font-size: 13px;
    padding: 8px 0;
}

.top-bar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left span {
    opacity: 0.9;
}

.top-bar-right a {
    color: white;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.top-bar-right a:hover {
    opacity: 1;
    text-decoration: underline;
}

.top-bar-right .divider {
    margin: 0 12px;
    opacity: 0.5;
}

/* Main Header */
.main-header {
    background: var(--bg-white);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.emblem-circle {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
}

.emblem-circle.small {
    width: 40px;
    height: 40px;
    font-size: 14px;
}

.logo-text h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
    margin: 0;
}

.logo-text p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 2px 0 0 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-box-container {
    position: relative;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    overflow: hidden;
}

.search-box input {
    border: none;
    background: transparent;
    padding: 10px 14px;
    font-size: 14px;
    width: 200px;
    outline: none;
}

.search-box button {
    background: var(--primary);
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.search-box button:hover {
    background: var(--primary-dark);
}

/* Search Suggestions Dropdown */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    margin-top: 4px;
    box-shadow: var(--shadow-lg);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
}

.suggestion-item {
    padding: 12px 14px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: var(--accent);
}

.suggestion-item-icon {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.suggestion-item-text {
    flex: 1;
}

.suggestion-item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.suggestion-item-desc {
    font-size: 12px;
    color: var(--text-muted);
}

.admin-link {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}

.admin-link:hover {
    background: var(--primary-dark);
}

/* Main Navigation */
.main-nav {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 16px 24px;
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.2s;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    background: var(--primary-dark);
}

/* Dropdown Menu */
.has-dropdown {
    position: relative;
}

.has-dropdown > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid white;
    margin-left: 8px;
    vertical-align: middle;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 6px 6px;
    list-style: none;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-body);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.dropdown-menu li a:hover {
    background: var(--accent);
    color: var(--primary-dark);
}

/* Hero Banner */
.hero-banner {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 61, 77, 0.7), rgba(0, 88, 122, 0.8));
    z-index: 1;
}

.hero-banner .hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    padding: 0 24px;
}

.hero-banner h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-banner p {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 28px;
    line-height: 1.6;
}

.hero-cta {
    display: inline-block;
    background: white;
    color: var(--primary-dark);
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s;
}

.hero-cta:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Section Styles */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 32px;
    text-align: center;
}

/* Quick Links Section */
.quick-links-section {
    background: var(--bg-white);
    padding: 60px 0;
    border-bottom: 1px solid var(--border-light);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.quick-link-card {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 28px 24px;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
}

.quick-link-card:hover {
    background: var(--accent);
    border-color: var(--primary-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.quick-link-icon {
    width: 64px;
    height: 64px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
    transition: background 0.2s;
}

.quick-link-card:hover .quick-link-icon {
    background: var(--primary-dark);
}

.quick-link-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.quick-link-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Live Feed Section */
.live-feed-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 60px 0;
    color: white;
}

.live-feed-header {
    text-align: center;
    margin-bottom: 32px;
}

.live-feed-section .section-title {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.live-indicator {
    width: 12px;
    height: 12px;
    background: #00ff88;
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 8px #00ff88;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.live-feed-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
}

.live-feed-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.live-feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    max-height: 400px;
    overflow-y: auto;
}

.live-feed::-webkit-scrollbar {
    width: 6px;
}

.live-feed::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.live-feed::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.feed-item {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 16px;
    color: var(--text-body);
    transition: all 0.3s ease;
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feed-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.feed-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-light);
}

.feed-name {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 15px;
}

.feed-time {
    font-size: 12px;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 4px 8px;
    border-radius: 4px;
}

.feed-item-body {
    margin-bottom: 12px;
}

.feed-amenities,
.feed-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-body);
    margin-bottom: 6px;
}

.feed-amenities svg,
.feed-location svg {
    color: var(--primary);
    flex-shrink: 0;
}

.feed-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feed-priority,
.feed-status {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.priority-low { background: #e3f2fd; color: #1976d2; }
.priority-medium { background: #fff3e0; color: #f57c00; }
.priority-high { background: #ffebee; color: #d32f2f; }
.priority-urgent { background: #d32f2f; color: white; }

.status-pending { background: #fff8e1; color: #f9a825; }
.status-approved { background: #e8f5e9; color: #388e3c; }
.status-rejected { background: #ffebee; color: #d32f2f; }
.status-in-progress { background: #e3f2fd; color: #1976d2; }

.feed-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

.loading-spinner {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.7);
}

.live-feed-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.refresh-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.refresh-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.refresh-btn.spinning svg {
    animation: spin 0.5s linear;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Main Content Area */
.main-content {
    background: var(--bg-section);
    padding: 48px 0;
}

.content-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
}

.content-main {
    min-width: 0;
}

/* Form Section */
.form-section {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.section-header {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--accent);
}

.section-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.required {
    color: #dc3545;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-medium);
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s;
    background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 119, 162, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--text-light);
    font-style: italic;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 12px 14px;
    border-radius: 6px;
    border: 1px solid var(--border-light);
    background: var(--bg-light);
    transition: all 0.2s;
    font-size: 14px;
}

.checkbox-label:hover {
    border-color: var(--primary-light);
    background: var(--accent);
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.checkbox-label span {
    color: var(--text-body);
}

.consent-group {
    margin-top: 8px;
}

.consent-label {
    background: transparent;
    border: none;
    padding: 0;
}

.consent-label:hover {
    background: transparent;
}

.consent-label span {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.button-group {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.btn-primary {
    flex: 1;
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-muted);
    border: 1px solid var(--border-medium);
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-secondary:hover {
    background: var(--border-light);
    color: var(--text-dark);
}

/* Sidebar */
.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.news-list li:last-child {
    border-bottom: none;
}

.news-date {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.news-list a {
    color: var(--text-body);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.2s;
}

.news-list a:hover {
    color: var(--primary);
}

.view-all-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.view-all-link:hover {
    text-decoration: underline;
}

.links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links-list li {
    padding: 8px 0;
}

.links-list a {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.links-list a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-card .contact-text {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.contact-item {
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-body);
}

.contact-item strong {
    color: var(--text-dark);
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-item a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Feedback Section */
.feedback-section {
    background: linear-gradient(135deg, var(--accent) 0%, var(--bg-light) 100%);
    padding: 60px 0;
}

.feedback-section .section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.feedback-form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.feedback-form-container .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.feedback-form-container .form-group {
    margin-bottom: 20px;
}

.feedback-form-container .button-group {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

@media (max-width: 768px) {
    .feedback-form-container {
        padding: 24px;
    }

    .feedback-form-container .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* About Section */
.about-section {
    background: var(--bg-light);
    padding: 60px 0;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    color: var(--text-body);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 24px;
    text-align: justify;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Districts Section */
.districts-section {
    background: var(--bg-white);
    padding: 60px 0;
}

.districts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.district-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.3s;
    cursor: pointer;
}

.district-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.district-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.district-card:hover img {
    transform: scale(1.05);
}

.district-info {
    padding: 20px;
    background: var(--bg-white);
}

.district-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.district-info p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.5;
}

.district-link {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
}

.district-card:hover .district-link {
    text-decoration: underline;
}

/* Footer */
.main-footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 0;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    padding: 30px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo span {
    font-weight: 600;
    font-size: 15px;
}

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    font-size: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    margin: 0 4px;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: var(--bg-white);
    margin: 10% auto;
    padding: 32px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideDown 0.3s ease;
    box-shadow: var(--shadow-lg);
}

@keyframes modalSlideDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 16px;
    font-size: 28px;
    font-weight: 400;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.close:hover {
    color: var(--text-dark);
}

#modalTitle {
    color: var(--primary);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

#modalMessage {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.7;
}

#modalMessage strong {
    color: var(--text-dark);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .content-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .districts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar-container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .header-container {
        flex-direction: column;
        gap: 16px;
    }

    .logo-section {
        flex-direction: column;
        text-align: center;
    }

    .header-actions {
        width: 100%;
        flex-direction: column;
    }

    .search-box {
        width: 100%;
    }

    .search-box input {
        width: 100%;
    }

    .admin-link {
        width: 100%;
        text-align: center;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-menu > li > a {
        padding: 12px 16px;
        font-size: 14px;
    }

    .hero-banner {
        height: 300px;
    }

    .hero-banner h2 {
        font-size: 28px;
    }

    .hero-banner p {
        font-size: 16px;
    }

    .quick-links-grid {
        grid-template-columns: 1fr;
    }

    .form-section {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .content-sidebar {
        grid-template-columns: 1fr;
    }

    .districts-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .button-group {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 24px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   TRACK STATUS SECTION
   ========================================== */

.track-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 60px 0;
}

.track-section .section-title {
    color: var(--bg-white);
    margin-bottom: 10px;
}

.track-section .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    margin-bottom: 30px;
    font-size: 16px;
}

.track-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.track-form {
    display: flex;
    gap: 12px;
    background: var(--bg-white);
    padding: 8px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.track-input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    background: transparent;
    color: var(--text-dark);
}

.track-input:focus {
    outline: none;
}

.track-input::placeholder {
    color: var(--text-light);
}

.btn-track {
    padding: 16px 32px;
    background: var(--primary);
    color: var(--bg-white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.btn-track:hover {
    background: var(--primary-light);
}

.btn-track:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.track-result {
    margin-top: 24px;
}

.track-result-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-md);
}

.track-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.track-result-header h3 {
    color: #28a745;
    font-size: 18px;
}

.track-ref-id {
    background: var(--accent);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 6px;
    font-family: monospace;
    font-weight: 600;
}

.track-result-status {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.status-badge, .priority-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.status-badge.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-badge.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-badge.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.status-badge.status-in-progress {
    background: #cce5ff;
    color: #004085;
}

.priority-badge.priority-low {
    background: #e2e3e5;
    color: #383d41;
}

.priority-badge.priority-medium {
    background: #fff3cd;
    color: #856404;
}

.priority-badge.priority-high {
    background: #ffe0b2;
    color: #e65100;
}

.priority-badge.priority-urgent {
    background: #f8d7da;
    color: #721c24;
}

.track-result-details {
    display: grid;
    gap: 12px;
}

.detail-row {
    display: flex;
    gap: 12px;
}

.detail-label {
    font-weight: 600;
    color: var(--text-muted);
    min-width: 120px;
}

.detail-value {
    color: var(--text-dark);
}

.detail-row.admin-notes {
    background: var(--accent);
    padding: 12px;
    border-radius: 8px;
    margin-top: 8px;
}

.track-result-error {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.track-result-error svg {
    color: #dc3545;
    margin-bottom: 12px;
}

.track-result-error p {
    color: #dc3545;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.track-result-error small {
    color: var(--text-muted);
}

/* ==========================================
   GUIDELINES SECTION
   ========================================== */

.guidelines-section {
    background: var(--bg-white);
    padding: 60px 0;
}

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.guideline-card {
    background: var(--bg-light);
    padding: 30px 24px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guideline-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.guideline-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.guideline-icon svg {
    color: var(--bg-white);
}

.guideline-card h3 {
    color: var(--primary-dark);
    font-size: 18px;
    margin-bottom: 12px;
}

.guideline-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Responsive for Track and Guidelines */
@media (max-width: 992px) {
    .guidelines-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .track-form {
        flex-direction: column;
    }

    .btn-track {
        width: 100%;
    }

    .track-result-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .track-result-status {
        justify-content: center;
        flex-wrap: wrap;
    }

    .detail-row {
        flex-direction: column;
        gap: 4px;
    }

    .detail-label {
        min-width: auto;
    }

    .guidelines-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   PROCESS TIMELINE (Guidelines Section)
   ========================================== */

.guidelines-section .section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 18px;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.process-step {
    position: relative;
    background: var(--bg-light);
    border-radius: 12px;
    padding: 30px 24px;
    text-align: left;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 50px;
    right: -24px;
    width: 24px;
    height: 2px;
    background: var(--primary);
    display: block;
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.step-content h3 {
    color: var(--primary-dark);
    font-size: 18px;
    margin-bottom: 12px;
}

.step-content p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.step-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-checklist li {
    position: relative;
    padding-left: 24px;
    color: var(--text-body);
    font-size: 13px;
    margin-bottom: 8px;
}

.step-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

/* FAQ Section */
.faq-section {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 40px;
}

.faq-title {
    text-align: center;
    color: var(--primary-dark);
    font-size: 24px;
    margin-bottom: 30px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.faq-item {
    background: var(--bg-white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.faq-item h4 {
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 12px;
}

.faq-item p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* ==========================================
   DISTRICT MODAL STYLES
   ========================================== */

.district-modal .modal-content {
    max-width: 900px;
    max-height: 85vh;
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
    margin: 5vh auto;
}

.district-modal-header {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.district-modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.district-modal-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
}

.district-modal-title h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.district-region-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
}

.district-modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.district-about h3 {
    color: var(--primary-dark);
    font-size: 20px;
    margin-bottom: 16px;
}

.district-about p {
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 16px;
}

.district-stats {
    display: flex;
    gap: 24px;
    margin-top: 24px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
}

.district-stat {
    text-align: center;
    flex: 1;
}

.district-stat .stat-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.district-stat .stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

.district-requests {
    margin-top: 30px;
}

.district-requests h3 {
    color: var(--primary-dark);
    font-size: 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.district-requests-list {
    max-height: 250px;
    overflow-y: auto;
    display: grid;
    gap: 12px;
}

.district-request-item {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 16px;
    border-left: 4px solid var(--primary);
}

.request-item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.request-name {
    font-weight: 600;
    color: var(--text-dark);
}

.request-time {
    font-size: 12px;
    color: var(--text-light);
}

.request-item-body {
    margin-bottom: 12px;
}

.request-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 4px;
}

.request-amenities {
    color: var(--text-body);
    font-size: 14px;
}

.request-item-footer {
    display: flex;
    gap: 8px;
}

.status-tag, .priority-tag {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.status-tag.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-tag.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-tag.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.status-tag.status-in-progress {
    background: #cce5ff;
    color: #004085;
}

.priority-tag.priority-low {
    background: #e2e3e5;
    color: #383d41;
}

.priority-tag.priority-medium {
    background: #fff3cd;
    color: #856404;
}

.priority-tag.priority-high {
    background: #ffe0b2;
    color: #e65100;
}

.priority-tag.priority-urgent {
    background: #f8d7da;
    color: #721c24;
}

.no-requests {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-size: 16px;
}

.district-modal-footer {
    padding: 16px 30px;
    text-align: center;
    border-top: 1px solid var(--border-light);
    background: var(--bg-white);
    flex-shrink: 0;
}

.district-modal-footer .btn-primary {
    display: inline-block;
    text-decoration: none;
    padding: 12px 24px;
}

/* Responsive for Process Timeline and District Modal */
@media (max-width: 1200px) {
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-step:nth-child(2)::after,
    .process-step:nth-child(4)::after {
        display: none;
    }
}

@media (max-width: 992px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .process-timeline {
        grid-template-columns: 1fr;
    }

    .process-step::after {
        display: none;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-section {
        padding: 24px;
    }

    .district-modal-header {
        height: 180px;
    }

    .district-modal-title h2 {
        font-size: 22px;
    }

    .district-stats {
        flex-direction: column;
        gap: 16px;
    }

    .district-stat .stat-value {
        font-size: 24px;
    }
}

/* ==========================================
   COMBINED INFO SECTION (About, Volunteer, Feedback)
   ========================================== */

.combined-info-section {
    background: var(--bg-light);
    padding: 60px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.info-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.info-card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--accent);
}

.info-card-content {
    color: var(--text-body);
    font-size: 15px;
    line-height: 1.7;
}

.info-card-content p {
    margin-bottom: 16px;
}

.info-card-content p:last-child {
    margin-bottom: 0;
}

/* Feedback card specific styles */
.info-card .feedback-intro {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.info-card .form-group {
    margin-bottom: 20px;
}

.info-card .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.info-card .form-group input[type="text"],
.info-card .form-group input[type="email"],
.info-card .form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-medium);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s;
    background: var(--bg-white);
}

.info-card .form-group input:focus,
.info-card .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 119, 162, 0.15);
}

.info-card .btn-full {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.info-card .btn-full:hover {
    background: var(--primary-dark);
}

/* Responsive for Combined Info Section */
@media (max-width: 1024px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .info-card {
        padding: 28px;
    }
}

@media (max-width: 768px) {
    .combined-info-section {
        padding: 40px 0;
    }

    .info-card {
        padding: 24px;
    }

    .info-card-title {
        font-size: 20px;
    }
}
