/* Green Hero Slider CSS */
.green-hero {
    position: relative;
    width: 100%;
    height: 800px;
    /* Adjust height as needed */
    overflow: hidden;
}

.green-slider {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* Ensure image doesn't overflow */
}

.green-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.green-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.green-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    /* Stronger gradient on the left, fading out to the right */
    background: linear-gradient(90deg, rgba(8, 20, 35, 0.95) 0%, rgba(8, 20, 35, 0.85) 40%, rgba(8, 20, 35, 0) 100%);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Left Align */
    padding-left: 10%;
    /* Spacing */
}

.green-content {
    max-width: 700px;
    color: #fff;
    text-align: left;
    /* Left Align Text */
}

.green-tagline {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.green-headline {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
}

.green-desc {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.green-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    /* Left Align Buttons */
}

.green-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FFA800;
    color: #fff;
    padding: 16px 35px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: 0.3s;
}

.green-btn:hover {
    background: #fff;
    color: #0A1628;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
        /* Start from top */
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.green-content .green-tagline,
.green-content .green-headline,
.green-content .green-desc,
.green-content .green-buttons {
    opacity: 0;
    /* Hidden initially */
}

/* Animate only active slide content */
.swiper-slide-active .green-content .green-tagline {
    animation: fadeInDown 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.swiper-slide-active .green-content .green-headline {
    animation: fadeInDown 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

.swiper-slide-active .green-content .green-desc {
    animation: fadeInDown 0.8s ease-out forwards;
    animation-delay: 0.6s;
}

.swiper-slide-active .green-content .green-buttons {
    animation: fadeInDown 0.8s ease-out forwards;
    animation-delay: 0.8s;
}

/* Navigation Buttons */
.green-nav {
    position: absolute;
    bottom: 50px;
    right: 10%;
    z-index: 10;
    display: flex;
    gap: 15px;
}

.green-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.green-nav-btn:hover {
    background: #FFA800;
    color: #fff;
    border-color: #FFA800;
    transform: scale(1.1);
}

/* Mobile Specific Adjustments */
@media (max-width: 991px) {
    .green-hero {
        height: 700px;
        /* Increased height on mobile as per user request */
    }

    .green-buttons {
        gap: 15px;
        flex-wrap: nowrap;
        /* Keep them in a row */
    }

    .green-hero-bg img {
        object-position: 75% center !important;
        /* Force right alignment to show logo */
    }

    .green-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
        background: rgba(255, 255, 255, 0.15);
        /* Slightly more visible on mobile */
    }

    /* Hide the desktop nav container */
    .green-nav {
        display: none;
    }
}