/* Reset and Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        :root {
            --primary: #003366;
            --secondary: #CC0000;
            --accent: #FFCC00;
            --light: #F5F5F5;
            --dark: #333333;
            --gray: #777777;
        }
        
        body {
            line-height: 1.6;
            color: var(--dark);
            background-color: #fff;
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* Header Styles */
        header {
            background-color: #fff;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }
        
        .logo-container {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .logo {
            height: 60px;
            width: auto;
        }
        
        .department-name {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            border-left: 2px solid var(--primary);
            padding-left: 15px;
        }
        
        .university-name {
            font-size: 0.9rem;
            color: var(--gray);
            margin-top: 5px;
        }
        
        .header-actions {
            display: flex;
            gap: 15px;
        }
        
        .search-box {
            display: flex;
            border: 1px solid #ddd;
            border-radius: 4px;
            overflow: hidden;
        }
        
        .search-box input {
            border: none;
            padding: 8px 12px;
            width: 200px;
        }
        
        .search-box button {
            background: var(--primary);
            color: white;
            border: none;
            padding: 0 15px;
            cursor: pointer;
        }
        
        /* Navigation */
        nav {
            background-color: var(--primary);
        }
        
        .nav-menu {
            display: flex;
            list-style: none;
        }
        
        .nav-menu li {
            position: relative;
        }
        
        .nav-menu a {
            color: white;
            text-decoration: none;
            padding: 15px 20px;
            display: block;
            font-weight: 500;
            transition: background 0.3s;
        }
        
        .nav-menu a:hover {
            background-color: rgba(255,255,255,0.1);
        }
        
        .dropdown-menu {
            display: none;
            position: absolute;
            background-color: white;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            min-width: 220px;
            z-index: 100;
        }
        
        .dropdown-menu a {
            color: var(--dark);
            border-bottom: 1px solid #eee;
        }
        
        .dropdown:hover .dropdown-menu {
            display: block;
        }
        
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
        }
        
        /* Page Header */
        .page-header {
            background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 80px 0;
            text-align: center;
        }
        
        .page-header h1 {
            font-size: 2.8rem;
            margin-bottom: 20px;
        }
        
        .page-header p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto;
        }
        
        /* People Navigation */
        .people-nav {
            background-color: var(--light);
            padding: 20px 0;
        }
        
        .people-nav-container {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .people-nav-btn {
            padding: 10px 20px;
            background: white;
            border: none;
            border-radius: 4px;
            font-weight: 600;
            color: var(--primary);
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        
        .people-nav-btn:hover, .people-nav-btn.active {
            background: var(--primary);
            color: white;
        }
        
        /* Section Styles */
        .section {
            padding: 80px 0;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 50px;
        }
        
        .section-title h2 {
            font-size: 2.2rem;
            color: var(--primary);
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
        }
        
        .section-title h2:after {
            content: '';
            position: absolute;
            width: 70px;
            height: 3px;
            background: var(--secondary);
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
        }
        
        .section-title p {
            color: var(--gray);
            max-width: 700px;
            margin: 0 auto;
        }
        
        /* Leadership Grid */
        .leadership-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .leader-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .leader-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        }
        
        .leader-img {
            height: 250px;
            background-size: cover;
            background-position: center;
        }
        
        .leader-content {
            padding: 25px;
        }
        
        .leader-content h3 {
            font-size: 1.4rem;
            margin-bottom: 5px;
            color: var(--primary);
        }
        
        .leader-role {
            color: var(--secondary);
            font-weight: 600;
            margin-bottom: 10px;
        }
        
        .leader-branch {
            color: var(--gray);
            font-size: 0.9rem;
            margin-bottom: 15px;
        }
        
        .leader-bio {
            color: var(--dark);
            margin-bottom: 20px;
        }
        
        .leader-contact {
            display: flex;
            gap: 15px;
        }
        
        .contact-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            background: var(--light);
            border-radius: 50%;
            color: var(--primary);
            transition: all 0.3s;
        }
        
        .contact-link:hover {
            background: var(--primary);
            color: white;
        }
        
        /* Faculty Grid */
        .faculty-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 30px;
        }
        
        .faculty-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: transform 0.3s;
        }
        
        .faculty-card:hover {
            transform: translateY(-5px);
        }
        
        .faculty-img {
            height: 200px;
            background-size: cover;
            background-position: center;
        }
        
        .faculty-content {
            padding: 20px;
        }
        
        .faculty-content h3 {
            font-size: 1.2rem;
            margin-bottom: 5px;
            color: var(--primary);
        }
        
        .faculty-role {
            color: var(--secondary);
            font-weight: 600;
            margin-bottom: 5px;
            font-size: 0.9rem;
        }
        
        .faculty-branch {
            color: var(--gray);
            font-size: 0.85rem;
            margin-bottom: 10px;
        }
        
        .faculty-research {
            color: var(--dark);
            font-size: 0.9rem;
            margin-bottom: 15px;
        }
        
        /* Staff Section */
        .staff-section {
            background-color: var(--light);
        }
        
        .staff-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 25px;
        }
        
        .staff-card {
            background: white;
            border-radius: 8px;
            padding: 25px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: transform 0.3s;
        }
        
        .staff-card:hover {
            transform: translateY(-5px);
        }
        
        .staff-icon {
            font-size: 2.5rem;
            color: var(--secondary);
            margin-bottom: 15px;
        }
        
        .staff-card h3 {
            font-size: 1.2rem;
            margin-bottom: 5px;
            color: var(--primary);
        }
        
        .staff-role {
            color: var(--gray);
            margin-bottom: 10px;
        }
        
        .staff-contact {
            color: var(--dark);
            font-size: 0.9rem;
        }
        
        /* Branch Tabs */
        .branch-tabs {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 40px;
        }
        
        .branch-tab {
            padding: 10px 20px;
            background: white;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-weight: 600;
            color: var(--primary);
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .branch-tab:hover, .branch-tab.active {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }
        
        /* Staff Faculty Section */
        .staff-faculty-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 30px;
        }
        
        .staff-faculty-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: transform 0.3s;
        }
        
        .staff-faculty-card:hover {
            transform: translateY(-5px);
        }
        
        .staff-faculty-img {
            height: 200px;
            background-size: cover;
            background-position: center;
        }
        
        .staff-faculty-content {
            padding: 25px;
        }
        
        .staff-faculty-content h3 {
            font-size: 1.3rem;
            margin-bottom: 5px;
            color: var(--primary);
        }
        
        .staff-faculty-role {
            color: var(--secondary);
            font-weight: 600;
            margin-bottom: 10px;
        }
        
        .staff-faculty-details {
            margin-bottom: 15px;
        }
        
        .staff-faculty-detail {
            display: flex;
            margin-bottom: 8px;
        }
        
        .staff-faculty-detail-label {
            font-weight: 600;
            min-width: 120px;
            color: var(--dark);
        }
        
        .staff-faculty-detail-value {
            color: var(--gray);
        }
        
        .staff-faculty-contact {
            display: flex;
            gap: 15px;
            margin-top: 15px;
        }
        
        /* Footer */
        footer {
            background-color: var(--dark);
            color: white;
            padding: 60px 0 20px;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        
        .footer-column h3 {
            font-size: 1.3rem;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 10px;
        }
        
        .footer-column h3:after {
            content: '';
            position: absolute;
            width: 40px;
            height: 2px;
            background: var(--secondary);
            bottom: 0;
            left: 0;
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 12px;
        }
        
        .footer-links a {
            color: #ccc;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-links a:hover {
            color: white;
        }
        
        .contact-info {
            list-style: none;
        }
        
        .contact-info li {
            margin-bottom: 15px;
            display: flex;
            align-items: flex-start;
        }
        
        .contact-info i {
            margin-right: 10px;
            color: var(--secondary);
        }
        
        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        
        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            color: white;
            transition: all 0.3s;
        }
        
        .social-links a:hover {
            background: var(--secondary);
            transform: translateY(-3px);
        }
        
        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255,255,255,0.1);
            color: #aaa;
            font-size: 0.9rem;
        }
        
        /* Responsive Styles */
        @media (max-width: 992px) {
            .page-header h1 {
                font-size: 2.2rem;
            }
            
            .department-name {
                font-size: 1.2rem;
            }
            
            .logo {
                height: 50px;
            }
        }
        
        @media (max-width: 768px) {
            .header-top {
                flex-direction: column;
                gap: 15px;
            }
            
            .logo-container {
                flex-direction: column;
                text-align: center;
                gap: 10px;
            }
            
            .department-name {
                border-left: none;
                border-top: 2px solid var(--primary);
                padding-left: 0;
                padding-top: 10px;
            }
            
            .nav-menu {
                display: none;
                flex-direction: column;
            }
            
            .nav-menu.active {
                display: flex;
            }
            
            .mobile-menu-btn {
                display: block;
                position: absolute;
                top: 20px;
                right: 20px;
            }
            
            .page-header {
                padding: 60px 0;
            }
            
            .page-header h1 {
                font-size: 1.8rem;
            }
            
            .section {
                padding: 60px 0;
            }
        }
        
        @media (max-width: 576px) {
            .search-box input {
                width: 150px;
            }
            
            .people-nav-container, .branch-tabs {
                flex-direction: column;
                align-items: center;
            }
            
            .people-nav-btn, .branch-tab {
                width: 100%;
                max-width: 250px;
            }
            
            .staff-faculty-detail {
                flex-direction: column;
            }
            
            .staff-faculty-detail-label {
                min-width: auto;
                margin-bottom: 3px;
            }
        }
         .admin-panel {
            background-color: var(--primary);
            color: white;
            padding: 15px 0;
            margin-bottom: 20px;
        }
        
        .admin-panel .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .admin-btn {
            background: var(--secondary);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            font-weight: 600;
            transition: background 0.3s;
        }
        
        .admin-btn:hover {
            background: #a00000;
        }
        
        .arabic-name {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            direction: rtl;
            font-size: 1.1rem;
            margin-bottom: 5px;
            color: var(--primary);
        }
        
        /* Modal styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
        }
        
        .modal-content {
            background-color: white;
            margin: 5% auto;
            padding: 30px;
            border-radius: 8px;
            width: 90%;
            max-width: 600px;
            max-height: 80vh;
            overflow-y: auto;
        }
        
        .close {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
        }
        
        .close:hover {
            color: black;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: 600;
            color: var(--primary);
        }
        
        .form-group input, .form-group textarea, .form-group select {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 1rem;
        }
        
        .form-actions {
            display: flex;
            justify-content: flex-end;
            gap: 10px;
            margin-top: 20px;
        }
        
        .btn {
            padding: 10px 20px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-weight: 600;
            transition: background 0.3s;
        }
        
        .btn-primary {
            background: var(--primary);
            color: white;
        }
        
        .btn-primary:hover {
            background: #002244;
        }
        
        .btn-secondary {
            background: var(--gray);
            color: white;
        }
        
        .btn-secondary:hover {
            background: #666;
        }
        
        .btn-danger {
            background: var(--secondary);
            color: white;
        }
        
        .btn-danger:hover {
            background: #a00000;
        }
        
        .edit-btn, .delete-btn {
            padding: 5px 10px;
            margin-left: 5px;
            font-size: 0.8rem;
        }
        
        .staff-faculty-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
         .admin-panel {
            background-color: var(--primary);
            color: white;
            padding: 15px 0;
            margin-bottom: 20px;
        }
        
        .admin-panel .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .admin-btn {
            background: var(--secondary);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            font-weight: 600;
            transition: background 0.3s;
        }
        
        .admin-btn:hover {
            background: #a00000;
        }
        
        .arabic-name {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            direction: rtl;
            font-size: 1.1rem;
            margin-bottom: 5px;
            color: var(--primary);
        }
        
        /* Modal styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
        }
        
        .modal-content {
            background-color: white;
            margin: 5% auto;
            padding: 30px;
            border-radius: 8px;
            width: 90%;
            max-width: 600px;
            max-height: 80vh;
            overflow-y: auto;
        }
        
        .close {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
        }
        
        .close:hover {
            color: black;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: 600;
            color: var(--primary);
        }
        
        .form-group input, .form-group textarea, .form-group select {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 1rem;
        }
        
        .form-actions {
            display: flex;
            justify-content: flex-end;
            gap: 10px;
            margin-top: 20px;
        }
        
        .btn {
            padding: 10px 20px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-weight: 600;
            transition: background 0.3s;
        }
        
        .btn-primary {
            background: var(--primary);
            color: white;
        }
        
        .btn-primary:hover {
            background: #002244;
        }
        
        .btn-secondary {
            background: var(--gray);
            color: white;
        }
        
        .btn-secondary:hover {
            background: #666;
        }
        
        .btn-danger {
            background: var(--secondary);
            color: white;
        }
        
        .btn-danger:hover {
            background: #a00000;
        }
        
        .edit-btn, .delete-btn {
            padding: 5px 10px;
            margin-left: 5px;
            font-size: 0.8rem;
        }
        
        .staff-faculty-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        
        /* Success/Error messages */
        .alert {
            padding: 15px;
            margin-bottom: 20px;
            border-radius: 4px;
        }
        
        .alert-success {
            background-color: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }
        
        .alert-error {
            background-color: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }
        /* Circular staff images */
