:root {
    --primary-color: #0d47a1;
    --primary-dark: #002171;
    --primary-light: #5472d3;
    --secondary-color: #d32f2f;
    --accent-color: #ffca28;
    --text-color: #0f172a;      /* slate-900 */
    --text-light: #475569;      /* slate-600 */
    --background-color: #f7f9fc;
    --white: #ffffff;
    --font-main: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    --spacing-unit: 8px;
    --border-radius: 14px;
    --shadow-sm: 0 1px 2px rgba(2, 8, 23, 0.06), 0 1px 1px rgba(2, 8, 23, 0.04);
    --shadow-md: 0 10px 24px rgba(2, 8, 23, 0.10);
    --shadow-lg: 0 18px 50px rgba(2, 8, 23, 0.14);
}

/* Reset & Basics */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
}

.nav-open,
.nav-open body {
    overflow: hidden;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: var(--spacing-unit);
    font-weight: 500;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1rem; }

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: clamp(40px, 5vw, 72px) 0;
}

.bg-light {
    background-color: #e0e0e0;
}

.info-section {
    background-color: var(--white);
}
.info-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 24px;
}
.info-section p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    color: var(--text-color);
}
.link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
}
.link:hover {
    color: var(--primary-dark);
}

.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
    border: none;
    font-size: 0.9rem;
    gap: 8px;
}

