/*** Team Profile Cards ***/
    .software-team-card {
        position: relative;
        display: flex;
        height: 100%;
        overflow: hidden;
        flex-direction: column;
        cursor: pointer;
        color: rgba(255, 255, 255, 0.8);
        background: rgba(8, 8, 10, 0.92);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 18px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transition:
            background 0.4s ease,
            border-color 0.4s ease,
            box-shadow 0.4s ease,
            transform 0.4s ease;
    }

    .software-team-card:hover {
        background: rgba(12, 12, 15, 0.96);
        border-color: var(--bs-primary);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
        transform: translateY(-10px);
    }

    /*** Fixed Team Card Image ***/
    .software-team-image-wrapper {
        position: relative;
        width: 100%;
        overflow: hidden;
        aspect-ratio: 4 / 4.5;
        flex-shrink: 0;
        background: rgba(255, 255, 255, 0.04);
    }

    .software-team-image-wrapper::after {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1;
        height: 35%;
        content: "";
        pointer-events: none;
        background: linear-gradient(
            to top,
            rgba(8, 8, 10, 1),
            rgba(8, 8, 10, 0)
        );
    }

    .software-team-image {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        transition: transform 0.5s ease;
    }

    .software-team-card:hover .software-team-image {
        transform: scale(1.04);
    }

    .software-team-card-content {
        position: relative;
        z-index: 2;
        display: flex;
        min-height: 175px;
        flex: 1;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 25px;
        margin-top: -20px;
        text-align: center;
    }

    .software-team-card-content h4 {
        color: var(--bs-white);
        letter-spacing: 0.5px;
        transition: color 0.3s ease;
    }

    .software-team-card:hover .software-team-card-content h4 {
        color: var(--bs-primary);
    }

    .software-team-designation {
        color: var(--bs-primary);
        font-weight: 500;
    }

    .view-profile-text {
        display: inline-block;
        margin-top: 12px;
        color: rgba(255, 255, 255, 0.55);
        font-size: 13px;
        letter-spacing: 1px;
        text-transform: uppercase;
        transition: color 0.3s ease;
    }

    .software-team-card:hover .view-profile-text {
        color: var(--bs-white);
    }

    /*** Modal Backdrop ***/
    .modal-backdrop.show {
        opacity: 0.85;
    }

    /*** Team Modal ***/
    .team-modal-content {
        overflow: hidden;
        color: rgba(255, 255, 255, 0.8);
        background: rgba(8, 8, 10, 0.94);
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        border-radius: 18px;
        box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .team-modal-header {
        background: rgba(0, 0, 0, 0.45);
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .team-modal-footer {
        background: rgba(0, 0, 0, 0.25);
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    /*** Modal Image—Unchanged ***/
    .team-modal-image-area {
        display: flex;
        min-height: 100%;
        align-items: center;
        justify-content: center;
        padding: 35px 20px;
        background: rgba(255, 255, 255, 0.04);
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }

    .team-modal-image {
        width: 100%;
        max-width: 280px;
        height: 340px;
        object-fit: cover;
        border: 3px solid rgba(255, 255, 255, 0.2);
        border-radius: 20px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    }

    /*** Modal Information ***/
    .team-information-area {
        min-height: 440px;
        padding: 40px;
    }

    .team-information-area h2,
    .team-information-area h4,
    .team-information-area h5,
    .team-information-area h6 {
        color: var(--bs-white);
    }

    .team-information-area p {
        color: rgba(255, 255, 255, 0.72);
        line-height: 1.8;
    }

    .team-information-area .text-muted {
        color: rgba(255, 255, 255, 0.5) !important;
    }

    .team-information-area .text-primary {
        color: var(--bs-primary) !important;
    }

    .team-information-block {
        padding: 18px;
        background: rgba(255, 255, 255, 0.07);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-left: 3px solid var(--bs-primary);
        border-radius: 8px;
    }

    .team-contact-link {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        overflow-wrap: anywhere;
        transition: color 0.3s ease;
    }

    .team-contact-link:hover {
        color: var(--bs-primary);
    }

    /*** Social Links ***/
    .software-team-social a {
        display: inline-flex;
        width: 42px;
        height: 42px;
        align-items: center;
        justify-content: center;
        color: var(--bs-primary);
        text-decoration: none;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--bs-primary);
        border-radius: 5px;
        transition:
            color 0.3s ease,
            background 0.3s ease,
            transform 0.3s ease;
    }

    .software-team-social a:hover {
        color: var(--bs-dark);
        background: var(--bs-primary);
        transform: translateY(-3px);
    }

    /*** Tablet ***/
    @media (max-width: 991.98px) {
        .software-team-image-wrapper {
            aspect-ratio: 4 / 4.6;
        }

        .team-information-area {
            padding: 30px;
        }

        .team-modal-image {
            max-width: 240px;
            height: 310px;
        }
    }

    /*** Mobile ***/
    @media (max-width: 767.98px) {
        .software-team-image-wrapper {
            aspect-ratio: 4 / 4.5;
        }

        .software-team-card-content {
            min-height: 160px;
            padding: 22px 18px;
        }

        .team-modal-image-area {
            min-height: auto;
            padding: 25px 15px;
            border-right: 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .team-modal-image {
            max-width: 230px;
            height: 280px;
        }

        .team-information-area {
            min-height: auto;
            padding: 25px 20px;
        }
    }
