@media only screen and (min-width: 0rem) {
    #meet-team-2080 {
        padding: var(--sectionPadding);
        overflow: hidden;
        position: relative;
        z-index: 1;
        background-color: #E8ECE9;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #meet-team-2080 .cs-container {
        width: 100%;
        max-width: 90rem;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: clamp(4rem, 8vw, 6rem);
    }

    /* Modern Header Section */
    #meet-team-2080 .cs-header-section {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: left;
        position: relative;
    }

    #meet-team-2080 .cs-header-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        max-width: 60rem;
        margin: 0;
    }

    #meet-team-2080 .cs-badge {
        display: inline-block;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primaryLight) 100%);
        color: white;
        padding: 0.75rem 1.5rem;
        border-radius: 2rem;
        font-size: 0.875rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }


    #meet-team-2080 .cs-main-title {
        font-size: clamp(2.5rem, 6vw, 3.5rem);
        font-weight: 800;
        line-height: 1.2;
        color: var(--headerColor);
        margin: 0;
        background: linear-gradient(135deg, var(--headerColor) 0%, var(--primary) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    #meet-team-2080 .cs-description {
        font-size: clamp(1.125rem, 2.5vw, 1.25rem);
        line-height: 1.6;
        color: var(--bodyTextColor);
        margin: 0;
        max-width: 50rem;
    }

    #meet-team-2080 .cs-header-visual {
        display: none;
    }

    /* Modern Team Grid */
    #meet-team-2080 .cs-team-grid {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        position: relative;
    }

    #meet-team-2080 .cs-team-card {
        background: #ffffff;
        border-radius: 24px;
        padding: 12px;
        display: flex;
        flex-direction: column;
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                    box-shadow 0.4s ease;
        box-shadow: 0 4px 20px rgba(44, 63, 51, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.5);
        cursor: pointer;
        position: relative;
    }

    #meet-team-2080 .cs-team-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(44, 63, 51, 0.08);
    }

    #meet-team-2080 .cs-card-image-container {
        width: 100%;
        height: 320px;
        border-radius: 20px;
        overflow: hidden;
        background-color: rgba(44, 63, 51, 0.04);
        position: relative;
    }

    #meet-team-2080 .cs-picture {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: block;
    }

    #meet-team-2080 .cs-picture img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top center;
        transition: transform 0.6s ease;
        filter: saturate(0.95);
    }

    #meet-team-2080 .cs-team-card:hover .cs-picture img {
        transform: scale(1.05);
        filter: saturate(1);
    }

    #meet-team-2080 .cs-image-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(var(--primary), 0.9) 0%, rgba(var(--primaryLight), 0.9) 100%);
        opacity: 0;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #meet-team-2080 .cs-team-card:hover .cs-image-overlay {
        opacity: 1;
    }

    #meet-team-2080 .cs-overlay-content {
        text-align: center;
        color: white;
        transform: translateY(20px);
        transition: transform 0.3s ease;
        opacity: 0;
        transition: all 0.3s ease;
    }

    #meet-team-2080 .cs-team-card:hover .cs-overlay-content {
        transform: translateY(0);
        opacity: 1;
    }

    #meet-team-2080 .cs-view-profile {
        display: block;
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 1rem;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: var(--primary);
        background: transparent;
        padding: 0.5rem 1rem;
        border-radius: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 4px 16px rgba(255, 255, 255, 0.1);
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
        transform: scale(0.95);
        filter: brightness(0.9);
        position: relative;
        overflow: hidden;
    }

    #meet-team-2080 .cs-view-profile::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: -1;
        transition: background 0.3s ease;
    }

    #meet-team-2080 .cs-team-card:hover .cs-view-profile {
        transform: scale(1);
        filter: brightness(1.1);
        border-color: rgba(255, 255, 255, 0.5);
        box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
    }

    #meet-team-2080 .cs-team-card:hover .cs-view-profile::before {
        background: rgba(255, 255, 255, 0.75);
    }

    #meet-team-2080 .cs-overlay-icon {
        width: 48px;
        height: 48px;
        background: transparent;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        border: 2px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        transform: scale(0.9) rotate(-5deg);
        filter: brightness(0.9);
        position: relative;
        overflow: hidden;
    }

    #meet-team-2080 .cs-overlay-icon::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: -1;
        transition: background 0.3s ease;
    }

    #meet-team-2080 .cs-team-card:hover .cs-overlay-icon {
        transform: scale(1.1) rotate(0deg);
        filter: brightness(1.1);
        border-color: rgba(255, 255, 255, 0.5);
        box-shadow: 0 12px 40px rgba(255, 255, 255, 0.2);
    }

    #meet-team-2080 .cs-team-card:hover .cs-overlay-icon::before {
        background: rgba(255, 255, 255, 0.25);
    }

    #meet-team-2080 .cs-overlay-icon svg {
        color: white;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    }

    #meet-team-2080 .cs-card-content {
        padding: 24px 12px 12px 12px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    #meet-team-2080 .cs-license {
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: #6B7570;
        font-weight: 700;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    #meet-team-2080 .cs-license::before {
        content: '';
        width: 8px;
        height: 1px;
        background-color: #2C3F33;
        display: block;
    }

    #meet-team-2080 .cs-doctor-info {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    #meet-team-2080 .cs-doctor-name {
        font-size: 1.5rem;
        font-weight: 800;
        color: #2C3F33;
        margin: 0;
        line-height: 1.1;
        letter-spacing: -0.02em;
    }

    #meet-team-2080 .cs-doctor-title {
        font-size: 1rem;
        color: #6B7570;
        font-weight: 500;
        line-height: 1.4;
        margin: 4px 0 8px 0;
    }

    #meet-team-2080 .cs-specialties {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    #meet-team-2080 .cs-specialty-tag {
        font-size: 0.8rem;
        padding: 8px 16px;
        border-radius: 12px;
        background-color: transparent;
        color: #2C3F33;
        border: 1px solid rgba(44, 63, 51, 0.1);
        font-weight: 600;
        transition: all 0.2s ease;
    }

    #meet-team-2080 .cs-team-card:hover .cs-specialty-tag {
        background-color: #2C3F33;
        color: #ffffff;
        border-color: #2C3F33;
    }

    /* Modern CTA Section */
    #meet-team-2080 .cs-cta-section {
        width: 100%;
        background: var(--primary);
        border-radius: 2rem;
        padding: 3rem 2rem;
        text-align: center;
        position: relative;
        overflow: hidden;
    }

    #meet-team-2080 .cs-cta-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        opacity: 0.3;
    }

    #meet-team-2080 .cs-cta-content {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        max-width: 50rem;
        margin: 0 auto;
    }

    #meet-team-2080 .cs-cta-text {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    #meet-team-2080 .cs-cta-title {
        font-size: clamp(2rem, 4vw, 2.5rem);
        font-weight: 800;
        color: white;
        margin: 0;
        line-height: 1.2;
    }

    #meet-team-2080 .cs-cta-description {
        font-size: 1.125rem;
        color: rgba(255, 255, 255, 0.9);
        margin: 0;
        line-height: 1.6;
    }

    #meet-team-2080 .cs-cta-action {
        display: flex;
        justify-content: center;
    }

    #meet-team-2080 .cs-cta-button {
        display: flex;
        align-items: center;
        gap: 1rem;
        background: white;
        color: var(--primary);
        padding: 1rem 2rem;
        border-radius: 3rem;
        text-decoration: none;
        font-weight: 700;
        font-size: 1.125rem;
        transition: all 0.3s ease;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        border: 2px solid transparent;
    }

    #meet-team-2080 .cs-cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
        border-color: rgba(255, 255, 255, 0.3);
    }

    #meet-team-2080 .cs-button-icon {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #meet-team-2080 .cs-button-icon svg {
        color: var(--primary);
    }

    #meet-team-2080 .cs-button-text {
        color: var(--primary);
        font-weight: 700;
    }
}