.staff-faculty-img-container {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.staff-faculty-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

Status badges 
.status-badge {
   position: absolute;
    top: 10px;
    right: -5px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-current-employee {
    background-color: #28a745;
}

.status-retirement {
    background-color: #ffc107;
    color: #000;
}

.status-retired {
    background-color: #6c757d;
}

.status-transferred-employee {
    background-color: #17a2b8;
}

.status-contractor {
    background-color: #6610f2;
}

.status-contract-terminated {
    background-color: #dc3545;
}

.status-deceased {
    background-color: #343a40;
}

/* Staff faculty card adjustments for circular images 
.staff-faculty-card {
    text-align: center;
    padding: 25px 20px;
}

.staff-faculty-content h3 {
    margin-bottom: 5px;
}

.arabic-name {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
    font-family: 'Arial', sans-serif;
}

.staff-faculty-role {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 0.95rem;
}
*/
Form styles for status dropdown 
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
}
/* Status display in staff faculty details */
.staff-faculty-detail .status-value {
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Status color variations for detail display */
.staff-faculty-detail .status-current-employee {
    background-color: #e8f5e8;
    color: #28a745;
}

.staff-faculty-detail .status-retirement {
    background-color: #fff3cd;
    color: #856404;
}

.staff-faculty-detail .status-retired {
    background-color: #e9ecef;
    color: #495057;
}

.staff-faculty-detail .status-transferred-employee {
    background-color: #d1ecf1;
    color: #0c5460;
}

.staff-faculty-detail .status-contractor {
    background-color: #e2e3f3;
    color: #6610f2;
}

.staff-faculty-detail .status-contract-terminated {
    background-color: #f8d7da;
    color: #721c24;
}

.staff-faculty-detail .status-deceased {
    background-color: #d6d8d9;
    color: #1b1e21;
}

/* Make sure the status detail stands out */
.staff-faculty-detail:first-child {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}
