﻿/* ═══════════════════════════════
   HERO
═══════════════════════════════ */
.management-hero {
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: #0a0a0f;
}

.management-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(180,140,60,0.15) 0%, transparent 70%), radial-gradient(ellipse 60% 40% at 20% 80%, rgba(10,20,60,0.8) 0%, transparent 60%);
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbFloat 8s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(180,140,60,0.12);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(20,30,80,0.6);
    bottom: -80px;
    right: -80px;
    animation-delay: 4s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

.management-hero-content {
    position: relative;
    z-index: 2;
}

.team-badge {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(180,140,60,0.2), rgba(180,140,60,0.05));
    border: 1px solid rgba(180,140,60,0.4);
    color: #c9a84c;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.management-hero h1 {
    font-size: 72px;
    font-weight: 900;
    color: #ffffff;
    margin-top: 20px;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #c9a84c 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.management-hero p {
    margin-top: 20px;
    color: rgba(255,255,255,0.5);
    font-size: 18px;
    line-height: 2;
}

/* ═══════════════════════════════
   GRID SECTION
═══════════════════════════════ */
.executive-grid {
    background: #0a0a0f;
    padding: 100px 0 140px;
}

/* ═══════════════════════════════
   PRINCIPAL CARD
═══════════════════════════════ */
.executive-card.principal {
    position: relative;
    background: linear-gradient(160deg, #12121e 0%, #0d0d18 100%);
    border: 1px solid rgba(180,140,60,0.25);
    border-radius: 32px;
    padding: 40px 32px;
    text-align: center;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

    .executive-card.principal:hover {
        transform: translateY(-8px);
        border-color: rgba(180,140,60,0.6);
    }

.principal-glow {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(180,140,60,0.2) 0%, transparent 70%);
    pointer-events: none;
}

.principal-badge {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 50px;
    background: linear-gradient(135deg, #c9a84c, #8b6914);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 28px;
}

.principal-img-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 28px;
}

    .principal-img-wrapper img {
        width: 160px;
        height: 160px;
        border-radius: 50%;
        object-fit: cover;
        position: relative;
        z-index: 2;
        border: 3px solid rgba(180,140,60,0.4);
    }

.principal-img-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(135deg, #c9a84c, transparent, #c9a84c) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    animation: ringRotate 4s linear infinite;
}

@keyframes ringRotate {
    to {
        transform: rotate(360deg);
    }
}

.principal-info h3 {
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 8px;
}

.principal-title {
    display: block;
    color: #c9a84c;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.principal-info p {
    color: rgba(255,255,255,0.45);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 28px;
}

.principal-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 20px;
    background: rgba(180,140,60,0.06);
    border: 1px solid rgba(180,140,60,0.15);
    border-radius: 16px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

    .stat strong {
        font-size: 22px;
        font-weight: 900;
        color: #c9a84c;
    }

    .stat span {
        font-size: 12px;
        color: rgba(255,255,255,0.4);
    }

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(180,140,60,0.2);
}

/* ═══════════════════════════════
   STAFF CARDS
═══════════════════════════════ */
.staff-card {
    position: relative;
    background: linear-gradient(135deg, #111120 0%, #0d0d1a 100%);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 24px;
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

    .staff-card:hover {
        transform: translateY(-6px) scale(1.02);
        border-color: rgba(180,140,60,0.35);
        box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(180,140,60,0.08);
    }

        .staff-card:hover .staff-card-shine {
            opacity: 1;
            transform: translateX(200%);
        }

.staff-card-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(180,140,60,0.06) 50%, transparent 60%);
    transform: translateX(-200%);
    transition: transform 0.6s ease, opacity 0.6s ease;
    opacity: 0;
    pointer-events: none;
}

.staff-card-icon {
    position: relative;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(180,140,60,0.35);
    background: rgba(180,140,60,0.07);
}

.staff-card-icon span {
    font-size: 18px;
    font-weight: 900;
    color: #c9a84c;
    position: relative;
    z-index: 1;
}

.staff-card-body h4 {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}

.staff-card-body p {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    margin: 0;
    line-height: 1.6;
}

/* ═══════════════════════════════
   MODAL
═══════════════════════════════ */
.management-modal {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s, visibility .4s;
    z-index: 99999;
}

    .management-modal.show {
        opacity: 1;
        visibility: visible;
    }

.management-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5,5,15,0.85);
}

.management-modal-content {
    position: relative;
    z-index: 5;
    width: 820px;
    max-width: 92%;
    background: linear-gradient(160deg, #12121e, #0d0d18);
    border: 1px solid rgba(180,140,60,0.25);
    border-radius: 36px;
    padding: 50px;
    display: flex;
    gap: 48px;
    align-items: center;
    overflow: hidden;
}

    .management-modal-content::before {
        content: '';
        position: absolute;
        top: -100px;
        right: -100px;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(180,140,60,0.12) 0%, transparent 70%);
        pointer-events: none;
    }

