   :root {
              --light-color: #f8f9fa;
             --dark-color: #212529;
            --border-color: #dee2e6;
            --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            --transition: all 0.3s ease;
        }
        .staff-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            height: 100%;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
            position: relative;
            border: none;
        }

        .staff-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        }

        .staff-img {
            position: relative;
            height: 220px;
            overflow: hidden;
        }

        .staff-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.5s ease;
        }

        .staff-card:hover .staff-img img {
            transform: scale(1.05);
        }

        .staff-overlay {
            position: absolute;
            bottom: 0;
            right: 0;
            left: 0;
            height: 60px;
            background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
        }

        .staff-info {
            padding: 25px 20px;
            position: relative;
        }

        .staff-name {
            color: var(--maincolor);
            font-weight: 700;
            font-size: 1.25rem;
            margin-bottom: 5px;
        }

        .staff-position {
            color: var(--maincolor);
            font-weight: 600;
            font-size: 0.95rem;
            margin-bottom: 15px;
            display: block;
        }

        .staff-details {
            color: #7f8c8d;
            font-size: 0.9rem;
            line-height: 1.6;
            border-top: 1px solid #f0f0f0;
            padding-top: 15px;
            margin-top: 15px;
        }

        .staff-contact {
            display: flex;
            justify-content: center;
            margin-top: 15px;
        }

        .contact-icon {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--light-color);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 5px;
            color: var(--maincolor);
            transition: all 0.3s ease;
        }

        .contact-icon:hover {
            background: var(--maincolor);
            color: white;
            transform: translateY(-3px);
        }

        .academic-badge {
            position: absolute;
            top: 15px;
            left: 20px;
            background: var(--thirdcolor);
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
            z-index: 99;
        }

        @media (max-width: 768px) {
            .academic-section {
                padding: 25px 15px;
            }

            .section-header h2 {
                font-size: 1.8rem;
            }

            .staff-card {
                margin-bottom: 30px;
            }
        }
/* =============مشاريع التخرج=================== */


        .section-header {
            /* text-align: center; */
            margin-bottom: 50px;
            position: relative;
        }
        .section-header p {
            color: #4a5568;
            font-size: 1.2rem;
            max-width: 800px;
            margin: 30px auto 0;
            line-height: 1.8;
        }

        .project-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            height: 100%;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
            position: relative;
            border: none;
            margin-bottom: 25px;
        }

        .project-card:hover {
            transform: translateY(-15px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }

        .project-img {
            position: relative;
            height: 220px;
            overflow: hidden;
        }

        .project-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.5s ease;
        }

        .project-card:hover .project-img img {
            transform: scale(1.1);
        }

        .project-overlay {
            position: absolute;
            bottom: 0;
            right: 0;
            left: 0;
            height: 80px;
            background: linear-gradient(to top, rgba(26, 58, 95, 0.9), transparent);
            display: flex;
            align-items: flex-end;
            padding: 15px;
        }

        .project-title {
            color: white;
            font-weight: 700;
            font-size: 1.3rem;
            margin: 0;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
        }

        .project-content {
            padding: 25px;
        }

        .project-meta {
            display: flex;
            justify-content: space-between;
            margin-bottom: 20px;
            border-bottom: 1px solid #e2e8f0;
            padding-bottom: 15px;
        }

        .project-students {
            color: var(--maincolor);
            font-weight: 600;
        }

        .project-year {
            background: var(--thirdcolor);
            color: white;
            padding: 3px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
        }

        .project-description {
            color: #4a5568;
            font-size: 0.95rem;
            line-height: 1.8;
            margin-bottom: 25px;
            /* min-height: 120px; */
        }

        .project-supervisor {
            background: var(--light-color);
            padding: 12px 15px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            border-right: 4px solid var(--secondcolor);
        }

        .supervisor-icon {
            background: var(--secondcolor);
            color: white;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 10px;
            flex-shrink: 0;
        }

        .supervisor-info h5 {
            font-size: 0.95rem;
            font-weight: 600;
            margin: 0;
            color: var(--dark-color);
        }

        .supervisor-info p {
            font-size: 0.85rem;
            margin: 3px 0 0;
            color: #718096;
        }

        .project-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: var(--thirdcolor);
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            box-shadow: 0 4px 10px rgba(230, 57, 70, 0.3);
            z-index: 10;
        }

        .view-project {
            display: block;
            text-align: center;
            background: var(--maincolor);
            color: white;
            padding: 10px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            margin-top: 15px;
        }

        .view-project:hover {
            background: var(--secondcolor);
            color:white;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(45, 125, 154, 0.4);
        }

        .view-all {
            text-align: center;
            margin-top: 40px;
        }

        .view-all-btn {
            display: inline-block;
            background: var(--maincolor);
            color: white;
            padding: 12px 35px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 700;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            border: 2px solid var(--maincolor);
        }

        .view-all-btn:hover {
            background: transparent;
            color: var(--maincolor);
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(26, 58, 95, 0.2);
        }

        @media (max-width: 992px) {
            .projects-section {
                padding: 30px;
            }

            .section-header h2 {
                font-size: 1.9rem;
            }

            .project-card {
                margin-bottom: 30px;
            }
        }

        @media (max-width: 768px) {
            .projects-section {
                padding: 25px 15px;
                border-radius: 15px;
            }

            .section-header h2 {
                font-size: 1.7rem;
            }

            .section-header p {
                font-size: 1rem;
            }
        }
