/**
 * ============================================================================
 * MPP GROUP — PUBLIC WEBSITE: TEAM & FACULTY MODERN STYLESHEET
 * Path: front/assets/css/team.css
 * Innovation in Education • All in one software
 * Unified Faculty Directory (4 Cards Per Row Grid)
 * ============================================================================
 */

:root {
    --team-primary: #ff6a00;
    --team-primary-hover: #e55e00;
    --team-primary-rgb: 255, 106, 0;
    --team-navy: #001a3d;
    --team-navy-dark: #001229;
    --team-navy-light: #002d66;
    --team-ink: #0f172a;
    --team-slate: #334155;
    --team-muted: #64748b;
    --team-border: #e2e8f0;
    --team-bg-light: #f8fafc;
    --team-card-radius: 20px;
    --team-shadow-sm: 0 4px 12px rgba(0, 26, 61, 0.04);
    --team-shadow-md: 0 12px 32px rgba(0, 26, 61, 0.08);
    --team-shadow-lg: 0 24px 50px rgba(0, 26, 61, 0.14);
}

/* -----------------------------------------------------------------------------
   1. HERO ENHANCEMENTS FOR TEAM PAGE
   ----------------------------------------------------------------------------- */
.team-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.team-hero-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: teamPulse 2s infinite;
}

@keyframes teamPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.team-hero-subtitle {
    max-width: 800px;
    margin: 16px auto 0;
    color: rgba(255, 255, 255, 0.90);
    font-size: 17.5px;
    line-height: 1.65;
    font-weight: 400;
}

/* -----------------------------------------------------------------------------
   2. METRICS & KPI STRIP
   ----------------------------------------------------------------------------- */
.team-metrics-strip {
    background: #ffffff;
    border-bottom: 1px solid var(--team-border);
    padding: 40px 0;
    position: relative;
    z-index: 10;
}

.team-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

@media (max-width: 1200px) {
    .team-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .team-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .team-stats-grid {
        grid-template-columns: 1fr;
    }
}

.team-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--team-bg-light);
    border: 1px solid var(--team-border);
    border-radius: 16px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.team-stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--team-primary-rgb), 0.4);
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(var(--team-primary-rgb), 0.10);
}

.stat-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(var(--team-primary-rgb), 0.15) 0%, rgba(0, 74, 173, 0.08) 100%);
    color: var(--team-primary);
    display: grid;
    place-items: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.team-stat-card:hover .stat-icon-wrap {
    transform: scale(1.1) rotate(4deg);
    background: var(--team-primary);
    color: #ffffff;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--display, 'Manrope', sans-serif);
    font-size: 24px;
    font-weight: 800;
    color: var(--team-navy);
    line-height: 1.1;
    letter-spacing: -0.5px;
    font-variant-numeric: tabular-nums;
    -moz-font-feature-settings: "tnum";
    -webkit-font-feature-settings: "tnum";
    font-feature-settings: "tnum";
    display: inline-block;
}

.stat-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--team-ink);
    margin-top: 3px;
    line-height: 1.3;
}

.stat-sub {
    font-size: 11.5px;
    color: var(--team-muted);
    margin-top: 2px;
}

/* -----------------------------------------------------------------------------
   3. UNIFIED FACULTY DIRECTORY SECTION (EK SATH ME)
   ----------------------------------------------------------------------------- */
.team-unified-section {
    background: #ffffff;
    padding: 75px 0 95px;
}

.team-section-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 50px;
}

.team-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--team-primary);
    margin-bottom: 10px;
}

.team-kicker i {
    font-size: 13px;
}

.team-section-header h2 {
    font-family: var(--display, 'Manrope', sans-serif);
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 800;
    color: var(--team-navy);
    letter-spacing: -0.7px;
    line-height: 1.2;
    margin: 0 0 14px;
}

.team-section-header p {
    font-size: 16px;
    color: var(--team-muted);
    line-height: 1.65;
    margin: 0;
}

/* Strict 4-Cards Per Row Responsive Grid */
.team-cards-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

@media (max-width: 1140px) and (min-width: 769px) {
    .team-cards-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .team-cards-grid-4 {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 520px;
        margin-inline: auto;
    }
}

/* -----------------------------------------------------------------------------
   4. ULTRA-MODERN FACULTY CARD DESIGN
   ----------------------------------------------------------------------------- */
.team-card-modern {
    background: #ffffff;
    border-radius: var(--team-card-radius);
    border: 1px solid var(--team-border);
    box-shadow: var(--team-shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.team-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--team-shadow-lg);
    border-color: rgba(var(--team-primary-rgb), 0.35);
}

/* Top Image Frame */
.team-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.02;
    background: #001a3d;
    overflow: hidden;
}

