/* ==========================================================================
   DHIIGKAAL TEAM SYSTEM - COHESIVE BRAND-COMPATIBLE COLOR PALETTE
   (Crimson Red, Soft Slate, Crisp White & Elevated Medical Cards)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HOMEPAGE TEAM SHOWCASE SECTION (BRAND ALIGNED)
   -------------------------------------------------------------------------- */
.team-section-premium {
    position: relative;
    padding-block: 88px 96px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.section-badge-red {
    display: inline-block;
    padding: 5px 16px;
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
    border-radius: 99px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.team-section-premium .section-head h2 {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.team-section-premium .section-subtext {
    font-size: 16px;
    color: #475569;
    max-width: 680px;
    margin-inline: auto;
    line-height: 1.7;
}

.team-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 340px));
    justify-content: center;
    gap: 32px;
    margin-top: 48px;
}

.team-card-modern {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.team-card-modern:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.02);
    border-color: #cbd5e1;
}

.team-card-photo-wrap {
    position: relative;
    height: 310px;
    width: 100%;
    overflow: hidden;
    background: #f1f5f9;
    display: block;
}

.team-card-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

.team-card-modern:hover .team-card-photo-wrap img {
    transform: scale(1.04);
}

.team-card-fallback-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, #ba1a21, #881016);
}

.team-card-photo-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 7px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #0f172a;
    font-size: 12px;
    font-weight: 750;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.25s ease;
}

.team-card-modern:hover .team-card-photo-badge {
    opacity: 1;
    transform: translateY(0);
}

.team-card-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.team-card-location {
    font-size: 11px;
    font-weight: 800;
    color: #dc2626;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.team-card-name {
    font-size: 21px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
    letter-spacing: -0.01em;
    text-transform: capitalize;
}

.team-card-name a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s;
}

.team-card-name a:hover {
    color: #dc2626;
}

.team-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 14px;
    line-height: 1.4;
}

.team-card-highlights {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.team-card-highlight-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
}

.team-card-highlight-item svg {
    color: #dc2626;
    flex-shrink: 0;
}

.team-card-summary {
    color: #64748b;
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.team-card-skill-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.team-card-skill-chips span {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 99px;
}

.team-card-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    color: #dc2626;
    font-size: 13.5px;
    font-weight: 750;
    text-decoration: none;
    margin-top: auto;
    transition: color 0.2s ease;
}

.team-card-cta:hover {
    color: #991b1b;
}


/* --------------------------------------------------------------------------
   2. SINGLE TEAM MEMBER HERO BANNER (RICH CRIMSON BRAND PALETTE)
   -------------------------------------------------------------------------- */
.exec-profile-hero {
    background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                linear-gradient(135deg, #ba1a21 0%, #a4161c 50%, #881016 100%);
    color: #ffffff;
    padding: 64px 0 76px 0;
    position: relative;
}

.exec-hero-container {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
}

.exec-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 14px;
}

.exec-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 99px;
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.exec-back-btn:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateX(-3px);
}

.exec-pill-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 99px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.exec-hero-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 52px;
    align-items: center;
}

/* Portrait Card */
.exec-portrait-card {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    border: 3px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.exec-portrait-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.exec-portrait-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 110px;
    font-weight: 850;
    color: #ffffff;
    background: linear-gradient(135deg, #ba1a21, #6b0c10);
}

.exec-verified-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #15803d;
    font-size: 12.5px;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

/* Header Column */
.exec-name {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 850;
    color: #ffffff;
    margin: 0 0 8px 0;
    letter-spacing: -0.03em;
    line-height: 1.12;
    text-transform: capitalize;
}

.exec-title-badge {
    display: inline-block;
    font-size: 19px;
    font-weight: 700;
    color: #ffe4e6;
    margin-bottom: 18px;
}

.exec-quote {
    margin: 0 0 24px 0;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.12);
    border-left: 4px solid #ffffff;
    border-radius: 0 14px 14px 0;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.65;
    font-style: italic;
}

.exec-quote p {
    margin: 0;
}

