/* ========================================
   1. COLOUR PALETTE + RESET
======================================== */

:root {
    --oat-silk: #F3EBDD;
    --mulberry-kiss: #8E3B5A;
    --blue-reverie: #6E86A6;
    --midnight-custard: #252238;
    --deep-blue: #4D6383;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--oat-silk);
    color: var(--midnight-custard);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}


/* ========================================
   2. NAVBAR
======================================== */

.navbar {
    width: 100%;
    padding: 20px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    background-color: var(--oat-silk);

    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.logo img {
    width: 75px;
    height: 75px;
    display: block;
    object-fit: cover;
    border-radius: 50%;
}

.logo span {
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--mulberry-kiss);
    white-space: nowrap;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--midnight-custard);
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: var(--mulberry-kiss);
}


/* ========================================
   3. HERO
======================================== */

.hero {
    min-height: 90vh;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 80px 6%;

    background-color: var(--oat-silk);
}

.hero-content {
    width: 100%;
    max-width: 900px;
}

.hero-small {
    color: var(--mulberry-kiss);

    font-size: 0.9rem;
    letter-spacing: 3px;
    font-weight: bold;

    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 1.05;

    margin-bottom: 25px;

    color: var(--midnight-custard);
}

.hero-description {
    max-width: 650px;

    margin: 0 auto 35px;

    font-size: 1.1rem;

    color: var(--blue-reverie);
}

.hero-button,
.volunteer-button,
.contact-button {
    display: inline-block;

    padding: 13px 28px;

    border-radius: 30px;

    background-color: var(--mulberry-kiss);

    color: var(--oat-silk);

    font-weight: bold;

    transition: 0.3s ease;
}

.hero-button:hover,
.volunteer-button:hover,
.contact-button:hover {
    background-color: var(--midnight-custard);

    transform: translateY(-2px);
}


/* ========================================
   4. GENERAL SECTIONS
======================================== */

section {
    padding: 100px 6%;
}

.section-label {
    color: var(--mulberry-kiss);

    font-size: 0.9rem;
    letter-spacing: 3px;

    font-weight: bold;

    margin-bottom: 18px;
}

section h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);

    line-height: 1.1;

    margin-bottom: 25px;
}


/* ========================================
   5. ABOUT US
======================================== */

.about {
    background-color: var(--midnight-custard);

    color: var(--oat-silk);
}

.about-content {
    max-width: 850px;

    margin: auto;

    text-align: center;
}

.about .section-label {
    color: var(--blue-reverie);
}

.about p:not(.section-label) {
    max-width: 750px;

    margin: 15px auto;

    color: var(--oat-silk);

    opacity: 0.9;
}


/* ========================================
   6. OUR VALUES
======================================== */

.values {
    background-color: var(--oat-silk);
}

.values-content {
    max-width: 1100px;

    margin: auto;

    text-align: center;
}

.values-grid {
    margin-top: 50px;

    display: grid;

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

    gap: 20px;
}

.value-card {
    padding: 35px 25px;

    background-color: var(--blue-reverie);

    color: var(--oat-silk);

    border-radius: 18px;

    text-align: left;

    transition: 0.3s ease;
}

.value-card:hover {
    transform: translateY(-6px);
}

.value-card h3 {
    font-size: 1.3rem;

    margin-bottom: 12px;

    color: var(--midnight-custard);
}

.value-card p {
    font-size: 0.95rem;
}


/* ========================================
   7. OUR GOAL
======================================== */

.goal {
    background-color: var(--deep-blue);

    color: var(--oat-silk);
}

.goal-content {
    max-width: 1100px;

    margin: auto;

    text-align: center;
}

.goal .section-label {
    color: var(--mulberry-kiss);

    font-size: 1.4rem;

    letter-spacing: 5px;

    margin-bottom: 20px;
}

.goal h2 {
    font-size: clamp(3rem, 7vw, 6rem);

    line-height: 1;

    color: var(--oat-silk);

    max-width: 1000px;

    margin: 0 auto 30px;
}

.goal-content > p:not(.section-label) {
    max-width: 750px;

    margin: 0 auto;
}

