:root {
    --green-primary: #00563B;
    --green-light: #E5F6DF;
    --green-accent: #27AE60;
    --text-color: #E5F6DF;
    --highlight-text: #FAFAFA;
    --card-bg: #FFFFFF;
    --card-border: #A9DFBF;
    --linear:linear-gradient(135deg, #27AE60 0%, #00563B 100%);
}

/* Global Styles */
body {
    font-family: 'Rubik', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--green-light);
    color: #333;
    overflow-x: hidden;
}

/* Enhanced Navbar */
.navbar {
    background: linear-gradient(to bottom, #7fcd65 0%, transparent 100%);
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: var(--green-primary);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-left: 4px;
    letter-spacing: -1px;
}

.navbar-logo{
    margin-left: 40px;
}

.navbar-brand:hover {
    color: var(--green-accent);
}
.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.2rem;
    margin: 0 15px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}
.navbar-nav .nav-link:hover {
    color: var(--green-accent);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--green-accent);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Video Container */
.video-container {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

/* Main Content Wrapper */
.overlay-text {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--highlight-text);
    width: 90%;
    max-width: 1200px;
    margin-top: 100px; /* Adjust this value to move the text up/down */
}

.main-heading {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-style: italic;
}

.title-color {
    color: rgb(246, 246, 111);
}

.welcome-text {
    font-size: 6rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* App Button */
.app-button {
    position: relative;
    z-index: 1;
    display: inline-block;
    background: linear-gradient(135deg, var(--green-accent), var(--green-primary));
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    margin-top: 40px;
}

.app-button:hover {
    background: linear-gradient(135deg, var(--green-primary), var(--green-accent));
    transform: translateY(-3px);
    color: var(--green-light);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .overlay-text {
        margin-top: -50px;
    }

    .main-heading {
        font-size: 2.5rem;
    }

    .welcome-text {
        font-size: 4rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        margin-top: 40px;
    }

    .stat-card {
        padding: 15px 30px;
    }
}

/* Section Styles */
.section {
    padding: 100px 0;
    background-color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h1 {
color: var(--green-primary);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.card-image-wrapper {
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 20px;
}

.feature-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover img {
    transform: scale(1.1);
}

.feature-card h5 {
    color: var(--green-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-card p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* About Us Section */
.about-us {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--green-light), #ffffff);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.about-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(39, 174, 96, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    animation: float 6s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Logo Circle with Glow Effect */
.logo-circle {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--green-light), var(--green-accent));
    box-shadow: 0 0 50px rgba(39, 174, 96, 0.3);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.logo-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 0 80px rgba(39, 174, 96, 0.5);
}

.logo-circle img {
    width: 80%;
    height: auto;
    transition: transform 0.5s ease;
}

.logo-circle:hover img {
    transform: scale(1.1);
}

.circle-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(39, 174, 96, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
    animation: glow 3s infinite alternate ease-in-out;
}

@keyframes glow {
    0% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

/* About Text */
.about-text {
    padding: 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-text:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.about-text h3 {
    color: var(--green-primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--green-accent);
    border-radius: 2px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

/* Learn More Button */
.learn-more-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--green-accent), var(--green-primary));
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.learn-more-btn span {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.learn-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--green-primary), var(--green-accent));
    transition: left 0.5s ease;
    z-index: -1;
}

.learn-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(39, 174, 96, 0.4);
}

.learn-more-btn:hover span {
    transform: translateX(5px);
}

.learn-more-btn:hover::before {
    left: 0;
}

.eco-section {
    position: relative;
    padding: 0; /* Removed padding */
    color: #fff;
    background-color: #1a1a1a; /* Fallback background color */
}

.eco-background {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent overlay */
}

.eco-content {
    text-align: center;
    margin-bottom: 40px; /* Adjusted margin for spacing */
}

.eco-content h1 {
    padding-top: 50px;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.eco-content p {
    font-size: 20px;
    color: #d1d1d1;
    line-height: 1.6;
}

.eco-card {
    background: rgba(0, 0, 0, 0.7);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    color: #fff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eco-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.eco-card h5 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.eco-card p {
    font-size: 18px;
    color: #cfcfcf;
    line-height: 1.6;
}

.eco-cta {
    text-align: center;
    margin-top: 40px; /* Adjusted margin for spacing */
    padding-bottom: 40px;
}

.eco-cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.eco-cta p {
    font-size: 20px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.eco-button {
    background: #28a745;
    color: #fff;
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
    border: 2px solid transparent;
}

.eco-button:hover {
    background: #218838;
    border-color: #fff;
    transform: scale(1.05);
}

/* Footer */
.footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 30px 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 10px;
    left: 49%;
    transform: translateX(-10%);
    animation: bounce 3s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .main-heading {
        font-size: 3rem;
    }

    .welcome-text {
        font-size: 5rem;
    }
}

@media (max-width: 992px) {
    .navbar-brand {
        margin-left: 20px;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
        bottom: 200px;
        gap: 20px;
    }

    .stat-card {
        padding: 15px 30px;
    }

    .about-text {
        text-align: center;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .main-heading {
        font-size: 2rem;
    }

    .welcome-text {
        font-size: 3rem;
    }

    .section {
        padding: 60px 0;
    }

    .feature-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .main-heading {
        font-size: 1.3rem;
    }

    .welcome-text {
        font-size: 2rem;
    }

    .app-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}
