/* =========================================================
   EPO WEBSITE - MAIN STYLESHEET
   Empowerment and Progress Organization (EPO)
   ========================================================= */


/* =========================================================
   1. EPO COLOR VARIABLES
   ========================================================= */

:root {

    /* Main EPO Brand Colors */
    --blue: #1F4E79;
    --green: #2E8B57;
    --orange: #F39C12;
    --red: #B91C1C;
    --brown: #92400E;

    /* Background Colors */
    --cream: #FEF3C7;
    --light: #3490ce;
    --white: #ffffff;

    /* Text Colors */
    --ink: #032d63;
    --muted: #5b6875;

    /* Effects */
    --shadow: 0 14px 40px rgba(31, 78, 121, 0.12);
    --radius: 18px;
}


/* =========================================================
   2. GLOBAL / RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        'Segoe UI',
        Tahoma,
        Geneva,
        Verdana,
        Arial,
        sans-serif;

    color: var(--ink);
    background: #ffffff;

    line-height: 1.65;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


/* =========================================================
   3. GENERAL CONTAINER
   ========================================================= */

.container {
    width: min(1160px, 92%);
    margin: auto;
}


/* =========================================================
   4. ACCESSIBILITY - SKIP LINK
   ========================================================= */

.skip {
    position: absolute;
    left: -999px;
}

.skip:focus {
    left: 10px;
    top: 10px;

    background: #ffffff;
    padding: 10px;

    z-index: 1000;
}


/* =========================================================
   5. TOP BAR
   ========================================================= */

.topbar {
    background: var(--blue);
    color: #ffffff;

    font-size: 0.9rem;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    padding: 7px 0;
}


/* =========================================================
   6. SITE HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;

    z-index: 100;

    background: #ffffff;

    border-bottom: 1px solid #e7edf2;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 78px;

    gap: 20px;
}


/* =========================================================
   7. REAL EPO LOGO
   ========================================================= */

/*
   IMPORTANT:

   Put your real EPO logo here:

   asset/images/epo-logo.png

   HTML:

   <a class="brand" href="index.php" aria-label="EPO Home">
       <img src="asset/images/epo-logo.png"
            alt="Empowerment and Progress Organization (EPO) Logo">
   </a>
*/

.brand {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    color: var(--blue);

    font-weight: 800;

    font-size: 1.2rem;

    text-decoration: none;
}

.brand:hover {
    text-decoration: none;
}

.brand img {
    width: 75px;

    height: auto;

    display: block;

    object-fit: contain;
}


/* =========================================================
   8. OLD CSS LOGO MARK
   ========================================================= */

/*
   This is only needed if some old page
   still uses <span class="logo-mark"></span>.

   If all pages use the real EPO logo,
   you can eventually remove this section.
*/

.logo-mark {
    width: 48px;
    height: 48px;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            var(--green),
            var(--blue)
        );

    position: relative;
}

.logo-mark::after {
    content: 'EPO';

    position: absolute;

    inset: 0;

    display: grid;

    place-items: center;

    color: #ffffff;

    font-size: 12px;

    font-weight: 900;
}


/* =========================================================
   9. NAVIGATION
   ========================================================= */

.nav {
    display: flex;

    align-items: center;

    gap: 17px;
}

.nav a {
    font-weight: 700;

    font-size: 0.93rem;
}


/* Donate Button */

.nav .donate {
    background: var(--orange);

    color: #111111;

    padding: 10px 17px;

    border-radius: 999px;
}

.nav .donate:hover {
    text-decoration: none;

    opacity: 0.9;
}


/* Mobile Menu Button */

.menu-btn {
    display: none;

    border: 0;

    background: none;

    font-size: 28px;

    cursor: pointer;
}




/* =========================================
   OPF HERO SECTION - FIXED BACKGROUND
========================================= */

.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;

    background-color: #244b35;
    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.45),
            rgba(0, 0, 0, 0.45)
        ),
        url("../images/w.empo.jpg") !important;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;

    color: #ffffff;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1,
.hero p {
    color: #ffffff;
}

@media (max-width: 768px) {
    .hero {
        min-height: 450px;
        padding: 60px 20px;
        background-position: center center !important;
    }
}


/* =========================================================
   11. HEADINGS
   ========================================================= */

h1,
h2,
h3 {
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.6rem, 6vw, 5rem);

    margin: 12px 0 20px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);

    margin: 0 0 15px;

    color: var(--blue);
}

