/*body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
}*/
/*
header {
    background-color: #007acc;
    color: white;
    text-align: center;
    padding: 20px;
}*/

h1 {
    color: #007acc;
}

/* Styles for the container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}



/* Styles for columns within the row */
.col-md-4 {
    flex: 0 0 calc(33.333% - 30px);
    max-width: calc(33.333% - 30px);
    padding: 0 15px;
    box-sizing: border-box;
}

/* Media query for smaller screens */
@media only screen and (max-width: 990px) {
    .col-md-4 {
        flex: 0 0 calc(50% - 30px);
        max-width: calc(50% - 30px);
    }
}

/* Styles for the team member cards */
.our-team {
    text-align: center;
    margin-bottom: 20px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease 0s;
}

.our-team .pic {
    background: #72A0C1;
    transition: all 0.3s ease 0s;
    width: 250px;
    height: 290px; 
}

.our-team:hover .pic {
    padding: 5px;
    border-radius: 5px; 
    transform: scale(0.9) translateY(-5%); 
}

.our-team .pic img {
    width: 250px;
    height: 280px;
}

.our-team .team-content {
    width: 100%;
    padding: 5px 10px;
    background: #72A0C1;
    position: absolute;
    bottom: -15%; /* Adjusted bottom value */
    right: 0;
    opacity: 0;
    transition: all 0.3s ease 0s;
}

.our-team:hover .team-content {
    opacity: 1;
    bottom: -10px;
}

.our-team .title {
    font-size: 22px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 5px 0;
}

.our-team .post {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    font-style: italic;
    text-transform: capitalize;
    margin: 0 0 5px 0;
}

.our-team .social {
    padding: 0;
    margin: 0;
    list-style: none;
    transition: all 0.35s ease 0s;
}

.our-team .social li {
    display: inline-block;
    margin: 0 5px 0 0;
}

.our-team .social li a {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 15px 0 15px 0;
    font-size: 20px;
    color: #fff;
    overflow: hidden;
    z-index: 1;
    position: relative;
    transition: all 0.35s ease 0s;
}

.our-team .social li a:before {
    content: "";
    width: 100%;
    height: 100%;
    background: #4a6e87;
    position: absolute;
    top: 0;
    left: -100%;
    z-index: -1;
    transition: all 0.3s ease-in-out 0s;
}

.our-team .social li a:hover:before {
    left: 0;
}

/* Smaller margin for team members on smaller screens */
@media only screen and (max-width: 990px) {
    .our-team {
        margin-bottom: 15px;
    }
}
