﻿
    /* General Styles */
    .team-information {
        flex: 1;
        margin-top: -16%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* Background Fade Animation */
    .modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.6); /* Set the background to a semi-transparent black */
        backdrop-filter: blur(2px);
        padding-top: 40px;
        z-index: 9999;
    }

    /* Modal Content */
    .modal-content {
        background: #fff;
        margin: auto;
        padding: 30px;
        border-radius: 12px;
        width: 70%;
        max-width: 900px;
        position: relative;
        opacity: 0;
        transform: translateY(40px) scale(0.95);
        animation: popupIn 0.35s ease-out forwards;
          top:20%;
    }

    /* Close Button */
    .close {
        position: absolute;
        top: 12px;
        right: 18px;
        font-size: 30px;
        cursor: pointer;
        color: #34ad54;
    }

    /* Modal slide-up + fade + scale */
    @keyframes popupIn {
        0% {
            opacity: 0;
            transform: translateY(40px) scale(0.95);
        }

        100% {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    /* General Team Card Styles */
    .team-wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin: 15px;
    }

    .team-card {
        position: relative;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        background-color: #ffffff;
        width: 100%;
        transition: transform 0.3s ease;
        cursor: pointer;
    }

    .team-card:hover {
        transform: translateY(-10px);
    }

    .team-img {
        width: 34%;
        height: 150px;
        object-fit: cover;
    }

    .team-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
        transition: opacity 0.3s ease;
    }

    .team-card:hover .team-overlay {
        opacity: 1;
    }

    .team-info {
        flex: 1;
        margin-left: 33%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .team-name {
        font-size: 22px;
        font-weight: 700;
        margin: 0;
        color: #1a2b55;
        letter-spacing: 0.5px;
    }

    .team-role {
        margin: 6px 0 0;
        font-size: 11px;
        font-weight: 500;
        color: #6d6d6d;
        letter-spacing: 0.3px;
    }

    /* Close Animation */
    .close:hover,
    .close:focus {
        color: #0082d3;
        text-decoration: none;
        cursor: pointer;
    }

    .setheight{
            margin-top: 30px;
    }

    .imgheight{
        width: 61%; border-radius: 50%; margin-bottom: 25px;
    }