/* --- General Styles & Variables --- */
:root {
    --primary-green: #00C853;
    --light-green-bg: #F0FAF6;
    --dark-text: #0F172A;
    --light-text: #64748B;
    --white: #FFFFFF;
    --border-color: #E2E8F0;
    --card-shadow: 0px 8px 24px rgba(149, 157, 165, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--light-green-bg);
    color: var(--dark-text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

h1, h2, h3 {
    font-weight: 800;
    line-height: 1.2;
}

h1 { font-size: 4.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.25rem; }

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

.btn-primary:hover {
    background-color: #00b371;
}

.btn-outline {
    background-color: var(--white);
    color: var(--dark-text);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background-color: #f8f8f8;
}

.btn-light {
    background-color: var(--white);
    color: var(--dark-text);
    padding: 16px 32px;
    border-radius: 99px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.sub-heading {
    color: var(--light-text);
}

/* --- Header --- */
.header {
    padding: 20px 0;
    background-color: var(--light-green-bg);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 700;
}

.nav-actions {
    display: flex;
    gap: 10px;
}

/* --- Hero Section --- */
.hero {
    padding: 80px 0;
    text-align: center;
    background-image: url('images/hero-splash.png');
    background-position: center 80px;
    background-repeat: no-repeat;
    background-size: 450px;
}

.hero-content h1 {
    margin-bottom: 20px;
}

.hero-content p {
    max-width: 500px;
    margin: 0 auto 30px;
    color: var(--light-text);
    font-size: 1.1rem;
}

/* --- Why Us Section --- */
.why-us {
    padding: 80px 0;
    background-color: var(--light-green-bg);
}

.why-us .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #D9F9E6;
    padding: 60px;
    border-radius: 24px;
}

.why-us-content {
    max-width: 50%;
}

.why-us-content h2 {
    margin-bottom: 20px;
}

.why-us-content p {
    color: var(--dark-text);
    font-size: 1.1rem;
}

.why-us-illustration {
    max-width: 200px;
}

/* --- Features Section --- */
.features {
    padding: 60px 0;
    background-color: var(--light-green-bg);
}

.features .container {
    display: flex;
    justify-content: space-around;
    text-align: left;
    gap: 30px;
}

.feature-item {
    max-width: 30%;
}

.feature-number {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    line-height: 50px;
    text-align: center;
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.feature-item p {
    color: var(--dark-text);
}

/* --- How it Works Section --- */
.how-it-works {
    padding: 80px 0;
    background-color: var(--white);
    border-radius: 30px;
}

.how-it-works-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    text-align: left;
    box-shadow: var(--card-shadow);
}

.card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    color: var(--light-text);
}

/* --- CTA Smarter Rides --- */
.cta-smarter-rides {
    margin: 40px 20px;
    border-radius: 24px;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.cta-smarter-rides .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cta-content {
    max-width: 50%;
    z-index: 2;
}

.cta-content h2 {
    font-size: 3rem;
}

.cta-content p {
    margin: 20px 0 30px;
    max-width: 400px;
}

.cta-image {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    width: auto;
    z-index: 1;
}

/* --- Stats Section --- */
.stats {
    padding: 80px 0;
    background-color: var(--white);
}

.stats-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

.stats-header p {
    color: var(--light-text);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: stretch;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-green);
    display: block;
}

.stat-label {
    color: var(--light-text);
}

.stat-placeholder {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--card-shadow);
    color: var(--light-text);
}

/* --- Impact Section --- */
.impact {
    padding: 100px 0;
    background-color: var(--primary-green);
    color: var(--white);
    text-align: center;
    background-image: url('images/impact-wave.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
}

.impact h2 {
    margin-bottom: 20px;
}

.impact p {
    max-width: 500px;
    margin: 0 auto 30px;
}

/* --- Blog Section --- */
.blog {
    padding: 80px 0;
    background-color: var(--white);
    border-radius: 0 0 30px 30px;
    margin-top: -20px; /* To overlap with the wave */
    position: relative;
    z-index: 2;
}

.tag {
    color: var(--primary-green);
    font-weight: 700;
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.post-card img {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 15px;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.post-card h3 {
    margin-bottom: 10px;
}

.post-date {
    color: var(--light-text);
    font-size: 0.9rem;
}

/* --- Footer --- */
.footer {
    background-color: #F8FAFC;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: 700;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--light-text);
}

.app-downloads {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.app-downloads img {
    width: 150px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--light-text);
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: var(--light-text);
    font-size: 1.2rem;
}