/* ===== Environment Protection Page Styles ===== */

/* Wider container for this page */
.ep-section .container {
    max-width: 1320px;
}

/* Hero Section */
.ep-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.ep-hero-image {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 400px;
    overflow: hidden;
}

.ep-hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.ep-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.7) 100%);
    pointer-events: none;
}

.ep-hero-content {
    position: absolute;
    bottom: 12%;
    left: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    z-index: 2;
}

.ep-hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 14px;
    text-shadow: 2px 3px 12px rgba(0,0,0,0.7);
}

.ep-hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 750px;
    margin: 0 auto;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.6);
    letter-spacing: 0.5px;
}

/* Common Section Styles */
.ep-section {
    padding: 5rem 0;
}

.ep-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

/* Introduction Section */
.ep-intro-section {
    background: #fff;
}

.ep-intro-content {
    max-width: 1100px;
    margin: 0 auto;
}

.ep-intro-content p {
    font-size: 1.08rem;
    line-height: 1.9;
    color: #444;
    text-align: justify;
    margin-bottom: 1.25rem;
}

/* Featured Image */
.ep-featured-image {
    max-width: 1100px;
    margin: 2.5rem auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.ep-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Section Title (white variant for dark backgrounds) */
.section-title-ep {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    font-family: 'Oswald', sans-serif;
}

/* Key Focus Cards Section */
.ep-focus-section {
    background: linear-gradient(135deg, rgba(30, 40, 35, 0.85), rgba(45, 60, 50, 0.8)),
                url('../assets/images/Safari.jpg') center/cover fixed;
    color: #fff;
}

.ep-focus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.ep-focus-card {
    background: rgba(255,255,255,0.92);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(4px);
}

.ep-focus-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.ep-focus-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b133a, #a61c4a);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1.2rem;
}

.ep-focus-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #1b4332;
}

.ep-focus-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
}

/* Detail Sections */
.ep-detail-section {
    background: #fff;
}

.ep-detail-section:nth-child(even) {
    background: #f4faf6;
}

.ep-detail-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.ep-detail-content.ep-reverse {
    direction: rtl;
}

.ep-detail-content.ep-reverse > * {
    direction: ltr;
}

.ep-detail-text p {
    font-size: 1.08rem;
    line-height: 1.9;
    color: #444;
    text-align: justify;
    margin-bottom: 1.25rem;
}

.ep-detail-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ep-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background: #f4faf6;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #2d6a4f;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ep-detail-section:nth-child(even) .ep-highlight-item {
    background: #fff;
}

.ep-highlight-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.ep-highlight-item > i {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2d6a4f, #40916c);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.ep-highlight-item h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.15rem;
    color: #1b4332;
    margin-bottom: 0.5rem;
}

.ep-highlight-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
}

/* Multilingual Section */
.ep-multilingual-section {
    background: #f4faf6;
}

.ep-multilingual-content {
    max-width: 1100px;
    margin: 0 auto;
}

.ep-multilingual-content > p {
    font-size: 1.08rem;
    line-height: 1.9;
    color: #444;
    text-align: justify;
    margin-bottom: 1.25rem;
}

.ep-language-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.ep-language-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border-left: 4px solid #2d6a4f;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ep-language-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.ep-language-card i {
    font-size: 2rem;
    color: #2d6a4f;
    margin-bottom: 0.75rem;
}

.ep-language-card h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    color: #1b4332;
    margin-bottom: 0.4rem;
}

.ep-language-card p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

/* Vision Section */
.ep-vision-section {
    background: linear-gradient(135deg, #8b133a, #a61c4a);
    text-align: center;
}

.ep-vision-content {
    max-width: 1000px;
    margin: 0 auto;
}

.ep-vision-content p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.95);
    text-align: justify;
    margin-bottom: 1.25rem;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1200px) {
    .ep-focus-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ep-language-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .ep-hero-title {
        font-size: 3rem;
    }

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

    .ep-detail-content.ep-reverse {
        direction: ltr;
    }

    .section-title-ep {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .ep-hero-image {
        height: 65vh;
    }

    .ep-hero-title {
        font-size: 2.4rem;
        letter-spacing: 1.5px;
    }

    .ep-hero-subtitle {
        font-size: 1rem;
    }

    .ep-section {
        padding: 3.5rem 0;
    }

    .ep-focus-grid {
        grid-template-columns: 1fr;
    }

    .ep-language-grid {
        grid-template-columns: 1fr;
    }

    .ep-intro-content p,
    .ep-detail-text p,
    .ep-multilingual-content > p {
        font-size: 1rem;
    }

    .section-title-ep {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .ep-hero-image {
        height: 55vh;
    }

    .ep-hero-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .ep-hero-subtitle {
        font-size: 0.9rem;
    }

    .ep-highlight-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .ep-highlight-item > i {
        margin-bottom: 0.5rem;
    }

    .ep-featured-image {
        margin: 1.5rem -0.5rem;
        border-radius: 8px;
    }
}