/* الكتب المكتبة الالكترونية */

        .book-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            height: 100%;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
            position: relative;
            margin-bottom: 25px;
            border: none;
            border-top: 4px solid var(--secondcolor);
        }

        .book-card:hover {
            transform: translateY(-15px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }

        .book-cover {
            height: 300px;
            overflow: hidden;
            position: relative;
            background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .book-cover img {
            max-height: 100%;
            max-width: 100%;
            object-fit: contain;
            transition: all 0.5s ease;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            border-radius: 5px;
        }

        .book-card:hover .book-cover img {
            transform: scale(1.05);
        }

        .book-badge {
            position: absolute;
            top: 20px;
            right: 20px;
            background: var(--thirdcolor);
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
            z-index: 10;
        }

        .book-info {
            padding: 25px;
        }

        .book-title {
            color: var(--maincolor);
            font-weight: 800;
            font-size: 1.4rem;
            margin-bottom: 10px;
            min-height: 70px;
        }

        .book-author {
            color: var(--maincolor);
            font-weight: 600;
            margin-bottom: 15px;
            display: block;
            font-size: 1.1rem;
        }

        .book-meta {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }

        .book-year {
            color: #6c757d;
            font-weight: 600;
        }

        .book-pages {
            color: #6c757d;
            font-weight: 600;
        }

        .book-description {
            color: #495057;
            font-size: 1rem;
            line-height: 1.7;
            margin-bottom: 25px;
           /* min-height: 50px; */
            height: 65px;
        }

        .book-actions {
            display: flex;
            gap: 5px;
        }

        .view-book {
            flex: 1;
            text-align: center;
            background: var(--maincolor);
            color: white;
            padding: 10px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 700;
            transition: all 0.3s ease;
        }

        .view-book:hover {
            background: var(--secondcolor);
            color:white;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(45, 125, 154, 0.4);
        }

        .download-book {
            flex: 1;
            text-align: center;
            background: var(--thirdcolor);
            color: white;
            padding: 10px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 700;
            transition: all 0.3s ease;
        }

        .download-book:hover {
            /* background: #c9a227; */
            opacity: .9;
            transform: translateY(-3px);
            color:white;
            box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
        }

        .view-all-books {
            text-align: center;
            margin-top: 40px;
        }

        .view-all-btn {
            display: inline-block;
            background: var(--maincolor);
            color: white;
            padding: 14px 40px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 700;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            border: 2px solid var(--maincolor);
        }

        .view-all-btn:hover {
            background: transparent;
            color: var(--maincolor);
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(26, 58, 95, 0.2);
        }

        .book-category {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 15px;
            margin-top: 30px;
        }

        .category-btn {
            background: white;
            border: 2px solid var(--maincolor);
            color: var(--maincolor);
            padding: 8px 20px;
            border-radius: 30px;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .category-btn:hover,
        .category-btn.active {
            background: var(--maincolor);
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(44, 62, 80, 0.2);
        }

        @media (max-width: 992px) {
            .books-section {
                padding: 30px;
            }

            .section-header h2 {
                font-size: 2rem;
            }
        }

        @media (max-width: 768px) {
            .books-section {
                padding: 25px 15px;
            }

            .section-header h2 {
                font-size: 1.7rem;
            }

            .section-header p {
                font-size: 1rem;
            }

            .book-actions {
                flex-direction: column;
            }
        }
/* ===========end book============================== */
/* =============start majors التخصصات==================================== */
        .specialty-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            transition: all 0.3s ease;
            height: 100%;
            box-shadow: 0 8px 20px rgba(0,0,0,0.08);
            margin-bottom: 25px;
            position: relative;
        }

        .specialty-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        }

        .specialty-header {
            height: 250px;
            position: relative;
            padding: 20px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
        }

        .specialty-header::before {
            content: "";
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
            z-index: 1;
        }

        .specialty-img {
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.5s ease;
        }

        .specialty-card:hover .specialty-img {
            transform: scale(1.05);
        }

        /* .specialty-icon {
            font-size: 2.5rem;
            margin-bottom: 15px;
            color: var(--thirdcolor);
            position: relative;
            z-index: 2;
        } */

        .specialty-title {
            font-weight: 800;
            font-size: 1.5rem;
            margin-bottom: 10px;
            color: white;
            position: relative;
            z-index: 2;
        }

        .specialty-description {
            opacity: 0.9;
            font-size: 1rem;
            /* min-height: 50px; */
            color: white;
            position: relative;
            z-index: 2;
        }

        .specialty-body {
            padding: 20px;
             height: 8rem;
    overflow: hidden;
        }

        .program-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 0;
            border-bottom: 1px solid #eee;
            transition: all 0.3s ease;
        }

        .program-item:last-child {
            border-bottom: none;
        }

        .program-item:hover {
            background: #f8f9fa;
            transform: translateX(-5px);
        }

        .program-name {
            font-weight: 600;
            font-size: 1.1rem;
            color: var(--maincolor);
        }

        .program-duration {
            background: var(--light-color);
            color: var(--dark-color);
            padding: 3px 12px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
        }

        .btn-details {
            background: var(--maincolor);
            color: white;
            padding: 10px 20px;
            border-radius: 5px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            display: block;
            border: 2px solid var(--maincolor);
            font-size: 1rem;
        }

        .btn-details:hover {
            background: transparent;
            color: var(--maincolor);
            transform: translateY(-3px);
        }

        .specialty-footer {
            padding: 0 25px 25px;
            text-align: center;
        }

        .specialty-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: var(--thirdcolor);
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
            z-index: 3;
        }

        @media (max-width: 992px) {
            .academic-header {
                padding: 80px 0 40px;
            }

            .academic-title {
                font-size: 2.2rem;
            }

            .academic-subtitle {
                font-size: 1.1rem;
            }
        }

        @media (max-width: 768px) {
            .academic-title {
                font-size: 1.8rem;
            }
        }

        .department-filter {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 30px;
            justify-content: center;
        }

        .filter-btn {
            background: white;
            border: 2px solid var(--maincolor);
            color: var(--maincolor);
            padding: 8px 20px;
            border-radius: 30px;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .filter-btn:hover,
        .filter-btn.active {
            background: var(--maincolor);
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(44, 62, 80, 0.2);
        }

        .academic-footer {
            background: var(--dark-color);
            color: white;
            padding: 40px 0;
            margin-top: 50px;
            text-align: center;
        }
/* =================end major============================== */
/* ================start program========================== */


        .program-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            transition: all 0.3s ease;
            margin-bottom: 25px;
            box-shadow: 0 8px 20px rgba(0,0,0,0.08);
            border-right: 5px solid var(--thirdcolor);
        }

        .program-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        }

        .program-header {
            background: var(--maincolor);
            color: white;
            padding: 25px;
            position: relative;
        }

        .program-title {
            font-weight: 800;
            font-size: 1.5rem;
            margin-bottom: 10px;
        }

        .program-degree {
            opacity: 0.9;
            font-size: 1rem;
        }
        .program-body {
            padding: 25px;
        }

        .program-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid #eee;
        }

        .meta-item {
            display: flex;
            align-items: center;
        }

        .meta-icon {
            background: var(--light-color);
            color: var(--maincolor);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            flex-shrink: 0;
            font-size: 1.2rem;
        }

        .meta-content h4 {
            font-size: 0.95rem;
            font-weight: 600;
            margin: 0;
            color: var(--dark-color);
        }

        .meta-content p {
            font-size: 1rem;
            margin: 5px 0 0;
            font-weight: 700;
            color: var(--maincolor);
        }

        .program-objectives {
            margin-bottom: 25px;
        }

        .program-objectives h4 {
            color: var(--maincolor);
            font-weight: 700;
            margin-bottom: 15px;
        }

        .program-objectives ul {
            padding-left: 20px;
        }

        .program-objectives li {
            margin-bottom: 10px;
            position: relative;
            padding-left: 15px;
        }

        .program-objectives li:before {
            content: "";
            position: absolute;
            left: 0;
            top: 8px;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--secondcolor);
        }

        .program-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
        }
        .btn-details i {
            margin-right: 8px;
        }

        .program-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .program-tag {
            background: var(--light-color);
            color: var(--maincolor);
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
            border: 1px solid #ddd;
        }

        .academic-footer {
            background: var(--dark-color);
            color: white;
            padding: 40px 0;
            margin-top: 50px;
            text-align: center;
        }



        @media (max-width: 768px) {


            .program-footer {
                flex-direction: column;
                align-items: flex-start;
            }
        }

        .program-stats {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-top: 20px;
            background: var(--light-color);
            padding: 15px;
            border-radius: 10px;
        }

        .stat-item {
            display: flex;
            align-items: center;
        }

        .stat-value {
            font-size: 1.2rem;
            font-weight: 800;
            color: var(--maincolor);
            margin-right: 10px;
        }

        .stat-label {
            color: #6c757d;
            font-size: 0.9rem;
        }