.btn:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.btn:focus-visible {
    outline: 3px solid rgba(13, 71, 161, 0.35);
    outline-offset: 2px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

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

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #b71c1c;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}
.footer .btn-outline.btn-light {
    border-color: #cfd8dc;
    color: #eceff1;
}
.footer .btn-outline.btn-light:hover {
    background-color: rgba(255,255,255,0.15);
    color: #fff;
    border-color: #fff;
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-emergency {
    background-color: var(--secondary-color);
    color: var(--white);
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(211, 47, 47, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(211, 47, 47, 0); }
}

/* Header */
.navbar {
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
    backdrop-filter: saturate(180%) blur(14px);
}

.nav-container {
    display: block;
}

.header-row {
    display: flex;
    padding: 16px 0;
}

.header-top {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 18px;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    min-width: 0;
}

/* Legacy second row – hidden */
.emergency-contact-header {
    display: none;
}

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

.logo img {
    height: 220px;
    width: auto;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.district-name {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.district-sub {
    font-size: 1.25rem;
    color: var(--text-light);
    letter-spacing: 0.02em;
    font-weight: 500;
}

.nav-links {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    width: fit-content;
    justify-self: end;
    padding: 6px;
    border-radius: 999px;
    border: 1px solid rgba(2, 8, 23, 0.08);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 30px rgba(2, 8, 23, 0.08);
}

.nav-link {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-color);
    position: relative;
    white-space: nowrap;
    padding: 10px 14px;
    border-radius: 999px;
}

.nav-link.active {
    color: var(--primary-color);
    background: rgba(13, 71, 161, 0.08);
}
.nav-link:hover {
    color: var(--primary-color);
    background: rgba(13, 71, 161, 0.06);
}
.nav-link:focus-visible {
    outline: 3px solid rgba(13, 71, 161, 0.35);
    outline-offset: 2px;
}

.btn-nav {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    border-radius: 6px;
    box-shadow: 0 10px 24px rgba(2, 8, 23, 0.14);
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.nav-cta {
    padding: 12px 20px;
}
.nav-cta .cta-label { display: inline; }
.nav-cta .cta-number { display: inline; }

.nav-cta {
    border-radius: 999px;
}

.mobile-menu-btn {
    display: none;
    position: relative;
    z-index: 1003;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 30px;
    color: var(--primary-color);
    border-radius: 10px;
    padding: 10px;
}
.mobile-menu-btn:focus-visible {
    outline: 3px solid rgba(13, 71, 161, 0.35);
    outline-offset: 2px;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: rgba(2, 8, 23, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}
.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Hero Section */
.hero {
    position: relative;
    background:
        radial-gradient(1200px 600px at 20% 10%, rgba(255, 202, 40, 0.18), transparent 60%),
        radial-gradient(900px 500px at 80% 0%, rgba(84, 114, 211, 0.22), transparent 55%),
        linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: clamp(64px, 7vw, 108px) 0;
    text-align: center;
    /* If you have a background image, use: */
    /* background-image: url('../img/hero-bg.jpg'); background-size: cover; background-position: center; */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Overlay for readability if image is used */
    z-index: 1;
    display: none; /* Enable if using image */
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 980px;
}

.hero h1 {
    font-size: clamp(2.2rem, 4.8vw, 3.6rem);
    margin-bottom: 10px;
    letter-spacing: -0.03em;
}

.highlight {
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    max-width: 860px;
    margin-bottom: 18px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-large {
    padding: 12px 30px;
    font-size: 1.05rem;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: var(--white);
    border-radius: 18px;
    padding: 30px;
    border: 1px solid rgba(2, 8, 23, 0.08);
    box-shadow: 0 8px 22px rgba(2, 8, 23, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(13, 71, 161, 0.18);
    box-shadow: 0 18px 45px rgba(2, 8, 23, 0.12);
}

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

.icon-wrapper .material-icons-round {
    font-size: 32px;
}

.icon-wrapper.police { background-color: #1a237e; } /* Indigo 900 */
.icon-wrapper.fire { background-color: #b71c1c; } /* Red 900 */
.icon-wrapper.medical { background-color: #004d40; } /* Teal 900 */

.card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.section-header {
    text-align: center;
    margin-bottom: 24px;
}
.section-header h2 {
    color: var(--primary-color);
    margin-bottom: 8px;
}
.section-header p {
    color: var(--text-light);
    margin-bottom: 0;
}
.center-btn {
    text-align: center;
    margin-top: 40px;
}
.btn-text {
    background: none;
    color: var(--primary-color);
    text-transform: none;
    letter-spacing: 0;
}
.btn-text:hover {
    background: none;
    text-decoration: underline;
}
.btn-emergency-large {
    padding: 14px 28px;
    font-size: 1.1rem;
    background-color: var(--secondary-color);
    color: var(--white);
}
.btn-emergency-large:hover {
    background-color: #b71c1c;
}

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.placeholder-graphic {
    background-color: var(--white);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

/* Banner Box */
.banner-box {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ff5252 100%);
    color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-md);
}

.banner-content {
    flex: 1;
}

.banner-icon .material-icons-round {
    font-size: 80px;
    opacity: 0.3;
}

/* Footer – compact */
.footer {
    background-color: #263238;
    color: #eceff1;
    margin-top: auto;
    padding-top: 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(340px, 1.2fr) 1fr minmax(320px, 1fr);
    gap: 28px 40px;
    padding-bottom: 24px;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}
.footer .footer-logo img {
    height: 170px;
    width: auto;
}
.footer-brand .footer-logo span {
    font-weight: 700;
    font-size: 1.8rem;
    color: #fff;
}
.footer-brand p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
    line-height: 1.45;
}

.footer h4 {
    color: var(--accent-color);
    margin-bottom: 10px;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
    font-weight: 600;
}

.footer ul li {
    margin-bottom: 6px;
}
.footer ul {
    padding-left: 0;
}

.footer a:hover {
    color: var(--accent-color);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    flex-wrap: nowrap;
}
.contact-list a { white-space: nowrap; }
.contact-tag { white-space: nowrap; opacity: 0.95; }
.contact-list .material-icons-round {
    font-size: 1rem;
    opacity: 0.8;
}

.footer-contract {
    padding: 16px 0;
    background-color: rgba(255,255,255,0.06);
    border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-contract p {
    margin-bottom: 8px;
    font-size: 0.9rem;
}
.footer-link {
    color: var(--accent-color) !important;
}
.footer-echo-logo {
    margin-top: 8px;
}
.footer-echo-logo img {
    height: 40px;
    width: auto;
    max-width: 180px;
}
.footer-bottom {
    background-color: #1a2226;
    padding: 12px 0;
    font-size: 0.85rem;
    color: #cfd8dc;
}
.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
}
.footer-links-inline {
    display: inline;
}
.footer-links-inline a {
    color: #cfd8dc;
}
.footer-links-inline a:hover {
    color: var(--accent-color);
}

.psap-info {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 5px;
}

/* Page header (blue bar) */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 48px 24px;
    text-align: center;
}
.page-header h2 {
    margin: 0;
    font-size: 2rem;
    color: var(--white);
}

/* Content section & blocks */
.content-section {
    padding: 60px 24px;
    background-color: var(--white);
}
.content-block {
    max-width: 900px;
    margin: 0 auto 48px;
    padding: 40px;
    background-color: #f0f7ff;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.content-block.highlight-block {
    border-left-color: var(--primary-color);
    background: linear-gradient(135deg, #f8fbff 0%, #f0f7ff 100%);
}
.content-block h3 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 16px;
}
.content-block h4 {
    color: var(--primary-color);
    margin-top: 24px;
    margin-bottom: 12px;
    font-size: 1.2rem;
}
.content-block p, .content-block ul {
    margin-bottom: 16px;
    color: var(--text-color);
    line-height: 1.7;
}
.content-block ul {
    list-style: disc;
    margin-left: 24px;
}
.content-block li {
    margin-bottom: 8px;
}
.training-section-title {
    color: var(--primary-color);
    margin-top: 24px;
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 600;
}
.training-section-title.advanced-training {
    margin-top: 32px;
}
.training-list-two-column {
    columns: 2;
    column-gap: 32px;
    list-style-position: inside;
}
.training-list-two-column li {
    break-inside: avoid;
}
.margin-top-24 {
    margin-top: 24px;
}

/* Map */
.map-wrapper {
    position: relative;
}
.map-container {
    width: 100%;
    height: 520px;
    border-radius: 12px;
    border: 2px solid var(--primary-color);
    overflow: hidden;
    background: #e8f0fe;
    margin-top: 16px;
}
.map-search {
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
}
.map-search input {
    flex: 0 1 360px;
    max-width: calc(100% - 32px);
    padding: 10px 14px;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 8px;
    font-size: 0.95rem;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.map-footnote {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
}
.map-error {
    padding: 16px;
    background: #ffebee;
    border: 1px solid var(--secondary-color);
    border-radius: 8px;
    color: var(--secondary-color);
    text-align: center;
}
@media (max-width: 768px) {
    .map-container { height: 400px; }
    .training-list-two-column { columns: 1; }
    .content-block { padding: 24px 20px; }
}

/* Service detail & info box */
.service-detail {
    max-width: 900px;
    margin: 0 auto 48px;
    padding: 40px;
    background-color: #f0f7ff;
    border-radius: 12px;
    border-top: 4px solid var(--secondary-color);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.service-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(13, 71, 161, 0.2);
}
.service-icon-large {
    font-size: 4rem;
}
.service-icon-large .material-icons-round {
    font-size: 4rem;
}
.service-detail h3 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin: 0;
}
.service-detail ul {
    list-style: disc;
    margin-left: 24px;
    margin-bottom: 16px;
}
.service-detail li { margin-bottom: 8px; }

.info-box {
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 40px;
    background-color: #f0f7ff;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.info-box h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 16px;
}
.info-box p, .info-box ul { margin-bottom: 16px; }
.info-box.echo911-box {
    background: linear-gradient(135deg, #f8fbff 0%, #f0f7ff 100%);
    border-left-width: 5px;
}
.echo911-services-list {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}
.echo911-services-list li {
    padding: 10px 0 10px 36px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(13, 71, 161, 0.1);
    position: relative;
}
.service-icon-bullet {
    position: absolute;
    left: 0;
    top: 10px;
    width: 22px;
    height: 22px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}
.echo911-partnership {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 2px solid rgba(13, 71, 161, 0.15);
    font-style: italic;
    color: var(--text-light);
}
.info-box.emergency-box {
    border-left-color: var(--secondary-color);
    background: linear-gradient(135deg, #ffebee 0%, #f0f7ff 100%);
}
.emergency-number {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin: 12px 0;
}
.contact-details {
    margin-top: 16px;
    padding: 24px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.contact-details p { margin-bottom: 8px; }
.phone-number {
    font-size: 1.1rem;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px solid var(--primary-color);
}
.contact-info .info-box { max-width: 900px; margin-left: auto; margin-right: auto; }

/* Staff */
.staff-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}
.staff-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
}
.staff-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: #e8e8e8;
}
.staff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.staff-info {
    padding: 28px;
}
.staff-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 6px;
}
.staff-title {
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eee;
}
.staff-bio p {
    margin-bottom: 12px;
    line-height: 1.7;
    color: var(--text-color);
}
.staff-bio p:last-child { margin-bottom: 0; }

/* Education page */
.education-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
}
.edu-card {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-left: 4px solid var(--primary-color);
}
.edu-card.warning {
    border-left-color: var(--secondary-color);
    background: linear-gradient(135deg, #ffebee 0%, #fff8e1 100%);
}
.edu-card h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 16px;
}
.edu-card.warning h2 { color: var(--secondary-color); }
.edu-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.edu-card li {
    margin-bottom: 12px;
    padding-left: 32px;
    position: relative;
    line-height: 1.6;
}
.edu-card .material-icons-round.check {
    position: absolute;
    left: 0;
    color: #2e7d32;
    font-size: 1.25rem;
}
.edu-card .material-icons-round.cross {
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1.25rem;
}
.tips-section {
    margin-top: 48px;
}
.tips-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 24px;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 32px;
}
.step {
    background: #f0f7ff;
    padding: 24px;
    border-radius: 12px;
    border-top: 4px solid var(--primary-color);
}
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 12px;
}
.step h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}
.step p { margin-bottom: 0; font-size: 0.95rem; }
.caller-tips-box {
    max-width: 800px;
    margin: 40px auto;
    padding: 32px;
    background: #e8f5e9;
    border-radius: 12px;
    border-left: 4px solid #2e7d32;
}
.caller-tips-box h3 {
    color: #1b5e20;
    margin-bottom: 16px;
}
.caller-tips-box ul {
    list-style: disc;
    margin-left: 24px;
}
.caller-tips-box li { margin-bottom: 8px; }
.non-emergency-promo {
    text-align: center;
    padding: 24px;
    background: #fff3e0;
    border-radius: 12px;
    margin: 32px 0;
    border: 2px solid #ff9800;
}
.non-emergency-promo strong { font-size: 1.25rem; }
.page-header-subtitle { margin: 12px 0 0; opacity: 0.95; }
.education-intro { text-align: center; max-width: 700px; margin: 0 auto 32px; }
.non-emergency-promo-phone { margin: 8px 0 0; }
.non-emergency-promo-phone .link { font-size: 1.25rem; }
.non-emergency-promo-admin { margin: 4px 0 0; }
.steps-intro { text-align: center; max-width: 700px; margin: 0 auto; }
.content-block-narrow { max-width: 700px; margin: 32px auto 0; }
@media (max-width: 768px) {
    .education-grid { grid-template-columns: 1fr; }
}

@media (min-width: 768px) {
    .staff-card { flex-direction: row; }
    .staff-image { width: 280px; height: auto; min-height: 320px; flex-shrink: 0; }
    .staff-info { padding: 32px; }
}

/* FAQ Section */
.faq-section {
    max-width: 900px;
    margin: 48px auto 0;
}
.faq-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 24px;
}
.faq-item {
    padding: 24px 28px;
    background: #f0f7ff;
    border-radius: 10px;
    margin-bottom: 16px;
    border-left: 4px solid var(--primary-color);
}
.faq-question {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.faq-item p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Partner Agencies */
.partner-agencies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}
.partner-agency-card {
    text-align: center;
    padding: 28px 20px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid rgba(13, 71, 161, 0.1);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.partner-agency-card:hover {
    transform: translateY(-3px);
    border-color: rgba(13, 71, 161, 0.2);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.partner-agency-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #1a237e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.partner-agency-icon.fire {
    background: #b71c1c;
}
.partner-agency-icon.town {
    background: var(--primary-color);
}
.partner-agency-icon .material-icons-round {
    font-size: 28px;
    color: var(--white);
}
.partner-agency-card h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    margin-top: 0;
}
.partner-agency-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}
@media (max-width: 768px) {
    .partner-agencies-grid { grid-template-columns: 1fr; }
}

