/* =====================================================
   iMSafe Disaster Monitoring System - Landing Page Styles
   ===================================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #334155;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.88) 100%),
                url('../images/dashboard.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center top;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: #64748b;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #334155;
    border: 2px solid #e2e8f0;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    color: #1d4ed8;
}

.btn-emergency {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-emergency:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.btn-login {
    color: #3b82f6 !important;
    font-weight: 500;
    font-size: 1.1rem;
}

.btn-logout {
    background-color: #dc3545;
    color: #ffffff !important;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-logout:hover,
.btn-logout:focus {
    background-color: #c82333;
    transform: translateY(-2px);
    color: #ffffff !important;
}

.btn-register {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

.nav-logo i {
    color: #3b82f6;
    font-size: 1.75rem;
}

.nav-logo-img {
    width: 40px !important;
    height: 40px !important;
    object-fit: contain;
    display: block;
    max-width: 40px !important;
    max-height: 40px !important;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-welcome {
    color: #667eea;
    font-weight: 500;
    display: flex;
    align-items: center;
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.nav-welcome::before {
    content: "👋";
    margin-right: 0.5rem;
}

.nav-reporter-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem 0.35rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(59, 130, 246, 0.25);
    background: rgba(59, 130, 246, 0.08);
    color: #1e3a8a;
    font-size: 1.1rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    position: relative;
}

.nav-reporter-status:hover,
.nav-reporter-status:focus-within {
    box-shadow: 0 8px 18px rgba(59, 130, 246, 0.18);
    transform: translateY(-1px);
}

.nav-reporter-status-help {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(248, 113, 113, 0.12);
    color: #b91c1c;
}

.nav-reporter-status i {
    font-size: 1.1rem;
}

.nav-status-form {
    display: inline-flex;
    align-items: center;
}

.nav-status-control {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-status-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: none;
    background: transparent;
    padding: 0;
    font: inherit;
    font-weight: 600;
    font-size: 1.1rem;
    color: inherit;
    cursor: pointer;
}

.nav-status-trigger i {
    font-size: 0.85rem;
    transition: transform 0.2s ease;
    color: inherit;
}

.nav-status-trigger[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.nav-status-trigger-fine {
    color: #1e3a8a;
}

.nav-status-trigger-help {
    color: #b91c1c;
}

.nav-status-dropdown {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    min-width: 220px;
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.15);
    border: 1px solid rgba(226, 232, 240, 0.7);
    padding: 0.5rem 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1002;
}

.nav-status-dropdown-fine {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.18);
}

.nav-status-dropdown-help {
    border-color: rgba(248, 113, 113, 0.35);
    box-shadow: 0 12px 35px rgba(248, 113, 113, 0.22);
}

.nav-status-dropdown.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-status-option {
    width: 100%;
    border: none;
    background: transparent;
    padding: 0.65rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    text-align: left;
    color: #1e3a8a;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-status-option i {
    font-size: 1rem;
}

.nav-status-option:hover,
.nav-status-option:focus {
    background: rgba(59, 130, 246, 0.08);
    outline: none;
}

.nav-status-option.active,
.nav-status-option.active:hover,
.nav-status-option.active:focus {
    background: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
}

.nav-status-option.active i {
    color: #1d4ed8;
}

.nav-status-option.active-help,
.nav-status-option.active-help:hover,
.nav-status-option.active-help:focus {
    background: rgba(248, 113, 113, 0.16);
    color: #b91c1c;
}

.nav-status-option.active-help i {
    color: #dc2626;
}

.nav-status-option-fine {
    color: #1e3a8a;
}

.nav-status-option-fine i {
    color: #3b82f6;
}

.nav-status-option-help {
    color: #b91c1c;
}

.nav-status-option-help i {
    color: #ef4444;
}

.nav-status-dropdown .nav-status-option-help:hover,
.nav-status-dropdown .nav-status-option-help:focus {
    background: rgba(248, 113, 113, 0.12);
    color: #b91c1c;
}

.nav-status-dropdown .nav-status-option-help:hover i,
.nav-status-dropdown .nav-status-option-help:focus i {
    color: #dc2626;
}

.nav-status-dropdown .nav-status-option-fine:hover i,
.nav-status-dropdown .nav-status-option-fine:focus i {
    color: #1d4ed8;
}

.nav-status-select-fallback {
    margin-top: 0.5rem;
    border-radius: 0.6rem;
    border: 1px solid rgba(148, 163, 184, 0.6);
    padding: 0.35rem 0.75rem;
    font-size: 1rem;
    font-weight: 600;
}

.nav-status-select-fine {
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="%231e3a8a" viewBox="0 0 20 20"%3E%3Cpath fill-rule="evenodd" d="M10 3a1 1 0 01.894.553l2 4A1 1 0 0112 9H8a1 1 0 01-.894-1.447l2-4A1 1 0 0110 3zm-3.707 9.293a1 1 0 011.414 0L10 14.586l2.293-2.293a1 1 0 111.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z" clip-rule="evenodd"/%3E%3C/svg%3E');
}

.nav-status-select-help {
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="%23b91c1c" viewBox="0 0 20 20"%3E%3Cpath fill-rule="evenodd" d="M10 3a1 1 0 01.894.553l2 4A1 1 0 0112 9H8a1 1 0 01-.894-1.447l2-4A1 1 0 0110 3zm-3.707 9.293a1 1 0 011.414 0L10 14.586l2.293-2.293a1 1 0 111.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z" clip-rule="evenodd"/%3E%3C/svg%3E');
}

.nav-status-submit {
    margin-left: 0.5rem;
    padding: 0.35rem 0.75rem;
    border-radius: 0.5rem;
    border: none;
    background: #3b82f6;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    font-weight: 600;
    color: #64748b;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-dropdown-toggle i {
    font-size: 1.1rem;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus {
    color: #3b82f6;
    outline: none;
}

.nav-dropdown-toggle .chevron {
    transition: transform 0.2s ease;
    font-size: 0.9rem;
}

.nav-dropdown.open .nav-dropdown-toggle .chevron {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 240px;
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.15);
    padding: 0.75rem 0;
    border: 1px solid rgba(226, 232, 240, 0.7);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1001;
}

.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-dropdown-header {
    padding: 0.25rem 1.25rem 0.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    font-weight: 700;
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1.25rem;
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    font-size: 1.1rem;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-dropdown-item i {
    color: #3b82f6;
    font-size: 1.1rem;
}

.nav-dropdown-item:hover,
.nav-dropdown-item:focus {
    background: rgba(59, 130, 246, 0.08);
    color: #1d4ed8;
    outline: none;
}

.nav-dropdown-footer {
    padding: 0.5rem 1.25rem 0.75rem;
    border-top: 1px solid rgba(226, 232, 240, 0.7);
    font-size: 1rem;
    color: #64748b;
}

.nav-dropdown-divider {
    height: 1px;
    margin: 0.4rem 1.25rem;
    background: rgba(226, 232, 240, 0.9);
}

.nav-dropdown-item-danger {
    color: #b91c1c;
}

.nav-dropdown-item-danger i {
    color: #dc2626;
}

.nav-dropdown-item-danger:hover,
.nav-dropdown-item-danger:focus {
    background: rgba(248, 113, 113, 0.12);
    color: #991b1b;
}

.nav-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #3b82f6;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 1px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #334155;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding-top: 7rem;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-top: 1rem;
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.hero-description {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3b82f6;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    align-self: flex-start;
}

.dashboard-preview {
    position: relative;
    max-width: 500px;
    width: 100%;
}

.dashboard-image {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    background-color: #f1f5f9;
    background-image: url('../images/dashboard2.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    min-height: 320px;
}

.floating-cards {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.alert-card,
.status-card,
.response-card {
    position: absolute;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    animation: float 3s ease-in-out infinite;
}

.alert-card {
    top: 10%;
    right: -20px;
    color: #ef4444;
    animation-delay: 0s;
}

.status-card {
    bottom: 30%;
    left: -30px;
    color: #10b981;
    animation-delay: 1s;
}

.response-card {
    top: 50%;
    right: -40px;
    color: #3b82f6;
    animation-delay: 2s;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(139, 69, 19, 0.02) 100%);
}

.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.1) 0%, transparent 100%),
                      radial-gradient(circle at 75% 75%, rgba(139, 69, 19, 0.05) 0%, transparent 100%);
}

/* Emergency Report Section */
.emergency-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.emergency-header {
    text-align: center;
    margin-bottom: 3rem;
}

