﻿.link-2 {
    background-color: #e7e7df;
}

.mobile-link-2 {
    color: blue;
}

/* ========================= Title/Important Links ========================= */

.title-box {
    height: auto;
    width: 95vw;
    /* background-color: aqua; */
    margin: auto;
    margin-top: 3vh;
    display: flex;
    justify-content: space-between;
}

.left-box {
    width: 67%;
    border-radius: 10px;
    padding: 0 4vw;
    background-color: var(--background);
}

    .left-box:hover {
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    }

    .left-box h2 {
        text-align: center;
        margin: 2vh 0;
        font-family: Kaushan Script;
        font-size: 40px;
        color: var(---dark_text);
    }

.left-text {
    display: flex;
    flex-direction: column;
    gap: 3vh;
    padding-bottom: 2vh;
    text-align: justify;
}

/* Team Section */
.team-section {
    width: 95vw;
    margin: auto;
    text-align: center;
    background-color: var(--background);
    border-radius: 10px;
    padding: 0 1vw 2vh;
}

.section-title {
    text-align: center;
    margin: 2vh 0;
    font-family: Kaushan Script;
    font-size: 40px;
    color: var(---dark_text);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    /* margin-top: 50px; */
}

.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
}

    .team-card:hover {
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }

.member-img-placeholder {
    height: 250px;
    background: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #ddd;
}

.member-info {
    padding: 30px;
}

.member-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.member-role {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.member-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========================= Mobile Screen (Rotate) ========================= */

@media (max-width: 940px) {
    /* ========================= Title/Important Links ========================= */

    .title-box {
        flex-direction: column;
        gap: 7vh;
    }

    .left-box {
        width: 100%;
        padding: 0 5vw;
    }

    .left-text {
        gap: 4vh;
        padding-bottom: 5vh;
    }

    .right-box {
        width: 100%;
    }

        .right-box:hover {
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
        }

    .right-text {
        padding: 5vh 0;
    }

    .right-box a {
        padding: 4vh 3vw;
        font-size: 20px;
        background-color: #e7e7df;
    }
}

/* ========================= Mobile Screen ========================= */

@media (max-width: 768px) {
    /* ========================= Title/Important Links ========================= */

    .title-box {
        gap: 2vh;
    }

    .left-box {
        padding: 0 5vw;
    }

    .left-text {
        gap: 2vh;
        padding-bottom: 2vh;
    }

    .right-text {
        padding: 2vh 0;
    }

    .right-box a {
        padding: 1.5vh 5vw;
    }
}