/* Contract Dispatch Page */
.contract-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
}
.contract-service-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    border: 1px solid rgba(13, 71, 161, 0.1);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}
.contract-service-item:hover {
    border-color: rgba(13, 71, 161, 0.25);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.contract-service-item > .material-icons-round {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}
.contract-service-item strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.contract-service-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.partner-advantages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 24px;
}
.advantage-card {
    padding: 28px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid rgba(13, 71, 161, 0.1);
    text-align: center;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.advantage-card:hover {
    transform: translateY(-3px);
    border-color: rgba(13, 71, 161, 0.2);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.advantage-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.advantage-icon .material-icons-round {
    font-size: 28px;
    color: var(--white);
}
.advantage-card h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    margin-top: 0;
}
.advantage-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Contract Dispatch Form */
.contract-form {
    margin-top: 24px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.form-group.full-width {
    margin-bottom: 20px;
}
.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 6px;
}
.form-group label .required {
    color: var(--secondary-color);
}
.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-main);
    font-size: 0.95rem;
    padding: 12px 14px;
    border: 2px solid rgba(13, 71, 161, 0.15);
    border-radius: 8px;
    background: var(--white);
    color: var(--text-color);
    transition: border-color 180ms ease, box-shadow 180ms ease;
    width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23475569' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}
