  /* Base Styles */
        :root {
            --primary: #3a7bd5;
            --secondary: #00d2ff;
            --accent: #4fc3f7;
            --light: #f8f9fa;
            --dark: #2c3e50;
            --success: #28a745;
            --info: #17a2b8;
            --warning: #ffc107;
            --danger: #e74c3c;
            --text: #34495e;
            --light-gray: #ecf0f1;
        }

        /* Team Section */
        .team-section {
            position: relative;
            padding: 5rem 2rem;
            max-width: 1400px;
            margin: 0 auto;
            overflow: hidden;
        }

        .team-bg-elements {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            overflow: hidden;
        }

        .circle-animation {
            position: absolute;
            border-radius: 50%;
            opacity: 0.08;
            filter: blur(60px);
            animation: float 15s infinite ease-in-out;
        }

        .circle-1 {
            width: 300px;
            height: 300px;
            background: var(--primary);
            top: 10%;
            left: 5%;
            animation-delay: 0s;
        }

        .circle-2 {
            width: 400px;
            height: 400px;
            background: var(--secondary);
            bottom: 10%;
            right: 5%;
            animation-delay: 3s;
        }

        .circle-3 {
            width: 250px;
            height: 250px;
            background: var(--accent);
            top: 50%;
            left: 30%;
            animation-delay: 6s;
        }

        .particle-animation {
            position: absolute;
            width: 100%;
            height: 100%;
            background-image: radial-gradient(circle, rgba(79, 195, 247, 0.1) 1px, transparent 1px);
            background-size: 20px 20px;
            animation: particles 60s linear infinite;
        }

        @keyframes float {
            0%, 100% {
                transform: translate(0, 0);
            }
            25% {
                transform: translate(20px, 20px);
            }
            50% {
                transform: translate(-20px, 20px);
            }
            75% {
                transform: translate(-20px, -20px);
            }
        }

        @keyframes particles {
            from {
                background-position: 0 0;
            }
            to {
                background-position: 1000px 1000px;
            }
        }

        /* Team Header */
        .team-header {
            text-align: center;
            margin-bottom: 3rem;
            position: relative;
        }

        .team-title {
            font-size: 2.8rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            display: inline-block;
        }

        .team-subtitle {
            font-size: 1.2rem;
            color: var(--text);
            margin-bottom: 2rem;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            opacity: 0.8;
        }

        /* Filter Buttons */
        .team-filters {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1rem;
            margin-top: 2rem;
        }

        .filter-btn {
            padding: 0.8rem 1.8rem;
            border: none;
            border-radius: 50px;
            background-color: var(--light-gray);
            color: var(--dark);
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            z-index: 1;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        }

        .filter-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 0;
            height: 100%;
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            transition: width 0.3s ease;
            z-index: -1;
            border-radius: 50px;
        }

        .filter-btn:hover::before,
        .filter-btn.active::before {
            width: 100%;
        }

        .filter-btn:hover,
        .filter-btn.active {
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
        }

        /* Team Grid */
        .team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .team-member {
            perspective: 1000px;
            transition: all 0.5s ease;
        }

        .member-inner {
            position: relative;
            width: 100%;
            height: 100%;
            transform-style: preserve-3d;
            transition: transform 0.6s;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            background: white;
            border: 1px solid rgba(0, 0, 0, 0.05);
        }

        .team-member:hover .member-inner {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
        }

        .member-image {
            position: relative;
            height: 280px;
            overflow: hidden;
        }

        .member-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .member-image:hover img {
            transform: scale(1.05);
        }

        .image-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 50%);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .team-member:hover .image-overlay {
            opacity: 1;
        }

        .member-info {
            padding: 1.8rem;
        }

        .member-info h3 {
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
            color: var(--dark);
            font-weight: 600;
        }

        .member-info p {
            color: #666;
            margin-bottom: 1.2rem;
            font-size: 0.95rem;
        }

        .member-specialties {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1.5rem;
        }

        .member-specialties span {
            display: inline-block;
            padding: 0.3rem 0.7rem;
            background-color: #e9ecef;
            border-radius: 20px;
            font-size: 0.75rem;
            color: #555;
            font-weight: 500;
        }

        .member-actions {
            padding: 0 1.8rem 1.8rem;
            display: flex;
            gap: 0.8rem;
        }

        .view-profile {
            flex: 1;
            padding: 0.8rem;
            border: none;
            border-radius: 8px;
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            color: white;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .view-profile:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
        }

        /* Profile Modal */
        .profile-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1000;
            display: none;
            align-items: center;
            justify-content: center;
        }

        .modal-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(5px);
        }

        .modal-content {
            position: relative;
            width: 90%;
            max-width: 900px;
            max-height: 90vh;
            background-color: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
            animation: modalFadeIn 0.4s ease;
            display: flex;
            flex-direction: column;
        }

        @keyframes modalFadeIn {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .modal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 40px;
            height: 40px;
            border: none;
            background-color: rgba(0, 0, 0, 0.1);
            border-radius: 50%;
            font-size: 1.5rem;
            color: var(--dark);
            cursor: pointer;
            z-index: 10;
            transition: all 0.3s ease;
        }

        .modal-close:hover {
            background-color: rgba(0, 0, 0, 0.2);
            transform: rotate(90deg);
        }

        .modal-body {
            overflow-y: auto;
            padding: 2.5rem;
            flex-grow: 1;
        }

        /* Modal Content Styles */
        .modal-profile-header {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 2.5rem;
            text-align: center;
            position: relative;
        }

        .modal-profile-image {
            width: 160px;
            height: 160px;
            border-radius: 50%;
            object-fit: cover;
            border: 5px solid white;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
            margin-bottom: 1.5rem;
        }

        .modal-profile-title h1 {
            font-size: 2.2rem;
            color: var(--dark);
            margin-bottom: 0.5rem;
        }

        .modal-profile-title p {
            font-size: 1.2rem;
            color: var(--primary);
            margin-bottom: 1.5rem;
            font-weight: 500;
        }

        .modal-specialties {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 0.7rem;
            margin-bottom: 2rem;
        }

        .modal-specialty {
            padding: 0.6rem 1.2rem;
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            color: white;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 500;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .modal-profile-bio {
            line-height: 1.8;
            color: #555;
            margin-bottom: 2.5rem;
        }

        .modal-profile-bio p {
            margin-bottom: 1.5rem;
        }

        .modal-actions {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-top: 2rem;
        }

        .book-appointment {
            padding: 1rem 2rem;
            border: none;
            border-radius: 50px;
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            color: white;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            gap: 0.8rem;
            text-decoration: none;
        }

        .book-appointment:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
        }

        .close-modal-btn {
            padding: 1rem 2rem;
            border: 1px solid var(--primary);
            border-radius: 50px;
            background: white;
            color: var(--primary);
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .close-modal-btn:hover {
            background: var(--light-gray);
        }

        /* Responsive Adjustments */
        @media (max-width: 1200px) {
            .team-grid {
                grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            }
        }

        @media (max-width: 992px) {
            .team-title {
                font-size: 2.5rem;
            }
            
            .team-subtitle {
                font-size: 1.1rem;
            }
        }

        @media (max-width: 768px) {
            .team-section {
                padding: 4rem 1.5rem;
            }
            
            .team-title {
                font-size: 2.2rem;
            }
            
            .team-filters {
                gap: 0.8rem;
            }
            
            .filter-btn {
                padding: 0.7rem 1.5rem;
                font-size: 0.9rem;
            }
            
            .modal-content {
                width: 95%;
            }
            
            .modal-body {
                padding: 1.8rem;
            }
            
            .modal-profile-image {
                width: 140px;
                height: 140px;
            }
            
            .modal-profile-title h1 {
                font-size: 2rem;
            }
            
            .modal-actions {
                flex-direction: column;
                gap: 1rem;
            }
            
            .book-appointment,
            .close-modal-btn {
                width: 100%;
                justify-content: center;
            }
        }

        @media (max-width: 576px) {
            .team-grid {
                grid-template-columns: 1fr;
            }
            
            .team-title {
                font-size: 2rem;
            }
            
            .modal-profile-image {
                width: 120px;
                height: 120px;
            }
            
            .modal-profile-title h1 {
                font-size: 1.8rem;
            }
            
            .modal-profile-title p {
                font-size: 1rem;
            }
        }