/* ==========================================
   المتغيرات والإعدادات العامة (Variables & Reset)
========================================== */
:root {
    --psu-blue: #1A365D; /* لون رئيسي غامق */
    --psu-blue-light: #2A4A7F;
    --psu-yellow: #F6AD55; /* لون ثانوي بارز (Accent) */
    --text-dark: #2D3748;
    --text-gray: #718096;
    --bg-light: #F7FAFC;
    --bg-white: #FFFFFF;
    --border-color: #E2E8F0;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.bg-light {
    background-color: var(--bg-light);
}

section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--psu-blue);
    margin-bottom: 1rem;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

/* أزرار (Buttons) */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}
.btn-primary { background: var(--psu-blue); color: #fff; }
.btn-primary:hover { background: var(--psu-blue-light); transform: translateY(-3px); }
.btn-warning { background: var(--psu-yellow); color: var(--psu-blue); }
.btn-warning:hover { filter: brightness(1.1); transform: translateY(-3px); }
.btn-outline { border: 2px solid var(--psu-blue); color: var(--psu-blue); background: transparent; }
.btn-outline:hover { background: var(--psu-blue); color: #fff; }

/* ==========================================
   القسم التقديمي (About Section)
========================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.badge {
    background: rgba(246, 173, 85, 0.2);
    color: #DD6B20;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
}
.about-desc { font-size: 1.1rem; color: var(--text-gray); margin-bottom: 2rem; }
.about-features { list-style: none; }
.about-features li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}
.about-features i { color: var(--psu-yellow); font-size: 1.3rem; }
.image-wrapper img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transform: rotate(2deg);
    transition: var(--transition);
}
.image-wrapper img:hover { transform: rotate(0); box-shadow: var(--shadow-hover); }

/* ==========================================
   قسم الأخبار (News Section)
========================================== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}
.view-all { font-weight: 700; color: var(--psu-yellow); }
.view-all:hover { color: var(--psu-blue); gap: 5px; }

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}
.news-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.card-img { position: relative; height: 220px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.news-card:hover .card-img img { transform: scale(1.05); }
.category-tag {
    position: absolute;
    top: 15px; right: 15px;
    background: var(--psu-blue); color: #fff;
    padding: 5px 15px; border-radius: 20px; font-size: 0.85rem; font-weight: 700; z-index: 2;
}
.card-content { padding: 1.5rem; }
.date { font-size: 0.85rem; color: var(--text-gray); display: block; margin-bottom: 0.5rem; }
.card-title { font-size: 1.3rem; margin-bottom: 1rem; line-height: 1.4; color: var(--psu-blue); }
.card-title a:hover { color: var(--psu-yellow); }
.card-excerpt { color: var(--text-gray); margin-bottom: 1.5rem; font-size: 0.95rem; }
.read-more { font-weight: 700; color: var(--psu-blue); display: flex; align-items: center; gap: 8px; }
.read-more:hover { color: var(--psu-yellow); gap: 12px; }

/* ==========================================
   قسم الحوارات (Interviews Section) - Carousel
========================================== */
.interviews-scroller {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 2rem;
    /* إخفاء شريط التمرير الافتراضي لشكل أنظف */
    scrollbar-width: none; 
}
.interviews-scroller::-webkit-scrollbar { display: none; }
.interview-card {
    flex: 0 0 80%; /* يأخذ 80% من العرض ليعطي إيحاء بوجود المزيد */
    max-width: 600px;
    scroll-snap-align: start;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.interview-img { width: 100%; height: 350px; object-fit: cover; filter: brightness(0.7); }
.interview-info {
    position: absolute;
    bottom: 0; right: 0; left: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(26, 54, 93, 0.9), transparent);
    color: #fff;
}
.interview-info h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.interview-info p { color: #E2E8F0; margin-bottom: 1.5rem; }

/* ==========================================
   قسم مقالات الرأي (Opinions)
========================================== */
.title-separator { width: 60px; height: 4px; background: var(--psu-yellow); margin: 0 auto 3rem; border-radius: 2px; }
.opinions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding-top: 2rem;
}
.opinion-card {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    margin-top: 40px; /* مساحة للصورة الرمزية */
    border-top: 4px solid var(--psu-blue);
    transition: var(--transition);
}
.opinion-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.author-avatar {
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: var(--shadow-sm);
    position: absolute;
    top: -40px; left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-name { font-size: 1.2rem; color: var(--psu-blue); margin-top: 1.5rem; }
.author-title { font-size: 0.85rem; color: var(--text-gray); display: block; margin-bottom: 1rem; }
.opinion-title { font-size: 1.1rem; margin-bottom: 1rem; line-height: 1.5; }
.opinion-title a:hover { color: var(--psu-yellow); }
.opinion-excerpt { color: var(--text-gray); font-size: 0.95rem; }

/* ==========================================
   قسم الأنشطة (Timeline)
========================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; right: 20px; /* الخط على اليمين للمحتوى العربي */
    width: 2px;
    background: var(--psu-blue-light);
}
.timeline-item {
    position: relative;
    padding-right: 50px;
    margin-bottom: 2.5rem;
}
.timeline-dot {
    position: absolute;
    right: 14px; top: 5px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--psu-yellow);
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px var(--psu-blue-light);
}
.timeline-content {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border-right: 4px solid var(--psu-yellow);
}
.timeline-date { font-size: 0.85rem; color: var(--psu-blue); font-weight: 700; margin-bottom: 0.5rem; display: block; }
.timeline-content h3 { margin-bottom: 0.5rem; color: var(--psu-blue); }

/* ==========================================
   قسم دعوة التفاعل (CTA Section)
========================================== */
.cta-box {
    background: linear-gradient(135deg, var(--psu-blue), #0d1e36);
    border-radius: 20px;
    padding: 4rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    color: #fff;
    box-shadow: var(--shadow-md);
}
.cta-text h2 { font-size: 2rem; margin-bottom: 1rem; color: var(--psu-yellow); }
.cta-text p { font-size: 1.1rem; opacity: 0.9; max-width: 500px; }
.cta-form { display: flex; gap: 10px; width: 100%; max-width: 450px; }
.cta-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
}
.cta-form button { flex-shrink: 0; }

/* ==========================================
   أنيميشن التمرير (Scroll Animations)
========================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   التجاوب مع الشاشات (Responsive)
========================================== */
@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; text-align: center; }
    .about-features { display: inline-block; text-align: right; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .cta-box { flex-direction: column; text-align: center; }
    .cta-text p { margin: 0 auto; }
}
@media (max-width: 768px) {
    .section-title { font-size: 1.8rem; }
    .cta-form { flex-direction: column; }
    .cta-form button { width: 100%; }
    .interview-card { flex: 0 0 90%; }
}
/* ==========================================
   تنسيقات الهيدر (Header) باللون الأزرق (بدون إطار للوغو)
========================================== */
.main-header {
    background-color: var(--psu-blue); 
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* تنسيق الشعار بدون أي إطار أو خلفية */
.logo-container .logo-img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.logo-container:hover .logo-img {
    transform: scale(1.05);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links li a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--bg-white); 
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

/* تأثير تحريك الخط تحت الروابط (Hover Effect) */
.nav-links li a:not(.btn-join)::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background-color: var(--psu-yellow);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links li a:not(.btn-join):hover {
    color: var(--psu-yellow); 
}

.nav-links li a:not(.btn-join):hover::after {
    width: 100%;
}

/* زر الانخراط في الهيدر */
.btn-join {
    background-color: var(--psu-yellow);
    color: var(--psu-blue) !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.btn-join:hover {
    background-color: var(--bg-white);
    color: var(--psu-blue) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* زر القائمة للهواتف */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger, .menu-toggle::before, .menu-toggle::after {
    content: '';
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--bg-white); 
    transition: var(--transition);
    border-radius: 3px;
}

/* ==========================================
   التجاوب مع الشاشات (الهواتف المحمولة)
========================================== */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        background-color: var(--psu-blue); 
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        box-shadow: var(--shadow-md);
        gap: 1.2rem;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: all 0.4s ease-in-out;
    }
    
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    /* أنيميشن زر الهامبرغر عند الفتح */
    .menu-toggle.active .hamburger { background-color: transparent; }
    .menu-toggle.active::before { transform: rotate(45deg) translate(5px, 5px); }
    .menu-toggle.active::after { transform: rotate(-45deg) translate(5px, -6px); }
}

