/* =========================
   RESET / BASE
========================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #1f3f5b;
    --primary-dark: #152f45;
    --accent: #d79b2e;
    --text: #303841;
    --text-light: #66717c;
    --background: #f5f7f9;
    --white: #ffffff;
    --border: #e2e7eb;
    --max-width: 1180px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    color: var(--text);
    background: var(--background);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--primary);
}

.container {
    width: min(90%, var(--max-width));
    margin: 0 auto;
}


/* =========================
   HERO
========================== */

.hero {
    background: var(--primary);
    padding: 55px 20px;
}

.hero-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.hero-logo {
    width: 360px;
    height: 210px;
    object-fit: contain;
    flex-shrink: 0;

    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.10);
}

.hero-text {
    text-align: left;
    max-width: 680px;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2.2rem, 4vw, 3.3rem);
    line-height: 1.1;
    margin-bottom: 16px;
    font-weight: 700;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.15rem;
    line-height: 1.6;
}


/* =========================
   GENERAL SECTIONS
========================== */

section {
    padding: 70px 0;
}

.section-white {
    background: var(--white);
}

.section-title {
    text-align: center;
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 15px;
}

.section-line {
    width: 55px;
    height: 3px;
    background: var(--accent);
    border: 0;
    margin: 0 auto 35px;
}

.intro {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-light);
}

.intro p + p {
    margin-top: 18px;
}


/* =========================
   MEMBERS
========================== */

.members-intro {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
    color: var(--text-light);
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.member-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;

    padding: 25px 25px 22px;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    min-height: 300px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.member-card:hover {
    transform: translateY(-4px);
    border-color: #d1d8de;
    box-shadow: 0 8px 24px rgba(20, 40, 60, 0.08);
}

.member-logo {
    width: 100%;
    height: 135px;
    max-width: 270px;

    object-fit: contain;

    margin-bottom: 6px;
}

.member-card h3 {
    color: var(--primary);
    font-size: 1.22rem;
    margin-bottom: 4px;
}

.member-name {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.4;

    margin-bottom: 10px;

    flex-grow: 1;
}

.member-link {
    display: inline-block;

    text-decoration: none;
    font-weight: 600;
    font-size: 0.82rem;

    padding: 6px 12px;

    border: 1px solid var(--primary);
    border-radius: 5px;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.member-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-1px);
}


/* =========================
   GET INVOLVED
========================== */

.involved {
    background: var(--primary);
    color: var(--white);
}

.involved .section-title {
    color: var(--white);
}

.involved-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.involved-content p {
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.88);
}

.contact-button {
    display: inline-block;

    margin-top: 15px;

    background: var(--accent);
    color: #1e2932;

    padding: 12px 22px;

    border-radius: 6px;

    text-decoration: none;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.contact-button:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}


/* =========================
   FOOTER
========================== */

footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);

    text-align: center;

    padding: 25px 20px;

    font-size: 0.88rem;
}


/* =========================
   RESPONSIVE - TABLET
========================== */

@media (max-width: 950px) {

    .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-main {
        gap: 30px;
    }

    .hero-logo {
        width: 300px;
        height: 180px;
    }
}


/* =========================
   RESPONSIVE - MOBILE
========================== */

@media (max-width: 700px) {

    .hero {
        padding: 40px 20px;
    }

    .hero-main {
        flex-direction: column;
        gap: 15px;
    }

    .hero-logo {
        width: 300px;
        height: 175px;
    }

    .hero-text {
        text-align: center;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}


@media (max-width: 620px) {

    section {
        padding: 50px 0;
    }

    .members-grid {
        grid-template-columns: 1fr;
    }

    .member-card {
        min-height: 300px;
    }

    .member-logo {
        height: 135px;
        max-width: 270px;
    }

    .section-title {
        font-size: 1.7rem;
    }
}