/* =========================================================
   FUEL-S TEAM PAGE
========================================================= */


/* =========================================================
   ACTIVE NAVIGATION
========================================================= */

.nav-links a.team-active {
    color: red;
    border-bottom: 2px solid rgb(160, 0, 0);
}



/* =========================================================
   HERO
========================================================= */

.team-hero {

    position: relative;

    min-height: 440px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 6rem 2rem 4rem;

    text-align: center;

    color: white;

    background:

        linear-gradient(
            rgba(0, 55, 100, 0.74),
            rgba(0, 110, 85, 0.78)
        ),

        url("image_2.jpeg");

    background-size: cover;

    background-position: center;

}


.team-hero::after {

    content: "";

    position: absolute;

    inset: 0;

    background:

        linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.08),
            rgba(0, 50, 45, 0.18)
        );

}


.team-hero-content {

    position: relative;

    z-index: 2;

    max-width: 850px;

}


.team-label {

    display: inline-block;

    font-family: "Tektur", sans-serif;

    font-size: 0.9rem;

    font-weight: 600;

    letter-spacing: 5px;

    margin-bottom: 1rem;

}


.team-hero h1 {

    font-family: "Tektur", sans-serif;

    font-size:

        clamp(
            3rem,
            7vw,
            5.5rem
        );

    line-height: 1;

    font-weight: 600;

    margin-bottom: 1.5rem;

}


.team-hero p {

    max-width: 720px;

    margin: auto;

    font-size: 1.08rem;

    line-height: 1.8;

    color:

        rgba(
            255,
            255,
            255,
            0.9
        );

}



/* =========================================================
   GENERAL TEAM SECTION
========================================================= */

.team-section {

    max-width: 1400px;

    margin: auto;

    padding: 6rem 6%;

}


.team-alt {

    max-width: none;

    padding-left: max(
        6%,
        calc((100vw - 1400px) / 2 + 6%)
    );

    padding-right: max(
        6%,
        calc((100vw - 1400px) / 2 + 6%)
    );

    background: #f1f6f5;

}



/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {

    max-width: 760px;

    margin: 0 auto 3.5rem;

    text-align: center;

}


.section-heading span {

    display: block;

    margin-bottom: 0.7rem;

    color: #1b6ca8;

    font-size: 0.78rem;

    font-weight: 700;

    letter-spacing: 3px;

}


.section-heading h2 {

    font-family:
        "Tektur",
        sans-serif;

    font-size:

        clamp(
            2.1rem,
            4vw,
            3rem
        );

    margin-bottom: 1rem;

    color: #1d2a26;

}


.section-heading p {

    line-height: 1.8;

    color: #666;

    font-size: 1rem;

}



/* =========================================================
   LAB LEADER CARD
========================================================= */

.leader-card {

    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns:
        380px 1fr;

    align-items: center;

    gap: 4rem;

    padding: 2.5rem;

    background: white;

    border-radius: 22px;

    box-shadow:

        0 12px 35px

        rgba(
            0,
            0,
            0,
            0.1
        );

}


.leader-image {

    width: 100%;

    aspect-ratio: 1 / 1;

    border-radius: 18px;

    overflow: hidden;

}


.leader-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

}


.leader-content {

    padding-right: 1rem;

}


.member-role {

    display: inline-block;

    margin-bottom: 0.6rem;

    color: #00897b;

    font-size: 0.8rem;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;

}


.leader-content h2 {

    font-family:
        "Tektur",
        sans-serif;

    font-size: 2.2rem;

    color: #153c31;

    margin-bottom: 0.5rem;

}


.leader-content h4 {

    color: #666;

    font-weight: 500;

    margin-bottom: 1.5rem;

}


.leader-content p {

    color: #555;

    line-height: 1.8;

    margin-bottom: 1.6rem;

}



/* =========================================================
   RESEARCH TAGS
========================================================= */

.research-tags,
.member-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 0.6rem;

}