.goal-points {
    margin-top: 50px;

    display: grid;

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

    gap: 25px;
}

.goal-point {
    padding: 30px;

    background-color: var(--oat-silk);

    color: var(--midnight-custard);

    border-radius: 18px;
}

.goal-point h3 {
    margin-bottom: 10px;

    color: var(--mulberry-kiss);
}


/* ========================================
   8. VOLUNTEERS
======================================== */

.volunteers {
    background-color: var(--oat-silk);

    text-align: center;
}

.volunteers-content {
    max-width: 700px;

    margin: auto;
}

.volunteers-content > p:not(.section-label):not(.volunteer-count) {
    margin-bottom: 30px;
}

.volunteer-count {
    margin-top: 15px;

    font-size: 0.9rem;

    color: var(--blue-reverie);
}


/* ========================================
   FOUNDER
======================================== */

.founder {
    width: 100%;
    background-color: var(--midnight-custard);
    color: var(--oat-silk);
    overflow: hidden;
}

.founder-content {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(30px, 6vw, 80px);
}

.founder-image {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;

    overflow: hidden;
    border-radius: 50%;
}

.founder-image img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;

    border-radius: 50%;
    transition: transform 0.4s ease;
}

.founder-image:hover img {
    transform: scale(1.04);
}

.founder-text {
    min-width: 0;
    width: 100%;
}

.founder-text .section-label {
    color: var(--mulberry-kiss);
}

.founder-text h2 {
    color: var(--oat-silk);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.05;
    overflow-wrap: break-word;
}

.founder-text > p:not(.section-label) {
    color: var(--oat-silk);
    margin-bottom: 20px;
    overflow-wrap: break-word;
}

.founder-role {
    color: var(--blue-reverie);
}


/* ========================================
   FOUNDER TABLET
======================================== */

@media (max-width: 900px) {
    .founder-content {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        gap: 30px;
    }

    .founder-image {
        max-width: 280px;
    }
}


/* ========================================
   FOUNDER MOBILE
======================================== */

@media (max-width: 600px) {
    .founder {
        padding: 65px 7%;
    }

    .founder-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 35px;
        width: 100%;
    }

    .founder-image {
        width: min(75vw, 280px);
        max-width: 280px;
        flex-shrink: 0;
        margin: 0 auto;
    }

    .founder-text {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .founder-text h2 {
        font-size: clamp(2.2rem, 10vw, 3rem);
        line-height: 1.1;
    }

    .founder-text p {
        font-size: 1rem;
    }
}
/* ========================================
   10. CONTACT
======================================== */

.contact {
    background-color: var(--mulberry-kiss);

    color: var(--oat-silk);

    text-align: center;
}

.contact-content {
    max-width: 700px;

    margin: auto;
}

.contact .section-label {
    color: var(--midnight-custard);
}

.contact h2 {
    color: var(--oat-silk);
}

.contact-details {
    margin: 30px 0;
}

.contact-details p {
    margin: 10px 0;
}

.contact-details a {
    text-decoration: underline;
}

.contact-button {
    background-color: var(--oat-silk);

    color: var(--midnight-custard);
}

.contact-button:hover {
    background-color: var(--midnight-custard);

    color: var(--oat-silk);
}


/* ========================================
   11. FOOTER
======================================== */

footer {
    padding: 35px 6%;

    background-color: var(--midnight-custard);

    color: var(--oat-silk);

    text-align: center;
}

footer p {
    margin: 5px 0;
}

footer p:first-child {
    font-size: 1.2rem;

    font-weight: bold;

    color: var(--mulberry-kiss);
}


/* ========================================
   12. TABLET
======================================== */

@media (max-width: 900px) {

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

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

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

        gap: 15px;
    }

    .goal-point {
        padding: 25px 18px;
    }

    .founder-content {
        grid-template-columns: 0.9fr 1.1fr;

        gap: 40px;
    }
}


/* ========================================
   13. MOBILE
======================================== */

