/* ==========================================================================
   MODERN TEAM PAGE - PROFESSIONAL CORPORATE DESIGN
   Clean, Professional, No Gimmicks
   ========================================================================== */

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.modern-hero {
    position: relative;
    padding: 200px 0 120px;
    background: linear-gradient(135deg, #f8fffe 0%, #ffffff 50%, #f0fdf9 100%);
    overflow: hidden;
}

.hero-background-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float-orb 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 216, 132, 0.3) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.25) 0%, transparent 70%);
    top: 50%;
    right: -100px;
    animation-delay: 7s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 216, 132, 0.2) 0%, transparent 70%);
    bottom: -100px;
    left: 50%;
    animation-delay: 14s;
}

@keyframes float-orb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(0, 216, 132, 0.3);
    border-radius: 100px;
    margin-bottom: 32px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 216, 132, 0.15);
    animation: badge-entrance 0.8s ease backwards;
}

.badge-pulse {
    position: absolute;
    left: 20px;
    width: 8px;
    height: 8px;
    background: var(--primary-green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.hero-badge i {
    font-size: 20px;
    color: var(--primary-green);
}

.hero-badge span {
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-700);
    letter-spacing: 0.3px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--gray-800);
    margin-bottom: 24px;
    animation: fade-in-up 1s ease 0.2s backwards;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-description {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    line-height: 1.7;
    color: var(--gray-600);
    max-width: 750px;
    margin: 0 auto 48px;
    animation: fade-in-up 1s ease 0.4s backwards;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 2px solid rgba(0, 216, 132, 0.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    animation: fade-in-up 1s ease 0.6s backwards;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 2px;
    height: 50px;
    background: linear-gradient(180deg, transparent, var(--gray-300), transparent);
}

@keyframes badge-entrance {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   TEAM GRID SECTION - OPTIMIZED 4-CARD LAYOUT
   ========================================================================== */
.team-grid-section {
    padding: 80px 0;
    background: var(--white);
}

.team-grid-section .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    max-width: 1600px;
    padding: 0 32px;
    margin: 0 auto;
}

.team-member-card {
    position: relative;
    animation: fadeInUp 0.6s ease backwards;
}

.team-member-card:nth-child(1) { animation-delay: 0.1s; }
.team-member-card:nth-child(2) { animation-delay: 0.2s; }
.team-member-card:nth-child(3) { animation-delay: 0.3s; }
.team-member-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.card-front {
    position: relative;
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.05),
        0 10px 20px rgba(0, 0, 0, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-member-card:hover .card-front {
    transform: translateY(-8px);
    border-color: rgba(0, 216, 132, 0.4);
    box-shadow: 
        0 16px 32px rgba(0, 216, 132, 0.12),
        0 8px 16px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   IMAGE CONTAINER - CIRCULAR PROFESSIONAL DESIGN
   ========================================================================== */
.image-container {
    position: relative;
    padding: 32px;
    background: linear-gradient(135deg, rgba(0, 216, 132, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.image-circle {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--white);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(0, 216, 132, 0.1);
    transition: all 0.3s ease;
}

.team-member-card:hover .image-circle {
    border-color: var(--primary-green);
    box-shadow: 
        0 12px 32px rgba(0, 216, 132, 0.2),
        0 0 0 1px var(--primary-green);
    transform: scale(1.05);
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.team-member-card:hover .member-image {
    transform: scale(1.1);
}

.status-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-green);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 216, 132, 0.3);
    z-index: 10;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--primary-green);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

/* ==========================================================================
   CARD CONTENT - COMPACT PROFESSIONAL STYLING
   ========================================================================== */
.card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.member-header {
    margin-bottom: 16px;
    text-align: center;
}

.member-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 10px;
    line-height: 1.2;
}

.member-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
    justify-content: center;
}

.credential-badge {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.credential-badge.primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.credential-badge:not(.primary) {
    background: var(--gray-100);
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
}

.member-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-bio {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--gray-600);
    margin-bottom: 16px;
    text-align: center;
    flex: 1;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
    justify-content: center;
}

.expertise-tags .tag {
    padding: 6px 12px;
    background: var(--gradient-soft);
    border: 1px solid rgba(0, 216, 132, 0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary-green);
    transition: all 0.3s ease;
}

.expertise-tags .tag:hover {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
}

.card-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
    border-top: 2px solid var(--gray-100);
    margin-top: auto;
}

.experience-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-700);
}

.experience-badge i {
    font-size: 1.1rem;
    color: var(--primary-green);
}

.view-profile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 216, 132, 0.3);
    width: 100%;
}

.view-profile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 216, 132, 0.4);
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.team-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 216, 132, 0.08) 0%, rgba(14, 165, 233, 0.08) 100%);
    position: relative;
    overflow: hidden;
}

.team-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(0, 216, 132, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    box-shadow: 0 8px 24px rgba(0, 216, 132, 0.3);
    animation: icon-bounce 2s ease-in-out infinite;
}

@keyframes icon-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 100px;
    font-size: 1.0625rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-btn.primary {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    box-shadow: 0 8px 24px rgba(0, 216, 132, 0.3);
}

