

/* =================================
   SLIDER ARROW CONTROLS 
   ================================= */

.slider {
    position: relative;
}

/* Arrow buttons */

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    z-index: 20;

    width: 46px;
    height: 46px;

    padding: 0;

    border: none;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;

    font-size: 25px;
    line-height: 46px;
    text-align: center;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

/* Left arrow */

.slider-arrow-left {
    left: 15px;
}

/* Right arrow */

.slider-arrow-right {
    right: 15px;
}

/* Hover */

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.75);
    transform: translateY(-50%) scale(1.08);
}

/* Click */

.slider-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

/* Mobile */

@media (max-width: 600px) {

    .slider-arrow {
        width: 38px;
        height: 38px;

        font-size: 20px;
        line-height: 38px;
    }

    .slider-arrow-left {
        left: 8px;
    }

    .slider-arrow-right {
        right: 8px;
    }

}

/* =========================================
   COLOUR VARIABLES
========================================= */

:root {
    --blue: #062b5c;
    --blue-light: #0b4a91;

    --gold: #f4c542;
    --gold-light: #ffe89a;

    --white: #ffffff;
    --light: #f5f8fc;

    --text: #1c2a3a;

    --shadow:
        0 10px 30px rgba(0, 0, 0, 0.12);
}


/* =========================================
   GENERAL
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--text);

    background: var(--white);

    line-height: 1.6;
}


section {
    padding: 90px 20px;
}


.container {
    max-width: 1100px;

    margin: auto;
}


.section-title {
    text-align: center;

    margin-bottom: 50px;
}


.section-title h2 {
    color: var(--blue);

    font-size: 2.5rem;

    margin-bottom: 12px;
}


.section-title .line {
    width: 60px;

    height: 4px;

    background: var(--gold);

    margin: auto;

    border-radius: 5px;
}


/* =========================================
   BUTTONS
========================================= */

.button {
    display: inline-block;

    background: var(--gold);

    color: var(--blue);

    padding: 15px 30px;

    border-radius: 30px;

    text-decoration: none;

    font-weight: bold;

    transition: 0.25s;
}


.button:hover {
    background: var(--gold-light);

    transform: translateY(-2px);
}


/* =========================================
   HEADER
========================================= */

header {
    background: var(--blue);

    color: var(--white);

    min-height: 90vh;

    display: flex;

    flex-direction: column;

    position: relative;

    overflow: hidden;
}


/* Decorative circles */

header::before,
header::after {
    content: "";

    position: absolute;

    border-radius: 50%;

    background:
        rgba(244, 197, 66, 0.08);
}


header::before {
    width: 500px;

    height: 500px;

    right: -200px;

    top: -200px;
}


header::after {
    width: 300px;

    height: 300px;

    left: -150px;

    bottom: -150px;
}


/* =========================================
   NAVIGATION
========================================= */

nav {
    width: 100%;

    max-width: 1200px;

    margin: auto;

    padding: 25px 30px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    position: relative;

    z-index: 2;
}


.logo {
    font-size: 1.4rem;

    font-weight: bold;

    color: var(--gold);
}


nav ul {
    list-style: none;

    display: flex;

    gap: 25px;
}


nav a {
    color: white;

    text-decoration: none;

    font-weight: 500;

    transition: color 0.2s;
}


nav a:hover {
    color: var(--gold);
}


/* =========================================
   HERO
========================================= */

.hero {
    max-width: 1100px;

    width: 90%;

    margin: auto;

    padding: 60px 0 100px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 60px;
}


.hero-text {
    flex: 1;
}


.hero-text h1 {
    font-size:
        clamp(2.8rem, 6vw, 5rem);

    line-height: 1.05;

    margin-bottom: 25px;
}


.hero-text h1 span {
    color: var(--gold);
}


.hero-text p {
    font-size: 1.25rem;

    max-width: 650px;

    opacity: 0.9;

    margin-bottom: 35px;
}


/* =========================================
   LEUKEMIA RIBBON
========================================= */

.ribbon-container {
    width: 280px;

    height: 320px;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;
}


.ribbon {
    width: 85px;

    height: 220px;

    border:
        24px solid var(--gold);

    border-bottom: 0;

    border-radius:
        50px 50px 0 0;

    transform: rotate(38deg);

    position: relative;
}


.ribbon::after {
    content: "";

    position: absolute;

    width: 85px;

    height: 130px;

    border:
        24px solid var(--gold);

    border-top: 0;

    border-radius:
        0 0 20px 20px;

    left: -24px;

    top: 180px;

    transform: rotate(-20deg);
}


/* =========================================
   ABOUT
========================================= */

.about {
    background: var(--light);
}


.about-content {
    max-width: 850px;

    margin: auto;

    text-align: center;

    font-size: 1.15rem;
}


.about-content p {
    margin-bottom: 20px;
}


/* =========================================
   PARTICIPANTS
========================================= */

.participants {
    background: white;
}


.slider {
    max-width: 900px;

    margin: auto;

    position: relative;

    overflow: hidden;

    border-radius: 20px;

    box-shadow: var(--shadow);
}


.slides {
    display: flex;

    transition:
        transform 0.5s ease;
}


.slide {
    min-width: 100%;

    background: var(--blue);

    color: white;

    display: grid;

    grid-template-columns: 45% 55%;

    min-height: 400px;
}


