/* Global Styles & Variables */
:root {
    /* Brand Colors */
    --primary-color: #002D62;
    /* Dark Blue - Trust & Professionalism */
    --secondary-color: #FF6B00;
    /* Orange - Energy & Action */
    --accent-color: #28A745;
    /* Green - Eco-friendly */
    --text-color: #333333;
    --light-text: #666666;
    --background-light: #F4F7F6;
    --white: #FFFFFF;

    /* Typography */
    --font-family: 'Inter', sans-serif;
    --heading-font: 'Roboto', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

.btn-primary:hover {
    background-color: #e65c00;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

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

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

.section-subtitle {
    text-align: center;
    color: var(--light-text);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.header-cta {
    display: block;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(rgba(0, 45, 98, 0.7), rgba(0, 45, 98, 0.7)), url('../assets/images/hero-bg.png');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--white);
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Impact / Stats Section */
.impact {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Features Section */
.features {
    padding: var(--section-padding);
    background-color: var(--background-light);
}

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

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: center;
}

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

.feature-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

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

/* How It Works */
.how-it-works {
    padding: var(--section-padding);
}

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

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

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 20px;
}

/* Services Section */
.services {
    padding: var(--section-padding);
    background-color: var(--background-light);
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.service-content {
    padding: 30px;
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-padding);
}

/* Blog Section */
.blog {
    padding: var(--section-padding);
    background-color: var(--background-light);
}

/* App Download Section */
.app-download {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 45, 98, 0.9), rgba(0, 45, 98, 0.9)), url('../assets/images/app-bg.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.download-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.store-btn {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.store-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background-color: var(--background-light);
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

/* Footer Styles */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-col h3 {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-col h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-col ul li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .header-cta {
        display: none;
        /* Hide CTA in header on mobile for simplicity, or move to menu */
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}/* Chatbot Widget Styles */
#chatbot-widget { position: fixed; bottom: 20px; right: 20px; z-index: 9999; }
.chatbot-button { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--secondary-color), #ff8533); color: white; display: flex; align-items: center; justify-content: center; font-size: 30px; cursor: pointer; box-shadow: 0 4px 20px rgba(255, 107, 0, 0.4); transition: all 0.3s ease; }
.chatbot-button:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(255, 107, 0, 0.6); }
.chatbot-window { position: absolute; bottom: 0; right: 0; width: 350px; height: 500px; background: white; border-radius: 15px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); display: flex; flex-direction: column; overflow: hidden; }
.chatbot-header { background: linear-gradient(135deg, var(--primary-color), #003d7a); color: white; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; }
.chatbot-header h3 { color: white; margin: 0; font-size: 1rem; }
.chatbot-close { background: none; border: none; color: white; font-size: 24px; cursor: pointer; padding: 0; line-height: 1; }
.chatbot-messages { flex: 1; overflow-y: auto; padding: 20px; background: #f9f9f9; }
.bot-message, .user-message { margin-bottom: 15px; animation: fadeIn 0.3s ease; }
.bot-message p { background: white; padding: 10px 15px; border-radius: 15px 15px 15px 5px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); display: inline-block; max-width: 80%; }
.user-message { text-align: right; }
.user-message p { background: var(--secondary-color); color: white; padding: 10px 15px; border-radius: 15px 15px 5px 15px; display: inline-block; max-width: 80%; }
.chatbot-input { padding: 15px; background: white; border-top: 1px solid #eee; display: flex; gap: 10px; }
.chatbot-input input { flex: 1; border: 1px solid #ddd; border-radius: 20px; padding: 10px 15px; font-size: 14px; }
.chatbot-input input:focus { outline: none; border-color: var(--secondary-color); }
.chatbot-input button { width: 40px; height: 40px; border-radius: 50%; background: var(--secondary-color); color: white; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.chatbot-input button:hover { background: #e65c00; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
/* Green-O-Meter Marquee */
.green-meter {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 15px 0;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 10;
}
.green-meter-content {
    display: inline-flex;
    animation: marquee 20s linear infinite;
    align-items: center;
}
.meter-item {
    display: inline-flex;
    align-items: center;
    margin-right: 50px;
    font-size: 1.1rem;
    font-weight: 600;
}
.meter-item i { font-size: 1.5rem; margin-right: 10px; }
.meter-item strong { background: rgba(255,255,255,0.2); padding: 2px 10px; border-radius: 15px; margin-left: 8px; }
.green-meter:hover .green-meter-content { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@media (max-width: 768px) { .meter-item { font-size: 0.9rem; margin-right: 30px; } }
