/* Hero Slider Fixed Height */
.hero-banner-one {
    position: relative;
    height: 400px; /* fixed slider height */

}
.hero-banner-one .title {
    margin-top: 40px;
    font-size: 70px;
}

/* Hero Slider Paragraph text */
.hero-banner-one p{
    margin-bottom: 15px !important;
}

/* Background images fit inside slider */
.carousel-item {
    background-size: contain; /* ensures full image fits */
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

/* Optional overlay pattern */
.carousel-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h100v100H0z' fill='none'/%3E%3Cpath d='M25 25h50v50H25z' stroke='rgba(255,255,255,0.05)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    opacity: 0.5;
}

/* Container and row fit height */
#heroCarousel .container,
#heroCarousel .row {
    height: 100%;
}
.hero-thumbnail img {
    max-height: 400px; /* ensures image stays inside 350px slider */
    width: auto;
    object-fit: contain;
}

/* Carousel controls */
.carousel-control-prev, .carousel-control-next {
    width: 35px;
    height: 35px;
    top: 50%;
    /* transform: translateY(-50%); */
    opacity: 0.7;
    background: rgb(46, 207, 32);
    border-radius: 50%;
}
.carousel-control-prev:hover, .carousel-control-next:hover {
        background: rgb(46, 207, 32);

    opacity: 1;
}

.team-info {
    position: relative;
    text-align: center;
    transition: transform 0.3s ease;
}

/* Social icons initially hidden */
.team-social {
    position: absolute;
    bottom: 100%; 
    left: 50%;
    transform: translateX(-50%) translateY(20px); 
    display: flex;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

/* Circular style for icons */
.team-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #fff; /* circle background color */
    border-radius: 50%;
    transition: transform 0.3s, background-color 0.3s;
}

.team-social a img {
    width: 16px;
    height: 16px;
}

/* Hover effect */


.team-member:hover .team-social {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.team-social a:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}
