:root {
    --color-primary: #227c2b;
    --color-accent: #029F93;
    --color-gradient: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    --color-dark: #001c6e;
    --color-light: #F4F7F6;
    --color-text: #333333;
    --font-head: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

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

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

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 700;
}

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

ul {
    list-style: none;
}

/* --- UTILITY CLASSES --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    /*text-transform: uppercase;*/
    font-size: 0.9rem;
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: #009b7a;
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
}

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

.section-padding {
    padding: 50px 0;
}

.text-center {
    text-align: center;
}

/* --- HEADER --- */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-link {
    display: flex;
    align-items: center;
    height: 50px;
    padding: 0;
}

.logo-link img {
    height: 100%;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center; /* Align items vertically */
}

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-dark);
}

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

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(26, 26, 26, 0.8), rgba(46, 91, 66, 0.7));
    z-index: -1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    /*max-width: 750px;*/
    margin: 0 auto 40px auto;
    opacity: 0.9;
}

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

/* --- SERVICES (The Two Paths) --- */
.services {
    background-color: var(--color-light);
}

.section-title {
    margin-bottom: 60px;
    color: var(--color-primary);
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

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

.service-card {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
}

.card-resell {
    border-top-color: var(--color-primary);
}

.card-recycle {
    border-top-color: var(--color-accent);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    color: var(--color-primary);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: #666;
    margin-bottom: 25px;
}

.link-arrow {
    color: var(--color-accent);
    font-weight: 700;
    /*text-transform: uppercase;*/
    font-size: 0.85rem;
}

.sdg-section {
    margin-top: 60px;
}

.sdg-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.sdg-logo {
    /*width: 100px;*/
    height: 200px;
}

/* --- platform SECTION --- */
.platform {
    background: var(--color-gradient);
    color: #fff;
}

.platform-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.platform-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.platform-text p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.platform-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.platform-list i {
    color: var(--color-light);
    margin-right: 15px;
}

.platform-img {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: 8px;
    overflow: hidden;
}

.platform-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

/* --- IMPACT DASHBOARD --- */
.impact {
    background-color: #fff;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
}

.stat-item {
    margin: 20px;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary);
    font-family: var(--font-head);
}

.stat-label {
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* --- CTA SECTION --- */
.cta-section {
    background: var(--color-gradient);
    color: #fff;
    padding: 80px 0;
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

/* --- FOOTER --- */
footer {
    background-color: var(--color-light);
    color: #999;
    padding: 50px 0 20px;
    font-size: 0.9rem;
}

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

.footer-col h4 {
    color: var(--color-dark);
    margin-bottom: 20px;
}

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

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

.copyright {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
}

/* --- MODAL --- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 30px;
    border: 1px solid #888;
    width: 25%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
}

.close-modal:hover,
.close-modal:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-form .form-group {
    margin-bottom: 15px;
}

.modal-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.modal-form input,
.modal-form textarea,
.modal-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.modal-form button {
    width: 100%;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .platform-content {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none; /* Hide links on mobile for simplicity in this demo */
    }

    .hamburger {
        display: block;
    }
}

/* Fix for intl-tel-input */
.iti {
    display: block;
}