/* ==========================================
   تنسيقات الفوتر (Footer)
========================================== */
.main-footer {
    background-color: var(--psu-blue);
    color: var(--bg-white);
    padding-top: 4rem;
    margin-top: 5rem;
    position: relative;
    border-top: 5px solid var(--psu-yellow);
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 60px;
    background-color: #fff;
    padding: 5px;
    border-radius: 8px;
}

.footer-logo span {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--psu-yellow);
}

.footer-desc {
    color: #CBD5E0;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    border-radius: 50%;
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--psu-yellow);
    color: var(--psu-blue);
    transform: translateY(-5px);
}

.footer-col h3 {
    color: var(--bg-white);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0; /* لأن الموقع بالعربية */
    width: 50px;
    height: 3px;
    background-color: var(--psu-yellow);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #CBD5E0;
    font-size: 0.95rem;
    display: inline-block;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--psu-yellow);
    transform: translateX(-8px); /* حركة خفيفة لليسار عند التمرير */
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1.2rem;
    color: #CBD5E0;
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--psu-yellow);
    font-size: 1.2rem;
    margin-top: 3px;
}

.footer-contact a {
    color: #CBD5E0;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--psu-yellow);
}

.footer-bottom {
    background-color: #0F2038; /* لون أزرق أغمق للأسفل */
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: #A0AEC0;
    font-size: 0.9rem;
}
/* ==========================================
   تنسيقات الصفحات الداخلية (Internal Pages)
========================================== */
.page-header {
    background: linear-gradient(135deg, var(--psu-blue), #0b1a30);
    padding: 6rem 0 4rem;
    text-align: center;
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
}
.page-header::after {
    content: '';
    position: absolute;
    bottom: -50px; left: 0; right: 0;
    height: 100px;
    background: var(--bg-white);
    transform: skewY(-2deg);
}
.page-header h1 {
    font-size: 3rem;
    color: var(--psu-yellow);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}
.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ==========================================
   صفحة الأخبار (Actualités)
========================================== */
.featured-news {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 4rem;
}
.featured-news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}
.featured-news-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.featured-news-content .badge { font-size: 1rem; margin-bottom: 1.5rem; }
.featured-news-content h2 { font-size: 2.2rem; color: var(--psu-blue); margin-bottom: 1rem; line-height: 1.3; }
.featured-news-content p { color: var(--text-gray); font-size: 1.1rem; margin-bottom: 2rem; }