.research-tags span,
.member-tags span {

    padding:

        0.45rem
        0.8rem;

    border-radius: 50px;

    background: #e8f4f1;

    color: #14715f;

    font-size: 0.78rem;

    font-weight: 600;

}



/* =========================================================
   PROFILE LINKS
========================================================= */

.profile-links {

    display: flex;

    gap: 1rem;

    margin-top: 1.8rem;

}


.profile-links a {

    display: inline-block;

    padding:

        0.75rem
        1.4rem;

    border-radius: 8px;

    text-decoration: none;

    font-weight: 600;

    color: white;

    background:

        linear-gradient(
            135deg,
            #1b6ca8,
            #00897b
        );

    transition:

        transform 0.25s ease,

        box-shadow 0.25s ease;

}


.profile-links a:hover {

    transform:
        translateY(-3px);

    box-shadow:

        0 8px 18px

        rgba(
            0,
            0,
            0,
            0.18
        );

}



/* =========================================================
   TEAM GRID
========================================================= */

.team-grid {

    display: grid;

    grid-template-columns:

        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 1.8rem;

}



/* =========================================================
   TEAM MEMBER CARD
========================================================= */

.team-card {

    background: white;

    border-radius: 18px;

    overflow: hidden;

    box-shadow:

        0 5px 18px

        rgba(
            0,
            0,
            0,
            0.08
        );

    transition:

        transform 0.35s ease,

        box-shadow 0.35s ease;

}


.team-card:hover {

    transform:
        translateY(-8px);

    box-shadow:

        0 16px 32px

        rgba(
            0,
            0,
            0,
            0.15
        );

}



/* =========================================================
   MEMBER IMAGE
========================================================= */

.member-image {

    width: 100%;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: #e6e6e6;

}


.member-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition:

        transform 0.5s ease;

}


.team-card:hover
.member-image img {

    transform:
        scale(1.05);

}



/* =========================================================
   MEMBER INFORMATION
========================================================= */

.member-info {

    padding: 1.5rem;

}


.member-info h3 {

    font-family:
        "Tektur",
        sans-serif;

    color: #1d3029;

    font-size: 1.25rem;

    margin-bottom: 0.4rem;

}


.member-program {

    color: #555;

    font-size: 0.9rem;

    margin-bottom: 1rem;

}


.member-description {

    color: #666;

    font-size: 0.9rem;

    line-height: 1.7;

    margin-bottom: 1.3rem;

}



/* =========================================================
   COMPACT CARDS
========================================================= */

.compact-grid {

    grid-template-columns:

        repeat(
            3,
            minmax(0, 1fr)
        );

}


.compact-card .member-info {

    text-align: center;

}



/* =========================================================
   ALUMNI
========================================================= */

.alumni-grid {

    display: grid;

    grid-template-columns:

        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 1.5rem;

    max-width: 1100px;

    margin: auto;

}


.alumni-card {

    padding: 1.8rem;

    background: white;

    border-left:
        4px solid
        #00897b;

    border-radius: 10px;

    box-shadow:

        0 4px 15px

        rgba(
            0,
            0,
            0,
            0.07
        );

}


.alumni-card h3 {

    font-family:
        "Tektur",
        sans-serif;

    color: #233b33;

    margin-bottom: 0.5rem;

}


.alumni-card p {

    color: #555;

    margin-bottom: 0.7rem;

}


.alumni-card span {

    color: #888;

    font-size: 0.85rem;

}



/* =========================================================
   RESPONSIVE
========================================================= */

@media
(max-width: 1150px) {

    .team-grid {

        grid-template-columns:

            repeat(
                3,
                minmax(0, 1fr)
            );

    }


    .leader-card {

        grid-template-columns:
            320px 1fr;

        gap: 2.5rem;

    }

}