/* ==============end program========================== */
/* ===========start stuyplan====================== */
.studyplan
{
    overflow-x: auto;
}
.studyplan table th{
    background-color: var(--maincolor);
    color:white;
}
.studyplan table th.bg-unit{
    background-color: var(--secondcolor);
    /* color:white; */
}
.border-top-3 {
    border-top: 3px solid #dee2e6 !important;
}

    .table-custom thead th {
        /* background-color: #2c3e50; */
        color: #fff;
        vertical-align: middle;
    }

    .level-header {
        background-color: #ecf0f1;
        border-top: 4px solid #34495e;
    }

    .semester-header {
        background-color: #f9f9f9;
        font-weight: 600;
        border-top: 2px solid #bdc3c7;
    }

    .semester-total {
        background-color: #f0f8ff;
        font-weight: bold;
    }

    .table-footer {
        background-color: #e8eaf6;
    }

    .bg-unit {
        background-color: #f1f1f1;
        font-weight: 500;
    }

    .badge-course-type {
        font-size: 0.85rem;
        background-color: #95a5a6;
    }
#planHeader {
    display: none;
}

@media print {
    #planHeader {
        display: block !important;
    }
}
/* ==============end studyplan=========================== */
/* محتوى الصفحات الرئيسية مش كله استخدمته */
        :root {
            --primary: #003366;
            --secondary: #8c1d40;
            --accent: #ffc72c;
            --light: #f8f9fa;
            --dark: #212529;
        }

        .hero-section {

            height: 60vh;
            position: relative;
            border-radius: 0 0 20px 20px;
            overflow: hidden;
            margin-bottom: .3rem;
        }

        .hero-overlay {
            background: rgba(0, 102, 61, 0.55);
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            padding: 2rem;
        }

        .hero-content {
            max-width: 700px;
            color: white;
        }


        .card {
            border-radius: 12px;
            overflow: hidden;
            border: none;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            margin-bottom: 25px;
            /* height: 100%; */
        }

        .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 12px 25px rgba(0,0,0,0.15);
        }

        .card-img-top {
            height: 200px;
            object-fit: cover;
        }

        .sidebar-card {
            border-right: 4px solid var(--secondcolor);
        }

        .sidebar-card .card-header {
            background-color: white;
            border-bottom: 1px solid rgba(0,0,0,0.05);
            font-weight: 700;
            color: var(--primary);
        }

        .sidebar-link {
            display: block;
            padding: 12px 20px;
            color: #555;
            text-decoration: none;
            border-bottom: 1px solid rgba(0,0,0,0.05);
            transition: all 0.3s;
        }

        .sidebar-link:hover {
            background-color: rgba(0, 51, 102, 0.05);
            color: var(--primary);
            padding-left: 25px;
        }

        .sidebar-link i {
            margin-right: 10px;
            color: var(--accent);
        }

        /* .gallery-item {
            border-radius: 10px;
            overflow: hidden;
            margin-bottom: 20px;
            height: 250px;
            position: relative;
        } */

        /* .gallery-item img {
            height: 100%;
            width: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        } */

        /* .gallery-item:hover img {
            transform: scale(1.05);
        } */

        .video-container {
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
            background: #000;
        }


 .service-image {
            width: 100%;
            max-width: 450px;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 7px 20px rgba(0, 0, 0, 0.15);
            transition: transform 0.5s ease;
            margin-bottom: 25px;
            justify-self: center;

        }

        .service-image img {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.5s ease;
        }

        .service-image:hover {
            transform: translateY(-10px);
        }

        .service-image:hover img {
            transform: scale(1.05);
        }

        @media (max-width: 767px) {


            .hero-section {
                height: 50vh;
            }
        }
/* نهاية محتوى الصفحات الرئيسية */
/* ========================= */
.breadcrumbs-modern {
    padding: 10px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    /* margin-bottom: 30px; */
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
    /* margin-top: 75px; */
}

.breadcrumbs-modern .breadcrumb-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

.breadcrumbs-modern h2 {
    color: #2c3e50;
    font-weight: 700;
    margin: 0;
    font-size: 1.8rem;
    padding: 5px 0;
    position: relative;
    display: inline-block;
}

.breadcrumbs-modern h2:after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--thirdcolor);
    border-radius: 3px;
}