@media (max-width: 992px) {
    .featured-news { grid-template-columns: 1fr; }
    .featured-news-img img { min-height: 250px; }
}

/* ==========================================
   النماذج العصرية (Forms - الانخراط والاتصال)
========================================== */
.modern-form-section {
    position: relative;
    margin-top: -5rem;
    z-index: 10;
    padding-bottom: 5rem;
}
.form-wrapper {
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.form-info-panel {
    background: var(--psu-blue);
    color: #fff;
    padding: 4rem 3rem;
    position: relative;
}
.form-info-panel h3 { color: var(--psu-yellow); font-size: 2rem; margin-bottom: 1.5rem; }
.form-info-panel p { font-size: 1.1rem; line-height: 1.8; opacity: 0.9; margin-bottom: 2rem; }
.info-list { list-style: none; }
.info-list li { display: flex; align-items: center; gap: 15px; margin-bottom: 1.5rem; font-size: 1.1rem; }
.info-list i { background: rgba(255,255,255,0.1); width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--psu-yellow); font-size: 1.2rem; }

.form-body {
    padding: 4rem 3rem;
    background: #fff;
}
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 700; color: var(--psu-blue); margin-bottom: 0.5rem; }
.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-light);
}
.form-control:focus {
    border-color: var(--psu-blue);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(26, 54, 93, 0.1);
}
textarea.form-control { resize: vertical; min-height: 150px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

@media (max-width: 992px) {
    .form-wrapper { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .modern-form-section { margin-top: 2rem; }
}

/* ==========================================
   بطاقات الاتصال (Contact Cards)
========================================== */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}
.contact-method-card {
    background: #fff;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    border-bottom: 4px solid var(--psu-blue);
    transition: var(--transition);
}
.contact-method-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--psu-yellow);
}
.contact-icon {
    width: 70px; height: 70px;
    background: var(--bg-light);
    color: var(--psu-blue);
    font-size: 2rem;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}
