/* Reset default body and html padding/margin */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    background-color: #ffffff;
    overflow-x: hidden; /* Prevent sideways scroll */
    font-family: Arial, sans-serif;
    font-size: 1.6rem;
}
 
/* Apply box-sizing border-box globally */
*, *::before, *::after {
    box-sizing: border-box;
}
/* background */
/* body {
    
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    
} */
.flyer{
    padding: 20px;
    font-size:1.6rem;
  }

  .flyer :hover{
    color: red;
  }

  .back-green-one {
    position: relative;
    width: 100%;
    height: auto;
    top: -180px;
    margin-bottom: -180px;
    aspect-ratio: 16 / 9; /* Maintain landscape shape */
    background-image: url(../images/banner/green-ren.avif); /* Use your image path */
    background-size: contain; /* Show full image without cropping */
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #042a4a; /* Fallback background */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Optional overlay for text readability */
.back-green-one::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(8, 8, 8, 0.466); /* Adjust transparency if needed */
}

/* Headline text styling */
.back-green-one h1 {
    position: relative;
    z-index: 2;
    color: white;
    margin: 0;
    font-size: 4vw; /* Responsive font size */
    font-weight: bold;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

/* Tablet screens */
@media (max-width: 1024px) {
    .back-green-one {
        aspect-ratio: 16 / 10;
        top: -160px; /* Adjust the top spacing for smaller screens */
        margin-bottom: -160px; /* Adjust the bottom margin for smaller screens */
    }

    .back-green-one h1 {
        font-size: 5vw;
    }
}

/* Small tablets and large phones */
@media (max-width: 768px) {
    .back-green-one {
        aspect-ratio: 16 / 10;
        top: -80px; /* Adjust the top spacing for smaller screens */
        margin-bottom: -80px; /* Adjust the bottom margin for smaller screens */
    }

    .back-green-one h1 {
        font-size: 6vw;
    }
}
/* For Small Screens like Surface Duo (540px x 720px) */
@media (max-width: 540px) {
    .back-green-one {
        aspect-ratio: 16 / 12; /* Maintain appropriate aspect ratio for small screens */
        top: -100px; /* Adjust top spacing for very small screens */
        margin-bottom: -100px; /* Adjust bottom margin for small screens */
        background-size: contain; /* Make sure the image is fully visible */
    }

    .back-green-one h1 {
        font-size: 8vw; /* Make the text responsive for small screens */
    }
}

/* Small phones */
@media (max-width: 480px) {
    .back-green-one {
        aspect-ratio: 16 / 12;
        background-size: contain;
        top: -50px; /* Adjust the top spacing for smaller screens */
        margin-bottom: -50px; /* Adjust the bottom margin for smaller screens */
    }

    .back-green-one h1 {
        font-size: 7vw;
    }
}

/* Small phones */
@media (max-width: 300px) {
    .back-green-one {
        aspect-ratio: 16 / 12;
        background-size: contain;
        top: -10px; /* Adjust the top spacing for smaller screens */
        margin-bottom: -10px; /* Adjust the bottom margin for smaller screens */
    }

    .back-green-one h1 {
        font-size: 7vw;
    }
}
/*  */
.green-section-container {
    font-family: Arial, sans-serif;
    margin-left: 20px;
    margin-right: 20px;
    /* background-color: #afe4ff; */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0);
    transition: all 0.3s ease-in-out;
}

.green-section-title {

    margin-top: 20px;
    font-size: 3rem;
    color: #2b5797;
    margin-bottom: 10px;
    /* border-bottom: 3px solid #2b972dss; */
    /* padding-bottom: 5px; */
    display: inline-block;
    text-align: center;
}

.green-section-content {
    line-height: 1.6;
    /* color: #333;  */
}

.green-section-content .highlight {
    font-weight: bold;
    color: #f39c12;
}

.green-section-content p {
    margin-bottom: 15px;
    font-size: 1.6rem;
    text-align: justify;
}



@media (max-width: 768px) {
    .green-section-container {
        padding: 20px;
    }

    .green-section-title {
        font-size: 2.2rem;
    }

    .green-section-content {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .green-section-container {
        padding: 10px;
    }

    .green-section-title {
        font-size: 2.2rem;
        text-align: left;
    }

    .green-section-content {
        font-size: 13px;
    }
}





/* Features Section */



.green-features-section {
    padding: 20px 20px;
    background-color: #fff;
}

.green-features-container {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
}

.green-feature-column {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Feature Item */
.green-feature-item {
    background-color: #1b425d;
    color: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: left;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, transform 0.3s ease-in-out;
    height: 100%;
}

.green-feature-item h2 {
    font-size: 2.2rem;
    /* margin-bottom:  px; */
    color: rgb(32, 227, 241);
}

.green-feature-item ul {
    list-style-position: inside; /* Ensures bullets are inside the padding */
    padding-left: 20px; /* Adjust as needed for the desired margin */
}

.green-feature-item ul li {
    transition: font-size 0.3s ease;
    font-size: 1.6rem;
    margin-left: auto;
}

.green-feature-item:hover ul li {
    font-size: 1.6rem;
}


.green-feature-item:hover {
    transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .green-features-container {
        flex-direction: column;
        align-items: center;
    }
}

/* Scroll Animation */
[data-scroll].visible {
    opacity: 1;
    transform: translateY(0);
}

/* power info section */
.green-commmunicate {
    font-family: Arial, sans-serif;
    text-align: center;
    align-items: center;
    background-image: url(../images/banner/green-ren.avif);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
    min-height: 10vh;
    padding: 20px;
}

.green-commmunicate h2 {
    margin-top: 3rem;
    font-size: 3rem;
    color: #ffffff;
}