/* IMPORT GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700;800&family=Open+Sans:wght@400;600&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.7;
    color: #444;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* NAVIGATION */
.navbar {
    background-color: #111;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .logo {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #aaa;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    padding-bottom: 5px;
}

.nav-links a:hover, .nav-links a.active {
    color: #fff;
    border-bottom: 3px solid #4CAF50; /* Green accent for nav */
}

/* HERO SECTION */
.hero {
    /* Uses a linear gradient to darken the image for text readability */
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://via.placeholder.com/1920x1080/444/666?text=Fairfield+Clean+Air+Hero'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

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

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(0,0,0,0.6);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #eee;
    font-weight: 400;
}

/* BUTTONS */
.btn {
    padding: 14px 35px;
    background-color: #2E7D32;
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px; /* Rounded pill shape */
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.4);
}

.btn:hover {
    background-color: #1b5e20;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.6);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid white;
    box-shadow: none;
}

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

/* SECTIONS & TYPOGRAPHY */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 20px;
}

.bg-light { background-color: #f8f9fa; }
.bg-white { background-color: #ffffff; }
.bg-dark { background-color: #e9ecef; }

h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #222;
    text-align: center;
    font-weight: 700;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
    color: #666;
    font-size: 1.1rem;
}

/* STAT CARDS (The Negative Data) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.stat-card {
    background: white;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 6px solid #a83232; /* UNIFIED NEGATIVE COLOR */
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.stat-card h3 {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 15px;
    font-weight: 600;
}

.stat-card .number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #a83232; 
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-card .unit {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1.5px;
}

/* QUOTE BOX */
.quote-box {
    background-color: #fff;
    border-left: 6px solid #a83232;
    margin: 60px auto 0 auto;
    padding: 40px;
    font-style: italic;
    font-size: 1.2rem;
    color: #333;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-radius: 0 10px 10px 0;
    max-width: 900px;
}

/* ACTION CARDS (For Help Page) */
.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.action-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 6px solid #2E7D32; /* Green for Positive Action */
}

.action-card h3 {
    text-align: left;
    color: #2E7D32;
    margin-bottom: 15px;
}

/* FORMS (For Contact Page) */
.contact-wrapper {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    transition: border 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #2E7D32;
    outline: none;
}

/* FOOTER */
footer {
    margin-top: auto;
    background-color: #111;
    color: #666;
    text-align: center;
    padding: 30px;
    font-size: 0.9rem;
    border-top: 3px solid #2E7D32;
}