.form-actions {
    text-align: left;
    margin-top: 8px;
}

/* Form Status Banner */
.form-status-banner {
    max-width: 900px;
    margin: 24px auto 0;
    padding: 16px 24px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.form-status-banner[hidden] {
    display: none;
}
.form-status-banner.success {
    background: #e8f5e9;
    color: #1b5e20;
    border: 1px solid #a5d6a7;
}
.form-status-banner.error {
    background: #ffebee;
    color: #b71c1c;
    border: 1px solid #ef9a9a;
}

@media (max-width: 768px) {
    .contract-services-grid { grid-template-columns: 1fr; }
    .partner-advantages-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; gap: 16px; }
}

/* Responsive */
@media (max-width: 768px) {
    .container { padding-left: 16px; padding-right: 16px; }
    .navbar { position: relative; }
    .header-row { padding: 14px 0 12px; }
    .header-top { gap: 12px; }
    .logo img {
        height: 132px;
    }
    .district-name { font-size: 1.9rem; }
    .district-sub { font-size: 1.05rem; }
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(86vw, 360px);
        max-width: 100vw;
        z-index: 1002;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: saturate(180%) blur(18px);
        border-left: 1px solid rgba(0,0,0,0.08);
        box-shadow: -24px 0 64px rgba(0,0,0,0.18);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 92px 18px 18px;
        gap: 6px;
        transform: translate3d(110%, 0, 0);
        will-change: transform;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 240ms cubic-bezier(.2,.8,.2,1), opacity 180ms ease, visibility 0s linear 240ms;
        border-radius: 0;
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: transform 240ms cubic-bezier(.2,.8,.2,1), opacity 180ms ease;
    }
    .nav-links .nav-link,
    .nav-links .btn {
        min-height: 44px;
        padding: 12px 14px;
        display: inline-flex;
        align-items: center;
    }

    .mobile-menu-btn {
        display: block;
    }
    .nav-cta .cta-label { display: none; }
    .nav-cta { padding: 10px 14px; font-size: 0.95rem; }

    .hero h1 { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; max-width: 100%; padding: 0 8px; }
    
    .split-layout {
        grid-template-columns: 1fr;
    }
    
    .banner-box {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .banner-icon { display: none; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-bottom: 20px;
    }
    .footer-brand { text-align: center; }
    .footer-brand .footer-logo { justify-content: center; }
    .footer .footer-logo img { height: 140px; }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}