.contact-method-card:hover .contact-icon {
    background: var(--psu-blue);
    color: var(--psu-yellow);
}
.contact-method-card h3 { font-size: 1.3rem; color: var(--psu-blue); margin-bottom: 0.5rem; }
.contact-method-card p { color: var(--text-gray); font-size: 1.1rem; }
/* ==========================================
   تمييز الرابط النشط (الصفحة الحالية) في الهيدر
========================================== */
.nav-links li a.active {
    color: var(--psu-yellow) !important;
}

.nav-links li a:not(.btn-join).active::after {
    width: 100%; /* إظهار الخط الأصفر تحت الرابط النشط دائماً */
}
/* ==========================================
   قسم الهيرو الموحد للصفحات الداخلية (Programme Style)
========================================== */
.internal-hero {
    background-color: var(--psu-blue);
    padding: 5rem 0 4rem;
    text-align: right; /* توجيه النص لليمين */
    color: var(--bg-white);
    border-bottom: 5px solid var(--psu-yellow);
    position: relative;
    overflow: hidden;
}

/* شكل زخرفي خفيف في الخلفية */
.internal-hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(246, 173, 85, 0.05); /* لون أصفر شفاف جداً */
    border-radius: 50%;
}

.internal-hero h1 {
    font-size: 2.8rem;
    color: var(--psu-yellow);
    margin-bottom: 1rem;
    font-weight: 800;
}

.internal-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    line-height: 1.8;
    color: #E2E8F0;
}

/* مسار التنقل (Breadcrumb) اختياري وجميل */
.breadcrumb {
    list-style: none;
    display: flex;
    gap: 10px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: #CBD5E0;
}
.breadcrumb li a {
    color: #CBD5E0;
    transition: var(--transition);
}
.breadcrumb li a:hover {
    color: var(--psu-yellow);
}
.breadcrumb li::after {
    content: '/';
    margin-right: 10px;
    color: #718096;
}
.breadcrumb li:last-child::after {
    content: '';
}
.breadcrumb li:last-child {
    color: var(--psu-yellow);
}
/* تنسيقات نافذة الفيديو المنبثقة */
.video-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* خلفية معتمة */
    z-index: 999999; /* لضمان ظهوره فوق كل عناصر الموقع */
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.video-popup-content {
    position: relative;
    width: 90%;
    max-width: 700px; /* أقصى عرض للنافذة */
    background: #000;
    border-radius: 8px;
    padding: 25px 10px 10px 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: fadeInPopup 0.4s ease-out;
}

.close-popup-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #d63638; /* لون أحمر للإغلاق */
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    z-index: 100000;
    transition: 0.2s;
}

.close-popup-btn:hover {
    background: #b32d2e;
    transform: scale(1.1);
}

@keyframes fadeInPopup {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}