.team_main_head {
    font-size: 3.3rem;
    font-weight: bold;
    color: #017121;
}
.volunteer {
    border-radius: 20px;
    box-shadow: 0 0 8px #666666;
    background: linear-gradient(to left, hsla(140, 98%, 22%, 0.843), #72fa96de);
    width: 96%;
    margin: auto;
    margin-top: 4rem;
    margin-bottom: 2.5rem;
}
.btn-vol {
    background: #f7fffb;
    color: #028d37;
    text-shadow: 1px 1px 2px #bef7e5;
    text-decoration: none;
    padding: 13px;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 20px;
    box-shadow: inset 2px 2px 4px #445c51;
    user-select: none;
    transition: all 0.3s ease;
}

.btn-vol:hover {
    color: #026d35;
}

.btn-vol:active {
    transform: scale(0.90);
}
/* volunteer count */
.volunteer_count {
    position: relative;
    background: url('../images/team-volun-bg.jpg') no-repeat center center;
    background-size: cover;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #777c7967;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}
.overlay .h1 {
    font-size: 3.3rem;
    margin: 0;
    color: #95f974;
}

.count {
    font-size: 6rem;
    font-weight: bold;
    margin: 0;
}

/* Team card style */
.team-fluid {
    margin: 2rem;
}
.team-box {
    margin-top: 5rem;
}
.team-img {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}
.team-info {
    padding-left: 1.3rem;
    padding-top: 3rem;
    text-align: left;
}
.team-box:hover .team-img img {
    transform: scale(1.1);
    transition: transform 0.3s ease;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
    border: 2px solid rgb(219, 217, 217);
}
.team-img img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    box-shadow: 3px 3px 10px #b3b2b2;
    object-fit: cover;
}
.team-desc {
    padding: 0.5rem;
}
.team-info .h2 {
    color: #017839;
    font-weight: bold;
    font-size: 1.3rem;
}

.description h5 {
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: green;
}

.description p {
    font-size: 1rem;
}
.team-box .social-media-icons {
    border-top: 1px solid rgb(213, 213, 213);
    padding-top: 0.5rem;
}
.team-box .social-media-icons i {
    font-size: 1.1rem;
    color: #037538;
}

/* Responsive media queries */
@media (max-width: 898px) {
    .team-box {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .team-fluid {
        max-width: 80%;
        margin: 0 auto;
    }
}
@media (max-width: 530px) {
    .team-fluid {
        max-width: 90%;
        margin: 0 auto;
    }
    .team-box .social-media-icons {
        padding-top: 0.5rem;
    }
    .team-desc {
        margin-top: 0;
        padding: 0;
    }
    .team-img img {
        width: 170px;
        height: 170px;
    }
    .team-info {
        padding-top: 1.5rem;
    }
    .team-info .h2 {
        font-size: 1.1rem;
    }
    .h5,.description h5 {
        font-size: 1rem;
    }
    .team-box .social-media-icons i {
        font-size: 1rem;
        padding-top: 0.5rem;
    }
}