.management-close-modal {
    position: absolute;
    left: 24px;
    top: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    line-height: 1;
}

    .management-close-modal:hover {
        background: rgba(180,140,60,0.15);
        border-color: rgba(180,140,60,0.4);
        color: #c9a84c;
    }

.modal-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.modal-img-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
}

    .modal-img-wrapper img {
        width: 180px;
        height: 180px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid rgba(180,140,60,0.4);
        position: relative;
        z-index: 2;
    }

.modal-img-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(135deg, #c9a84c, transparent, #c9a84c) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    animation: ringRotate 4s linear infinite;
}

.modal-role-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(180,140,60,0.2), rgba(180,140,60,0.05));
    border: 1px solid rgba(180,140,60,0.35);
    color: #c9a84c;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.modal-right {
    flex: 1;
}

    .modal-right h2 {
        font-size: 28px;
        font-weight: 900;
        color: #ffffff;
        margin-bottom: 12px;
    }

    .modal-right p {
        color: rgba(255,255,255,0.5);
        font-size: 15px;
        line-height: 1.9;
        margin-bottom: 32px;
    }

.modal-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 24px;
    background: rgba(180,140,60,0.05);
    border: 1px solid rgba(180,140,60,0.15);
    border-radius: 16px;
}

.modal-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .modal-stat strong {
        font-size: 24px;
        font-weight: 900;
        color: #c9a84c;
    }

    .modal-stat span {
        font-size: 12px;
        color: rgba(255,255,255,0.4);
    }

.modal-stat-divider {
    width: 1px;
    height: 44px;
    background: rgba(180,140,60,0.2);
}
/* ═══════════════════════════════
   MODAL — MOBILE FIX (فقط تغییر display)
═══════════════════════════════ */
@media (max-width: 768px) {
}
/* ═══════════════════════════════
   MOBILE RESPONSIVE
═══════════════════════════════ */
@media (max-width:768px) {

    html,
    body {
        overflow-x: hidden;
    }

    .management-hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

        .management-hero h1 {
            font-size: 42px;
            line-height: 1.25;
        }

        .management-hero p {
            font-size: 15px;
            line-height: 1.9;
            padding: 0 10px;
        }

    .management-badge {
        font-size: 12px;
        padding: 8px 18px;
        letter-spacing: 1px;
    }

    .management-actions {
        flex-direction: column;
        gap: 14px;
    }

        .management-actions a {
            width: 100%;
            justify-content: center;
        }

    /* ===== ORBS ===== */

    .hero-orb-1 {
        width: 260px;
        height: 260px;
        right: -120px;
        top: -80px;
    }

    .hero-orb-2 {
        width: 220px;
        height: 220px;
        left: -100px;
        bottom: -80px;
    }

    /* ===== Principal ===== */

    .principal-card,
    .executive-card.principal {
        margin-bottom: 30px;
    }

    /* ===== Staff ===== */

    .staff-card {
        padding: 24px 18px;
    }

    .staff-card-body h4 {
        font-size: 18px;
    }

    .staff-card-body p {
        font-size: 13px;
    }

    .staff-card-icon {
        width: 60px;
        height: 60px;
        margin: auto auto 20px;
    }

        .staff-card-icon span {
            font-size: 20px;
        }

    /* ===== Grid ===== */

    .row.g-4 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }

    /* ===== Modal ===== */
    .management-modal-content {
        width: 94%;
        max-width: 94%;
        flex-direction: column;
        text-align: center;
        padding: 28px 22px;
        gap: 28px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .management-close-modal {
        left: 16px;
        top: 16px;
    }

    .modal-left {
        width: 100%;
    }

    .modal-right {
        width: 100%;
    }

        .modal-right h2 {
            font-size: 24px;
        }

        .modal-right p {
            font-size: 14px;
            line-height: 1.9;
        }

    .modal-stats {
        flex-direction: column;
        gap: 18px;
        padding: 20px;
    }

    .modal-stat-divider {
        width: 100%;
        height: 1px;
    }

    .modal-img-wrapper {
        width: 130px;
        height: 130px;
    }

        .modal-img-wrapper img {
            width: 130px;
            height: 130px;
        }
    /* ===== Staff Cards ===== */

    .staff-card {
        display: flex;
        align-items: center;
        gap: 18px;
        text-align: right;
        padding: 20px 18px;
    }

    .staff-card-icon {
        margin: 0;
        flex-shrink: 0;
        width: 56px;
        height: 56px;
    }

    .staff-card-body {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: right;
    }

        .staff-card-body h4 {
            margin-bottom: 4px;
            font-size: 17px;
        }

        .staff-card-body p {
            margin: 0;
            font-size: 13px;
        }
}