@media (max-width: 600px) {

    /* NAVBAR */

    .navbar {
        position: relative;

        flex-direction: column;

        padding: 18px 5%;

        gap: 15px;
    }

    .logo {
        font-size: 1.1rem;

        text-align: center;
    }

    .nav-links {
        width: 100%;

        display: flex;

        flex-wrap: wrap;

        justify-content: center;

        gap: 8px 12px;
    }

    .nav-links a {
        font-size: 0.75rem;
    }


    /* GENERAL SECTIONS */

    section {
        width: 100%;

        padding: 90px 7%;
    }


    /* HERO */

    .hero {
        min-height: 85vh;

        padding: 70px 7%;
    }

    .hero-small {
        font-size: 0.75rem;

        letter-spacing: 2px;
    }

    .hero h1 {
        font-size: clamp(2.7rem, 13vw, 4.5rem);
    }

    .hero-description {
        font-size: 1rem;
    }


    /* ABOUT */

    .about-content {
        width: 100%;
    }


    /* VALUES */

    .values-grid {
        grid-template-columns: 1fr;

        gap: 18px;

        margin-top: 35px;
    }

    .value-card {
        width: 100%;
    }


    /* GOAL */

    .goal .section-label {
        font-size: 1.1rem;

        letter-spacing: 3px;
    }

    .goal h2 {
        font-size: clamp(2.7rem, 12vw, 4.5rem);
    }

    .goal-points {
        grid-template-columns: 1fr;

        gap: 18px;

        margin-top: 35px;
    }

    .goal-point {
        width: 100%;
    }


    /* VOLUNTEERS */

    .volunteers-content {
        width: 100%;
    }


    /* FOUNDER */

    .founder {
        width: 100%;
        padding: 90px 7%;
    }

    .founder-content {
        width: 100%;

        display: flex;
        flex-direction: column;

        gap: 45px;
    }

    .founder-image {
        width: 300px;
        height: 300px;

        margin: 0 auto;

        overflow: hidden;
        border-radius: 50%;
    }

    .founder-image img {
        width: 100%;
        height: 100%;

        object-fit: cover;
        object-position: center top;

        display: block;
        border-radius: 50%;
    }

    .founder-text {
        width: 100%;
        text-align: left;
    }

    .founder-text h2 {
        font-size: 3rem;
        line-height: 1;
    }


    /* CONTACT */

    .contact-content {
        width: 100%;
    }


    /* GENERAL HEADINGS */

    section h2 {
        font-size: clamp(2.3rem, 10vw, 3.5rem);
    }
}


/* ========================================
   14. CORE TEAM
======================================== */

.core-team {
    background-color: var(--oat-silk);
}

.core-team-content {
    max-width: 1100px;
    margin: auto;
}

.core-team .section-label {
    margin-bottom: 15px;
}

.core-team h2 {
    color: var(--midnight-custard);

    font-size: clamp(3rem, 7vw, 6rem);

    line-height: 0.95;

    max-width: 800px;

    margin-bottom: 80px;
}


/* TEAM LIST */

.team-list {
    display: flex;
    flex-direction: column;
}


/* PERSON */

.team-member {
    display: grid;

    grid-template-columns: 42% 58%;

    align-items: center;

    min-height: 280px;

    padding: 40px 0;

    border-top: 1px solid var(--blue-reverie);
}

.team-member:last-child {
    border-bottom: 1px solid var(--blue-reverie);
}


/* IMAGE */

.team-member img {
    width: 260px;
    height: 260px;

    object-fit: cover;

    border-radius: 50%;

    display: block;

    transition: transform 0.4s ease;
}


/* TEXT */

.team-info {
    padding-left: 20px;
}

.team-number {
    color: var(--mulberry-kiss);

    font-size: 0.85rem;

    font-weight: bold;

    letter-spacing: 3px;

    margin-bottom: 15px;
}

.team-info h3 {
    color: var(--midnight-custard);

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

    line-height: 1;

    margin-bottom: 12px;
}

.team-role {
    color: var(--blue-reverie);

    font-size: 1.1rem;

    font-weight: 600;

    margin: 0;
}


/* ========================================
   ALTERNATING LAYOUT
======================================== */

