/* Team Section Refactor - Glassy Warmth */

.team-card {
    background: rgba(255, 255, 255, 0.1); /* Glassy Background */
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.1); /* Slightly stronger shadow for glass */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle glass border */
    backdrop-filter: blur(5px); /* Optional: improves readability if supported */
}

@media (min-width: 992px) {
    .team-card {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }
    .team-card-image {
        flex: 0 0 280px;
    }
    .team-card-content {
        flex: 1;
    }
}

.team-image {
    border-radius: 50%;
    width: 250px;
    height: 250px;
    object-fit: cover;
    margin: 0 auto;
    border: 6px solid rgba(255, 255, 255, 0.3); /* Softer border for image */
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.team-image-header {
    /* 1. Responsive Width Settings */
    width: 100%;             /* Fills the available space provided by parent */
    max-width: 745px;;        /* Caps the size at your desired 745px */
    
    /* 2. Maintenance of the Circle Shape */
    height: auto;            /* Removes the fixed 250px height so it can shrink */
    aspect-ratio: 16 / 9;

    /* 3. Your Visual Styles */
    border-radius: 50%;
    object-fit: cover;       /* Ensures image doesn't stretch inside the circle */
    border: 6px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.team-image-header-container {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center;     /* Centers vertically */
}

/* Typography & Layout */
.team-header {
    margin-bottom: 24px;
    text-align: center;
}

@media (min-width: 992px) {
    .team-header {
        text-align: left;
    }
}

.team-name {
    font-family: 'Fredoka', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #f1f8e9; /* Soft Pastel White/Green */
    margin-bottom: 4px;
    border: none;
    padding: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.team-role {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    color: #e0e6d1; /* Light Accent */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Bio Blocks */
.team-bio-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bio-block {
    background: rgba(0, 0, 0, 0.2); /* Dark Glass for contrast */
    padding: 16px;
    border-radius: 12px;
    border-left: 4px solid #ed8936; /* Orange Accent */
}

.bio-block.highlight {
    background: rgba(255, 255, 255, 0.1); /* Light Glass for highlight */
    border-left-color: #f6ad55; /* Brighter Orange */
}

.bio-block h4 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.25rem;
    color: #e0e6d1; /* Light Green Accent */
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bio-block p {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #ffffff; /* White text on dark glass */
    margin: 0;
}

.bio-icon {
    color: #ed8936; /* Orange Icon */
}

.highlight .bio-icon {
    color: #f6ad55;
}