.breadcrumbs-modern .breadcrumb-nav {
    display: flex;
    align-items: center;
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.breadcrumbs-modern .breadcrumb-nav ol {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

.breadcrumbs-modern .breadcrumb-nav li {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.breadcrumbs-modern .breadcrumb-nav li a {
    text-decoration: none;
    color: var(--fontcolor);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 5px;
}

.breadcrumbs-modern .breadcrumb-nav li a:hover {
    color: var(--maincolor);
    background: rgba(52, 219, 108, 0.1);
}

.breadcrumbs-modern .breadcrumb-nav li:not(:last-child):after {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin: 0 10px;
    color: #adb5bd;
    font-size: 0.9rem;
}

.breadcrumbs-modern .breadcrumb-nav li:last-child {
    font-weight: 600;
    color: #2c3e50;
    padding: 5px 12px;
    background: rgba(44, 62, 80, 0.05);
    border-radius: 5px;
}

.breadcrumbs-modern .breadcrumb-nav li a i {
    margin-right: 8px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .breadcrumbs-modern .breadcrumb-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .breadcrumbs-modern .breadcrumb-nav {
        margin-top: 15px;
        width: 100%;
    }

    .breadcrumbs-modern h2 {
        margin-bottom: 10px;
    }
}
/* ========================== */
/* تفاصيل الخبر */
        .news-detail-wrapper {
            --border-color: #dee2e6;
            --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            --transition: all 0.3s ease;
        }



        .news-detail-wrapper .header-section {
            background: linear-gradient(135deg, var(--maincolor), var(--secondcolor));
            color: white;
            padding: 100px 0 50px;
            position: relative;
            overflow: hidden;
        }

        .news-detail-wrapper .header-section::before {
            content: "";
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon points="0,0 100,0 100,100" fill="rgba(255,255,255,0.05)"/></svg>');
            background-size: cover;
        }

        .news-detail-wrapper .section-title {
            position: relative;
            margin-bottom: 50px;
            text-align: center;
            border: 0;
        }

        .news-detail-wrapper .section-title h2 {
            font-weight: 700;
            color: var(--maincolor);
            position: relative;
            display: inline-block;
            padding-bottom: 15px;
            margin-bottom: 20px;
        }

        .news-detail-wrapper .section-title h2::after {
            content: "";
            position: absolute;
            bottom: 0;
            right: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--thirdcolor);
            border-radius: 2px;
        }



        /* Main Article Styling */
        .news-detail-wrapper .main-article {
            background: white;
            border-radius: 12px;
            box-shadow: var(--shadow);
            overflow: hidden;
            transition: var(--transition);
            margin-top: -80px;
            position: relative;
            z-index: 10;
        }

        .news-detail-wrapper .main-article:hover {
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
            transform: translateY(-5px);
        }

        .news-detail-wrapper .main-article img {
            width: 100%;
            height: 450px;
            object-fit: cover;
            border-top-right-radius: 12px;
            border-top-left-radius: 12px;
            transition: var(--transition);
        }

        .news-detail-wrapper .main-article:hover img {
            transform: scale(1.02);
        }

        .news-detail-wrapper .article-content {
            padding: 30px;
        }

        .news-detail-wrapper .article-content h4 {
            font-weight: 700;
            color: var(--maincolor);
            margin-bottom: 20px;
            font-size: 1.8rem;
            position: relative;
            padding-bottom: 15px;
        }

        .news-detail-wrapper .article-content h4::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background: var(--thirdcolor);
        }

        .news-detail-wrapper .meta-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            padding: 15px 0;
            border-top: 1px dashed var(--border-color);
            border-bottom: 1px dashed var(--border-color);
            margin-bottom: 25px;
        }

        .news-detail-wrapper .meta-top ul {
            padding: 0;
            margin: 0;
            list-style: none;
            display: flex;
            gap: 20px;
        }

        .news-detail-wrapper .meta-top ul li {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #6c757d;
            font-size: 0.95rem;
        }

        .news-detail-wrapper .meta-top ul li i {
            color: var(--secondcolor);
        }
