/* =========================================
   ENVIRONMENTAL EDUCATION HERO SECTION
========================================= */

.env-hero-section {
    position: relative;
    height: 100vh;
    background: url('/assets/images/environmental-hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
}

/* OVERLAY */
.env-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        rgba(27, 94, 32, 0.75),
        rgba(46, 125, 50, 0.85)
    );
}

/* CONTAINER */
.env-hero-container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    padding: 0 20px;
    text-align: center;
}

/* CONTENT */
.env-hero-content h1 {
    font-size: 48px;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 20px;
}

.env-hero-content h1 span {
    color: #fdd835;
}

.env-hero-content p {
    font-size: 18px;
    color: #e8f5e9;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

/* TAG */
.section-tag {
    display: inline-block;
    background: #fdd835;
    color: #1b5e20;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* BUTTONS */
.env-hero-buttons {
    margin-top: 20px;
}

.env-btn {
    display: inline-block;
    padding: 12px 28px;
    margin: 5px;
    border-radius: 30px;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s ease;
}

/* PRIMARY */
.env-btn.primary {
    background: #fdd835;
    color: #1b5e20;
    font-weight: 600;
}

/* SECONDARY */
.env-btn.secondary {
    border: 2px solid #ffffff;
    color: #ffffff;
}

/* HOVER EFFECTS */
.env-btn.primary:hover {
    background: #ffffff;
}

.env-btn.secondary:hover {
    background: #ffffff;
    color: #1b5e20;
}

/* =========================
   ANIMATION
========================= */

@keyframes fadeHero {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.env-hero-content {
    animation: fadeHero 1.2s ease;
}

/* =========================================
   ENVIRONMENTAL CLASSROOM SECTION
========================================= */

.env-classroom-section {
    padding: 80px 20px;
    background: #f9fdf9;
    font-family: 'Poppins', sans-serif;
}

.env-classroom-container {
    max-width: 1200px;
    margin: auto;
}

/* HEADER */
.env-classroom-header {
    text-align: center;
    margin-bottom: 50px;
}

.env-classroom-header h2 {
    font-size: 34px;
    color: #1b5e20;
    margin-bottom: 10px;
}

.env-classroom-header p {
    color: #555;
    max-width: 700px;
    margin: auto;
    font-size: 16px;
    line-height: 1.6;
}

/* CONTENT */
.env-classroom-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

/* TEXT */
.env-classroom-text {
    flex: 1;
}

.env-classroom-text h3 {
    font-size: 24px;
    color: #2e7d32;
    margin-bottom: 15px;
}

.env-classroom-text p {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 15px;
}

.env-classroom-text ul {
    margin-top: 15px;
}

.env-classroom-text li {
    margin-bottom: 10px;
    font-size: 15px;
    color: #333;
}

/* IMAGES GRID */
.env-classroom-images {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px;
    gap: 15px;
}

/* BIG IMAGE */
.img-box.big {
    grid-row: span 2;
}

/* IMAGE STYLE */
.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1px;
    transition: 0.4s ease;
}

/* HOVER EFFECT */
.img-box img:hover {
    transform: scale(1.05);
}




/* =========================================
   ENVIRONMENTAL IMPACT SECTION
========================================= */

.env-impact-section {
    padding: 80px 20px;
    background: linear-gradient(to right, #e8f5e9, #f1f8e9);
    font-family: 'Poppins', sans-serif;
}

.env-impact-container {
    max-width: 1200px;
    margin: auto;
}

/* HEADER */
.env-impact-header {
    text-align: center;
    margin-bottom: 50px;
}

.env-impact-header h2 {
    font-size: 34px;
    color: #1b5e20;
    margin-bottom: 10px;
}

.env-impact-header p {
    color: #555;
    max-width: 700px;
    margin: auto;
    font-size: 16px;
    line-height: 1.6;
}

/* CARDS GRID */
.env-impact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* CARD */
.impact-card {
    background: #ffffff;
    padding: 30px 20px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

/* ICON */
.impact-card .icon {
    font-size: 40px;
    margin-bottom: 15px;
}

/* TITLE */
.impact-card h3 {
    font-size: 18px;
    color: #2e7d32;
    margin-bottom: 10px;
}

/* TEXT */
.impact-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* HOVER */
.impact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}



/* =========================================
   ENV GALLERY SECTION (HERO + 4 IMAGES)
========================================= */

.env-gallery-section {
    position: relative;
    padding: 100px 20px;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    overflow: hidden;
}

/* BACKGROUND IMAGE */
.env-gallery-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/images/education-bg.jpg') center/cover no-repeat;
    filter: blur(6px);
    transform: scale(1.1);
    z-index: 1;
}

/* DARK OVERLAY */
.env-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 50, 20, 0.75);
    z-index: 2;
}

/* CONTAINER */
.env-gallery-container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: auto;
}

/* HEADER */
.env-gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.env-gallery-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.env-gallery-header p {
    max-width: 700px;
    margin: auto;
    font-size: 16px;
    line-height: 1.7;
    color: #e0f2f1;
}

/* GRID */
.env-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* IMAGE ITEMS */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

/* IMAGE */
.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: 0.4s ease;
}

/* CAPTION */
.caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: rgba(0,0,0,0.6);
    font-size: 14px;
    text-align: center;
}

/* HOVER EFFECT */
.gallery-item:hover img {
    transform: scale(1.1);
}











/* =========================
   RESPONSIVE
========================= */

/* TABLET */
@media (max-width: 992px) {
    .env-hero-content h1 {
        font-size: 38px;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .env-hero-section {
        height: auto;
        padding: 100px 20px;
    }

    .env-hero-content h1 {
        font-size: 30px;
    }

    .env-hero-content p {
        font-size: 15px;
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
    .env-hero-content h1 {
        font-size: 24px;
    }
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
    .env-classroom-content {
        flex-direction: column;
    }

    .env-classroom-images {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .env-classroom-images {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .img-box.big {
        grid-row: span 1;
    }
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
    .env-impact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .env-impact-cards {
        grid-template-columns: 1fr;
    }
}





/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
    .env-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .env-gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 220px;
    }
}
