/* General body styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #ecf0f1;
    color: #34495e;
}

/* Header Navigation */
header {
    background-color: #2c3e50;
    color: #fff;
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-top: 10px;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 0.7rem 1.2rem;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

nav ul li a:hover {
    background-color: #e74c3c; /* Coral color on hover */
}

/* Team Section */
#team {
    padding: 6rem 2rem;
    background-color: #fff;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: 80px;
}

#team h2 {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Individual team member layout */
.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 3rem;
    padding: 2rem;
    transition: transform 0.3s ease;
    border: 3px solid #1abc9c; /* Light teal border */
}

.team-member:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.team-photo-wrapper {
    margin-bottom: 1.5rem;
}

.team-photo {
    width: 150px; /* Adjusted to passport size */
    height: 150px; /* Passport size - square */
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 4px solid #2c3e50;
}

.team-info {
    max-width: 600px;
    text-align: center;
}

.team-info h3 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 0.8rem;
}

.team-info p {
    font-size: 1.1rem;
    color: #34495e;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}

.team-info .linkedin {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background-color: #0077b5;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-transform: uppercase;
}

.team-info .linkedin:hover {
    background-color: #005b8d;
    transform: scale(1.1);
}

/* Footer Styling */
footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 1.2rem 0;
    margin-top: 4rem;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .team-member {
        flex-direction: column;
        align-items: center;
    }
    .team-photo-wrapper {
        margin-bottom: 1rem;
    }
    .team-info {
        padding: 0 1rem;
    }
}
