/*
PURPOSE OF THIS FILE:
Styles only the TEAM section added to about.html.

HOW TO USE:
1. Save this file as:
   assets/css/about-team.css

2. about.html already contains:
   <link rel="stylesheet" href="assets/css/about-team.css">

3. When founder photos are ready, replace the placeholder <div>
   inside each team card with:
   <img class="team-photo" src="assets/images/your-photo.jpg" alt="Founder name">
*/


/* =========================================================
   TEAM SECTION
========================================================= */

.team-section {
    background: transparent;
}

.team-eyebrow {
    color: #2568e8;
}

.team-title {
    max-width: 2180px;
    margin: 0;
    color: #09152d;
    font-size: clamp(42px, 5vw, 70px);
    line-height: 1.03;
    letter-spacing: -0.045em;
}


/* =========================================================
   TEAM CARD GRID
========================================================= */

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-top: 54px;
}


/* =========================================================
   INDIVIDUAL TEAM CARD
========================================================= */

.team-card {
    min-width: 0;
    min-height: 610px;
    display: flex;
    flex-direction: column;
    overflow: hidden;

    border: 1px solid #dce5ef;
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.96);

    box-shadow:
        0 18px 50px rgba(25, 62, 110, 0.08);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.team-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 28px 65px rgba(25, 62, 110, 0.13);
}


/* =========================================================
   PHOTO AREA
========================================================= */

.team-photo-wrap {
    padding: 36px 36px 0;
}


/*
PHOTO PLACEHOLDER:
Visible until you add the actual founder photograph.
*/
.team-photo-placeholder {
    width: 180px;
    height: 180px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px dashed rgba(37, 104, 232, 0.35);
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(232, 243, 255, 1),
            rgba(248, 251, 255, 1)
        );

    color: rgba(7, 26, 52, 0.48);

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}


/*
USE THIS CLASS FOR THE REAL PHOTOS LATER.

Example:
<img
    class="team-photo"
    src="assets/images/team-sevinj.jpg"
    alt="Dr. Sevinj Omarli"
>
*/
.team-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto;

    display: block;

    object-fit: cover;
    object-position: center;

    border-radius: 18px;

    box-shadow:
        0 12px 30px rgba(7, 26, 52, 0.10);
}


/* =========================================================
   TEAM CARD CONTENT
========================================================= */

.team-card-body {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding: 28px 36px 38px;

    text-align: center;
}

.team-card h3 {
    margin: 0;

    color: #09152d;

    font-size: clamp(22px, 2vw, 29px);
    line-height: 1.16;
    letter-spacing: -0.025em;
}

.team-role {
    min-height: 52px;

    margin: 18px 0 0;

    color: #1264e8;

    font-size: 18px;
    font-weight: 600;
    font-style: italic;
    line-height: 1.35;
}


/* =========================================================
   FOUNDER DETAILS
========================================================= */

.team-points {
    margin: auto 0 0;
    padding: 42px 0 0 22px;

    color: #304664;

    text-align: left;

    font-size: 16px;
    line-height: 1.7;
}

.team-points li {
    padding-left: 8px;
}

.team-points li + li {
    margin-top: 5px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 720px;
        margin-inline: auto;
        margin-top: 46px;
    }

    .team-card {
        min-height: auto;
    }

    .team-card-body {
        min-height: 330px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 560px) {

    .team-title {
        font-size: 40px;
    }

    .team-grid {
        gap: 20px;
    }

    .team-photo-wrap {
        padding: 28px 28px 0;
    }

    .team-photo-placeholder,
    .team-photo {
        width: 150px;
        height: 150px;
    }

    .team-card-body {
        min-height: 0;
        padding: 24px 28px 32px;
    }

    .team-role {
        min-height: 0;
    }

    .team-points {
        margin-top: 38px;
        padding-top: 0;
    }

}
