@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
.slider-box {
    width: 100%;
    margin: 20px 0;
}

/* .nav-pills {
    display: flex;
    list-style: none;
    width: 100%;
    justify-content: center;
    padding: 0;
    gap: 20px;
    margin-bottom: 20px;
}

.nav-pills li {
    margin-right: 10px;

}

.nav-pills li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    background-color: #f5f5f5;
    border-radius: 5px;
  
    transition: background-color 0.3s ease;
}

.nav-pills li a:hover, .nav-pills li a.active {
    background-color: #051356;
    color: #fff;
} */

.tab-content {
    padding-bottom: 45px;
    border-radius: 5px;
    /* background-color: #fff; */
    /* background-color: #051356;  */
    
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    display: flex;
    justify-content: center;
    align-items: center;   
}
.people-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8rem; 
    margin-top:60px;
}

/* .people-slider ul {
    list-style: none;
    padding: 0;
    justify-content: center;
    align-items: center;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
} */

.people-slider li {
    height: 300px;
    width: 400px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    margin-top: 40px;
    margin-left: 25px;
    /* margin-right:20px; */
    height: auto; /* Let the content dictate height */
    aspect-ratio: 4 / 3; /* Maintain consistent aspect ratio */
    flex: 0 1 calc(25% - 2rem); /* Adjust the width dynamically */
   
}

.box {
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-image: url("./background-img2.png"); */
    background-repeat: no-repeat;
    background-position: center; 
    background-size: cover;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    background-color: white;
    height: 280px; /* Fill parent container */
    width: 470px; /* Fill parent container */
    transition: transform 0.3s ease;  
    color:white;
    border: 3px solid #051356;
    
}


.box:hover {
    /* transform: translateY(-5px); */
}

.image {
    width: 180px;
    height: 140px;
    display: flex;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    /* background-color:white; */
    background-size: cover;
    background-position: center;
    /* border-radius: 5px 5px 0 0; */
    /* margin-left: 30px; */
    /* border:1px solid black; */
    padding-left: 15px; 
}

.box img {
    width: 180%;
    border-radius: 50%;
    /* border-radius: 5px 5px 0 0; */
    object-fit: cover; 
    height: 130%;
    margin-left: 60px;
    border:1px solid black;   
    /* padding-left:20px; */
}

.body {
    padding: 30px 18px 30px 60px;
    text-align: center;
    /* padding-left: 60px; */
    /* margin-left: 30px; */
}

/* .body h3 {
    margin: 10px 0 5px;
    font-size: 22px;
    color: white;
}

.body h4 {
    margin: 0 0 10px;
    font-size: 16px;
    color: white;
} */
.body h3, .body h4 {
    color: black;
    margin: 0;
}

.body h3 {
    font-size: 30px;
    margin-bottom: 5px;
    width: 250px;
}

.body h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.body a {
    display: inline-block;
    margin-top: auto;
    padding: 8px 16px;
    color: white;
    background-color: #051356;
    text-decoration: none;
    border: 1px solid #051356;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.body a:hover {
    background-color: white;
    color: #051356;
}


.people-container
{
    padding: 10px;
    width: 100%;
    min-height: 100vh;
    height: auto;
    display: flex;
    justify-content: center;
    /* align-items: center; */
    /* background-color: red; */
    overflow: hidden;
    background-color: #f0f0f1;
    margin-top: 5rem;
}

.slider-box
{
    max-width: 90%;
    
}
@media screen and (max-width: 768px) {
    .box{
        width: 100%; /* Ensure it spans the full width */
        /* overflow-x: auto;  */
        padding-right: 10px; /* Add some spacing to prevent cutting off */
    }
    img {
        width: 130px; /* Adjust the width to make it smaller */
        height: 120px; /* Maintain aspect ratio */
        display: block; /* Ensures it doesn't overflow */
        margin: 0 auto; /* Centers the image */
    }
    .image{
        width: 130px;
        height: 100px;
    }
    .people-slider li{
        margin-left: 2rem;
    }
    #box1{
        margin-right: 1.5rem;
    }
}
body, html {
    overflow-x: hidden; /* Prevent unwanted cutoff */
}