/* ================================
   SECTION WRAPPER
================================ */

.overview,
.competitions,
.join {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 40px 20px;
    text-align: center;
}

/* ================================
   HERO
================================ */

.hero {
    background: linear-gradient(135deg, #dcefe3 0%, #c8e3d3 100%);
    padding: 55px 20px;
    text-align: center;
    color: #063843;
}

.hero h1 {
    margin-bottom: 10px;
}

.hero p {
    margin-bottom: 18px;
}

.hero .cta-button {
    background: #D4AF37;
    color: #063843;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    display: inline-block;
}

.hero .cta-button:hover {
    background: #E6C75A;
}

.hero-note {
    margin-top: 12px;
    color: #355b52;
    font-size: 0.95rem;
}

/* ================================
   HOW IT WORKS
================================ */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.step {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step h3 {
    color: #063843;
    margin-bottom: 8px;
}

.step p {
    color: #555;
    font-size: 0.95rem;
}

.step:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.08);
}

/* ================================
   FEATURED COMPETITIONS
================================ */

.competitions {
    padding: 30px 20px;
}

.competition-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.competition-card {
    background: #ffffff;
    width: 100%;
    max-width: 320px;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.competition-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(0,0,0,0.12);
}

.competition-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.competition-card p {
    font-size: 0.95rem;
    color: #555;
}

.competition-card .cta-button {
    margin-top: auto;
    width: 100%;
    border-radius: 8px;
}

/* ================================
   STATUS COLOURS
================================ */

.status-active {
    color: #067236;
    font-weight: 700;
}

.status-pending {
    color: #D4AF37;
    font-weight: 700;
}

.status-completed {
    color: #888888;
    font-weight: 700;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 768px) {
    .steps {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 45px 20px;
    }
}
