
.team-section {
    text-align: center;
    padding: 50px 0;
    /* background-color: #e6f7ff; */
}
.team-section .h6{
    color: #1e84b5;
}
.team-section h2 {
    color: #1e84b5;
    font-size: 36px;
    margin-bottom: 10px;
}

.team-section p {
    color: #5a5a5a;
    font-size: 16px;
    padding: 0 30px;
    margin-bottom: 20px;
}
.box-container .box-img{
    height: 370px;
    width: 100%;
    margin-top: 20px;
    border-radius: 20px;
    overflow: hidden;
    background-image: url('/img/bg1.jpg');
    background-size: cover; /* This ensures the image covers the entire background */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
}

.box-container .box:hover img{
    /* box-shadow: 0 10px 15px rgba(0,0,0,.3); */
    transform: scale(1.1);
}
.box ul li h4{
    margin-top: 10px;
    color: #0e384c;
}
.box h6{
    color: #5a5a5a;

}

/* Container box styling */
.box {
    position: relative;
    overflow: hidden;
}

/* Image styling */
.box-img img {
    margin-top: 15px;
    height: 370px; /* Fixed height */
    width: 100%; /* Full width */
    object-fit: cover; /* Cover the area */
    transition: transform 0.3s ease; /* Smooth zoom transition */
}

/* Image zoom on hover */
.box:hover .box-img img {
    transform: scale(1.1); /* Zoom effect */
}

/* Icons overlay */
.icon-overlay {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 1rem;
    opacity: 0; /* Hide icons by default */
    transition: opacity 0.3s ease; /* Smooth fade-in transition */
}

.icon-overlay button{
    background-color: #0e384c;
    width: 35px;
    height: 35px;
    border-radius: 5px;
    border: none;

}

/* Show icons on hover */
.box:hover .icon-overlay {
    opacity: 1; /* Show icons */
}

/* Icon styling */
.icon {
    color: white; /* Icon color */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    /* padding: 10px 5px; */
    font-size: 17px; /* Adjust icon size */
    padding: 4px 7px;

}

