/* General Styles */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

h1, h2 {
    text-align: center;
    margin: 20px 0;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.hero-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-description {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(0, 0, 0, 0.6); /* Translucent background */
    color: #fff;
    padding: 20px;
    border-radius: 10px;
}

.hero-description h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.hero-description p {
    font-size: 1rem;
    margin: 0;
}

/* Team Section */
.team-section {
    padding: 20px;
    text-align: center;
}

.team-members {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Ensures responsiveness */
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
    position: relative;
}

.image-container {
    position: relative;
    width: 100%;
    border-radius: 13px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 13px;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7); /* Dark translucent background */
    color: #fff;
    padding: 10px;
    text-align: center;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    border-radius: 0 0 13px 13px; /* Match the photo's corners */
}

.image-container:hover .overlay {
    opacity: 1;
    transform: translateY(0);
}

.name {
    margin-top: 10px;
    font-size: 1rem;
    font-weight: 500;
}
