/* About Us Section */
.about-us {
    text-align: center;
    font-size: 20px;
    padding: 15px;
    border-radius: 12px;
    line-height: 1.6;
    color: #333;
    transition: transform 0.3s ease-in-out;
    font-size: 17px;
}
.highlight {
    color: #4096D9;
    font-size: 17px;

}
/* Grid System */
.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

/* Individual Member */
.member {
    text-align: center;
    position: relative;
    width: 100%;
    max-width: 280px; /* Adjust size if needed */
    margin: 10px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.member:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.2);
}

.member-img {
    position: relative;
    width: 100%;
    height: auto;
}

.member-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.member:hover .member-img img {
    transform: scale(1.05); /* Slight zoom effect */
}

/* Overlay sliding from the left */
.overlay {
    position: absolute;
    top: 0;
    left: -100%; /* Start from outside the left edge */
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: left 0.4s ease-in-out;
}

.member:hover .overlay {
    left: 0; /* Moves into place */
}

.member-info {
    color: white;
    text-align: center;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out 0.2s;
}
.member:hover .member-info {
    opacity: 1;
}
.member-info .position {
    color: #B7CE32;
    font-size: 17px;
    margin: 3px 0;
    font-weight: 500;
    font-family: "Roboto", sans-serif;
    text-align: center;
    letter-spacing: 0.7px;
    line-height: 1.3;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 3px;
    transition: color 0.3s ease-in-out;
}
.member-info .designation {
    font-size: 16px;
    margin: 3px 0;
    font-weight: 600;
    font-family: "Roboto", sans-serif;
    text-align: center;
    letter-spacing: 0.7px;
    line-height: 1.5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 3px;
    transition: color 0.3s ease-in-out;
}

/* Name Below Image */
.member-name {
    font-size: 20px;
    font-weight: 700;
    margin-top: 15px;
    text-align: center;
    letter-spacing: 0.7px;
    background: linear-gradient(90deg, #7d86c6, #4096D9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
}

.aboutus-heading {
    font-size: 17px;     
    font-weight: bold;      
    display: inline;         
}


