/* General Container Styling for Team Section */
#team-section {
    padding: 60px 0;
    background-color: #f9f9fc;
}

#team-section .team-header {
    margin-bottom: 40px;
}

#team-section .team-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
}

#team-section .team-header .highlight {
    color: #ff7f00; /* Accent Color */
}

#team-section .team-header p.lead {
    font-size: 18px;
    color: #555;
}

/* Team Container Styling */
#team-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

/* Individual Team Member Styling */
.team-thumb {
    max-width: 350px; /* Limit width for better alignment */
    padding: 15px;
    transition: transform 0.3s ease-in-out;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.team-thumb:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Team Member Image Styling */
.team-img {
    height: 200px;
    width: 100%;
    object-fit: scale-down; /* Ensures full image visibility with cropping */
    border-radius: 12px;
/*    border: 3px solid #ff7f00; /* Accent color for border */*/
    transition: transform 0.3s ease;
}

.team-img:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Team Member Name */
.team-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-top: 15px;
}

/* Team Member Title */
.team-title {
font-size: 16px;
    color: #3f3d3d;
    font-weight: 600;
    border: 2px solid #d4d4d4;
    border-radius: 10px;
    padding: 4px;
        margin-top: 0.3rem;
}

/* Responsive Grid Adjustments */
@media (max-width: 768px) {
    .team-thumb {
        max-width: 100%; /* Full width on small screens */
    }
}

@media (max-width: 576px) {
    .team-thumb {
        padding: 10px;
    }
}
