:root {
    --primary-color: #0077B6;
    --secondary-color: #90E0EF;
    --accent-color: #FF5A5F;
    --text-dark: #1D1D1F;
    --text-muted: #86868B;
    --bg-light: #FBFBFD;
    --white: #FFFFFF;
    --border-color: #E2E8F0;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* Accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    z-index: 10000;
    transition: top 0.3s ease;
    text-decoration: none;
    font-weight: 700;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

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

/* Weather Banner */
.weather-banner {
    background: #1e293b;
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.weather-icon {
    width: 20px;
    height: 20px;
    color: var(--secondary-color);
}

.weather-link {
    color: var(--secondary-color);
    text-decoration: underline;
    margin-left: 10px;
}

/* Layout Utilities */
.d-flex { display: flex; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.flex-column { flex-direction: column; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 16px; }
.gap-4 { gap: 24px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-3 { padding-top: 16px; padding-bottom: 16px; }
.py-4 { padding-top: 32px; padding-bottom: 32px; }
.py-5 { padding-top: 64px; padding-bottom: 64px; }
.p-3 { padding: 16px; }
.p-4 { padding: 32px; }
.mt-3 { margin-top: 16px; }
.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.text-white { color: var(--white); }
.text-muted { color: var(--text-muted); }
.text-decoration-none { text-decoration: none; }
.text-capitalize { text-transform: capitalize; }
.list-unstyled { list-style: none; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.w-100 { width: 100%; }
.bg-light { background-color: var(--bg-light); }
.border-bottom { border-bottom: 1px solid var(--border-color); }
.font-weight-bold { font-weight: 700; }
.fs-large { font-size: 1.25rem !important; }

@media (max-width: 768px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .d-md-none { display: block !important; }
    .d-md-block { display: none !important; }
}

/* Header & Nav */
.main-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 1000;
    transition: all 0.3s ease;
}

.sticky-header {
    position: sticky;
    top: 0;
}

.main-header.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow);
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    padding: 8px;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--white);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    visibility: hidden;
}

.mobile-menu.active {
    transform: translateX(0);
    visibility: visible;
}

.btn-close-menu {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
}

/* Overlay */
.mobile-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Breadcrumbs */
.breadcrumb-container {
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
}
.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    padding: 12px 0;
    font-size: 14px;
    color: var(--text-muted);
}
.breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb-item a:hover {
    color: var(--primary-color);
}
.breadcrumb-item::after {
    content: '/';
    margin-left: 12px;
    color: #cbd5e1;
}
.breadcrumb-item:last-child::after {
    content: none;
}
.breadcrumb-item:last-child {
    color: var(--primary-color);
    font-weight: 600;
}

/* Contextual Links */
.content-text p a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    font-weight: 600;
}
.content-text p a:hover {
    text-decoration-thickness: 2px;
}

/* Related Pages */
.related-section {
    padding: 60px 0;
    background: #f8fafc;
    border-top: 1px solid var(--border-color);
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

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

.btn-primary:hover {
    background-color: #005f91;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 182, 0.3);
}

.btn-cta {
    background-color: var(--accent-color);
    color: var(--white);
    animation: pulse 2s infinite;
}

.btn-cta:hover {
    background-color: #e54d52;
    transform: scale(1.05);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 90, 95, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 90, 95, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 90, 95, 0); }
}

/* Hero Section */
.hero, .hero-small {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    overflow: hidden;
}

.hero-title {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle, .lead {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 800px;
}

/* Cards */
.card, .data-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
}

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 12px;
    text-align: center;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
}

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

/* Forms & Visual Cards */
.form-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.step {
    display: none;
    animation: slideIn 0.4s ease-out;
}

.step.active {
    display: block;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.option-card {
    position: relative;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.option-card:hover {
    border-color: var(--primary-color);
    background: #f0f9ff;
    transform: translateY(-2px);
}

.option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.option-card.selected {
    border-color: var(--primary-color);
    background: #f0f9ff;
    box-shadow: 0 0 0 4px rgba(0, 119, 182, 0.1);
}

.option-card .icon-wrapper {
    width: 48px;
    height: 48px;
    background: #f1f5f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.2s;
}

.option-card.selected .icon-wrapper {
    background: var(--primary-color);
    color: var(--white);
}

.option-card .label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

.form-group { margin-bottom: 24px; }
.form-group label { display: block; margin-bottom: 10px; font-weight: 600; font-size: 15px; }
.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-family: inherit;
    font-size: 16px;
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 119, 182, 0.1);
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    padding: 12px 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.urgency-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: #10B981;
    border-radius: 50%;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% { transform: scale(2); opacity: 0; }
}

/* Footer */
.main-footer {
    background-color: #1a202c;
    color: var(--white);
    padding: 64px 0 100px;
}

.main-footer h3, .main-footer h4 { color: var(--white); margin-bottom: 20px; }
.footer-bottom { border-top: 1px solid #2d3748; margin-top: 40px; padding-top: 20px; text-align: center; color: #a0aec0; font-size: 14px; }

/* Reveal Animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Page Specifics */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    border: 1px solid var(--border-color);
}

/* Reviews Section */
.reviews-section {
    padding: 80px 0;
    background: #f8fafc;
}

.review-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.review-stars {
    color: #FBBF24;
    font-size: 20px;
    margin-bottom: 12px;
}

.review-text {
    font-size: 16px;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 24px;
    flex-grow: 1;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 18px;
}

.review-info h4 {
    font-size: 15px;
    margin-bottom: 2px;
}

.review-info span {
    font-size: 13px;
    color: var(--text-muted);
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #DCFCE7;
    color: #166534;
    padding: 2px 8px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 36px; }
    .sticky-cta { bottom: 10px; left: 10px; right: 10px; padding: 10px 16px; border-radius: 16px; }
    .cta-content { flex-direction: column; gap: 10px; text-align: center; }
}