:root {
    /* Color Palette - Premium & Trustworthy */
    --primary: #b91c1c; /* Deep fire red */
    --primary-light: #dc2626;
    --primary-dark: #991b1b;
    --secondary: #1e3a8a; /* Navy blue */
    --secondary-light: #2563eb;
    
    --bg-main: #fafafa;
    --bg-alt: #f1f5f9;
    --bg-dark: #0f172a;
    
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    
    /* Layout */
    --container-width: 1200px;
    --section-spacing: 6rem;
    
    /* Effects */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px rgba(185, 28, 28, 0.3);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    line-height: 1.2;
    color: var(--bg-dark);
}

p {
    margin-bottom: 1.5rem;
}

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

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--section-spacing) 0;
}

.bg-alt {
    background-color: var(--bg-alt);
}

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mt-2 {
    margin-top: 2rem;
}

.grid {
    display: grid;
    gap: 3rem;
}

.grid-2-col {
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

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

/* Navigation - Glassmorphism */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1001;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 8px;
    position: relative;
    box-shadow: var(--shadow-sm);
}
.logo-icon.white {
    background: linear-gradient(135deg, #fff, #e2e8f0);
}
.logo-icon::after {
    content: '';
    position: absolute;
    top: 25%;
    left: 25%;
    width: 50%;
    height: 50%;
    background: white;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}
.logo-icon.white::after {
    background: var(--primary);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-primary {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.navbar.scrolled .logo-primary, .scrolled-override .logo-primary {
    color: var(--bg-dark);
}
.text-white {
    color: var(--text-light) !important;
}

.logo-secondary {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.navbar.scrolled .logo-secondary, .scrolled-override .logo-secondary {
    color: var(--text-muted);
}

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

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    position: relative;
}

.navbar.scrolled .nav-link, .scrolled-override .nav-link {
    color: var(--text-main);
}

.nav-link:not(.btn-solid)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:not(.btn-solid):hover::after {
    width: 100%;
}

.navbar.scrolled .nav-link:not(.btn-solid):hover {
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: white;
    transition: var(--transition);
}

.navbar.scrolled .mobile-menu-toggle span, .scrolled-override .mobile-menu-toggle span {
    background-color: var(--bg-dark);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    transition: var(--transition);
    font-family: 'Oswald', sans-serif;
}

.btn-primary, .btn-solid {
    background-color: var(--primary);
    color: white !important;
    border: 2px solid var(--primary);
    box-shadow: 0 4px 14px 0 rgba(185, 28, 28, 0.39);
}

.btn-primary:hover, .btn-solid:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(185, 28, 28, 0.5);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.7);
}
.navbar.scrolled .btn-outline {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background-color: white;
    color: var(--bg-dark);
}
.about .btn-outline, .coverage .btn-outline, .notices .btn-outline {
    color: var(--primary);
    border-color: var(--primary);
}
.about .btn-outline:hover, .coverage .btn-outline:hover, .notices .btn-outline:hover {
    background-color: var(--primary);
    color: white;
}


/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--text-light);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/hero-bg.png'); /* Will be set to webp after generation */
    background-color: var(--bg-dark); /* Fallback */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
    transform: scale(1.05); /* Slight scale for potential parallax/animation */
    transition: transform 10s ease-out;
}
.hero:hover .hero-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(30, 58, 138, 0.5) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero-tagline {
    display: inline-block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #e2e8f0;
    margin-bottom: 1.5rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    animation-delay: var(--delay);
}

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

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: white;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite cubic-bezier(0.15, 0.41, 0.69, 0.94);
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    50% { top: 18px; opacity: 0; }
    100% { top: 6px; opacity: 0; }
}

/* Section Shared */
.section-badge {
    color: var(--primary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.title-divider {
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    margin-bottom: 2rem;
    border-radius: 2px;
}

/* About Section */
.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: bold;
}

.premium-image-card {
    background: linear-gradient(145deg, var(--bg-dark), var(--secondary));
    border-radius: 1rem;
    padding: 3rem 2rem;
    position: relative;
    color: white;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
}

.premium-image-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M0 0l100 100M100 0L0 100" stroke="rgba(255,255,255,0.05)" stroke-width="2"/></svg>') center/50px 50px;
    z-index: 1;
}

.card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(185, 28, 28, 0.5) 0%, transparent 70%);
    z-index: 2;
}

.card-content {
    position: relative;
    z-index: 3;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.card-content h3 {
    color: white;
    margin-bottom: 0.5rem;
}
.card-content p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

/* Coverage Section */
.coverage-map-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    border: 4px solid white;
}
.map-placeholder {
    display: inline-block;
    position: relative;
    border-radius: 8px;
    background: #e2e8f0;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 1/1; /* Square aspect ratio matching map */
    margin: 0 auto;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.map-fallback {
    display: flex;
    display: none; /* hidden if image loads */
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 2rem;
    color: var(--text-muted);
    font-weight: 500;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
}

/* Services Section */
.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--primary);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    display: inline-block;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Notices Section */
.notice-item {
    display: flex;
    gap: 1.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.notice-item:hover {
    box-shadow: var(--shadow-md);
    border-left-color: var(--primary);
    transform: translateX(5px);
}

.notice-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    padding: 1rem;
    border-radius: 0.5rem;
    min-width: 80px;
}

.notice-date .month {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
}

.notice-date .day {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    color: var(--bg-dark);
}

.notice-content h4 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.notice-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.notice-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
}
.notice-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: var(--transition);
}
.notice-link:hover::after {
    transform: translateX(5px);
}

/* Success Stories Section */
.success-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 4px solid var(--primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.success-card::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(185, 28, 28, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

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

.success-stat {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.success-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.success-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: transparent;
    border: none;
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--bg-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-item.active .faq-question {
    color: var(--primary);
    background-color: #f8fafc;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: white;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    margin-bottom: 0;
    color: var(--text-muted);
}
.faq-item.active {
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary);
}


/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 5rem 0 2rem;
    border-top: 4px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.brand-col .footer-desc {
    color: #cbd5e1;
    margin-top: 1.5rem;
    max-width: 300px;
}

.footer-title {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
    color: #cbd5e1;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.scrolled-into-view {
    opacity: 1;
    transform: translateY(0);
}

.card-stagger-1 { transition-delay: 0.1s; }
.card-stagger-2 { transition-delay: 0.3s; }
.card-stagger-3 { transition-delay: 0.5s; }

/* Responsive */
@media (max-width: 992px) {
    .grid-3-col {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 4rem;
    }
    .grid-2-col, .grid-3-col {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.75rem;
    }
    .hero-actions {
        flex-direction: column;
    }
    .btn {
        width: 100%;
    }
    
    /* Mobile Nav */
    .mobile-menu-toggle {
        display: flex;
    }
    .nav-links {
        position: fixed;
        top: -100vh;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
    }
    .nav-links.active {
        top: 0;
    }
    .nav-link {
        font-size: 1.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
