
/* ==============================
   RESET
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #17251f;
    background: #ffffff;
    line-height: 1.6;
}

img {
    width: 100%;
    display: block;
}


/* ==============================
   HEADER
================================ */

.header {
    width: 100%;
    padding: 18px 7%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: #ffffff;

    position: sticky;
    top: 0;
    z-index: 1000;

    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}

.logo h2 {
    color: #0b6b4f;
    font-size: 20px;
    letter-spacing: 1px;
}

nav {
    display: flex;
    gap: 28px;
}

nav a {
    position: relative;

    text-decoration: none;

    color: #333;

    font-weight: 600;

    transition: 0.3s ease;
}

nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -6px;

    width: 0;
    height: 2px;

    background: #0b6b4f;

    transition: 0.3s ease;
}

nav a:hover,
nav a.active {
    color: #0b6b4f;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}


/* ==============================
   HERO
================================ */

.members-hero {
    min-height: 500px;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 60px 8%;

    color: white;

    background:
        linear-gradient(
            rgba(5, 55, 42, 0.78),
            rgba(5, 55, 42, 0.78)
        ),
        url("images/team-banner.jpg");

    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 800px;
}

.hero-content span {
    font-size: 13px;

    letter-spacing: 3px;

    font-weight: bold;
}

.hero-content h1 {
    font-size: clamp(45px, 7vw, 80px);

    line-height: 1.1;

    margin: 18px 0;
}

.hero-content p {
    max-width: 650px;

    margin: auto;

    font-size: 18px;

    opacity: 0.9;
}


/* ==============================
   INTRO
================================ */

.members-intro {
    max-width: 800px;

    margin: 100px auto 60px;

    padding: 0 25px;

    text-align: center;
}

.section-label {
    color: #0b6b4f;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 3px;
}

.members-intro h2 {
    font-size: clamp(32px, 5vw, 52px);

    margin: 12px 0 20px;

    line-height: 1.15;
}

.members-intro p {
    color: #667085;

    font-size: 17px;
}


/* ==============================
   TEAM SECTION
================================ */

.team-section {
    max-width: 1200px;

    margin: 90px auto;

    padding: 0 30px;
}

.team-background {
    max-width: none;

    padding: 100px 7%;

    background: #f5f8f7;
}

.section-heading {
    text-align: center;

    margin-bottom: 50px;
}

.section-heading span {
    color: #0b6b4f;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 3px;
}

.section-heading h2 {
    font-size: clamp(35px, 5vw, 55px);

    margin-top: 10px;
}


/* ==============================
   TEAM GRID
================================ */

.team-grid {
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;
}

.management {
    grid-template-columns:
        repeat(2, 1fr);

    max-width: 800px;
}


/* ==============================
   MEMBER CARD
================================ */

.member-card {
    background: white;

    border-radius: 22px;

    overflow: hidden;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.07);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.member-card:hover {
    transform: translateY(-12px);

    box-shadow:
        0 25px 50px rgba(0,0,0,0.14);
}


/* ==============================
   MEMBER IMAGE
================================ */

.member-image {
    height: 360px;

    position: relative;

    overflow: hidden;

    background: #e9efec;
}

.member-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}

.member-card:hover .member-image img {
    transform: scale(1.08);
}


/* ==============================
   IMAGE OVERLAY
================================ */

.member-overlay {
    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;

    padding: 35px 20px 20px;

    background:
        linear-gradient(
            transparent,
            rgba(0,0,0,0.75)
        );

    color: white;

    opacity: 0;

    transform: translateY(15px);

    transition: 0.4s ease;
}

.member-card:hover .member-overlay {
    opacity: 1;

    transform: translateY(0);
}

.member-overlay span {
    font-size: 12px;

    letter-spacing: 2px;

    font-weight: bold;
}


/* ==============================
   MEMBER INFO
================================ */

.member-info {
    padding: 25px;
}

.member-info h3 {
    font-size: 24px;

    margin-bottom: 3px;
}

.position {
    color: #0b6b4f;

    font-weight: bold;

    font-size: 14px;

    margin-bottom: 12px;
}

.description {
    color: #667085;

    font-size: 15px;
}


/* ==============================
   VALUES
================================ */

.team-values {
    padding: 110px 7%;

    background: #ffffff;
}

.values-title {
    text-align: center;

    margin-bottom: 55px;
}

.values-title span {
    color: #0b6b4f;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 3px;
}

.values-title h2 {
    font-size: clamp(35px, 5vw, 55px);

    margin-top: 10px;
}

.values-grid {
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.value-box {
    padding: 35px 25px;

    border: 1px solid #e5ebe8;

    border-radius: 18px;

    transition: 0.3s ease;
}

.value-box:hover {
    transform: translateY(-8px);

    border-color: #0b6b4f;

    box-shadow:
        0 15px 30px rgba(0,0,0,0.08);
}

.value-icon {
    color: #0b6b4f;

    font-size: 14px;

    font-weight: bold;

    margin-bottom: 20px;
}

.value-box h3 {
    font-size: 21px;

    margin-bottom: 10px;
}

.value-box p {
    color: #667085;

    font-size: 14px;
}


/* ==============================
   CTA
================================ */

.members-cta {
    padding: 100px 20px;

    text-align: center;

    background: #0b6b4f;

    color: white;
}

.members-cta h2 {
    font-size: clamp(32px, 5vw, 50px);

    margin-bottom: 12px;
}

.members-cta p {
    margin-bottom: 30px;

    font-size: 18px;
}

.members-cta a {
    display: inline-block;

    padding: 14px 30px;

    border-radius: 50px;

    background: white;

    color: #0b6b4f;

    text-decoration: none;

    font-weight: bold;

    transition: 0.3s ease;
}

.members-cta a:hover {
    transform: translateY(-4px);

    box-shadow:
        0 10px 25px rgba(0,0,0,0.2);
}


/* ==============================
   FOOTER
================================ */

footer {
    padding: 50px 20px;

    text-align: center;

    background: #101916;

    color: white;
}

footer h3 {
    margin-bottom: 10px;
}

footer p {
    color: #b7c1bd;
}

.footer-links {
    margin: 25px 0;

    display: flex;

    justify-content: center;

    gap: 25px;
}

.footer-links a {
    color: #ffffff;

    text-decoration: none;

    transition: 0.3s ease;
}

.footer-links a:hover {
    color: #70c9a8;
}

.copyright {
    font-size: 13px;
}


/* ==============================
   TABLET
================================ */

@media (max-width: 900px) {

    .team-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* ==============================
   MOBILE
================================ */

@media (max-width: 650px) {

    .header {
        flex-direction: column;

        gap: 15px;
    }

    nav {
        gap: 15px;

        flex-wrap: wrap;

        justify-content: center;
    }

    .members-hero {
        min-height: 420px;
    }

    .team-grid,
    .management {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .member-image {
        height: 400px;
    }

    .team-section {
        padding: 0 20px;
    }

    .team-background {
        padding: 80px 20px;
    }

}

