
        .design-selector {
            max-width: 1200px;
            margin: 0 auto 40px;
            text-align: center;
        }

        .design-selector h1 {
            font-size: 2.5rem;
            color: #1e40af;
            margin-bottom: 15px;
        }

        .design-selector p {
            color: #64748b;
            margin-bottom: 30px;
            font-size: 1.1rem;
        }

        .btn-group {
            display: flex;
            gap: 15px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .design-btn {
            padding: 14px 35px;
            border: none;
            border-radius: 50px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            color: white;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .design-btn.team {
            background: linear-gradient(135deg, #dc2626 0%, #1e40af 100%);
        }

        .design-btn.design2 {
            background: linear-gradient(135deg, #1e40af 0%, #dc2626 100%);
        }

        .design-btn.design3 {
            background: linear-gradient(135deg, #dc2626 0%, #1e40af 50%, #dc2626 100%);
        }

        .design-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
        }

        .design-btn.active {
            box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.2);
        }

        .design-container {
            display: none;
        }

        .design-container.active {
            display: block;
            animation: fadeIn 0.6s ease;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Design 1: Professional Medical */
        .team {
            min-height: 100vh;
            padding: 60px 20px;
        }

        .team .header {
            text-align: center;
            margin-bottom: 60px;
        }

        .team .header h2 {
            font-size: 3rem;
            color: #1e293b;
            font-weight: 700;
            margin-bottom: 15px;
        }

        .team .subtitle {
            color: #dc2626;
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 10px;
        }

        .team .tagline {
            color: #64748b;
            font-size: 1.1rem;
        }

        .team .team-card {
            background: white;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }


        .team .card-banner {
            height: 250px;
            background-color: var(--primary-blue);
            /* background: url("/images/caregiver-CTA-section.jpg") center/cover; */
            position: relative;
            overflow: hidden;
        }

        .team .card-banner::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 400px;
            height: 400px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
        }

        .team .card-banner::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -10%;
            width: 300px;
            height: 300px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 50%;
        }

        .team .profile-section {
            text-align: center;
            padding: 0 50px 50px;
            position: relative;
            z-index: 10;
        }
/* Grid Layout */
.team-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;  
    gap: 35px;
}

/* Card */
.team-member {
    flex: 0 1 calc(33.333% - 35px);
    max-width: calc(33.333% - 35px);
    background: #e2effd;
    padding: 40px 25px 30px;
    text-align: center;
    border-radius: 16px;
    transition: all 0.35s ease;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

/* Avatar */
.avatar {
    width: 95px;
    height: 95px;
    margin: 0 auto 20px;
    border-radius: 50%;
}

.avatar {
    width: 95px;
    height: 95px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Name */
.member-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 6px;
}

/* Role */
.member-role {
    font-size: 0.95rem;
    color: #6c757d;
    margin: 0;
}

/* Responsive */

@media (max-width: 992px) {
    .team-member {
        flex: 0 1 calc(50% - 35px);
        max-width: calc(50% - 35px);
    }
}

@media (max-width: 576px) {
    .team-member {
        flex: 0 1 100%;
        max-width: 100%;
    }
}

        .team .profile-image {
            width: 250px;
            height: 250px;
            border-radius: 50%;
            object-fit: cover;
            border: 8px solid white;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
            margin-bottom: 25px;
        }

        .team .name {
            font-size: 2.5rem;
            color: var(--primary-blue);
            font-weight: 700;
            margin-bottom: 10px;
        }

        .team .credentials {
            font-size: 1.1rem;
            color: var(--primary-red);
            font-weight: 600;
            margin-bottom: 8px;
        }

        .team .title {
            font-size: 1.3rem;
            color: var(--primary-blue);
            margin-bottom: 30px;
            font-weight: 500;
        }

        .team .bio {
            color: var(--primary-blue);
            line-height: 1.9;
            margin-bottom: 35px;
            font-size: 1.05rem;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }

        .team .highlights {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 25px;
            margin-bottom: 35px;
        }

        .team .highlight-item {
            text-align: center;
            padding: 25px;
            border-radius: 15px;
            border: 2px solid rgba(30, 64, 175, 0.1);
            transition: all 0.3s ease;
        }

        .team .highlight-item:hover {
            transform: translateY(-5px);
            border-color: var(--light-blue);
        }

        .team .highlight-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 15px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-red);
            font-size: 2rem;
            font-weight: 700;
        }

        .team .highlight-text {
            color: var(--primary-blue);
            font-weight: 600;
            font-size: 0.95rem;
        }

        .team .social-links {
            display: flex;
            gap: 15px;
            justify-content: center;
            margin-top: 4rem;
        }

        .team .social-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-blue);
            text-decoration: none;
            transition: all 0.3s ease;
            border: 1px solid var(--primary-blue);
        }

        .team .social-btn:hover {
            color: var(--primary-red);
            transform: translateY(-5px) scale(1.1);
            box-shadow: 0 8px 25px var(--light-blue);
        }


        @media (max-width:768px) {
            .team .profile-image {
                width: 220px;
                height: 220px;
            }

        }

        @media (min-width:567px) and (max-width:768px) {
            .team .name {
                font-size: 2rem;
            }

            .team {
                padding: 60px 0px;
            }
        }

        @media (max-width:567px) {
            .team {
                padding: 60px 5px;
            }

            .team .name {
                font-size: 2rem;
            }

            .team .profile-section {
                padding: 0 20px 20px;

            }
        }