h3 {
    color: var(--blue);
}


/* =========================================================
   12. TEXT
   ========================================================= */

.lead {
    font-size: 1.2rem;

    max-width: 720px;
}

.small {
    font-size: 0.9rem;

    color: var(--muted);
}


/* =========================================================
   13. BUTTONS
   ========================================================= */

.btn {
    display: inline-block;

    padding: 13px 21px;

    border-radius: 999px;

    font-weight: 800;

    border: 2px solid transparent;

    margin: 8px 8px 0 0;

    cursor: pointer;
}

.btn:hover {
    text-decoration: none;
}


/* Primary Button */

.btn-primary {
    background: var(--orange);

    color: #111111;
}


/* Light Button */

.btn-light {
    border-color: #ffffff;

    color: #ffffff;
}


/* Outline Button */

.btn-outline {
    border-color: var(--blue);

    color: var(--blue);
}


/* =========================================================
   14. SECTIONS
   ========================================================= */

section {
    padding: 80px 0;
}

.section-head {
    max-width: 760px;

    margin-bottom: 35px;
}

.center {
    text-align: center;

    margin-left: auto;

    margin-right: auto;
}


/* =========================================================
   15. STATISTICS
   ========================================================= */

.stats {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;

    margin-top: -50px;

    position: relative;
}

.stat {
    background: #eef0ef;

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    padding: 28px;
}

.stat strong {
    display: block;

    font-size: 2.4rem;

    color: var(--green);
}

.stat span {
    color: var(--muted);
}


/* =========================================================
   16. CARDS
   ========================================================= */

.card {
    background: #eef0ef;

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    padding: 28px;
}

.card p {
    color: var(--muted);
}


/* =========================================================
   17. GRID SYSTEM
   ========================================================= */

.grid {
    display: grid;

    gap: 24px;
}

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

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}


/* =========================================================
   18. SPLIT SECTION
   ========================================================= */

.split {
    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    gap: 55px;

    align-items: center;
}


/* =========================================================
   19. IMAGE CARDS
   ========================================================= */

.image-card {
    border-radius: var(--radius);

    overflow: hidden;

    box-shadow: var(--shadow);
}

.image-card img {
    width: 100%;

    height: 430px;

    object-fit: cover;
}


/* =========================================================
   20. ICON
   ========================================================= */

.icon {
    width: 54px;
    height: 54px;

    border-radius: 14px;

    background: var(--cream);

    display: grid;

    place-items: center;

    font-size: 25px;
}


/* =========================================================
   21. TAG / LABEL
   ========================================================= */

.tag {
    display: inline-block;

    background: #eaf5ef;

    color: var(--green);

    padding: 5px 10px;

    border-radius: 999px;

    font-size: 0.8rem;

    font-weight: 800;
}


/* =========================================================
   22. DARK SECTION
   ========================================================= */

.dark {
    background: var(--blue);

    color: #ffffff;
}

.dark h2,
.dark h3 {
    color: #ffffff;
}

.dark p {
    color: #ffffff;
}


/* =========================================================
   23. CREAM SECTION
   ========================================================= */

.cream {
    background: var(--cream);
}


/* =========================================================
   24. PROGRAM CARDS
   ========================================================= */

.program-card {
    border-top: 5px solid var(--green);
}

.program-card:nth-child(2) {
    border-top-color: var(--orange);
}

.program-card:nth-child(3) {
    border-top-color: var(--red);
}

.program-card:nth-child(4) {
    border-top-color: var(--green);
}

.program-card:nth-child(5) {
    border-top-color: var(--blue);
}


/* =========================================================
   25. PAGE HERO
   ========================================================= */

.page-hero {
    background:
        linear-gradient(
            110deg,
            var(--blue),
            #2f6d9f
        );

    color: #ffffff;

    padding: 75px 0;
}

.page-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
}

.page-hero h1,
.page-hero p {
    color: #ffffff;
}


/* =========================================================
   26. BREADCRUMBS
   ========================================================= */

.breadcrumbs {
    font-size: 0.9rem;

    opacity: 0.85;
}


/* =========================================================
   27. TIMELINE
   ========================================================= */

.timeline {
    border-left: 3px solid var(--green);

    padding-left: 28px;
}

.timeline-item {
    margin-bottom: 30px;
}

.timeline-item strong {
    color: var(--green);
}


/* =========================================================
   28. IMPACT METRICS
   ========================================================= */