@media
(max-width: 900px) {

    .leader-card {

        grid-template-columns:
            1fr;

        max-width: 650px;

    }


    .leader-image {

        max-width: 380px;

        margin: auto;

    }


    .leader-content {

        text-align: center;

        padding-right: 0;

    }


    .research-tags,
    .profile-links {

        justify-content: center;

    }


    .team-grid {

        grid-template-columns:

            repeat(
                2,
                minmax(0, 1fr)
            );

    }


    .compact-grid {

        grid-template-columns:

            repeat(
                2,
                minmax(0, 1fr)
            );

    }


    .alumni-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}



@media
(max-width: 600px) {

    .team-hero {

        min-height: 350px;

    }


    .team-hero h1 {

        font-size: 2.7rem;

    }


    .team-section {

        padding:

            4rem
            5%;

    }


    .team-grid,
    .compact-grid,
    .alumni-grid {

        grid-template-columns:
            1fr;

    }


    .leader-card {

        padding: 1.3rem;

        border-radius: 16px;

    }


    .leader-content h2 {

        font-size: 1.8rem;

    }


    .profile-links {

        flex-direction: column;

    }


    .profile-links a {

        text-align: center;

    }

}

/* =========================================================
   STAFF SECTION
========================================================= */

.staff-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 2.5rem;

    max-width: 950px;

    margin: auto;

}


/* =========================================================
   STAFF CARD
========================================================= */

.staff-card {

    background: white;

    border-radius: 18px;

    overflow: hidden;

    box-shadow:

        0 5px 18px

        rgba(
            0,
            0,
            0,
            0.08
        );

    transition:

        transform 0.35s ease,

        box-shadow 0.35s ease;

}


.staff-card:hover {

    transform:
        translateY(-7px);

    box-shadow:

        0 16px 32px

        rgba(
            0,
            0,
            0,
            0.15
        );

}


/* =========================================================
   STAFF IMAGE
========================================================= */

.staff-image {

    width: 100%;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    background:
        #e8e8e8;

}


.staff-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition:

        transform
        0.5s ease;

}


.staff-card:hover
.staff-image img {

    transform:
        scale(1.05);

}


/* =========================================================
   STAFF INFORMATION
========================================================= */

.staff-info {

    padding:
        1.6rem;

}


.staff-role {

    display: inline-block;

    margin-bottom:
        0.6rem;

    color:
        #00897b;

    font-size:
        0.78rem;

    font-weight:
        700;

    letter-spacing:
        1.3px;

    text-transform:
        uppercase;

}


.staff-info h3 {

    font-family:
        "Tektur",
        sans-serif;

    color:
        #1d3029;

    font-size:
        1.3rem;

    margin-bottom:
        0.4rem;

}


.staff-position {

    color:
        #555;

    font-size:
        0.9rem;

    font-weight:
        500;

    margin-bottom:
        1rem;

}


.staff-description {

    color:
        #666;

    font-size:
        0.9rem;

    line-height:
        1.7;

}


/* =========================================================
   STAFF LINKS
========================================================= */

.staff-links {

    display: flex;

    flex-wrap: wrap;

    gap:
        0.7rem;

    margin-top:
        1.4rem;

}


.staff-links a {

    display:
        inline-block;

    padding:

        0.65rem
        1.15rem;

    border-radius:
        7px;

    background:

        linear-gradient(
            135deg,
            #1b6ca8,
            #00897b
        );

    color:
        white;

    text-decoration:
        none;

    font-size:
        0.83rem;

    font-weight:
        600;

    transition:

        transform
        0.25s ease,

        box-shadow
        0.25s ease;

}


.staff-links a:hover {

    transform:
        translateY(-2px);

    box-shadow:

        0 6px 14px

        rgba(
            0,
            0,
            0,
            0.15
        );

}


/* =========================================================
   STAFF RESPONSIVE
========================================================= */

@media
(max-width: 950px) {

    .staff-grid {

        grid-template-columns:

            repeat(
                2,
                minmax(0, 1fr)
            );

    }

}


@media
(max-width: 600px) {

    .staff-grid {

        grid-template-columns:
            1fr;

    }

}