* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Body styling */
body {
    background-color: #10131d;
    color: white;
    padding: 20px;
    text-align: center;

}

/* p{
    color: #FF4533;
} */
.container{
    margin: auto 0;
    padding: 0;
    max-width: 100%;
}


.col-lg-12, .col-xl-12 {
    flex: 0 0 75%;  /* Takes up 50% width */
    max-width: 75%;
    margin: 0 auto; /* Centers the column */
}


 h1{
    margin:30px;
    padding: 30px;
    color:aliceblue;
   
} 

/* Header */
header h1 {
    margin-bottom: 50px;
    font-size: 2.5em;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: white;
}

/* Subheading */
h2 {
    margin: 30px 0 20px;
    font-size: 2em;
    color: white;
}

/* Team section */
.team {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;


}

/* Member card */
.member {
    position: relative;
    width: 300px;
    height: 300px;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(145deg, #1e1f33, #282c44);
    box-shadow: 5px 5px 15px rgba(20, 85, 150, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Member hover effect */
.member:hover {
    transform: translateY(-10px);
    box-shadow: 5px 5px 25px rgba(30, 140, 240, 0.8);
}

/* Image container */
.image-container {
    width: 100%;
    height: 100%;
    overflow: hidden; /* Ensure no overflow */
    
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the container */
    transition: transform 0.3s ease; /* Optional: Add a transition for hover effects */
}

/* Optional: Add hover effect to images */
.image-container img:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Name and role container */
.member-content {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    z-index: 2;
    transition: opacity 0.3s ease-in-out;
}
p{
    color: aliceblue;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);

}

/* Name styling */
.member-content h2 {
    font-size: 20px;
    font-weight: bold;
    text-shadow: none;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);

}

/* Hide name and role on hover */
.member:hover .member-content {
    visibility: hidden;
    opacity: 0;
}

/* Social icons */
.social-icons {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translate(-50%, 50px);
    display: flex;
    gap: 15px;
    z-index: 10; 
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.social-icons a {
    color: white;
    font-size: 25px;
    padding: 10px;
    text-align: center;
    pointer-events: auto;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.4);
    color: #FF4533;
}

/* Show icons on hover */
.member:hover .social-icons {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .member {
        width: 280px;
        height: 280px;
    }

    .member-content h2 {
        font-size: 18px;
    }

    .social-icons a {
        font-size: 20px;
    }
}

.image-container {
    width: 100%;
    height: 100%;
    overflow: hidden; /* Ensure no overflow */
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the container */
    transition: transform 0.3s ease; /* Optional: Add a transition for hover effects */
}

/* Optional: Add hover effect to images */
.image-container img:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
}