.metric {
    padding: 20px;

    border-left: 5px solid var(--orange);

    background: var(--light);
}


/* =========================================================
   29. PROJECT STATUS
   ========================================================= */

.project-status {
    font-weight: 800;

    color: var(--green);
}


/* =========================================================
   30. STORY QUOTE
   ========================================================= */

.story-quote {
    font-size: 1.35rem;

    font-style: italic;

    border-left: 5px solid var(--orange);

    padding-left: 20px;
}


/* =========================================================
   31. MEDIA / IMAGE OVERLAY
   ========================================================= */

.media {
    position: relative;

    border-radius: var(--radius);

    overflow: hidden;

    background: #0e2c45;
}

.media img {
    opacity: 0.7;

    height: 420px;

    width: 100%;

    object-fit: cover;
}

.media-content {
    position: absolute;

    inset: auto 30px 30px;

    color: #ffffff;
}


/* Play Button */

.play {
    display: inline-grid;

    place-items: center;

    width: 60px;
    height: 60px;

    border-radius: 50%;

    background: var(--orange);

    color: #111111;

    font-size: 25px;
}


/* =========================================================
   32. FORMS
   ========================================================= */

.form {
    background: var(--light);

    padding: 30px;

    border-radius: var(--radius);
}

label {
    font-weight: 700;

    display: block;

    margin: 12px 0 6px;
}

input,
select,
textarea {
    width: 100%;

    padding: 13px;

    border: 1px solid #cbd5df;

    border-radius: 10px;

    font: inherit;

    background: #ffffff;
}

textarea {
    min-height: 150px;

    resize: vertical;
}


/* =========================================================
   33. NOTICE / ALERT
   ========================================================= */

.notice {
    padding: 16px 18px;

    border-left: 5px solid var(--orange);

    background: #fff8e8;

    margin: 20px 0;
}


/* =========================================================
   34. VIDEO
   ========================================================= */

.video-box {
    background: #102b44;

    border-radius: var(--radius);

    overflow: hidden;
}

.video-box video {
    width: 100%;

    display: block;

    min-height: 350px;

    object-fit: cover;
}


/* =========================================================
   35. CLEAN LIST
   ========================================================= */

.list-clean {
    padding-left: 18px;
}

.list-clean li {
    margin: 7px 0;
}


/* =========================================================
   36. FOOTER
   ========================================================= */

.footer {
    background: #102b44;

    color: #dfeaf2;

    padding: 60px 0 25px;
}

.footer h3 {
    color: #ffffff;
}

.footer-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 30px;
}


/* =========================================
   OPF REPORTS SECTION
========================================= */

.reports-section {
    padding: 80px 20px;
    background: #f7f8f5;
}

.reports-container {
    max-width: 1150px;
    margin: 0 auto;
}

.reports-heading {
    max-width: 720px;
    margin: 0 auto 45px;
    text-align: center;
}

.reports-tag {
    display: inline-block;
    margin-bottom: 12px;
    color: #2e6b45;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.reports-heading h2 {
    margin-bottom: 16px;
    color: #244b35;
    font-size: clamp(28px, 4vw, 40px);
}

.reports-heading p {
    color: #555;
    line-height: 1.8;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.report-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px;
    background: #fff;
    border: 1px solid #e1e7e0;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}

.report-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.09);
}

.report-icon {
    display: flex;
    flex: 0 0 55px;
    width: 55px;
    height: 55px;
    align-items: center;
    justify-content: center;
    background: #e9f2e9;
    color: #2e6b45;
    border-radius: 10px;
    font-size: 24px;
}

.report-content {
    flex: 1;
    min-width: 0;
}

.report-category {
    color: #2e6b45;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.report-content h3 {
    margin: 9px 0 10px;
    color: #263d30;
    font-size: 20px;
    line-height: 1.4;
}

.report-content p {
    margin-bottom: 20px;
    color: #626862;
    font-size: 14px;
    line-height: 1.8;
}

.report-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 17px;
    background: #2e6b45;
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.report-button:hover {
    background: #244b35;
    color: #fff;
}

@media (max-width: 768px) {
    .reports-section {
        padding: 55px 16px;
    }

    .reports-grid {
        grid-template-columns: 1fr;
    }

    .report-card {
        padding: 22px;
        gap: 15px;
    }
}

@media (max-width: 420px) {
    .report-card {
        flex-direction: column;
    }
}