@media only screen and (min-width: 48rem) {
    #meet-team-2080 .cs-header-section {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    #meet-team-2080 .cs-team-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    #meet-team-2080 .cs-cta-section {
        padding: 4rem 3rem;
    }
}

@media only screen and (min-width: 64rem) {
    #meet-team-2080 .cs-header-section {
        grid-template-columns: 1fr;
        gap: 5rem;
    }

    #meet-team-2080 .cs-team-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }

    #meet-team-2080 .cs-cta-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    #meet-team-2080 .cs-cta-text {
        flex: 1;
        max-width: 35rem;
    }

    #meet-team-2080 .cs-cta-action {
        flex-shrink: 0;
    }
}

@media only screen and (min-width: 81.25rem) {
    #meet-team-2080 .cs-team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (min-width: 87.5rem) {
    #meet-team-2080 .cs-team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}



/* Modal Content Details Styling */
#modal-img {
    display: block;
    width: 130px; /* Slightly larger image */
    height: 130px;
    border-radius: 1rem; /* Circular image */
    object-fit: cover;
    margin: 0 auto 25px auto; /* More space below image */
    border: 5px solid #fff; /* White border */
    box-shadow: 0 3px 8px rgba(0,0,0,0.2); /* Clearer shadow */
}
#modal-details {
    text-align: center;
}
#modal-name {
    margin-top: 0;
    margin-bottom: 8px; /* Increased space */
    font-size: 2em; /* Larger name */
    color: #222;
    font-weight: 600;
}
#modal-title {
    margin-top: 0;
    margin-bottom: 25px; /* Increased space */
    font-size: 1.3em; /* Larger title */
    color: var(--primary); /* Example primary color */
    font-weight: bold;
}
#modal-details hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 30px 0; /* More space around HR */
}
#modal-extra-info {
    text-align: left;
    font-size: 1em; /* Slightly larger base text */
    color: #444;
    line-height: 1.7; /* Better readability */
}
.modal-section {
    margin-bottom: 25px; /* More space between sections */
}
.modal-section strong {
    display: block;
    margin-bottom: 12px; /* More space below heading */
    font-size: 1.2em; /* Larger section heading */
    color: #333;
    border-bottom: 2px solid #eee; /* Thicker border */
    padding-bottom: 8px;
    font-weight: 600;
}
.modal-section p,
.modal-section ul,
.modal-section li {
    margin-bottom: 10px; /* Consistent spacing */
    color: #555; /* Slightly lighter text */
}
.modal-section ul {
    padding-left: 25px;
    list-style: disc;
}
/* Ensure raw HTML content flows well */
#modal-bio p, #modal-bio ul, #modal-bio li {
    margin-bottom: 0.8em;
    line-height: 1.7;
}
#modal-bio h5 { /* Style headings coming from bioHtml */
    font-size: 1.1em;
    margin-top: 1.5em;
    margin-bottom: 0.6em;
    color: #333;
    font-weight: bold;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: translateY(10px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- START: Essential Modal Styles --- */
#modal {
    /* Visibility & Positioning */
    display: none; /* Crucial: Hidden by default, JS sets to flex */
    position: fixed; /* Stick to viewport */
    inset: 0; /* Replaces top:0, left:0, right:0, bottom:0 */
    width: 100%;
    height: 100%;
    z-index: 1000; /* High z-index */

    /* Centering Content */
    display: flex;
    align-items: center;
    justify-content: center;

    /* Background Overlay */
    background-color: rgba(0, 0, 0, 0.7); /* Slightly darker overlay */
    top: 40px;
    box-sizing: border-box; /* Include padding in width/height */
}

.modal-content {
    /* Appearance */
    background-color: #fefefe;
    padding: 30px 35px; /* More padding */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);

    /* Sizing & Scrolling */
    width: 90%; /* Relative width */
    max-width: 750px; /* Max width */
    max-height: 75%; /* Max height (85% of viewport height) */
    overflow-y: auto; /* Enable vertical scroll *within* the content box */

    /* Positioning & Stacking */
    position: relative; /* For close button positioning */
    z-index: 1001; /* Above the overlay */
    margin: auto; /* Helps centering but flex on parent is primary */

    /* Animation */
    animation: fadeInScale 0.3s ease-out;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2.5rem; /* Larger close button */
    font-weight: bold;
    line-height: 1;
    color: #888;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px; /* Easier to click */
    transition: color 0.2s ease;
}
.close-button:hover {
    color: #333;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}