.cta-btn.primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 216, 132, 0.4);
}

.cta-btn.secondary {
    background: var(--white);
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.cta-btn.secondary:hover {
    background: var(--gradient-soft);
    border-color: rgba(0, 216, 132, 0.4);
}

/* ==========================================================================
   MODAL STYLES - PROFESSIONAL REDESIGN
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 95%;
    max-width: 800px;
    max-height: 90vh;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: var(--gray-100);
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 4px;
}

.modal-header {
    position: relative;
    padding: 48px;
    background: linear-gradient(135deg, rgba(0, 216, 132, 0.08) 0%, rgba(14, 165, 233, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 5px solid var(--white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modal-close:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 16px;
    line-height: 1.2;
    text-align: center;
}

.modal-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
    justify-content: center;
}

.cred-badge {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cred-badge.primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.cred-badge.secondary {
    background: var(--gray-100);
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
}

.modal-section {
    margin-bottom: 32px;
    padding: 24px;
    background: var(--gray-50);
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.modal-section:hover {
    background: var(--white);
    border-color: rgba(0, 216, 132, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.modal-section-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--gray-200);
}

.modal-section-title i {
    font-size: 1.5rem;
    color: var(--primary-green);
    background: var(--gradient-soft);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.modal-text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.modal-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.modal-list-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
}

.modal-list-item:hover {
    background: var(--gradient-soft);
    border-color: rgba(0, 216, 132, 0.4);
    transform: translateX(8px);
}

.list-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 216, 132, 0.25);
}

.list-content {
    flex: 1;
}

.list-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.list-text {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.modal-cta {
    display: flex;
    gap: 12px;
    padding-top: 24px;
    border-top: 2px solid var(--gray-100);
}

.modal-btn {
    flex: 1;
    padding: 16px;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.modal-btn.primary {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 216, 132, 0.3);
}

.modal-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 216, 132, 0.4);
}

.modal-btn.secondary {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.modal-btn.secondary:hover {
    background: var(--gradient-soft);
    border-color: rgba(0, 216, 132, 0.4);
}

/* ==========================================================================
   RESPONSIVE DESIGN - OPTIMIZED BREAKPOINTS
   ========================================================================== */

/* Large Desktop (1400px+) - 4 cards in a row */
@media (min-width: 1400px) {
    .team-grid-section .container {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }
    
    .image-circle {
        width: 180px;
        height: 180px;
    }
    
    .member-name {
        font-size: 1.6rem;
    }
    
    .card-content {
        padding: 28px;
    }
}

/* Desktop (1200px - 1399px) - 4 cards slightly tighter */
@media (max-width: 1399px) and (min-width: 1200px) {
    .team-grid-section .container {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
        max-width: 1400px;
    }
    
    .image-circle {
        width: 150px;
        height: 150px;
    }
}

/* Laptop (992px - 1199px) - 3 cards */
@media (max-width: 1199px) and (min-width: 992px) {
    .team-grid-section .container {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    
    .image-circle {
        width: 160px;
        height: 160px;
    }
}

/* Tablet (768px - 991px) - 2 cards */
@media (max-width: 991px) and (min-width: 768px) {
    .modern-hero {
        padding: 160px 0 100px;
    }

    .hero-stats {
        gap: 24px;
        padding: 24px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .team-grid-section .container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .image-circle {
        width: 180px;
        height: 180px;
    }
    
    .member-name {
        font-size: 1.6rem;
    }
    
    .card-content {
        padding: 28px;
    }

    .modal-body {
        padding: 32px 24px;
    }
}

/* Mobile Large (600px - 767px) - 2 cards */
@media (max-width: 767px) and (min-width: 600px) {
    .modern-hero {
        padding: 140px 0 80px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 100px;
        height: 2px;
    }

    .team-grid-section .container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 20px;
    }
    
    .image-circle {
        width: 140px;
        height: 140px;
    }
    
    .member-name {
        font-size: 1.3rem;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .member-bio {
        font-size: 0.8125rem;
    }
    
    .expertise-tags .tag {
        font-size: 0.7rem;
        padding: 5px 10px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }

    .modal-cta {
        flex-direction: column;
    }
}

/* Mobile (below 600px) - 1 card */
@media (max-width: 599px) {
    .modern-hero {
        padding: 140px 0 80px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 100px;
        height: 2px;
    }

    .team-grid-section .container {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 20px;
    }
    
    .image-circle {
        width: 180px;
        height: 180px;
    }
    
    .member-name {
        font-size: 1.6rem;
    }
    
    .card-content {
        padding: 28px;
    }
    
    .member-bio {
        font-size: 0.9375rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }

    .modal-header {
        padding: 32px;
    }

    .modal-image {
        width: 140px;
        height: 140px;
    }

    .modal-body {
        padding: 24px 20px;
    }

    .modal-cta {
        flex-direction: column;
    }
}

/* Very Small Mobile (below 400px) */
@media (max-width: 399px) {
    .image-circle {
        width: 150px;
        height: 150px;
    }
    
    .card-content {
        padding: 24px 20px;
    }
    
    .member-name {
        font-size: 1.4rem;
    }
}
