@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary-color1: #D61F27;
    --primary-color2: #005B30;
    --primary-hover: #c157d6;
    --secondary-color: #E9D4ED;

    --background-color: #ffffff;
    --primary-background: #F5EFEA;
    --secondary-background: #E4D5B7;

    --text-color: #000000;
    --text-white: #ffffff;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* ---------------- Media Gallery Page Style ---------------- */

#our-team-banner {
    height: 400px;
    width: 100%;
    background: url(../../assets/images/team_banner.png) no-repeat center center;
    background-size: cover;
}

#our-team-banner #our-team-heading {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 100px;
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
}

#team-heading {
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 20px;
    color: var(--primary-color1);    
}

.team-member {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 500px;
}

.team-member img {
    width: 100%;
    height: 84%;
    max-width: 100%;
    object-fit: cover;
    border-radius: 5px 5px 0 0;
}

.team-member-content {
    background-color: #222;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    flex-grow: 1;
    border-radius: 0 0 5px 5px;
}

.team-member-content h5 {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0;
}

.team-member-content p {
    font-size: 1rem;
    margin-bottom: 0;
}

.section-title {
    margin-bottom: 50px;
}

/* ---------------- Responsive Styles ---------------- */

/* For tablets and small devices (portrait mode) */
@media only screen and (max-width: 768px) {
    #our-team-banner {
        height: 300px;
    }

    #our-team-banner #our-team-heading {
        font-size: 70px;
    }

    #team-heading {
        font-size: 30px;
    }

    .team-member {
        height: auto;
        margin-bottom: 30px;
    }

    .team-member img {
        height: 70%;
    }

    .team-member-content h5 {
        font-size: 1.1rem;
    }

    .team-member-content p {
        font-size: 0.9rem;
    }

    .section-title {
        margin-bottom: 30px;
    }
}

/* For extra small devices (phones in portrait mode) */
@media only screen and (max-width: 480px) {
    #our-team-banner {
        height: 250px;
    }

    #our-team-banner #our-team-heading {
        font-size: 60px;
    }

    #team-heading {
        font-size: 25px;
    }

    .team-member {
        margin-bottom: 20px;
    }

    .team-member img {
        height: 60%;
    }

    .team-member-content h5 {
        font-size: 1rem;
    }

    .team-member-content p {
        font-size: 0.85rem;
    }

    .section-title {
        margin-bottom: 20px;
    }
}