/* مشاركة للتواصل الاجتماعي */
        .share-buttons {
            display: flex;
            gap: 10px;
        }

         .share-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f0f2f5;
            color: var(--secondcolor);
            transition: var(--transition);
        }

        .share-btn:hover {
            background: var(--secondcolor);
            color: white;
            transform: translateY(-3px);
        }

        .news-detail-wrapper .article-text {
            line-height: 1.9;
            font-size: 1.1rem;
            color: #444;
        }

        .news-detail-wrapper .article-text p {
            margin-bottom: 20px;
        }

        /* Recent News Section */
        .news-detail-wrapper .recent-news {
            padding: 80px 0 60px;
        }

        .news-detail-wrapper .news-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .news-detail-wrapper .news-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
        }

        .news-detail-wrapper .news-img {
            height: 220px;
            overflow: hidden;
        }

        .news-detail-wrapper .news-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

        .news-detail-wrapper .news-card:hover .news-img img {
            transform: scale(1.1);
        }

        .news-detail-wrapper .card-body {
            padding: 25px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .news-detail-wrapper .card-body h4 {
            font-weight: 700;
            margin-bottom: 15px;
            color: var(--maincolor);
            transition: var(--transition);
        }

        .news-detail-wrapper .news-card:hover .card-body h4 {
            color: var(--thirdcolor);
        }

        .news-detail-wrapper .card-text {
            color: #666;
            margin-bottom: 20px;
            flex-grow: 1;
        }

        .news-detail-wrapper .read-more {
            color: var(--secondcolor);
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: var(--transition);
        }

        .news-detail-wrapper .read-more:hover {
            color: var(--thirdcolor);
            gap: 12px;
        }

        .news-detail-wrapper .read-more i {
            transition: var(--transition);
        }

        .news-detail-wrapper .read-more:hover i {
            transform: translateX(5px);
        }

        .news-detail-wrapper .news-date {
            display: inline-block;
            background: var(--maincolor);
            color: white;
            padding: 5px 15px;
            border-radius: 30px;
            font-size: 0.85rem;

        }

        /* Responsive adjustments */
        @media (max-width: 992px) {
            .news-detail-wrapper .main-article img {
                height: 350px;
            }
        }

        @media (max-width: 768px) {
            .news-detail-wrapper .main-article {
                margin-top: -40px;
            }

            .news-detail-wrapper .main-article img {
                height: 300px;
            }

            .news-detail-wrapper .meta-top {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }

            .news-detail-wrapper .header-section {
                padding: 80px 0 30px;
            }
        }

/* نهاية تفاصيل الخبر */
/* تفاصيل المقاله */
       :root {



        }
        .article-detail-wrapper {
            padding: 60px 0;
        }

        /* Article Header */
        .article-header {
            position: relative;
            margin-bottom: 40px;
            overflow: hidden;
            border-radius: 12px;
            box-shadow: var(--shadow);
        }

        .article-header img {
            width: 100%;
            height: 500px;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .article-header:hover img {
            transform: scale(1.03);
        }

        .article-header-overlay {
            position: absolute;
            bottom: 0;
            right: 0;
            left: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
            padding: 40px 30px 30px;
            color: white;
        }

        .article-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 15px;
            color: white;
            line-height: 1.3;
        }

        .article-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-bottom: 20px;
            color: rgba(255, 255, 255, 0.85);
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .meta-item i {
            color: var(--thirdcolor);
        }

        /* Article Content */
        .article-content {
            background: white;
            border-radius: 12px;
            padding: 40px;
            box-shadow: var(--shadow);
            margin-bottom: 40px;
        }

        .article-body {
            font-size: 1.1rem;
            line-height: 1.9;
            color: #444;
        }

        .article-body p {
            margin-bottom: 25px;
        }

        /* Sidebar */
        .sidebar {
            position: sticky;
            top: 30px;
        }

        .sidebar-title {
            position: relative;
            padding-bottom: 15px;
            margin-bottom: 25px;
            font-weight: 700;
            color: var(--maincolor);
            font-size: 1.5rem;
        }

        .sidebar-title::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background: var(--thirdcolor);
        }

        .recent-article {
            display: flex;
            gap: 15px;
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid var(--border-color);
            transition: var(--transition);
        }

        .recent-article:hover {
            transform: translateX(-5px);
        }

        .recent-article:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }

        .recent-article img {
            width: 100px;
            height: 80px;
            object-fit: cover;
            border-radius: 8px;
            flex-shrink: 0;
        }

        .recent-content {
            flex-grow: 1;
        }

        .recent-title {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--maincolor);
            transition: var(--transition);
        }

        .recent-article:hover .recent-title {
            color: var(--thirdcolor);
        }

        .recent-date {
            font-size: 0.9rem;
            color: #6c757d;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .article-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 30px;
            padding-top: 30px;
            border-top: 1px solid var(--border-color);
        }

        .tag {
            background: #f0f4f8;
            color: var(--secondcolor);
            padding: 5px 15px;
            border-radius: 30px;
            font-size: 0.9rem;
            transition: var(--transition);
        }

        .tag:hover {
            background: var(--secondcolor);
            color: white;
        }

        /* Social Share */
        .social-share {
            display: flex;
            gap: 15px;
            margin-top: 30px;
            padding-top: 30px;
            border-top: 1px solid var(--border-color);
        }


        /* Responsive adjustments */
        @media (max-width: 992px) {
            .article-header img {
                height: 400px;
            }

            .article-title {
                font-size: 2rem;
            }
        }

        @media (max-width: 768px) {
            .article-header img {
                height: 350px;
            }

            .article-title {
                font-size: 1.8rem;
            }

            .article-content {
                padding: 30px 20px;
            }

            .recent-article {
                flex-direction: column;
            }

            .recent-article img {
                width: 100%;
                height: 180px;
            }
        }

        @media (max-width: 576px) {
            .article-header img {
                height: 300px;
            }

            .article-header-overlay {
                padding: 30px 20px 20px;
            }

            .article-title {
                font-size: 1.6rem;
            }

            .article-meta {
                flex-direction: column;
                gap: 10px;
            }
        }
/* نهاية تفاصيل المقاله */
/* صفحة كل المقالات */
        .articles-page-wrapper {
            padding: 0px 0 60px;
        }


        /* Article Cards */
        .article-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            height: 100%;
            display: flex;
            flex-direction: column;
            margin-bottom: 30px;
        }

        .article-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
        }

        .article-img {
            height: 250px;
            overflow: hidden;
        }

        .article-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

        .article-card:hover .article-img img {
            transform: scale(1.1);
        }

        .article-body {
            padding: 25px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .article-title {
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 15px;
            color: var(--maincolor);
            transition: var(--transition);
        }

        .article-card:hover .article-title {
            color: var(--thirdcolor);
        }

         .articles-page-wrapper .article-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 15px;
            color: #6c757d;
            font-size: 0.9rem;
        }



        .article-excerpt {
            color: #555;
            margin-bottom: 20px;
            flex-grow: 1;
        }

        .articles-page-wrapper .read-more {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--secondcolor);
            font-weight: 600;
            text-decoration: none;
            transition: var(--transition);
            align-self: flex-start;
            padding: 8px 20px;
            border: 1px solid var(--border-color);
            border-radius: 30px;
        }

         .articles-page-wrapper .read-more:hover {
            background: var(--secondcolor);
            color: white;
            border-color: var(--secondcolor);
            gap: 12px;
        }

         .articles-page-wrapper .read-more i {
            transition: var(--transition);
        }

         .articles-page-wrapper .read-more:hover i {
            transform: translateX(5px);
        }

        /* Sidebar */
        .sidebar {
            position: sticky;
            top: 30px;
        }

        .sidebar-title {
            position: relative;
            padding-bottom: 15px;
            margin-bottom: 25px;
            font-weight: 700;
            color: var(--maincolor);
            font-size: 1.5rem;
        }

        .sidebar-title::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background: var(--thirdcolor);
        }


        /* Pagination */
        .pagination-wrapper {
            margin-top: 40px;
            display: flex;
            justify-content: center;
        }

        .pagination .page-item .page-link {
            color: var(--maincolor);
            border: none;
            margin: 0 5px;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }

        .pagination .page-item.active .page-link {
            background: var(--maincolor);
            color: white;
        }

        .pagination .page-item:not(.active) .page-link:hover {
            background: #f0f4f8;
        }

        .pagination .page-item .page-link i {
            font-size: 0.8rem;
        }

        /* Search Box */
        .search-box {
            background: white;
            border-radius: 12px;
            padding: 25px;
            box-shadow: var(--shadow);
            margin-bottom: 30px;
        }

        .search-form {
            position: relative;
        }

        .search-input {
            width: 100%;
            padding: 12px 20px;
            padding-left: 50px;
            border: 1px solid var(--border-color);
            border-radius: 30px;
            font-size: 1rem;
            transition: var(--transition);
        }

        .search-input:focus {
            border-color: var(--secondcolor);
            box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
            outline: none;
        }

        .search-btn {
            position: absolute;
            top: 50%;
            left: 15px;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: var(--secondcolor);
            font-size: 1.2rem;
            cursor: pointer;
            transition: var(--transition);
        }

        .search-btn:hover {
            color: var(--thirdcolor);
        }

        /* Categories */
        .categories-box {
            background: white;
            border-radius: 12px;
            padding: 25px;
            box-shadow: var(--shadow);
            margin-bottom: 30px;
        }

        .categories-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .categories-list li {
            padding: 12px 0;
            border-bottom: 1px solid var(--border-color);
        }

        .categories-list li:last-child {
            border-bottom: none;
        }

        .categories-list a {
            display: flex;
            justify-content: space-between;
            text-decoration: none;
            color: var(--dark-color);
            transition: var(--transition);
        }

        .categories-list a:hover {
            color: var(--thirdcolor);
        }

        .categories-list a span {
            background: #f0f4f8;
            color: var(--secondcolor);
            padding: 2px 10px;
            border-radius: 30px;
            font-size: 0.85rem;
        }

        /* Responsive adjustments */
        @media (max-width: 992px) {
            .article-img {
                height: 220px;
            }
        }



        @media (max-width: 576px) {


            .article-img {
                height: 250px;
            }
        }