.team-member.reverse {
    grid-template-columns: 58% 42%;
}

.team-member.reverse img {
    grid-column: 2;
    grid-row: 1;

    margin-left: auto;
}

.team-member.reverse .team-info {
    grid-column: 1;
    grid-row: 1;

    text-align: right;

    padding-left: 0;
    padding-right: 20px;
}


/* ========================================
   CORE TEAM HOVER
======================================== */

.team-member:hover img {
    transform: scale(1.04);
}


/* ========================================
   CORE TEAM MOBILE
======================================== */

@media (max-width: 600px) {

    .core-team h2 {
        font-size: 3rem;

        margin-bottom: 45px;
    }

    .team-member,
    .team-member.reverse {
        grid-template-columns: 120px 1fr;

        min-height: 150px;

        padding: 25px 0;

        gap: 20px;
    }

    .team-member img,
    .team-member.reverse img {
        width: 110px;
        height: 110px;

        grid-column: 1;
        grid-row: 1;

        margin: 0;
    }

    .team-info,
    .team-member.reverse .team-info {
        grid-column: 2;
        grid-row: 1;

        text-align: left;

        padding: 0;
    }

    .team-info h3 {
        font-size: 1.5rem;
    }

    .team-role {
        font-size: 0.85rem;
    }

    .team-number {
        font-size: 0.7rem;

        margin-bottom: 8px;
    }
}


/* ========================================
   15. EVENTS
======================================== */

.events {
    background-color: var(--midnight-custard);

    color: var(--oat-silk);
}

.events-content {
    max-width: 1200px;

    margin: auto;
}

.events .section-label {
    color: var(--blue-reverie);

    margin-bottom: 15px;
}

.events h2 {
    color: var(--oat-silk);

    font-size: clamp(3rem, 7vw, 6rem);

    line-height: 0.95;

    max-width: 900px;

    margin-bottom: 70px;
}


/* EVENT CARD */

.event-card {
    display: grid;

    grid-template-columns: 420px 1fr;

    gap: 70px;

    align-items: center;

    padding: 55px;

    background-color: var(--oat-silk);

    color: var(--midnight-custard);

    border-radius: 25px;
}


/* EVENT POSTER */

.event-poster {
    width: 100%;

    overflow: hidden;

    border-radius: 18px;
}

.event-poster img {
    width: 100%;
    height: auto;

    display: block;

    object-fit: cover;

    transition: transform 0.4s ease;
}

.event-poster:hover img {
    transform: scale(1.03);
}


/* EVENT INFORMATION */

.event-info {
    max-width: 600px;
}

.event-date {
    color: var(--mulberry-kiss);

    font-size: 0.85rem;

    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 20px;
}

.event-info h3 {
    color: var(--midnight-custard);

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

    line-height: 1;

    margin-bottom: 25px;
}

.event-info p:not(.event-date) {
    color: var(--deep-blue);

    font-size: 1.05rem;

    line-height: 1.7;

    max-width: 550px;
}


/* EVENT BUTTON */

.event-button {
    display: inline-block;

    margin-top: 25px;

    padding: 14px 28px;

    background-color: var(--mulberry-kiss);

    color: var(--oat-silk);

    text-decoration: none;

    font-weight: 600;

    border-radius: 50px;

    transition:
        transform 0.3s ease,
        background-color 0.3s ease;
}

.event-button:hover {
    transform: translateY(-3px);

    background-color: var(--deep-blue);
}


/* ========================================
   EVENTS MOBILE
======================================== */

@media (max-width: 600px) {

    .events-content {
        width: 100%;
    }

    .events h2 {
        font-size: 3rem;

        margin-bottom: 40px;
    }

    .event-card {
        grid-template-columns: 1fr;

        gap: 35px;

        padding: 25px;

        border-radius: 20px;
    }

    .event-poster {
        width: 100%;

        max-width: 400px;

        margin: 0 auto;
    }

    .event-info h3 {
        font-size: 2rem;
    }

    .event-info p:not(.event-date) {
        font-size: 0.95rem;
    }

    .event-button {
        margin-top: 20px;
    }
}