/* Team Section Styles */
.team-section {
    padding: 25px 0;
    background: #fff;
}

.herobar {
    height: 350px !important;
}

.section-title {
    text-align: center;
    font-size: 34px;
    font-weight: 800;
    color: #2d3436;
    margin-bottom: 25px;
    position: relative;
    font-family: 'Outfit', sans-serif;
}

.logo a,
.logo a:hover {
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
}

/* Remove nav underlines as requested */
.nav-link::after {
    display: none !important;
}

/* Member Card Styles */
.member-card {
    flex: 0 0 270px;
    /* Force size to prevent huge cards */
    width: 270px;
    flex-shrink: 0;
    text-align: center;
    transition: var(--transition);
    padding: 10px;
    border-radius: 20px;
    background: transparent;
}

.member-card:hover {
    background: #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1 / 1.1;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.member-card:hover .image-container img {
    transform: scale(1.05);
}

.linkedin-icon {
    position: absolute;
    bottom: 15px;
    left: 15px;
    width: 35px;
    height: 35px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 5;
    transition: var(--transition);
    text-decoration: none !important;
}

/* LinkedIn icon handled by FontAwesome */

.linkedin-icon i {
    font-size: 18px;
    color: var(--primary-color);
    transition: var(--transition);
}

.linkedin-icon:hover {
    background: var(--primary-color);
}

.linkedin-icon:hover i {
    color: #fff;
}

.member-name {
    font-size: 19px;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.member-card:hover .member-name {
    color: var(--primary-color);
}

.member-role {
    font-size: 14px;
    color: #8c7365;
    font-weight: 500;
    margin: 0;
}


/* Media queries removed - now handled globally in style.css */