/* نهاية صفحة كل المقالات */
/* صفحة الاقسام او الرابط الرئيسي  */
     /* Service Card Design */
        .service-card {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            height: 100%;
            display: flex;
            flex-direction: column;
            margin-bottom: 20px;
            position: relative;
            border: 1px solid rgba(44, 90, 160, 0.1);
        }

        .service-card:hover {
            transform: translateY(-15px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
            border-color: rgba(44, 90, 160, 0.2);
        }

        .service-img {
            height: 240px;
            overflow: hidden;
            position: relative;
        }

        .service-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

        .service-card:hover .service-img img {
            transform: scale(1.08);
        }

        .service-img::before {
            content: "";
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to top, rgba(26, 58, 108, 0.7), transparent);
            opacity: 0;
            transition: var(--transition);
            z-index: 1;
        }

        .service-card:hover .service-img::before {
            opacity: 1;
        }

        .view-btn {
            position: absolute;
            top: 50%;
            right: 50%;
            transform: translate(-50%, -50%) scale(0.8);
            background: var(--thirdcolor);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: var(--transition);
            z-index: 2;
        }

        .service-card:hover .view-btn {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }

        .service-content {
            padding: 20px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .service-title {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 15px;
            color: var(--maincolor);
            transition: var(--transition);
            text-align: center;
        }

        .service-card:hover .service-title {
            color: var(--thirdcolor);
        }

        .service-description {
            color: #555;
            text-align: center;
            margin-bottom: 10px;
            flex-grow: 1;
        }





        /* Responsive adjustments */
        @media (max-width: 992px) {
            .service-img {
                height: 200px;
            }

        }

        @media (max-width: 768px) {
            .services-section {
                padding: 70px 0;
            }

            .service-img {
                height: 250px;
            }
        }
/* نهاية صفحة الاقسام او الرابط الرئيسي */
/* ًصفحة السيرة الذاتيه لعضو هيئة التدرسي teacher */


        .teacher .faculty-header {
            background: linear-gradient(135deg, var(--maincolor) 0%, var(--secondcolor) 100%);
            color: white;
            padding: 50px 0 150px 0;
            text-align: center;
            position: relative;
            overflow: hidden;
            margin-top: 0;
        }


        .faculty-title {
            font-weight: 800;
            font-size: 3rem;
            margin-bottom: 15px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }

        .faculty-subtitle {
            font-size: 1.4rem;
            max-width: 800px;
            margin: 0 auto;
            opacity: 0.9;
            text-align: center;
        }


        .faculty-main-image {
            width: 220px;
            height: 220px;
            border-radius: 50%;
            overflow: hidden;
            border: 5px solid white;
            margin: -130px auto 30px;
            position: relative;
            z-index: 10;
            box-shadow: 0 15px 30px rgba(0,0,0,0.2);
        }

        .faculty-main-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .faculty-section {
            background: white;
            border-radius: 20px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.08);
            padding: 50px;
            margin-bottom: 50px;
        }


        .faculty-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 25px;
            margin-bottom: 40px;
        }

        .meta-card {
            background: var(--light-color);
            border-radius: 15px;
            padding: 25px;
            flex: 1;
            min-width: 250px;
            border-right: 5px solid var(--secondcolor);
            transition: all 0.3s ease;
        }

        .meta-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }

        .meta-card h4 {
            font-size: 1.1rem;
            color: var(--maincolor);
            margin-bottom: 15px;
        }

        .meta-card p {
            font-size: 1.1rem;
            font-weight: 600;
            margin: 0;
            color: var(--dark-color);
        }

        .faculty-contact {
            display: flex;
            justify-content: center;
            margin-top: 15px;
            gap: 15px;
        }

        .contact-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--light-color);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--maincolor);
            transition: all 0.3s ease;
            font-size: 1.3rem;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        }

        .contact-icon:hover {
            background: var(--secondcolor);
            color: white;
            transform: translateY(-5px);
        }

        .timeline {
            position: relative;
            margin: 40px 0;
        }

        .timeline::before {
            content: '';
            position: absolute;
            top: 0;
            bottom: 0;
            width: 4px;
            background: var(--secondcolor);
            right: 50%;
            transform: translateX(-50%);
        }

        .timeline-item {
            position: relative;
            margin-bottom: 50px;
            width: 80%;
        }

        .timeline-item:nth-child(odd) {
            margin-left: auto;
        }

        .timeline-item:nth-child(even) {
            margin-right: auto;
        }

        .timeline-content {
            background: white;
            border-radius: 15px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            position: relative;
        }

        .timeline-content::before {
            content: '';
            position: absolute;
            top: 30px;
            width: 20px;
            height: 20px;
            background: var(--secondcolor);
            border-radius: 50%;
        }

        .timeline-item:nth-child(odd) .timeline-content::before {
            left: -60px;
        }

        .timeline-item:nth-child(even) .timeline-content::before {
            right: -60px;
        }

        .timeline-date {
            background: var(--maincolor);
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
            display: inline-block;
            margin-bottom: 15px;
        }

        .publication-item {
            padding: 20px;
            border-radius: 15px;
            background: white;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            margin-bottom: 20px;
            transition: all 0.3s ease;
            border-right: 4px solid var(--secondcolor);
        }

        .publication-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }

        .publication-title {
            color: var(--maincolor);
            font-weight: 700;
            font-size: 1.2rem;
            margin-bottom: 10px;
        }

        .publication-meta {
            color: #7f8c8d;
            font-size: 0.9rem;
            margin-bottom: 10px;
        }

        .badge-pill {
            background: var(--thirdcolor);
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            display: inline-block;
            margin: 0 5px 5px 0;
            box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
        }

        .courses-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }

        .course-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 8px 20px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
        }

        .course-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        }

        .course-header {
            background: linear-gradient(135deg, var(--maincolor) 0%, var(--secondcolor) 100%);
            color: white;
            padding: 20px;
            text-align: center;
        }

        .course-code {
            font-size: 0.9rem;
            opacity: 0.8;
        }

        .course-title {
            font-weight: 700;
            font-size: 1.3rem;
            margin: 10px 0;
        }

        .course-body {
            padding: 20px;
        }

        .course-meta {
            display: flex;
            justify-content: space-between;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid #eee;
        }

        .back-to-faculty {
            display: inline-flex;
            align-items: center;
            color: white;
            font-weight: 700;
            text-decoration: none;
            margin-bottom: 30px;
            background: rgba(255,255,255,0.2);
            padding: 10px 25px;
            border-radius: 30px;
            transition: all 0.3s ease;
        }

        .back-to-faculty:hover {
            background: rgba(255,255,255,0.3);
            transform: translateX(-5px);
        }

        .back-to-faculty i {
            margin-right: 8px;
        }



        @media (max-width: 992px) {
            .timeline::before {
                right: 30px;
            }

            .timeline-item {
                width: 90%;
                padding-right: 70px;
            }

            .timeline-content::before {
                right: -50px !important;
            }
        }

        @media (max-width: 768px) {
           .teacher .faculty-header {
                padding: 100px 0 40px;
            }

            .faculty-title {
                font-size: 2.2rem;
            }

            .faculty-subtitle {
                font-size: 1.1rem;
            }

            .faculty-section {
                padding: 30px;
            }

            .faculty-main-image {
                width: 180px;
                height: 180px;
                margin-top: -100px;
            }
        }
