/* 
TRPOX - Emergency Alert Platform CSS Styles
*/

/* Base Styles & Reset */
:root {
    /* Main Colors */
    --primary-color: #D32F2F; /* Emergency Red */
    --secondary-color: #FBC02D; /* Warning Yellow */
    --dark-color: #212121; /* Carbon Black */
    --light-color: #B0BEC5; /* Smoke Gray */
    --info-color: #1976D2; /* Safe Blue */
    
    /* Background and Text Colors */
    --background-color: #f9f9f9;
    --text-color: #333333;
    --light-bg: #f0f2f5;
    --dark-bg: #263238;
    
    /* Alert Colors */
    --danger-color: #C62828; /* Deep Red */
    --warning-color: #F57F17; /* Amber */
    --success-color: #2E7D32; /* Green */
    
    /* UI Elements */
    --border-color: #e0e0e0;
    --border-radius: 8px;
    --box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    
    /* Typography */
    --font-primary: 'Red Hat Display', 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Archivo', Arial, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --footer-height: 350px;
    --section-spacing: 60px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: var(--line-height-base);
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #b71c1c;
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    line-height: 1.2;
    margin-bottom: 0.5em;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 50px 0;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Progress Reading Bar */
.progress-container {
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 4px;
    background: transparent;
}

.progress-bar {
    height: 4px;
    background: var(--primary-color);
    width: 0%;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--dark-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.emergency-level {
    display: flex;
    align-items: center;
    margin-left: 20px;
    font-size: 0.875rem;
}

.level-indicator {
    padding: 5px 10px;
    border-radius: 20px;
    background-color: #dcedc8;
    color: #33691e;
    margin-right: 15px;
    font-weight: 600;
}

.level-indicator.danger {
    background-color: #ffcdd2;
    color: #b71c1c;
}

.current-time, .current-location {
    margin-right: 15px;
    color: var(--light-color);
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 5px;
}

nav ul li a {
    display: block;
    padding: 8px 15px;
    color: var(--dark-color);
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

nav ul li a:hover, nav ul li a.active {
    background-color: #f5f5f5;
    color: var(--primary-color);
}

nav ul li a.emergency-btn {
    background-color: var(--primary-color);
    color: white;
}

nav ul li a.emergency-btn:hover {
    background-color: #b71c1c;
}

.mobile-nav-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--dark-color);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 600;
    text-align: center;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

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

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

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

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

.tertiary-btn {
    background-color: var(--light-bg);
    color: var(--dark-color);
}

.tertiary-btn:hover {
    background-color: #e0e0e0;
}

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

.warning-btn:hover {
    background-color: #ef6c00;
}

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

.info-btn:hover {
    background-color: #1565c0;
}

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

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

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Emergency Cards Section */
.emergency-cards {
    padding: 60px 0;
}

.emergency-cards h2 {
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-top: 4px solid var(--secondary-color);
}

.card.warning {
    border-top-color: var(--warning-color);
}

.card.danger {
    border-top-color: var(--danger-color);
}

.card.info {
    border-top-color: var(--info-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-header {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid var(--border-color);
}

.card-header .icon {
    margin-right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    background-color: var(--secondary-color);
}

.card.warning .card-header .icon {
    background-color: var(--warning-color);
}

.card.danger .card-header .icon {
    background-color: var(--danger-color);
}

.card.info .card-header .icon {
    background-color: var(--info-color);
}

.card-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.card-body {
    padding: 20px;
}

.card-body p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.card-body .location {
    color: var(--light-color);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.card-body .location i {
    margin-right: 5px;
    color: var(--primary-color);
}

.card-body .solution {
    margin-top: 15px;
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 4px;
    font-weight: 500;
}

.card-footer {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
}

.details-btn {
    padding: 6px 12px;
    background-color: var(--light-bg);
    color: var(--dark-color);
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

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

.time {
    color: var(--light-color);
    font-size: 0.875rem;
}

.view-all {
    text-align: center;
    margin-top: 40px;
}

/* Features Section */
.features {
    background-color: var(--light-bg);
    padding: 60px 0;
}

.features h2 {
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3);
}

.feature h3 {
    margin-bottom: 15px;
}

.feature p {
    color: #666;
    font-size: 0.95rem;
}

/* Safety Score Section */
.safety-score {
    padding: 60px 0;
    background-color: white;
}

.safety-score h2 {
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.score-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    gap: 40px;
}

.score-chart {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.chart-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: conic-gradient(var(--primary-color) 0% 78%, #e0e0e0 78% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.chart-circle::before {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background-color: white;
}

.chart-circle .score {
    position: relative;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.chart-circle .max {
    position: relative;
    font-size: 1.2rem;
    color: #666;
}

.score-info {
    flex: 2;
    min-width: 300px;
}

.score-info h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.score-info p {
    margin-bottom: 20px;
    color: #666;
}

.score-info ul {
    margin-bottom: 25px;
}

.score-info ul li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.score-info ul li i {
    margin-right: 10px;
    color: var(--primary-color);
}

/* App Download Section */
.app-download {
    background-color: var(--dark-bg);
    color: white;
    padding: 60px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
}

.app-info {
    flex: 1;
    min-width: 300px;
    padding: 0 20px;
}

.app-info h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.app-info p {
    margin-bottom: 30px;
    color: #b0bec5;
}

.app-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.app-btn {
    display: flex;
    align-items: center;
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    transition: var(--transition);
}

.app-btn:hover {
    background-color: #444;
    color: white;
}

.app-btn i {
    font-size: 2rem;
    margin-right: 10px;
}

.app-btn span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.app-btn small {
    font-size: 0.7rem;
    opacity: 0.8;
}

.app-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.app-image img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-col {
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.footer-logo span {
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
}

.footer-col p {
    color: #b0bec5;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: white;
}

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

.footer-col ul li a {
    color: #b0bec5;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    margin-bottom: 15px;
    color: #b0bec5;
}

.contact-info li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.registration {
    font-size: 0.875rem;
    color: #78909c;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 40px;
}

.footer-bottom .copyright {
    text-align: center;
    color: #78909c;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: #b0bec5;
    font-size: 0.875rem;
}

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

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(33, 33, 33, 0.95);
    color: white;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    display: none;
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    flex: 1;
    min-width: 300px;
    margin-bottom: 0;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-content a {
    color: var(--secondary-color);
    margin-left: 20px;
    white-space: nowrap;
}

.cookie-content a:hover {
    text-decoration: underline;
}

/* Blog Page Styles */
.page-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    color: white;
    text-align: center;
}

.banner-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-filters {
    background-color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.filter-group {
    display: flex;
    align-items: center;
}

.filter-group label {
    margin-right: 10px;
    font-weight: 500;
    color: #666;
}

.filter-group select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: white;
    min-width: 150px;
}

.filter-btn {
    margin-left: auto;
}

.blog-posts {
    padding: 60px 0;
}

.posts-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.post {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.post-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post:hover .post-image img {
    transform: scale(1.05);
}

.post-category {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.post-category.warning {
    background-color: var(--warning-color);
    color: white;
}

.post-category.danger {
    background-color: var(--danger-color);
    color: white;
}

.post-category.info {
    background-color: var(--info-color);
    color: white;
}

.post-content {
    padding: 20px;
}

.post-title {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.post-title a {
    color: var(--dark-color);
    transition: var(--transition);
}

.post-title a:hover {
    color: var(--primary-color);
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.875rem;
    color: #757575;
}

.post-meta span {
    display: flex;
    align-items: center;
}

.post-meta i {
    margin-right: 5px;
}

.post-excerpt p {
    margin-bottom: 15px;
    color: #616161;
    font-size: 0.95rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(3px);
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 5px;
}

.page-number, .page-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    color: var(--dark-color);
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.page-number.current {
    background-color: var(--primary-color);
    color: white;
}

.page-number:hover, .page-next:hover {
    background-color: #f5f5f5;
}

.page-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #757575;
}

.subscribe {
    background-color: var(--dark-bg);
    padding: 60px 0;
    color: white;
}

.subscribe-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.subscribe h2 {
    margin-bottom: 20px;
}

.subscribe p {
    margin-bottom: 30px;
    color: #b0bec5;
}

.subscribe-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.subscribe-form input {
    flex: 1;
    padding: 12px 15px;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    border: 1px solid var(--border-color);
}

.subscribe-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 0 20px;
}

/* Blog Post Styles */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.post-header {
    margin-bottom: 30px;
    text-align: center;
}

.danger-header {
    background-color: #ffebee;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.post-header h1 {
    margin: 15px 0;
    font-size: 2.5rem;
}

.post-alert {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background-color: #fff9c4;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.danger-alert {
    background-color: #ffebee;
}

.alert-icon {
    font-size: 2rem;
    color: var(--warning-color);
    margin-right: 20px;
}

.danger-alert .alert-icon {
    color: var(--danger-color);
}

.alert-content h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.alert-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.post-text {
    line-height: 1.8;
    color: #424242;
}

.post-text p {
    margin-bottom: 20px;
}

.post-text h2 {
    margin: 30px 0 15px;
    font-size: 1.8rem;
}

.post-text h3 {
    margin: 25px 0 15px;
    font-size: 1.4rem;
}

.post-text ul, .post-text ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.post-text ul li, .post-text ol li {
    margin-bottom: 10px;
    list-style-type: disc;
}

.contact-info-box {
    background-color: #e3f2fd;
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 30px 0;
}

.contact-info-box.emergency {
    background-color: #ffebee;
}

.contact-info-box h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.contact-info-box p {
    margin-bottom: 10px;
}

.update-info {
    margin-top: 30px;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
}

.post-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.share-buttons {
    display: flex;
    align-items: center;
}

.share-buttons span {
    margin-right: 15px;
    font-weight: 500;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    margin-right: 10px;
    transition: var(--transition);
}

.share-btn:hover {
    transform: translateY(-3px);
}

.share-btn.facebook {
    background-color: #3b5998;
}

.share-btn.twitter {
    background-color: #1da1f2;
}

.share-btn.whatsapp {
    background-color: #25d366;
}

.share-btn.telegram {
    background-color: #0088cc;
}

.related-posts {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.related-posts h2 {
    margin-bottom: 30px;
    text-align: center;
}

.related-posts-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.related-post {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.related-post:hover {
    transform: translateY(-5px);
}

.related-post img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-post h3 {
    padding: 15px 15px 5px;
    font-size: 1.1rem;
}

.related-post h3 a {
    color: var(--dark-color);
}

.related-post h3 a:hover {
    color: var(--primary-color);
}

.related-post .post-date {
    padding: 0 15px 15px;
    font-size: 0.875rem;
    color: #757575;
}

/* Live Updates */
.live-updates {
    background-color: #f5f5f5;
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 30px 0;
}

.live-updates h3 {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.live-updates h3 i {
    color: var(--danger-color);
    margin-right: 10px;
}

.update-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.update-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.update-time {
    min-width: 50px;
    font-weight: 600;
    color: var(--primary-color);
}

.evacuation-map {
    margin: 30px 0;
}

.evacuation-map h3 {
    margin-bottom: 15px;
}

.evacuation-map img {
    width: 100%;
    border-radius: var(--border-radius);
    margin-bottom: 10px;
}

.evacuation-map p {
    font-size: 0.875rem;
    color: #757575;
    text-align: center;
}

/* Real-time Status */
.real-time-status {
    background-color: #f5f5f5;
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 30px 0;
}

.real-time-status h3 {
    margin-bottom: 20px;
}

.status-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.status-label {
    min-width: 140px;
    font-weight: 500;
}

.status-bar {
    flex: 1;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin: 0 15px;
}

.status-fill {
    height: 100%;
    background-color: var(--primary-color);
}

.status-value {
    min-width: 100px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Countdown Timer */
.countdown-timer {
    text-align: center;
    margin: 30px 0;
}

.countdown-timer h3 {
    margin-bottom: 20px;
}

.timer {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
}

.time-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.time-label {
    font-size: 0.875rem;
    color: #757575;
}

/* Street List */
.street-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.street-col h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.street-col ul {
    padding-left: 20px;
}

.street-col ul li {
    margin-bottom: 5px;
}

/* Important Note */
.important-note {
    background-color: #fff8e1;
    border-left: 4px solid var(--warning-color);
    padding: 15px 20px;
    margin: 30px 0;
}

.important-note h3 {
    margin-bottom: 10px;
    color: var(--warning-color);
}

/* Video Container */
.video-container {
    margin: 30px 0;
}

.video-container h3 {
    margin-bottom: 20px;
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Preparation Tips */
.preparation-tips {
    background-color: #e8f5e9;
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 30px 0;
}

.preparation-tips h3 {
    margin-bottom: 15px;
    color: #2e7d32;
}

.preparation-tips ul {
    padding-left: 20px;
}

.preparation-tips ul li {
    margin-bottom: 10px;
}

/* Info Box */
.info-box {
    background-color: #e3f2fd;
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 30px 0;
}

.info-box h3 {
    margin-bottom: 15px;
    color: var(--info-color);
}

.info-box ul {
    padding-left: 20px;
}

.info-box ul li {
    margin-bottom: 10px;
}

/* About Page Styles */
.about-section {
    padding: 60px 0;
}

.about-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.about-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.mission, .vision {
    padding: 30px;
    border-radius: var(--border-radius);
}

.mission {
    background-color: #e8f5e9;
}

.vision {
    background-color: #e3f2fd;
}

.mission h3, .vision h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.mission h3 {
    color: #2e7d32;
}

.vision h3 {
    color: var(--info-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0 50px;
}

.feature-item {
    padding: 25px;
    border-radius: var(--border-radius);
    background-color: #f5f5f5;
    text-align: center;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.feature-item h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.about-image {
    margin: 40px 0;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.partners-list {
    padding-left: 20px;
    margin-bottom: 40px;
}

.partners-list li {
    margin-bottom: 10px;
    list-style-type: disc;
}

.quote-box {
    background-color: #f5f5f5;
    border-left: 4px solid var(--primary-color);
    padding: 30px;
    margin: 40px 0;
}

.quote-box blockquote {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 15px;
}

.quote-box cite {
    font-style: normal;
    font-weight: 600;
}

.cta-section {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.cta-container h2 {
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.cta-container p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Privacy Policy & Terms Pages */
.privacy-policy, .terms-conditions {
    padding: 60px 0;
}

.policy-container, .terms-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.policy-content, .terms-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
}

.policy-intro, .terms-intro {
    margin-bottom: 40px;
}

.policy-section, .terms-section {
    margin-bottom: 40px;
}

.policy-section:last-child, .terms-section:last-child {
    margin-bottom: 0;
}

.policy-section h2, .terms-section h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.policy-section h3, .terms-section h3 {
    margin: 25px 0 15px;
    font-size: 1.4rem;
}

.policy-section p, .terms-section p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.policy-section ul, .terms-section ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.policy-section ul li, .terms-section ul li {
    margin-bottom: 10px;
    list-style-type: disc;
}

.contact-details {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 20px;
}

.contact-details p {
    margin-bottom: 10px;
}

.contact-details p:last-child {
    margin-bottom: 0;
}

/* Contact Page Styles */
.contact-section {
    padding: 60px 0;
}

.contact-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.contact-info {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.info-card {
    padding: 25px;
    text-align: center;
    background-color: #f5f5f5;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.info-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.info-card p {
    margin-bottom: 5px;
    color: #616161;
}

.social-contact {
    margin-bottom: 40px;
}

.social-contact h3 {
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: var(--dark-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.emergency-contact {
    background-color: #ffebee;
    border-radius: var(--border-radius);
    padding: 25px;
}

.emergency-contact h3 {
    margin-bottom: 15px;
    color: var(--danger-color);
}

.emergency-contact p {
    margin-bottom: 20px;
}

.emergency-contact ul {
    padding-left: 20px;
}

.emergency-contact ul li {
    margin-bottom: 10px;
    list-style-type: disc;
}

.contact-form-container {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
}

.contact-form-container h2 {
    margin-bottom: 20px;
}

.contact-form-container p {
    margin-bottom: 30px;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

.required {
    color: var(--danger-color);
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    margin-top: 10px;
}

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

.map-section {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.map-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.map-container h2 {
    text-align: center;
    margin-bottom: 30px;
}

.map {
    height: 450px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #757575;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #4caf50;
    border-radius: 50%;
    background-color: #e8f5e9;
}

.modal-content h2 {
    margin-bottom: 15px;
}

.modal-content p {
    margin-bottom: 25px;
    color: #616161;
}

/* Map Page Styles */
.emergency-banner {
    background: linear-gradient(rgba(211, 47, 47, 0.8), rgba(211, 47, 47, 0.8)), url('images/1.jpg');
}

.map-controls {
    background-color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.controls-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.search-bar {
    display: flex;
    margin-bottom: 20px;
}

.search-bar input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

.search-bar button {
    padding: 0 15px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.location-btn {
    margin-left: auto;
    padding: 8px 15px;
    background-color: var(--info-color);
    color: white;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    display: flex;
    align-items: center;
}

.location-btn i {
    margin-right: 8px;
}

.location-btn:hover {
    background-color: #1565c0;
}

.map-section.full-height {
    padding: 0;
    height: calc(100vh - var(--header-height));
}

.map-container {
    display: flex;
    height: 100%;
    padding: 0;
}

.map-sidebar {
    width: 350px;
    background-color: white;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-header h3 {
    margin-bottom: 5px;
}

.sidebar-header p {
    color: #757575;
    font-size: 0.875rem;
    margin-bottom: 0;
}

.areas-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.area-item {
    display: flex;
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.area-item:hover, .area-item.active {
    background-color: #f5f5f5;
}

.area-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-right: 15px;
}

.area-info {
    flex: 1;
}

.area-info h4 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.area-address, .area-distance {
    font-size: 0.875rem;
    color: #757575;
    margin-bottom: 5px;
}

.area-facilities {
    display: flex;
    gap: 8px;
}

.facility {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    color: #616161;
    border-radius: 50%;
    font-size: 0.75rem;
}

.map-area {
    flex: 1;
    position: relative;
}

#map {
    width: 100%;
    height: 100%;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 20px;
    max-width: 400px;
    display: none;
}

.selected-area-info h3 {
    margin-bottom: 10px;
}

.area-details {
    color: #757575;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.area-facilities-large {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.facility-item {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
}

.facility-item i {
    margin-right: 8px;
    color: var(--primary-color);
}

.area-capacity {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.area-capacity p {
    margin-bottom: 5px;
}

.area-capacity p:last-child {
    margin-bottom: 0;
}

.area-actions {
    display: flex;
    gap: 10px;
}

.close-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.area-info-section {
    padding: 60px 0;
    background-color: white;
}

.info-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.info-box {
    background-color: #f5f5f5;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

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

.info-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.info-box h3 {
    margin-bottom: 15px;
}

.area-statistics {
    margin: 50px 0;
    text-align: center;
}

.area-statistics h3 {
    margin-bottom: 30px;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    flex: 1;
    min-width: 200px;
    padding: 25px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    color: #616161;
    font-size: 0.95rem;
}

.emergency-tips {
    background-color: #ffebee;
    border-radius: var(--border-radius);
    padding: 30px;
    margin-top: 50px;
}

.emergency-tips h3 {
    margin-bottom: 20px;
    color: var(--danger-color);
}

.emergency-tips ul {
    padding-left: 20px;
}

.emergency-tips ul li {
    margin-bottom: 15px;
    list-style-type: none;
    position: relative;
}

.emergency-tips ul li i {
    color: var(--danger-color);
    margin-right: 10px;
}

/* About Us Page Styles */
.about-us-section {
    padding: 60px 0;
}

.about-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.about-intro {
    margin-bottom: 60px;
}

.about-intro h2 {
    margin-bottom: 25px;
    font-size: 2rem;
}

.about-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    text-align: center;
    padding: 30px;
    background-color: #f5f5f5;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.value-item h3 {
    margin-bottom: 15px;
}

.team-section {
    margin-bottom: 60px;
}

.team-section h2 {
    margin-bottom: 25px;
    font-size: 2rem;
}

.team-section p {
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-member h3 {
    margin: 20px 0 5px;
    font-size: 1.3rem;
}

.team-member p {
    padding: 0 20px;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.team-member p:first-of-type {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
}

.team-member .social-links {
    padding: 0 20px 20px;
    justify-content: center;
}

.about-history {
    margin-bottom: 60px;
}

.about-history h2 {
    margin-bottom: 40px;
    font-size: 2rem;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
}

.timeline-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    z-index: 1;
}

.timeline-content {
    width: 45%;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    margin-top: 10px;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 55%;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.timeline-content h4 {
    margin-bottom: 10px;
}

.partners-section {
    margin-bottom: 60px;
}

.partners-section h2 {
    margin-bottom: 25px;
    font-size: 2rem;
}

.partners-section p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.partner-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border-radius: var(--border-radius);
    font-weight: 600;
    color: #616161;
}

.contact-cta {
    text-align: center;
    padding: 40px;
    background-color: #f5f5f5;
    border-radius: var(--border-radius);
}

.contact-cta h2 {
    margin-bottom: 15px;
    font-size: 2rem;
}

.contact-cta p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Media Queries */
@media (max-width: 1200px) {
    .header-container {
        padding: 0 15px;
    }
    
    .emergency-level {
        display: none;
    }
}

@media (max-width: 992px) {
    :root {
        --header-height: 70px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .post-header h1 {
        font-size: 2rem;
    }
    
    .app-download {
        flex-direction: column;
    }
    
    .app-info {
        margin-bottom: 40px;
        text-align: center;
    }
    
    .app-buttons {
        justify-content: center;
    }
    
    .map-container {
        flex-direction: column;
    }
    
    .map-sidebar {
        width: 100%;
        height: 300px;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .map-section.full-height {
        height: auto;
    }
    
    .map-area {
        height: 500px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 40px;
    }
    
    body {
        font-size: 15px;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        display: none;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 0;
    }
    
    nav ul li a {
        padding: 12px 15px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .score-container {
        flex-direction: column;
    }
    
    .score-chart {
        margin-bottom: 30px;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .post-header h1 {
        font-size: 1.8rem;
    }
    
    .features-container, .cards-container {
        grid-template-columns: 1fr;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        flex-direction: column;
    }
    
    .filter-group label {
        margin-bottom: 5px;
    }
    
    .location-btn {
        margin: 10px 0 0;
        width: 100%;
        justify-content: center;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-content a {
        margin: 10px 0 0;
        display: block;
    }
    
    .post-actions {
        flex-direction: column;
    }
    
    .share-buttons {
        margin-bottom: 20px;
    }
}
