:root {
    --primary-color: #00D084;
    /* Vibrant Green */
    --secondary-color: #003366;
    /* Deep Blue/Black */
    --accent-color: #B8E986;
    /* Light Green */
    --text-light: #F4F7F6;
    --text-dark: #1A202C;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--text-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
}

p {
    font-weight: 300;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-dark);
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 208, 132, 0.4);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 208, 132, 0.6);
}

/* Header */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
}

.logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 50px;
    background: radial-gradient(circle at top right, #1a2b3c, #0d1218 60%);
    overflow: hidden;
}

.video-bg-overlay {
    display: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.hero-text {
    z-index: 2;
    text-align: left;
}

.hero-video {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background: #000;
}

.hero-video iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    display: block;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: var(--text-light);
    text-shadow: none;
}

.hero h2 {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 300;
    color: #cbd5e0;
    max-width: 90%;
}

.co2-counter {
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    max-width: max-content;
}

.counter-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    font-variant-numeric: tabular-nums;
}

.co2-counter p {
    margin: 0;
    font-size: 0.8rem;
    color: #a0aec0;
    line-height: 1.2;
}

/* Media Queries Updated */
@media (max-width: 968px) {
    .header {
        padding: 1rem;
    }

    .hero {
        padding-top: 120px;
        min-height: auto;
        height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text {
        text-align: center;
        order: 1;
    }

    .hero-video {
        order: 2;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero h2 {
        margin: 0 auto 2rem auto;
    }

    .co2-counter {
        margin: 2rem auto 0 auto;
        justify-content: center;
    }
}

/* Section Common */
section {
    padding: 5rem 2rem;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

/* Problem Section */
.problem-section {
    background-color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.problem-text {
    flex: 1;
    min-width: 300px;
}

.problem-img {
    flex: 1;
    min-width: 300px;
}

.problem-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.impact-data {
    margin-top: 2rem;
    padding: 1rem;
    border-left: 4px solid var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
}

/* Solutions Section */
.solutions-section {
    background: linear-gradient(180deg, var(--text-dark) 0%, #0a1f18 100%);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.solution-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.solution-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.solution-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.solution-content {
    padding: 2rem;
}

.solution-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.solution-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
}

/* Tech Section */
.tech-section {
    background-color: var(--text-dark);
    text-align: center;
}

.tech-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap-reverse;
    align-items: center;
    gap: 3rem;
}

.tech-img {
    flex: 1;
    min-width: 300px;
}

.tech-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(0, 208, 132, 0.2);
}

.tech-info {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.tech-feature {
    margin-bottom: 2rem;
}

.tech-feature h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

/* Form Section */
.form-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../im2.png') no-repeat center center/cover;
}

.form-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.form-container {
    position: relative;
    z-index: 2;
    background: rgba(26, 32, 44, 0.9);
    padding: 3rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2300D084%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.8rem;
}

select.form-control option {
    background-color: var(--text-dark);
}

.form-success,
.form-error {
    text-align: center;
    margin-top: 1rem;
    display: none;
    padding: 0.5rem;
    border-radius: 5px;
}

.form-success {
    background: rgba(0, 208, 132, 0.2);
    color: var(--primary-color);
}

.form-error {
    background: rgba(255, 99, 71, 0.2);
    color: #ff6347;
}

/* Footer */
footer {
    background: #000;
    padding: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Media Queries */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .problem-section,
    .tech-container {
        flex-direction: column;
    }

    .problem-img,
    .tech-img {
        width: 100%;
    }

    .form-container {
        width: 95%;
        padding: 2rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}