/* نهاية تصميم صفحة السيرة الذاتية لعضو هيئة التدريس teacher */
/* صفحة تفاصيل الكتاب book */
        :root {
            /* --maincolor: #2c3e50; */
            /* --secondcolor: #3498db; */
            /*--thirdcolor: #e74c3c;
            --light-color: #ecf0f1;
            --dark-color: #2c3e50; */
            --gold-color: #d4af37;
        }


        .book-header {
            background: linear-gradient(135deg, var(--maincolor) 0%, var(--secondcolor) 100%);
            color: white;
            padding: 60px 0 60px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }



       .book_details .book-title {
            font-weight: 800;
            font-size: 2.8rem;
            margin-bottom: 110px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
            color:white;
        }

        /* .book-subtitle {
            font-size: 1.4rem;
            max-width: 800px;
            margin: 10px auto;
            opacity: 0.9;
            margin-bottom: 100px;
            text-align: center;
        } */



        .book-main-image {
            width: 260px;
            height: 360px;
            border-radius: 10px;
            overflow: hidden;
            border: 5px solid white;
            margin: -160px auto 30px;
            position: relative;
            z-index: 10;
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
        }

        .book-main-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .book-section {
            background: white;
            border-radius: 20px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.08);
            padding: 50px;
            margin-bottom: 50px;
        }


        .book_details .book-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 25px;
            margin-bottom: 40px;
        }


        .book-content {
            line-height: 1.9;
            font-size: 1.1rem;
            color: #444;
        }

        .book-content h4 {
            color: var(--maincolor);
            margin: 30px 0 15px;
            font-weight: 700;
        }

        .book-content ul {
            padding-left: 20px;
        }
        .book-content li {
            margin-bottom: 10px;
        }
        .book-actions {
            display: flex;
            gap: 20px;
            margin-top: 30px;
        }
        .book-btn {
            display: flex;
            align-items: center;
            background: var(--maincolor);
            color: white;
            padding: 15px 35px;
            border-radius: 10px;
            text-decoration: none;
            font-weight: 700;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .book-btn:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
            color:white;
        }

        /* .btn-primary {
            background: var(--maincolor);
        } */

        /* .btn-secondary {
            background: var(--secondcolor);
        } */

        .btn-gold {
            background: var(--gold-color);
        }

        .book-btn i {
            margin-right: 10px;
            font-size: 1.2rem;
        }

        .related-books {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 25px;
            margin-top: 40px;
        }

        .related-book {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 8px 20px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            border-top: 4px solid var(--gold-color);
        }

        .related-book:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        }

        .related-cover {
            height: 220px;
            overflow: hidden;
            background: #f8f9fa;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .related-cover img {
            max-height: 100%;
            max-width: 100%;
            object-fit: cover;
            border-radius: 5px;
        }

        .related-info {
            padding: 20px;
        }

        .related-title {
            color: var(--maincolor);
            font-weight: 700;
            font-size: 1.2rem;
            margin-bottom: 5px;
            min-height: 60px;
        }

        .related-author {
            color: var(--secondcolor);
            font-size: 0.95rem;
        }

        .book-footer {
            background: var(--dark-color);
            color: white;
            padding: 40px 0;
            margin-top: 50px;
            text-align: center;
        }

        @media (max-width: 992px) {
            .book-header {
                padding: 100px 0 40px;
            }

            .book-title {
                font-size: 2.2rem;
            }

            .book-subtitle {
                font-size: 1.1rem;
            }

            .book-main-image {
                width: 220px;
                height: 300px;
                margin-top: -130px;
            }

            .book-actions {
                flex-direction: column;
            }
        }

        @media (max-width: 768px) {
            .book-section {
                padding: 30px;
            }

            .book-main-image {
                width: 200px;
                height: 280px;
                margin-top: -110px;
            }
        }

        .rating-stars {
            color: var(--gold-color);
            font-size: 1.5rem;
            margin: 15px 0;
        }

        .chapter-item {
            padding: 15px;
            border-radius: 10px;
            background: #f8f9fa;
            margin-bottom: 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s ease;
        }

        .chapter-item:hover {
            background: #e9ecef;
            transform: translateX(-5px);
        }

        .chapter-number {
            background: var(--secondcolor);
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            flex-shrink: 0;
            margin-right: 15px;
        }
