
/* =====================================
   STAFF PROFILE PAGE
===================================== */
.staff-profile-section {
    background: #f5f8fc;
    padding: 55px 15px 70px;
    min-height: 550px;
    direction: rtl;
}

.staff-profile-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Profile Card */

.staff-profile-card {
    background: #ffffff;
    border: 1px solid #e4ebf3;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 35px rgba(20, 55, 90, 0.08);
}

/* Blue Top Banner */

.staff-profile-banner {
    height: 12px;
    background: linear-gradient(90deg, #0879d1, #43a1e8);
}

/* Profile Content */

.staff-profile-content {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 40px;
    padding: 45px;
    align-items: start;
}

/* Photo */

.staff-profile-photo-column {
    text-align: center;
}

.staff-profile-photo-wrapper {
    width: 250px;
    height: 250px;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 20px;
    padding: 8px;
    background: #f0f5fa;
    border: 1px solid #dce6f0;
    box-sizing: border-box;
    overflow: hidden;
}

.staff-profile-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 15px;
}

.staff-profile-photo-caption {
    margin-top: 18px;
    font-size: 14px;
    color: #75869a;
}

/* Information */

.staff-profile-info {
    min-width: 0;
}

.staff-profile-name {
    font-size: 30px;
    line-height: 1.7;
    font-weight: 800;
    color: #123d70;
    margin: 0 0 12px;
    overflow-wrap: anywhere;
}

.staff-profile-subtitle {
    color: #0879d1;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 28px;
}

/* Details */

.staff-profile-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.staff-profile-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border: 1px solid #e6edf5;
    background: #fbfcfe;
    border-radius: 12px;
    min-width: 0;
}

.staff-profile-detail-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf4ff;
    color: #0879d1;
    border-radius: 10px;
    font-size: 18px;
}

.staff-profile-detail-content {
    min-width: 0;
    flex: 1;
}

.staff-profile-detail-label {
    display: block;
    font-size: 13px;
    color: #8190a2;
    margin-bottom: 5px;
}

.staff-profile-detail-value {
    display: block;
    font-size: 15px;
    line-height: 1.8;
    color: #263e59;
    font-weight: 600;
    overflow-wrap: anywhere;
}

    .staff-profile-detail-value a {
        color: #0879d1;
        text-decoration: none;
    }

        .staff-profile-detail-value a:hover {
            text-decoration: underline;
        }

/* Social Section */

.staff-profile-social-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e8edf3;
}

.staff-profile-social-title {
    font-size: 19px;
    color: #123d70;
    font-weight: 700;
    margin-bottom: 18px;
}

.staff-profile-social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

    .staff-profile-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 12px 20px;
        border: 1px solid #dceafa;
        background: #edf5ff;
        color: #0879d1;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.25s ease;
    }

        .staff-profile-social a:hover {
            background: #0879d1;
            color: #ffffff;
            border-color: #0879d1;
            transform: translateY(-2px);
        }

/* Back Button */

.staff-profile-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    padding: 12px 22px;
    border: 1px solid #0879d1;
    color: #0879d1;
    background: #ffffff;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

    .staff-profile-back:hover {
        background: #0879d1;
        color: #ffffff;
        text-decoration: none;
    }

/* Responsive */

@media (max-width: 768px) {

    .staff-profile-section {
        padding: 30px 15px 45px;
    }

    .staff-profile-content {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 25px 20px;
    }

    .staff-profile-photo-wrapper {
        width: 200px;
        height: 200px;
    }

    .staff-profile-name {
        font-size: 24px;
        text-align: center;
    }

    .staff-profile-subtitle {
        text-align: center;
        font-size: 15px;
        margin-bottom: 22px;
    }

    .staff-profile-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {

    .staff-profile-content {
        padding: 20px 15px;
    }

    .staff-profile-photo-wrapper {
        width: 170px;
        height: 170px;
    }

    .staff-profile-name {
        font-size: 21px;
    }

    .staff-profile-detail {
        padding: 12px;
        gap: 10px;
    }

    .staff-profile-detail-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 16px;
    }

    .staff-profile-social a {
        width: 100%;
        box-sizing: border-box;
    }
}
/* ================= FOOTER ================= */

.staff-footer {
    background: #292f36;
    border-top: 4px solid #087bdc;
    padding: 20px;
    width: 100%;
}

    .staff-footer .row {
        align-items: center;
    }

    .staff-footer img {
        width: 180px;
        max-width: 100%;
        height: auto;
    }

    .staff-footer p {
        color: #ffffff;
        font-size: 13px;
        line-height: 1.8;
        margin: 0;
        overflow-wrap: anywhere;
    }

/* ================= TABLET ================= */

@media (max-width: 991px) {

    .staff-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    #ftco-navbar .login-item {
        margin-left: 0;
    }

    .staff-header .logo-eu {
        width: 220px;
    }
}

/* ================= MOBILE ================= */

@media (max-width: 575px) {

    .staff-header {
        padding: 12px 10px;
    }

        .staff-header .row {
            row-gap: 15px;
        }

        .staff-header .logo-eu {
            width: 200px;
        }

        .staff-header .logo-aswan,
        .staff-header .logo-center {
            max-height: 65px;
            width: auto;
        }

    #ftco-navbar .navbar-nav {
        align-items: stretch;
    }

    #ftco-navbar .nav-link {
        padding: 10px 15px;
    }

    .staff-search-section {
        padding: 20px 12px 10px;
    }

    .staff-search-form {
        gap: 8px;
    }

    .staff-search-input {
        min-width: 0;
        height: 44px;
        font-size: 14px;
    }

    .staff-search-button {
        height: 44px;
        padding: 0 15px;
        font-size: 14px;
    }

    .staff-page-container {
        padding: 12px 12px 25px;
    }

    .staff-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    .staff-footer {
        padding: 20px 12px;
    }

        .staff-footer .text-center {
            text-align: center;
        }

    .staff-pagination {
        gap: 5px;
    }

        .staff-pagination a,
        .staff-pagination span {
            min-width: 35px;
            height: 36px;
            padding: 0 9px;
        }
}

.staff-filter-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 25px 15px;
    background: #f5f7fa;
}

.staff-filter-select,
.staff-search-input {
    height: 45px;
    padding: 0 14px;
    border: 1px solid #d5dfeb;
    border-radius: 8px;
    background: #fff;
    color: #26384a;
    font-size: 14px;
    min-width: 210px;
    max-width: 100%;
    box-sizing: border-box;
}

.staff-search-input {
    width: 300px;
}

.staff-search-button,
.staff-reset-button {
    height: 45px;
    padding: 0 25px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid #0879d1;
}

.staff-search-button {
    background: #0879d1;
    color: #fff;
}

.staff-reset-button {
    background: #fff;
    color: #0879d1;
}

.staff-search-button:hover {
    background: #0565b2;
}

.staff-reset-button:hover {
    background: #eaf4ff;
}

@media (max-width: 768px) {
    .staff-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .staff-filter-select,
    .staff-search-input,
    .staff-search-button,
    .staff-reset-button {
        width: 100%;
        min-width: 0;
    }
}