/* Badges Row */
.exec-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 26px;
}

.exec-badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}

.exec-badge-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #ffffff;
    color: #ba1a21;
}

.exec-badge-item small {
    display: block;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #fecdd3;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.exec-badge-item strong {
    font-size: 13.5px;
    font-weight: 750;
    color: #ffffff;
}

/* Action Buttons */
.exec-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.exec-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.exec-btn-white {
    background: #ffffff;
    color: #ba1a21;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.exec-btn-white:hover {
    background: #fff1f2;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.exec-btn-outline {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.exec-btn-outline:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}


/* --------------------------------------------------------------------------
   3. DETAILED PROFILE SECTIONS & SIDEBAR (BODY)
   -------------------------------------------------------------------------- */
.exec-profile-body {
    background: #f8fafc;
    padding: 76px 0 96px 0;
}

.exec-body-grid {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1.5fr 0.75fr;
    gap: 48px;
    align-items: start;
}

/* Left Cards */
.exec-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 36px 32px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    margin-bottom: 28px;
}

.exec-card:hover {
    box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.07);
    border-color: #cbd5e1;
}

.exec-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}

.exec-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-gradient-red {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fca5a5;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.1);
}

.icon-gradient-blue {
    background: #dbeafe;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.icon-gradient-purple {
    background: #f3e8ff;
    color: #9333ea;
    border: 1px solid #e9d5ff;
    box-shadow: 0 4px 12px rgba(147, 51, 234, 0.1);
}

.exec-card-category {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #dc2626;
    margin-bottom: 4px;
}

.exec-card-title {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 21px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.015em;
}

.exec-card-content {
    font-size: 15.5px;
    line-height: 1.8;
    color: #334155;
}

.exec-credential-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-left: 4px solid #ba1a21;
    border-radius: 0 14px 14px 0;
    border-top: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.credential-box-icon {
    font-size: 28px;
    line-height: 1;
}

.credential-box-text strong {
    display: block;
    font-size: 16.5px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.credential-box-text p {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.55;
}

/* Right Sidebar Cards */
.exec-sidebar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 32px 28px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
}

.sidebar-card-heading {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 18px 0;
    letter-spacing: -0.01em;
    padding-bottom: 12px;
    border-bottom: 1.5px solid #f1f5f9;
}

.exec-summary-list {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.exec-summary-list div {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f8fafc;
}

.exec-summary-list div:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.exec-summary-list dt {
    font-size: 11px;
    font-weight: 750;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.exec-summary-list dd {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.exec-summary-list dd.text-verified {
    color: #16a34a;
    font-weight: 800;
}

.exec-skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.exec-skill-pill {
    padding: 7px 13px;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 750;
    transition: all 0.2s ease;
}

.exec-skill-pill:hover {
    background: #fecaca;
    transform: translateY(-1px);
}

.exec-mission-card {
    background: linear-gradient(135deg, #ba1a21 0%, #991b1b 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 10px 30px -5px rgba(186, 26, 33, 0.35);
}

.mission-heart-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.exec-mission-card h4 {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.exec-mission-card p {
    font-size: 14px;
    line-height: 1.65;
    color: #ffe4e6;
    margin: 0;
}

/* --------------------------------------------------------------------------
   4. RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
    .exec-hero-grid,
    .exec-body-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .exec-portrait-card {
        max-width: 340px;
        margin-inline: auto;
    }
    .exec-header-column {
        text-align: center;
    }
    .exec-badges-row,
    .exec-actions-row {
        justify-content: center;
    }
    .exec-quote {
        border-left: none;
        border-top: 3px solid #ffffff;
        border-radius: 14px;
    }
}

@media (max-width: 640px) {
    .exec-profile-hero {
        padding: 44px 0 54px 0;
    }
    .exec-name {
        font-size: 32px;
    }
    .exec-portrait-card {
        height: 350px;
    }
    .exec-card {
        padding: 26px 20px;
    }
    .exec-actions-row {
        flex-direction: column;
    }
    .exec-btn {
        width: 100%;
        justify-content: center;
    }
}
