:root {
    --bg-primary: #f8faf9;
    --bg-surface: #ffffff;
    --primary: #1b4332;
    --primary-light: #2d6a4f;
    --accent: #52b788;
    --accent-glow: rgba(82, 183, 136, 0.2);
    --text-main: #1f2421;
    --text-muted: #5c6b63;
    --border: #e0e8e4;
    --shadow-sm: 0 4px 6px -1px rgba(27, 67, 50, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(27, 67, 50, 0.1);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary);
}

.sub-title {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 0.75rem;
}

.sub-title.light {
    color: #74c69d;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--accent);
    font-weight: 400;
}

.logo-icon {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.btn-nav {
    padding: 0.6rem 1.4rem;
    background-color: var(--primary);
    color: #fff !important;
    border-radius: 50px;
}

.btn-nav:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    box-shadow: 0 10px 20px var(--accent-glow);
    transform: translateY(-3px);
}

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

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

/* Hero Section */
.hero {
    padding: 12rem 0 6rem;
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(82, 183, 136, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(45, 106, 79, 0.1) 0%, transparent 50%);
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--accent-glow);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.badge-light {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.hero h1 {
    font-size: 3.5rem;
    max-width: 900px;
    margin: 0 auto 1.5rem;
    letter-spacing: -1px;
}

.highlight {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 5rem;
}

/* Hero Stats Ticker */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-card {
    background: var(--bg-surface);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.stat-card h3 {
    display: inline;
    font-size: 2.8rem;
    color: var(--primary);
}

.stat-card .unit {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* Sections Common */
section {
    padding: 7rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

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

/* Problem Section Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card {
    background: var(--bg-surface);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.danger-card:hover {
    transform: translateY(-5px);
    border-color: #e63946;
    box-shadow: 0 15px 30px rgba(230, 57, 70, 0.08);
}

.card-icon {
    font-size: 2rem;
    color: #e63946;
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Solution Section */
.solution-section {
    background: var(--primary);
    color: #fff;
    overflow: hidden;
}

.solution-section h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.solution-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.solution-text p {
    color: #d8f3dc;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.solution-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.solution-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.05rem;
    color: #fff;
}

.solution-list i {
    color: var(--accent);
    font-size: 1.3rem;
    margin-top: 3px;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.02);
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.06);
}

.image-badge {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Tech Process */
.tech-process {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.process-step {
    background: var(--bg-surface);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    flex: 1;
    min-height: 240px;
}

.step-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-glow);
    margin-bottom: 1rem;
}

.process-step h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.process-arrow {
    color: var(--accent);
    font-size: 1.5rem;
}

/* Impact Section */
.impact-section {
    background: linear-gradient(135deg, #2d6a4f 0%, #1b4332 100%);
    color: #fff;
}

.impact-section h2 {
    color: #fff;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.impact-box {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    backdrop-filter: blur(5px);
}

.impact-box i {
    font-size: 2.2rem;
    color: #74c69d;
    margin-bottom: 1rem;
}

.impact-box h3 {
    display: inline;
    font-size: 2.5rem;
    color: #fff;
}

.impact-box span {
    font-size: 2rem;
    font-weight: 700;
    color: #74c69d;
}

.impact-box p {
    font-size: 0.95rem;
    color: #d8f3dc;
    margin-top: 0.5rem;
}

/* Contact Footer */
.contact-section {
    padding: 6rem 0 2rem;
}

.contact-card {
    background: var(--primary);
    color: #fff;
    padding: 5rem;
    border-radius: 24px;
    text-align: center;
    background-image: radial-gradient(circle at top right, rgba(82, 183, 136, 0.25) 0%, transparent 60%);
    margin-bottom: 4rem;
}

.contact-content h2 {
    color: #fff;
    font-size: 2.8rem;
    max-width: 700px;
    margin: 1rem auto 1.5rem;
}

.contact-content p {
    color: #d8f3dc;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

.contact-link:hover {
    background: #fff;
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
}

/* Scroll Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.8rem; }
    .solution-grid, .tech-process { flex-direction: column; grid-template-columns: 1fr; }
    .process-arrow { transform: rotate(90deg); margin: 0.5rem 0; }
    .grid-3, .impact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-stats { grid-template-columns: 1fr; }
    .grid-3, .impact-grid { grid-template-columns: 1fr; }
    .contact-card { padding: 3rem 1.5rem; }
    .contact-content h2 { font-size: 2rem; }
}