.team-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.team-card-modern:hover .team-card-img {
    transform: scale(1.06);
}

/* Subtle Gradient Overlay at Bottom of Image */
.team-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 26, 61, 0.45) 100%);
    pointer-events: none;
}

/* Floating Badges on Image */
.team-card-badge-left {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 26, 61, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.team-card-badge-left i {
    color: var(--team-primary);
    font-size: 11px;
}

.team-card-badge-right {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--team-navy);
    border: 1px solid rgba(0, 26, 61, 0.08);
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 800;
    padding: 4px 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Quick View Hover Button over Image */
.team-card-quick-overlay {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
    z-index: 4;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    text-align: center;
}

.team-card-modern:hover .team-card-quick-overlay {
    opacity: 1;
    transform: translateY(0);
}

.team-btn-quickview {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 9px 16px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--team-navy);
    border: 1px solid #ffffff;
    border-radius: 12px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transition: all 0.2s ease;
}

.team-btn-quickview:hover {
    background: var(--team-primary);
    color: #ffffff;
    border-color: var(--team-primary);
}

/* Card Body Content */
.team-card-body {
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.team-card-cred-pill {
    display: inline-block;
    align-self: flex-start;
    background: rgba(var(--team-primary-rgb), 0.08);
    color: var(--team-primary);
    border: 1px solid rgba(var(--team-primary-rgb), 0.2);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
    letter-spacing: 0.2px;
}

.team-card-name {
    font-family: var(--display, 'Manrope', sans-serif);
    font-size: 18px;
    font-weight: 800;
    color: var(--team-navy);
    margin: 0 0 6px;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.team-card-role {
    font-size: 13px;
    font-weight: 700;
    color: var(--team-primary);
    margin: 0 0 10px;
    line-height: 1.4;
}

.team-card-bio {
    font-size: 13px;
    color: var(--team-muted);
    line-height: 1.55;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

/* Skill Tags */
.team-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.team-tag-pill {
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    transition: background 0.2s ease, color 0.2s ease;
}

.team-card-modern:hover .team-tag-pill {
    background: #e2e8f0;
    color: #0f172a;
}

/* Card Bottom Footer */
.team-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--team-border);
    margin-top: auto;
}

.team-btn-profile {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--team-navy);
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.team-btn-profile:hover {
    color: var(--team-primary);
    transform: translateX(2px);
}

.team-btn-profile i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.team-btn-profile:hover i {
    transform: translateX(3px);
}

/* Social Buttons */
.team-card-socials {
    display: flex;
    align-items: center;
    gap: 8px;
}

.team-social-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.team-social-btn:hover {
    background: var(--team-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(var(--team-primary-rgb), 0.3);
}

/* -----------------------------------------------------------------------------
   5. FACULTY GOVERNANCE & 4 STANDARDS PILLARS
   ----------------------------------------------------------------------------- */
.team-pillars-section {
    background: var(--team-bg-light);
    border-top: 1px solid var(--team-border);
    border-bottom: 1px solid var(--team-border);
    padding: 80px 0;
}

.team-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

@media (max-width: 1024px) {
    .team-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .team-pillars-grid {
        grid-template-columns: 1fr;
    }
}

.team-pillar-card {
    background: #ffffff;
    border: 1px solid var(--team-border);
    border-radius: 18px;
    padding: 30px 24px;
    box-shadow: var(--team-shadow-sm);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.team-pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--team-shadow-md);
    border-color: rgba(var(--team-primary-rgb), 0.3);
}

.pillar-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(var(--team-primary-rgb), 0.12) 0%, rgba(0, 74, 173, 0.08) 100%);
    color: var(--team-primary);
    display: grid;
    place-items: center;
    font-size: 22px;
    margin-bottom: 18px;
    transition: transform 0.3s ease;
}

.team-pillar-card:hover .pillar-icon-box {
    transform: scale(1.1);
    background: var(--team-primary);
    color: #ffffff;
}

.pillar-tag {
    position: absolute;
    top: 24px;
    right: 20px;
    font-size: 11px;
    font-weight: 700;
    color: var(--team-primary);
    background: rgba(var(--team-primary-rgb), 0.08);
    padding: 3px 8px;
    border-radius: 999px;
    letter-spacing: 0.3px;
}

.team-pillar-card h3 {
    font-family: var(--display, 'Manrope', sans-serif);
    font-size: 18px;
    font-weight: 800;
    color: var(--team-navy);
    margin: 0 0 10px;
    line-height: 1.35;
}

.team-pillar-card p {
    font-size: 13.5px;
    color: var(--team-muted);
    line-height: 1.6;
    margin: 0;
}

/* -----------------------------------------------------------------------------
   6. MENTORSHIP & IMPACT SHOWCASE
   ----------------------------------------------------------------------------- */