.emergency-header h2 {
    color: white;
    margin-bottom: 1rem;
}

.emergency-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

.emergency-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.emergency-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.2);
}

/* Impact Assessment Optgroups */
.form-group select optgroup {
    font-weight: bold;
    padding: 0.5rem 0;
}

.form-group select option {
    padding: 0.5rem;
    color: #333;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.checkbox-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.checkbox-item input[type="checkbox"]:checked + label,
.checkbox-item:has(input[type="checkbox"]:checked) {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
    color: #3b82f6;
}

.emergency-note {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    border-left: 4px solid rgba(255, 255, 255, 0.5);
}

.emergency-note p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.875rem;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
    color: #1e293b;
}

.section-header p {
    font-size: 1.2rem;
    color: #64748b;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #1e293b;
}

.feature-card p {
    margin-bottom: 1.5rem;
    color: #64748b;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.5rem 0;
    color: #64748b;
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Response System Section */
.response-system {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.response-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.timeline-item {
    text-align: center;
    position: relative;
}

.timeline-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.3);
}

.timeline-content h3 {
    margin-bottom: 1rem;
    color: #1e293b;
}

.timeline-content p {
    color: #64748b;
    margin-bottom: 1rem;
}

.timeline-time {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about-feature i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.about-feature h4 {
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.about-feature p {
    color: #64748b;
    margin: 0;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 400px;
    height: 300px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    text-align: center;
    border: 2px dashed #cbd5e1;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e293b, #334155);
    color: white;
}

.contact .section-header h2,
.contact .section-header p {
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.contact-item h4 {
    margin-bottom: 0.25rem;
    color: white;
}

.contact-item p {
    color: #cbd5e1;
    margin: 0;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 3rem 0 1rem;
    font-size: 1.05rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
    font-size: 1.25rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: #3b82f6;
}

.footer-section p {
    color: #94a3b8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.05rem;
}

.footer-section ul li a:hover {
    color: #3b82f6;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #3b82f6;
    color: white;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #64748b;
    margin: 0;
    font-size: 1.05rem;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        background-attachment: scroll;
        background-position: center top;
    }

    .hero {
        padding-top: 5.4rem;
        padding-bottom: 2.25rem;
        min-height: auto;
    }

    .nav-container {
        padding: 0.75rem 1.5rem;
    }

    .nav-logo {
        font-size: 1.2rem;
    }

    .nav-logo i {
        font-size: 1.45rem;
    }

    .nav-menu {
        gap: 0.75rem;
    }

    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 1.5rem;
        gap: 0.85rem;
        border-top: 1px solid rgba(226, 232, 240, 0.5);
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-toggle {
        width: 100%;
        justify-content: center;
        font-size: 1.1rem;
        padding: 0.75rem 1rem;
        border: 1px solid rgba(226, 232, 240, 0.8);
        border-radius: 0.75rem;
    }
    
    .nav-dropdown.open .nav-dropdown-toggle {
        border-color: #3b82f6;
        color: #1d4ed8;
    }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        width: 100%;
        margin-top: 0.75rem;
        border-radius: 0.75rem;
        box-shadow: 0 12px 35px rgba(15, 23, 42, 0.12);
    }

    .nav-dropdown:not(.open) .nav-dropdown-menu {
        display: none;
    }

    /* Mobile: keep the reporter status dropdown out of the nav flow unless explicitly opened.
       This prevents the active status option from appearing as a full-width colored block
       inside the mobile nav when the dropdown is closed. */
    .nav-menu .nav-status-dropdown {
        display: none;
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0;
        min-width: 100%;
    }

    .nav-menu .nav-status-dropdown.open {
        display: block;
        background: #ffffff;
        border-radius: 0.75rem;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
        border: 1px solid rgba(226, 232, 240, 0.8);
        padding: 0.5rem;
        margin-top: 0.75rem;
        width: 100%;
    }

    .nav-menu .nav-status-dropdown.open .nav-status-option {
        padding: 0.85rem 1rem;
        border-radius: 0.5rem;
        font-size: 1rem;
        margin-bottom: 0.35rem;
    }

    .nav-menu .nav-status-dropdown.open .nav-status-option:last-child {
        margin-bottom: 0;
    }

    .nav-menu .nav-status-dropdown.open .nav-status-option:hover,
    .nav-menu .nav-status-dropdown.open .nav-status-option:focus {
        background: rgba(59, 130, 246, 0.1);
        transform: none;
    }

    .nav-menu .nav-status-dropdown.open .nav-status-option-help:hover,
    .nav-menu .nav-status-dropdown.open .nav-status-option-help:focus {
        background: rgba(248, 113, 113, 0.1);
    }

    .nav-menu .nav-status-dropdown.open .nav-status-option.active {
        background: rgba(59, 130, 246, 0.12);
        font-weight: 700;
    }

    .nav-menu .nav-status-dropdown.open .nav-status-option.active-help {
        background: rgba(248, 113, 113, 0.15);
        font-weight: 700;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        padding: 0 1.4rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 1.4rem;
        text-align: center;
    }

    .hero-text {
        margin: 0 auto;
    }

    .hero-title {
        font-size: clamp(1.9rem, 6vw, 2.35rem);
        line-height: 1.18;
        margin-bottom: 1.1rem;
    }

    .hero-description {
        font-size: 0.98rem;
        margin-bottom: 1.55rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 0;
        justify-content: center;
        align-items: center;
        align-self: center;
    }

    .dashboard-preview {
        max-width: 330px;
        margin: 0 auto;
    }

    .dashboard-image {
        min-height: 230px;
    }

    .floating-cards {
        transform: scale(1);
        transform-origin: center center;
    }

    .alert-card,
    .status-card,
    .response-card {
        padding: 0.75rem 1.2rem;
        font-size: 0.9rem;
        gap: 0.6rem;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        font-weight: 600;
    }

    .alert-card i,
    .status-card i,
    .response-card i {
        font-size: 1.1rem;
    }

    .alert-card {
        top: -5% !important;
        right: 5% !important;
    }

    .status-card {
        top: 42% !important;
        left: -8% !important;
    }

    .response-card {
        top: 42% !important;
        right: -8% !important;
    }
    
    .hero-stats {
        justify-content: center;
        flex-direction: row;
        align-items: center;
        gap: 2rem;
        margin-top: 1.4rem;
    }

    .stat-number {
        font-size: 1.75rem;
        line-height: 1.1;
    }

    .stat-label {
        font-size: 0.88rem;
        letter-spacing: 0.01em;
    }

    .btn-emergency-large {
        width: 100%;
        justify-content: center;
        padding: 1.1rem 1.3rem;
        gap: 0.6rem;
        box-shadow: 0 6px 20px rgba(220, 38, 38, 0.28);
        border-radius: 12px;
    }

    .btn-emergency-large i {
        font-size: 1.1rem;
    }

    .btn-emergency-large .btn-text {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        width: 100%;
    }

    .btn-emergency-large .btn-text strong {
        font-size: 1.15rem;
        line-height: 1.15;
        white-space: normal;
    }

    .btn-emergency-large .btn-text small {
        font-size: 0.82rem;
        line-height: 1.3;
        white-space: normal;
        word-wrap: break-word;
    }

    .btn-emergency-large i:last-child {
        display: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .checkbox-item {
        font-size: 0.85rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .response-timeline {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding-top: 5.25rem;
    }
    
    .nav-container {
        padding: 0.6rem 0.9rem;
    }

    .nav-logo span {
        font-size: 1.1rem;
    }

    .nav-menu {
        top: 58px;
        padding: 1.1rem 1.4rem;
        gap: 0.7rem;
    }

    .nav-link,
    .nav-dropdown-toggle {
        font-size: 0.98rem;
    }

    .nav-reporter-status {
        width: 100%;
        justify-content: flex-start;
        padding: 0.75rem 1rem;
        border-radius: 0.75rem;
        background: rgba(255, 255, 255, 0.95);
        border: 1.5px solid rgba(226, 232, 240, 0.8);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        gap: 0.75rem;
        transition: all 0.2s ease;
    }

    .nav-reporter-status:hover,
    .nav-reporter-status:focus-within {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-color: rgba(59, 130, 246, 0.4);
    }

    .nav-reporter-status-help {
        background: rgba(254, 242, 242, 0.95);
        border-color: rgba(248, 113, 113, 0.4);
    }

    .nav-reporter-status-help:hover,
    .nav-reporter-status-help:focus-within {
        border-color: rgba(239, 68, 68, 0.5);
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
    }

    .nav-reporter-status-fine {
        background: rgba(239, 246, 255, 0.95);
        border-color: rgba(147, 197, 253, 0.4);
    }

    .nav-reporter-status > i {
        font-size: 1.15rem;
        flex-shrink: 0;
    }

    .nav-status-form {
        flex: 1;
        display: flex;
        align-items: center;
    }

    .nav-status-control {
        width: 100%;
    }

    .nav-status-trigger {
        font-size: 1rem;
        width: 100%;
        justify-content: space-between;
        padding: 0;
    }

    .nav-status-trigger-label {
        flex: 1;
        text-align: left;
    }

    .nav-status-trigger > i.fa-chevron-down {
        font-size: 0.85rem;
        margin-left: 0.5rem;
    }
    
    .hero-container {
        padding: 0 1.1rem;
    }

    .hero-content {
        gap: 1.25rem;
    }

    .hero-title {
        font-size: 1.65rem;
        margin-bottom: 0.85rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
        line-height: 1.45;
    }

    .hero-stats {
        gap: 1.5rem;
        margin-top: 1rem;
        flex-direction: row;
    }

    .stat-item {
        padding: 0.65rem 1rem;
    }

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

    .stat-label {
        font-size: 0.82rem;
    }

    .dashboard-preview {
        max-width: 280px;
    }

    .dashboard-image {
        min-height: 190px;
    }

    .floating-cards {
        transform: scale(0.8);
        transform-origin: center center;
    }

    .alert-card,
    .status-card,
    .response-card {
        padding: 0.7rem 1.05rem;
        font-size: 0.85rem;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
        font-weight: 600;
    }

    .alert-card i,
    .status-card i,
    .response-card i {
        font-size: 1rem;
    }

    .alert-card {
        top: -8% !important;
        right: 8% !important;
    }

    .status-card {
        top: 50% !important;
        left: -40% !important;
    }

    .response-card {
        top: 50% !important;
        right: -40% !important;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-buttons {
        width: 100%;
        flex-direction: column;
        gap: 0.65rem;
    }

    .btn-emergency-large {
        padding: 0.95rem 1.1rem;
        gap: 0.5rem;
    }

    .btn-emergency-large .btn-text strong {
        font-size: 1.08rem;
    }

    .btn-emergency-large .btn-text small {
        font-size: 0.78rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* Emergency Page Styles */
.emergency-page {
    min-height: 100vh;
    padding: 80px 0 40px;
    background: linear-gradient(135deg, #f8faff 0%, #e6f3ff 100%);
}

.emergency-header {
    text-align: center;
    margin-bottom: 3rem;
}

.emergency-header h1 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
}

.emergency-header h1 i {
    color: #ef4444;
    margin-right: 0.75rem;
}

.emergency-header p {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Emergency CTA Section */
.emergency-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #fee2e2 0%, #fef3c7 50%, #dbeafe 100%);
    position: relative;
    overflow: hidden;
}

.emergency-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23000" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%23000" opacity="0.05"/><circle cx="50" cy="10" r="1" fill="%23000" opacity="0.05"/><circle cx="10" cy="60" r="1" fill="%23000" opacity="0.05"/><circle cx="90" cy="40" r="1" fill="%23000" opacity="0.05"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

.emergency-cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.emergency-cta-text h2 {
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.emergency-cta-text h2 i {
    color: #ef4444;
    margin-right: 0.75rem;
}

.emergency-cta-text p {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.emergency-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.emergency-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.emergency-feature:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.emergency-feature i {
    color: #3b82f6;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.emergency-feature span {
    font-weight: 500;
    color: #1e293b;
}

.emergency-cta-action {
    text-align: center;
}

.btn-emergency-large {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 50%, #991b1b 100%);
    color: white;
    text-decoration: none;
    padding: 2rem 3rem;
    border-radius: 16px;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-emergency-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-emergency-large:hover::before {
    left: 100%;
}

.btn-emergency-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(220, 38, 38, 0.4);
}

.btn-emergency-large:active {
    transform: translateY(-1px);
}

.btn-emergency-large .btn-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.btn-emergency-large .btn-text strong {
    font-size: 1.4rem;
}

.btn-emergency-large .btn-text small {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 400;
}

.emergency-contact {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.emergency-contact p {
    color: #475569;
    font-weight: 500;
    margin-bottom: 1rem;
}

.emergency-hotline {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #059669;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.emergency-hotline:hover {
    background: #047857;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
}

.emergency-hotline i {
    font-size: 1.25rem;
}

/* Responsive Design for Emergency CTA */
@media (max-width: 768px) {
    .emergency-cta {
        padding: 60px 0;
    }
    
    .emergency-cta-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .emergency-features {
        grid-template-columns: 1fr;
    }
    
    .btn-emergency-large {
        padding: 1.2rem 1.4rem;
        font-size: 1.05rem;
        gap: 0.7rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .btn-emergency-large .btn-text strong {
        font-size: 1.18rem;
    }

    .btn-emergency-large .btn-text small {
        font-size: 0.92rem;
    }

    .btn-emergency-large i:last-child {
        display: none;
    }
}

@media (max-width: 480px) {
    .emergency-cta-content {
        gap: 2rem;
    }
    
    .btn-emergency-large {
        padding: 1rem 1.15rem;
        font-size: 0.96rem;
    }

    .btn-emergency-large .btn-text strong {
        font-size: 1.1rem;
    }

    .btn-emergency-large .btn-text small {
        font-size: 0.88rem;
    }
    
    .emergency-hotline {
        padding: 0.75rem 1.5rem;
    }
}