/* نهاية تفاصيل الكتاب */
/* تصميم صفحة تفاصيل مشروع تخرج project */

        .project-header {
            background: linear-gradient(135deg, var(--maincolor) 0%, var(--secondcolor) 100%);
            color: white;
            padding: 10px 0 10px;
            text-align: center;
            margin-bottom: 20px;
            position: relative;
            overflow: hidden;
        }

        .project-header::before {
            content: "";
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
            opacity: 0.1;
        }

        .project-header .project-title {
            font-weight: 700;
            font-size: 2.5rem;
            margin-bottom: 20px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }

        .project-subtitle {
            font-size: 1.4rem;
            max-width: 800px;
            margin: 0 auto;
            opacity: 0.9;
        }

        .project-tag {
            background: rgba(255,255,255,0.15);
            padding: 5px 20px;
            border-radius: 30px;
            font-size: 0.9rem;
            display: inline-block;
            margin: 0 5px;
        }

        .project-main-image {
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 25px 50px rgba(0,0,0,0.2);
            margin-bottom: 50px;
            border: 5px solid white;
        }

        .project-main-image img {
            width: 100%;
            height: 500px;
            object-fit: cover;
        }

        .project-section {
            background: white;
            border-radius: 20px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.08);
            padding: 50px;
            margin-bottom: 50px;
        }



        .project-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 25px;
            margin-bottom: 40px;
        }
        .students-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .students-list li {
            padding: 10px 0;
            border-bottom: 1px solid #eee;
            display: flex;
            align-items: center;
        }

        .students-list li:last-child {
            border-bottom: none;
        }

        .student-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            overflow: hidden;
            margin-right: 15px;
        }

        .student-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .tech-badge {
            background: var(--light-color);
            color: var(--maincolor);
            padding: 10px 20px;
            border-radius: 30px;
            margin: 8px;
            display: inline-block;
            font-weight: 700;
            border: 1px solid #ddd;
            transition: all 0.3s ease;
        }

        .tech-badge:hover {
            background: var(--maincolor);
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(26, 58, 95, 0.2);
        }

        .gallery-item {
            border-radius: 15px;
            overflow: hidden;
            margin-bottom: 25px;
            height: 250px;
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }

        .gallery-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .gallery-item:hover img {
            transform: scale(1.1);
        }

        .project-links {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 30px;
        }

        .project-link {
            display: flex;
            align-items: center;
            background: var(--maincolor);
            color: white;
            padding: 15px 30px;
            border-radius: 10px;
            text-decoration: none;
            font-weight: 700;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(26, 58, 95, 0.3);
        }

        .project-link:hover {
            background: var(--secondcolor);
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(45, 125, 154, 0.4);
            color: white;
        }

        .project-link i {
            margin-right: 10px;
            font-size: 1.2rem;
        }


        .achievement-badge {
            background: var(--accent-color);
            color: white;
            padding: 8px 20px;
            border-radius: 30px;
            font-size: 0.9rem;
            font-weight: 700;
            display: inline-block;
            margin: 0 10px 15px 0;
            box-shadow: 0 4px 10px rgba(230, 57, 70, 0.3);
        }
        @media (max-width: 768px) {
            .project-header {
                padding: 80px 0 40px;
            }

            .project-header .project-title {
                font-size: 2.2rem;
            }

            .project-subtitle {
                font-size: 1.1rem;
            }

            .project-section {
                padding: 30px;
            }

            .project-main-image img {
                height: 350px;
            }
        }
/* نهاية تصميم صفحة تفاصيل مشروع تخرج */
/* تصميم صفحة جميع البرامج */
        .academic-programs-grid {
            display: grid;
           grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            max-width: 1300px;
            margin: 0 auto;
        }

        .academic-program-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            z-index: 1;
        }
.academic-program-card img
{
    height: 230px;
    width: 100%;
    object-fit: cover;
}
        .academic-program-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }



        .academic-program-content {
            padding: 25px;
        }

        .academic-program-title {
            font-size: 1.2rem;
            margin-bottom: 15px;
            color: #2c3e50;
            position: relative;
            padding-bottom: 10px;
        }

        .academic-program-title::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background:var(--thirdcolor);
            border-radius: 2px;
        }

        /* .academic-program-description {
            color: #7f8c8d;
            line-height: 1.7;
            margin-bottom: 25px;
            min-height: 50px;
        } */

        .academic-program-details {
            display: flex;
            justify-content: space-between;
            margin-top: 5px;
            border-top: 1px solid #eee;
            padding-top: 20px;
            color: #7f8c8d;
            font-size: 0.95rem;
        }

        .academic-program-duration {
            display: flex;
            align-items: center;
            gap: 8px;
        }
.container-readmore
{
    justify-content: flex-end;
}
        .academic-program-link {
            display: inline-block;
            background: linear-gradient(90deg, var(--secondcolor), #2c3e50);
            color: white;
            text-decoration: none;
            padding: 10px 20px;
            border-radius: 10px;
            font-weight: 600;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            z-index: 1;
            margin-top:15px;
        }

        .academic-program-link::before {
            content: "";
            position: absolute;
            top: 0;
            right: 0;
            width: 0%;
            height: 100%;
            background: linear-gradient(90deg, #2c3e50, var(--secondcolor));
            transition: all 0.4s ease;
            z-index: -1;
        }

        .academic-program-link:hover::before {
            width: 100%;
        }

        .academic-program-link:hover {
            box-shadow: 0 5px 20px rgba(52, 152, 219, 0.4);
            color:white;
        }



        /* تصميم متجاوب */
        @media (max-width: 768px) {
            .academic-header h2 {
                font-size: 2.2rem;
            }

            .academic-program-icon {
                height: 150px;
                font-size: 3rem;
            }
        }

        @media (max-width: 480px) {
            .academic-header h2 {
                font-size: 1.8rem;
            }

            .academic-header p {
                font-size: 1rem;
            }

            .academic-programs-grid {
                grid-template-columns: 1fr;
            }
        }
/* نهاية تصميم صفحة جميع البرامج */