.slide-image {
    background-size: cover;

    background-position: center;

    min-height: 300px;
}


/*
    Replace these URLs with your
    actual participant photographs.
*/

.participant-one {
    background-image:
        url(
            "/lucky_clover.jpg"
        );
}


.participant-two {
    background-image:
        url(
            "https://images.unsplash.com/photo-1524368535928-5b5e00ddc76b?auto=format&fit=crop&w=900&q=80"
        );
}


.participant-three {
    background-image:
        url(
            "/awesome giant stride.jpg"
        );
}


.slide-content {
    padding: 45px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}


.slide-content h3 {
    color: var(--gold);

    font-size: 2rem;

    margin-bottom: 15px;
}


.slide-content p {
    opacity: 0.9;
}


/* =========================================
   SLIDER DOTS
========================================= */

.slider-controls {
    display: flex;

    justify-content: center;

    gap: 10px;

    margin-top: 25px;
}


.dot {
    width: 12px;

    height: 12px;

    border-radius: 50%;

    background: #ccc;

    border: none;

    cursor: pointer;
}


.dot.active {
    background: var(--gold);
}


/* =========================================
   EVENT ACTIVITIES
========================================= */

.activities {
    background: var(--light);
}


.activity-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 25px;
}


.activity-card {
    background: white;

    padding: 30px 20px;

    text-align: center;

    border-radius: 15px;

    box-shadow: var(--shadow);

    transition:
        transform 0.2s;
}


.activity-card:hover {
    transform:
        translateY(-5px);
}


.activity-icon {
    font-size: 2.5rem;

    margin-bottom: 15px;
}


.activity-card h3 {
    color: var(--blue);

    margin-bottom: 10px;
}


/* =========================================
   Q&A
========================================= */

.qa {
    background: white;
}


.faq {
    max-width: 850px;

    margin: auto;
}


.faq-item {
    border-bottom:
        1px solid #ddd;
}


.faq-question {
    width: 100%;

    padding: 22px 10px;

    background: none;

    border: none;

    text-align: left;

    font-size: 1.1rem;

    font-weight: bold;

    color: var(--blue);

    cursor: pointer;

    display: flex;

    justify-content: space-between;

    align-items: center;
}


.faq-question span {
    color: var(--gold);

    font-size: 1.5rem;
}


.faq-answer {
    max-height: 0;

    overflow: hidden;

    transition:
        max-height 0.3s ease;

    padding: 0 10px;
}


.faq-answer p {
    padding-bottom: 20px;
}


.faq-item.active .faq-answer {
    max-height: 200px;
}


/* =========================================
   DONATION
========================================= */

.donation {
    background: var(--blue);

    color: white;

    text-align: center;
}


.donation h2 {
    font-size: 2.8rem;

    margin-bottom: 20px;
}


.donation p {
    max-width: 650px;

    margin: 0 auto 30px;

    font-size: 1.1rem;

    opacity: 0.9;
}


.donate-button {
    background: var(--gold);

    color: var(--blue);

    font-size: 1.2rem;

    padding: 18px 45px;
}


.donate-button:hover {
    background: var(--gold-light);
}


/* =========================================
   FOOTER
========================================= */

footer {
    background: #031d3d;

    color: white;

    text-align: center;

    padding: 30px 20px;

    font-size: 0.9rem;
}


footer span {
    color: var(--gold);
}


/* =========================================
   TABLETS
========================================= */

@media (max-width: 800px) {

    nav ul {
        display: none;
    }


    .hero {
        flex-direction: column;

        text-align: center;

        padding-top: 30px;
    }


    .ribbon-container {
        width: 200px;

        height: 220px;

        transform: scale(0.75);
    }


    .slide {
        grid-template-columns: 1fr;
    }


    .slide-image {
        min-height: 250px;
    }


    .slide-content {
        padding: 30px;
    }


    .activity-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 500px) {

    section {
        padding: 65px 15px;
    }


    .hero-text h1 {
        font-size: 2.8rem;
    }


    .activity-grid {
        grid-template-columns: 1fr;
    }


    .section-title h2 {
        font-size: 2rem;
    }


    .hero-text p {
        font-size: 1.05rem;
    }


    .slide-content h3 {
        font-size: 1.6rem;
    }

}

.event-logo {
    width: 450px;
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================
   CONTACT FORM
========================== */

.contact {
    padding: 80px 20px;
    background: #f5f9fc;
}

.contact-form {
    max-width: 700px;
    margin: 40px auto 0;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 16px;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e5a91;
}

.form-group textarea {
    resize: vertical;
}

.contact-form .button {
    border: none;
    cursor: pointer;
    font-size: 16px;
}


/* =========================
   EVENT LOCATION MAP
========================== */

.map-container {
    width: 100%;
    max-width: 700px;
    margin: 25px auto 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 320px;
    border: 0;
}


/* =========================
   FAQ - LOCATION MAP FIX
========================== */

/* Allow the FAQ containing the map to fully expand */

.faq-item.active .faq-answer {
    max-height: 1200px !important;
    height: auto !important;
    overflow: visible !important;
}


/* =========================
   MOBILE
========================== */

@media (max-width: 600px) {

    .map-container {
        width: 100%;
        margin: 20px auto 15px;
        border-radius: 10px;
    }

    .map-container iframe {
        height: 280px;
    }

}