.team-impact-section {
    background: #ffffff;
    padding: 80px 0;
}

.team-impact-card {
    background: linear-gradient(135deg, #001a3d 0%, #002d66 100%);
    border-radius: 24px;
    padding: 50px 45px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 26, 61, 0.25);
}

.team-impact-card::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.team-impact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 900px) {
    .team-impact-grid {
        grid-template-columns: 1fr;
    }
}

.team-impact-left h2 {
    font-family: var(--display, 'Manrope', sans-serif);
    font-size: clamp(26px, 2.8vw, 36px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin: 0 0 16px;
}

.team-impact-left p {
    font-size: 15.5px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.65;
    margin: 0 0 24px;
}

.team-impact-checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.team-impact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14.5px;
    color: #ffffff;
}

.team-impact-item i {
    color: #10b981;
    font-size: 16px;
    flex-shrink: 0;
}

.team-impact-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.impact-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
}

.impact-box-number {
    display: block;
    font-family: var(--display, 'Manrope', sans-serif);
    font-size: 28px;
    font-weight: 900;
    color: var(--team-primary);
    line-height: 1.1;
    margin-bottom: 4px;
}

.impact-box-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

/* -----------------------------------------------------------------------------
   7. INTERACTIVE FACULTY BIO MODAL (POPUP)
   ----------------------------------------------------------------------------- */
.team-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 18, 41, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: teamFadeIn 0.25s ease forwards;
}

.team-modal-backdrop[hidden] {
    display: none !important;
}

.team-modal-card {
    background: #ffffff;
    border-radius: 24px;
    max-width: 780px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    animation: teamScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.team-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--team-border);
    background: #ffffff;
    color: var(--team-slate);
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 16px;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.team-modal-close:hover {
    background: var(--team-navy);
    color: #ffffff;
    border-color: var(--team-navy);
    transform: rotate(90deg);
}

.team-modal-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 420px;
}

@media (max-width: 768px) {
    .team-modal-layout {
        grid-template-columns: 1fr;
    }
}

.team-modal-sidebar {
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
    padding: 35px 24px;
    text-align: center;
    border-right: 1px solid var(--team-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .team-modal-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--team-border);
        padding: 30px 20px;
    }
}

.team-modal-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 10px 30px rgba(0, 26, 61, 0.18);
    margin-bottom: 16px;
}

.team-modal-exp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(var(--team-primary-rgb), 0.12);
    color: var(--team-primary);
    font-weight: 800;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.team-modal-cred-text {
    font-size: 12px;
    color: var(--team-slate);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 16px;
}

.team-modal-socials {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.team-modal-body {
    padding: 35px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-modal-category {
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--team-primary);
    margin-bottom: 4px;
}

.team-modal-name {
    font-family: var(--display, 'Manrope', sans-serif);
    font-size: 22px;
    font-weight: 800;
    color: var(--team-navy);
    margin: 0 0 6px;
    line-height: 1.3;
}

.team-modal-role {
    font-size: 14px;
    font-weight: 700;
    color: var(--team-slate);
    margin-bottom: 16px;
    display: block;
}

.team-modal-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 20px;
}

.team-modal-section-title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--team-navy);
    margin: 0 0 10px;
    display: block;
}

.team-modal-courses-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

.team-modal-course-item {
    font-size: 13px;
    color: var(--team-slate);
    display: flex;
    align-items: center;
    gap: 8px;
}

.team-modal-course-item i {
    color: var(--team-primary);
    font-size: 10px;
}

.team-modal-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.team-modal-tag-chip {
    background: #f1f5f9;
    color: var(--team-navy);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--team-border);
}

@keyframes teamFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes teamScaleUp {
    from { opacity: 0; transform: scale(0.94); }
    to { opacity: 1; transform: scale(1); }
}

/* -----------------------------------------------------------------------------
   8. CALL TO ACTION (CTA) SECTION
   ----------------------------------------------------------------------------- */
.team-cta-section {
    background: linear-gradient(135deg, var(--team-navy) 0%, #002554 50%, var(--team-navy-dark) 100%);
    padding: 80px 0;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.team-cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(var(--team-primary-rgb), 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.team-cta-content {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.team-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.team-cta-content h2 {
    font-family: var(--display, 'Manrope', sans-serif);
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
}

.team-cta-content p {
    font-size: 16.5px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.65;
    margin: 0 0 32px;
}

.team-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.team-btn-primary {
    background: var(--team-primary);
    color: #ffffff !important;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(var(--team-primary-rgb), 0.35);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.team-btn-primary:hover {
    background: var(--team-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(var(--team-primary-rgb), 0.45);
}

.team-btn-outline {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    backdrop-filter: blur(8px);
}

.team-btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    transform: translateY(-2px);
}
