:root {
    --navy: #09194D;
    --orange: #FC8A00;
    --green: #31CC31;
    --white: #FFFFFF;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--white);
    color: var(--navy);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}


#about {
    padding: 5rem 2rem 2rem;
    min-height: 100vh;
    background: var(--white);
}

#about h1 {
    text-align: center;
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.page-hero {
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 3rem 2rem 4rem;
    position: relative;
    height: 15rem;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9,25,77,0.5);
}

.page-hero h1, .page-hero p {
    position: relative;
    z-index: 1;
}

.content {
    max-width: 90%;
    margin: 0 auto;
    margin-top: 2rem;
}

.mission-vision-philosophy {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: auto;
    margin-bottom: 2rem;
    width: 80%;
}

.mission, .vision, .philosophy {
    background: rgba(211, 211, 211, 0.226);
    border-left: 4px solid var(--green);
    padding: 1rem;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.icon {
    margin-bottom: 1rem;
}

#about h2 {
    font-size: 1.2rem;
}

#about h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--orange);
}


.journey {
    grid-column: span 2; /* Span two columns on larger screens */
    display: flex;
    gap: 1rem;
    align-items: center;
    background: rgba(9,25,77,0.04);
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.journey-text {
    flex: 1;
}

.journey-text span {
    color: var(--orange);
}

.journey img {
    width: 50%;
    border-radius: 10px;
    height: auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.team {
    grid-column: span 2;
    margin-top: 3rem;
}

.team .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

.team .card {
    background: rgba(255,255,255,0.8);
    border: 1px solid var(--green);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.team .card h4 {
    color: var(--orange);
    margin: 0.5rem 0;
}

.team .card p {
    font-size: 0.9rem;
}

.card:hover {
    transform: translateY(-5px);
}


/* Shared styling for What We Do, Our Approach, Our Impact */
.info-section {
    margin-top: 2.5rem;
    padding: 2rem;
    background: #ffffff;
    border: 1px solid rgba(9,25,77,0.08);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}


.info-section h3 {
    color: var(--navy);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1rem;
}


.info-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.2rem;
    width: 5px;
    height: 70%;
    background: var(--orange);
    border-radius: 4px;
}


.info-section p {
    font-size: 0.95rem;
    max-width: 900px;
    margin-bottom: 1rem;
    color: #333;
}


/* What We Do list styling */
.info-section ul {
    margin-top: 1rem;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    list-style: none;
}


.info-section ul li {
    background: rgba(49,204,49,0.05);
    border-left: 4px solid var(--green);
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}


/* Impact metrics emphasis */
.impact-list li {
    background: rgba(252,138,0,0.06);
    border-left: 4px solid var(--orange);
    font-weight: 500;
}


/* Our Approach text emphasis */
.approach-highlight {
    /* background: rgba(9,25,77,0.04); */
    padding: 1.2rem;
    border-radius: 8px;
    border-left: 4px solid var(--green);
    font-size: 0.9rem;
}


.approach-impact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
}


.team-img {
    width: 100%;
    height: 15rem;
    object-fit: cover;
    object-position: top;
    border-radius: 50%;
    margin-bottom: 1rem;
}


.member-organisations {
    grid-column: span 2;
    margin-top: 2rem;
}

.member-organisations .card p{
    font-size: 0.9rem;
}

.org-logo {
    width: 100%;
    height: 150px;
    object-fit: cover;
    object-position: top;
    border-radius: 50%;
    margin-bottom: 1rem;
    border-radius: 10px;
    object-fit: contain;
}


@keyframes ripple {
    0% { width: 0; height: 0; opacity: 1; }
    100% { width: 200%; height: 200%; opacity: 0; }
}


.cta-button {
    background-color: var(--orange);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.cta-button:hover {
    background-color: var(--green);
}


.why-phe-youth {
    margin-top: 3rem;
    margin-bottom: 4rem;
    padding: 2rem;
    /* background: linear-gradient(135deg, rgba(9,25,77,0.05), rgba(252,138,0,0.08)); */
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);

}


.why-phe-youth h3 {
    color: var(--navy);
    text-align: center;
    margin-bottom: 1rem;
}


.why-phe-youth p {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 1.5rem;
    font-size: 0.95rem;
}


.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}


.why-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--green);
    border-top: 4px solid var(--green);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.why-card i {
    font-size: 2rem;
    color: var(--orange);
    margin-bottom: 0.75rem;
}


.why-card h4 {
    color: var(--navy);
    margin-bottom: 0.5rem;
}


.why-card p {
    font-size: 0.85rem;
    color: #333;
}


.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

@media (max-width: 900px) {
    .approach-impact-wrapper {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 768px) {
    #about h1 {
        font-size: 2rem;
    }

    .info-section {
        padding: 1.5rem 1.2rem;
    }


    .info-section h3 {
        font-size: 1.2rem;
    }


    .info-section p,
    .info-section ul li {
        font-size: 0.85rem;
    }

    #about {
        padding: 2.8rem 0;
    }

    .page-hero {
        height: 10rem;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    nav ul li {
        margin: 0.5rem 0;
        text-align: center;
    }

    .hamburger {
        display: block;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .content {
        max-width: 90%;
        margin: auto;
        margin-top: 1.5rem;
    }

    .mission-vision-philosophy p {
        font-size: 0.9rem;
    }

    .journey {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .journey-text p {
        font-size: 0.9rem;
    }

    .journey img {
        width: 100%;
        border-radius: 5px;
        height: auto;
    }


    .team {
        width: 100%;
    }

    .team .grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.5rem;
        padding: 1rem;
    }

    .team .card {
        background: rgba(255,255,255,0.8);
        border: 1px solid var(--green);
        padding: 0.5rem;
        border-radius: 5px;
    }

    .team p {
        font-size: 0.9rem;
    }

    .team .card p {
        font-size: 0.8rem;
    }

    .team-img {
        width: 100%;
        height: 10rem;
    }

    .member-organisations {
        margin-top: 2rem;
    }

    .member-organisations p {
        font-size: 0.9rem;
    }

    .member-organisations .grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        padding: 0.5rem;
    }


    .org-logo {
        width: 100%;
        height: 5rem;
        margin-bottom: 0.5rem;
        border-radius: 5px;
    }

    .member-organisations .grid p {
        font-size: 0.8rem;
    }

    .member-organisations .grid h4 {
        font-size: 0.9rem;
    }
}