﻿/* =========================
   Shared Styles
   ========================= */

/* تصفير الحواف لثبات كامل حركات المتصفح */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
    scroll-behavior: smooth;
}

/* --- إعدادات النظام الحركي والهوية البصرية المحدثة --- */
:root {
    --su-green: #009961;
    --su-gold: #FFDF00;
    --su-dark: #0f172a;
    --su-light: #f8fafc;
    --su-white: #ffffff;
    --su-green-light: rgba(0, 153, 97, 0.08);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    background-color: white;
    color: var(--su-dark);
    line-height: 1.8;
    overflow-x: hidden;
}
html {
    width: 100%;
    max-width: 100%;
}

body {
    margin: 0;
    width: 100%;
    max-width: 100%;
}

*, *::before, *::after {
    box-sizing: border-box;
}

img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 100px;
    margin-top: 50px;
    padding: 0 24px;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #b41b1b;
    border-radius: 5px;
}

/* Top Bar */
.top-bar {
    background-color: black;
    color: white;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 50px;
    font-size: 13px;
    position: relative;
    z-index: 1001;
}

.su-badge-link {
    display: flex;
    align-items: center;
    background: #2b2b2b;
    color: white;
    text-decoration: none;
    height: 100%;
    padding: 0 25px;
    border-left: 3px solid var(--su-gold);
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition-smooth);
}

.su-badge-link i {
    margin-left: 10px;
    color: var(--su-gold);
    font-size: 18px;
}

.su-badge-link:hover {
    background: var(--su-gold);
    color: var(--su-dark);
}

.su-badge-link:hover i {
    color: var(--su-dark);
}

.top-contacts {
    display: flex;
    gap: 20px;
}

.top-contacts span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-contacts i {
    color: var(--su-gold);
}

/* Navigation Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 9999;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.main-logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.logo-text h1 {
    font-size: 22px;
    font-weight: 900;
    color: var(--su-green);
    line-height: 1.2;
}

.logo-text p {
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
}

/* Footer */
footer {
    background: black;
    color: white;
    padding: 60px 50px 30px;
    border-top: 6px solid var(--su-gold);
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.f-about h4, .f-contact h4 {
    font-size: 22px;
    color: var(--su-gold);
    font-weight: 800;
    margin-bottom: 20px;
}

.f-about p {
    color: #b5b5b5;
    line-height: 1.9;
    font-size: 15.5px;
    text-align: justify;
}

.contact-list-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.c-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #ccc;
    font-size: 15px;
}

.c-item i {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--su-gold);
}

.footer-social-section {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 25px;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255,255,255,0.05);
}

.social-ribbon {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.social-ribbon a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.05);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social-ribbon a:hover {
    transform: translateY(-5px);
    background: var(--su-gold);
    color: var(--su-dark);
}

.footer-copyright {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 14px;
    color: #888;
    margin-top: 20px;
}

/* Main Menu Desktop */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--su-dark);
    font-weight: 700;
    font-size: 14.5px;
    transition: var(--transition-smooth);
    padding: 8px 14px;
    border-radius: 6px;
    display: block;
}

.nav-menu li a:hover {
    color: var(--su-green);
    background: var(--su-green-light);
}

.menu-toggle {
    display: none;
    font-size: 26px;
    color: var(--su-green);
    cursor: pointer;
    z-index: 1002;
}

/* Responsive Mobile Side Menu */
@media (max-width: 992px) {
     .top-bar { padding-left: 20px; font-size: 11px; }
    .top-contacts span { display: none; }
    .top-contacts .lang-toggle { display: inline-flex; }

    header { padding: 15px 20px; flex-direction: row; justify-content: space-between; }
    
    .menu-toggle { 
        display: block; 
        margin-right: auto; 
        padding-left: 5px;
    }
    
    .nav-menu {
        position: fixed;
        top: 0; right: -100%; width: 280px; height: 100vh;
        background: white; box-shadow: -5px 0 25px rgba(0,0,0,0.15);
        flex-direction: column; align-items: flex-start; padding: 100px 30px 40px 30px;
        gap: 20px; transition: var(--transition-smooth); z-index: 1001;
    }
    .nav-menu.active { right: 0; }
    .nav-menu li { width: 100%; }
    .nav-menu li a { width: 100%; padding: 12px 15px; border-bottom: 1px solid #eee; }
}

/* --- قسم الـ Hero بتأثير زووم الخلفية وتدفق النصوص --- */
.hero-section {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    color: var(--su-white);
    text-align: center;
    overflow: hidden;
z-index: 1000;
}

.hero-bg-zoom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/X.JPG') no-repeat center center/cover;
    animation: slowZoomBg 20s infinite alternate ease-in-out;
    z-index: 1;
}

.hero-section .overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgb(31, 31, 31, 0.7), rgb(17, 17, 17, 0.7));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-content h1 {
    font-size: 46px;
    font-weight: 900;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease forwards;
}

.hero-content h1 span { color: var(--su-gold); }

.hero-content .sub-title {
    color: var(--su-gold);
    font-weight: 800;
    font-size: 15px;
    display: block;
    margin-bottom: 10px;
    letter-spacing: 1px;
    animation: fadeIn 0.8s ease forwards;
}

.hero-content p {
    max-width: 750px;
    margin: 0 auto 35px auto;
    font-size: 18px;
    color: #e2e8f0;
    animation: fadeInUp 1.2s ease forwards;
}

.hero-buttons {
    animation: fadeInUp 1.4s ease forwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-smooth);
    margin: 6px;
    font-size: 15px;
}

.btn-gold { background: var(--su-gold); color: #111; }
.btn-gold:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(255,223,0,0.4); }
.btn-outline { border: 2px solid #808080; color: var(--su-white); }
.btn-outline:hover { color: var(--su-green); transform: translateY(-4px); }

.scroll-down-indicator {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    color: rgba(255,255,255,0.6);
    z-index: 3;
    animation: bounceIndicator 2s infinite;
}

/* --- الكي-فريمز والأنيميشنز --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@keyframes slowZoomBg {
    0% { transform: scale(1); }
    100% { transform: scale(1.11); }
}

@keyframes bounceIndicator {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes floatingBadge {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

/* =========================
   Page 1 Styles
   ========================= */

/* --- تصميم قسم نبذة عن الكلية --- */
.about-section {
    padding: 80px 30px;
    width: 100%;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.11fr 0.89fr;
    gap: 50px;
    align-items: center;
}

.tag-premium {
    background: rgba(0, 153, 97, 0.08);
    color: var(--su-green);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 12.5px;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 15px;
}

.about-text h2 { font-size: 34px; font-weight: 900; color: var(--su-green); margin-bottom: 15px; }
.about-text h2 span { color: gray; }

.about-p { text-align: justify; color: #475569; font-size: 15.5px; }

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.vm-interactive-card {
    background: var(--su-white);
    padding: 25px;
    border-radius: 16px;
    border-bottom: 4px solid var(--su-green);
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    transition: var(--transition-smooth);
}

.vm-interactive-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,153,97,0.06);
    border-bottom-color: var(--su-gold);
}

.vm-interactive-card .icon-box {
    width: 45px; height: 45px; background: rgba(255,223,0,0.12);
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: var(--su-gold); margin-bottom: 15px;
    transition: var(--transition-smooth);
}

.vm-interactive-card:hover .icon-box {
    background: var(--su-green); color: white;
}

.vm-interactive-card h4 { font-weight: 800; margin-bottom: 8px; color: var(--su-dark); }
.vm-interactive-card p { font-size: 13.5px; text-align: justify; color: #64748b; }

.about-animated-frame {
    position: relative;
    padding: 12px;
}

.about-animated-frame::before {
    content: ''; position: absolute; top: 30px; right: 30px; width: 100%; height: 100%;
    border: 3px dashed #a72222; border-radius: 20px; z-index: 1;
}

.moving-img {
    width: 100%; border-radius: 16px; position: relative; z-index: 2;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08); transition: var(--transition-smooth);
}

.about-animated-frame:hover .moving-img { transform: translate(-10px, -10px); }

.floating-badge-years {
    position: absolute; bottom: 30px; left: -10px; background: var(--su-white);
    padding: 15px 25px; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 3; border-right: 4px solid var(--su-gold);
    animation: floatingBadge 4s infinite ease-in-out;
}

/* --- قسم أهداف المركز التفاعلي والمتحرك --- */
.center-objectives-section {
    background-color: var(--su-light);
    padding: 60px 0;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.objective-anim-card {
    background: white;
    padding: 30px 25px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition-smooth);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.objective-anim-card .obj-icon {
    width: 55px;
    height: 55px;
    background: var(--su-light);
    color: var(--su-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.objective-anim-card h4 {
    font-size: 16px;
    color: #2d3748;
    font-weight: 700;
    line-height: 1.7;
    transition: var(--transition-smooth);
}

.objective-anim-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--su-gold);
    transition: var(--transition-smooth);
}

.objective-anim-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 153, 97, 0.15);
}

.objective-anim-card:hover .obj-icon {
    background: var(--su-green);
    color: white;
    transform: rotate(360deg);
}

.objective-anim-card:hover h4 {
    color: var(--su-green);
}

.objective-anim-card:hover::after {
    width: 100%;
}

/* Infographic Strategy Cards */
.infographic-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-step-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    text-align: center;
    position: relative;
    transition: var(--transition-smooth);
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(0,0,0,0.02);
}

.info-step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    z-index: -1;
    transition: var(--transition-smooth);
}

.info-step-card:hover::before {
    height: 100%;
}

.info-step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px #555;
}

.info-step-card:hover .icon-box {
    background: var(--su-gold);
    color: var(--su-dark);
}

.icon-box {
    width: 75px;
    height: 75px;
    background: rgba(0, 153, 97, 0.08);
    color: var(--su-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 30px;
    transition: var(--transition-smooth);
}

.info-step-card h3 {
    font-size: 21px;
    color: var(--su-green);
    margin-bottom: 15px;
    font-weight: 700;
}

.info-step-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

/* Statistics Section */
/* Stats Section */
.stats-section {
    position: relative;

    padding: 80px 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    /* يجعل الصورة الثابتة تظهر فقط داخل هذا القسم */
    clip-path: inset(0);
}


/* Fixed Background Image */
.stats-section .stats-bg {
    position: fixed;
    top: 0;
    left: 0;

    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    z-index: 0;
}


/* Overlay */
.stats-section .overlay {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.7);

    z-index: 1;
}


/* Stats Grid */
.stats-grid {
    position: relative;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 40px;

    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    z-index: 2;
}


/* Stat Item */
.stat-item {
    text-align: center;
    padding: 20px;

    transition: transform 0.3s ease;
}


.stat-item:hover {
    transform: translateY(-10px);
}


.stat-item i {
    font-size: 45px;

    color: var(--su-gold);

    margin-bottom: 15px;

    display: block;
}


.stat-item h3 {
    font-size: 24px;
    line-height: 1.5;
    font-weight: 800;

    color: white;

    margin-top: 15px;
}

.stat-item p {
  

    color: white;

 
}


/* Professional Image Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 90%;
    margin-right: 5%;
    padding-bottom: 70px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 240px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 37, 34, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    opacity: 0;
    transition: var(--transition-smooth);
    padding: 20px;
    text-align: center;
}

.gallery-overlay i {
    font-size: 28px;
    color: var(--su-gold);
    margin-bottom: 10px;
}

.gallery-overlay h4 {
    font-size: 18px;
    font-weight: 700;
}

.gallery-overlay p {
    font-size: 13px;
    color: #dddddd;
    margin-top: 5px;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* News & Events Section */
.news-section {
    background: white;
    border-top: 1px solid #eee;
    padding: 60px 0;
    max-width: 90%;
    margin-right: 5%;
}

.news-container {
    display: flex;
    gap: 40px;
    align-items: center;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

@media (max-width: 768px) {
    .news-container {
        flex-direction: column;
        padding: 20px;
    }
}

.news-img {
    width: 45%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .news-img {
        width: 100%;
    }
}

.news-content {
    flex: 1;
}

.news-content .date {
    color: var(--su-gold);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
}

.news-content h3 {
    font-size: 24px;
    color: var(--su-dark);
    font-weight: 800;
    margin-bottom: 15px;
}

.news-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
}

.news-btn {
    background: #a3a3a3;
    color: white;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    display: inline-block;
    transition: var(--transition-smooth);
}

.news-btn:hover {
    background: var(--su-gold);
    color: var(--su-dark);
    transform: translateY(-2px);
}

/* --- تصميم مجلس الكلية والقيادات --- */
.leadership-section {
    background: linear-gradient(to bottom, #f8fafc, #ffffff);
    padding: 60px 0;
}

.section-title {
    text-align: center; font-size: 34px; font-weight: 900; color: var(--su-green); margin-bottom: 40px;
}

.section-title span { color: gray; }

.dean-center-layout { display: flex; justify-content: center; margin-bottom: 45px; }

.premium-leader-card {
    background: var(--su-white); border-radius: 14px; box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    border: 1px solid #f1f5f9; overflow: hidden; transition: var(--transition-smooth);
}

.premium-leader-card:hover {
    transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,153,97,0.06);
}

.dean-special {
    display: flex; align-items: center; width: 100%; max-width: 520px; padding: 20px;
    border-right: 5px solid var(--su-gold);
}

.dean-special .leader-image-holder {
    width: 120px; height: 120px; border-radius: 50%; overflow: hidden;
    border: 3px solid var(--su-gold); margin-left: 20px; flex-shrink: 0;
}

.dean-special .leader-image-holder img { width: 100%; height: 100%; object-fit: cover; }





.interactive-leaders-grid .premium-leader-card .leader-image-holder {
    width: 120px;
    height: 120px;
    margin: 0 auto 18px auto; 
    border-radius: 50%; 
    overflow: hidden; 
    border: 4px solid #e2e8f0; 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06); 
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: #f8fafc; 
}


.interactive-leaders-grid .premium-leader-card .leader-image-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}



.interactive-leaders-grid .premium-leader-card .leader-text-holder {
    text-align: center;
}

.interactive-leaders-grid .premium-leader-card .leader-text-holder h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--su-dark, #0f172a);
    margin-bottom: 4px;
}

.interactive-leaders-grid .premium-leader-card .role-badge {
    font-size: 13px;
    background: rgba(0, 153, 97, 0.06);
    color: var(--su-green, #009961);
    padding: 4px 14px;
    border-radius: 30px;
    font-weight: 700;
    display: inline-block;
}



.role-badge {
    background: rgba(0, 153, 97, 0.08); color: var(--su-green); display: inline-block;
    padding: 4px 14px; border-radius: 30px; font-size: 13px; font-weight: 700; margin-top: 6px;
}

.role-badge.secondary { background: white; color: gray; font-size: 12.5px; }
.role-badge.flat { background: transparent; color: gray; padding: 0; font-size: 13.5px; font-weight: 800; }

.sub-section-title {
    font-size: 20px; font-weight: 800; color: var(--su-dark); margin: 40px 0 20px 0;
    display: flex; align-items: center; gap: 10px; border-bottom: 2px solid #f1f5f9; padding-bottom: 8px;
}

.sub-section-title i { color: gray; }

.interactive-leaders-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 25px;
}

.interactive-leaders-grid .premium-leader-card {
    padding: 25px 20px; text-align: center; border-top: 3px solid var(--su-green);
}

.dept-grid .premium-leader-card { border-top-color: #a72222; background: #fdfdfd; }

/* --- تصميم قسم البرامج --- */
.program-type-title {
    font-size: 22px; font-weight: 800; color: var(--su-green); margin: 35px 0 20px 0;
    display: flex; align-items: center; gap: 10px;
}

.full-cover-programs-list {
    display: flex; flex-direction: column; gap: 25px;
}

.program-full-cover-card {
    display: flex; background: var(--su-white); border-radius: 16px; overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.02); border: 1px solid #e2e8f0; min-height: 240px;
}

.program-full-cover-card:nth-child(even) { flex-direction: row-reverse; }

.p-media-full-box {
    width: 32%; position: relative; overflow: hidden;
}

.p-media-full-box img {
    width: 100%; height: 100%; object-fit: cover;
    position: absolute; top: 0; left: 0; transition: var(--transition-smooth);
}

.program-full-cover-card:hover .p-media-full-box img { transform: scale(1.06); }

.p-info-full-box {
    width: 68%; padding: 30px; display: flex; flex-direction: column; justify-content: space-between;
}

.p-info-full-box h4 { font-size: 21px; font-weight: 800; color: var(--su-green); margin-bottom: 8px; }

.p-text-desc { font-size: 14.5px; color: #475569; text-align: justify; line-height: 1.7; }

.p-interactive-links { display: flex; gap: 15px; margin-top: 15px; flex-wrap: wrap; }

.p-btn-action {
    text-decoration: none; font-size: 13px; font-weight: 700; padding: 8px 18px;
    border-radius: 8px; transition: var(--transition-smooth); display: inline-flex; align-items: center; gap: 8px;
}

.p-btn-action.primary-btn { background: rgba(0, 153, 97, 0.06); color: var(--su-green); }
.p-btn-action.primary-btn:hover { background: var(--su-green); color: var(--su-white); transform: translateY(-2px); }

.p-btn-action.secondary-btn { background: #f8fafc; color: var(--su-dark); border: 1px solid #e2e8f0; }
.p-btn-action.secondary-btn:hover { background: var(--su-gold); color: #111; border-color: var(--su-gold); transform: translateY(-2px); }

/* إعدادات القسم الرئيسي للأقسام العلمية */
.college-departments-section {
    padding: 90px 0;
    background-color: var(--su-light, #f8fafc);
    position: relative;
}

.section-subtitle-desc {
    text-align: center;
    max-width: 700px;
    margin: -25px auto 50px auto;
    color: #475569;
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.7;
}

/* شبكة الأقسام */
.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* تصميم البطاقات الأنيق */
.dept-premium-card {
    background: var(--su-white, #ffffff);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth, all 0.4s cubic-bezier(0.16, 1, 0.3, 1));
    display: flex;
}

.dept-card-inner {
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

/* تأثير الخط الجانبي الجمالي المتفاعل */
.dept-premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background-color: var(--su-gold, #009961);
    transition: var(--transition-smooth, all 0.4s cubic-bezier(0.16, 1, 0.3, 1));
    z-index: 3;
}

/* الأيقونات وتأثيراتها */
.dept-icon-wrapper {
    width: 65px;
    height: 65px;
    background: #f1f1f1;
    color: #a92121;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 25px;
    transition: var(--transition-smooth, all 0.4s cubic-bezier(0.16, 1, 0.3, 1));
}

/* العناوين والنصوص */
.dept-card-content h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--su-dark, #0f172a);
    line-height: 1.5;
    margin-bottom: 15px;
    transition: var(--transition-smooth, all 0.4s cubic-bezier(0.16, 1, 0.3, 1));
}

.dept-brief-desc {
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.8;
    text-align: justify;
}

/* أسفل البطاقة وزر الانتقال */
.dept-card-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.dept-details-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--su-green, #009961);
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition-smooth, all 0.4s cubic-bezier(0.16, 1, 0.3, 1));
}

.dept-details-btn i {
    font-size: 13px;
    transition: transform 0.3s ease;
}

/* --- تأثيرات الحركة التفاعلية الفاخرة (Hover Effects) --- */
.dept-premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 153, 97, 0.07);
    border-color: rgba(0, 153, 97, 0.15);
}

.dept-premium-card:hover::before {
    width: 8px;
    background-color: var(--su-gold, #FFDF00);
}

.dept-premium-card:hover .dept-icon-wrapper {
    background: var(--su-green, #009961);
    color: var(--su-white, #ffffff);
    transform: scale(1.05) rotate(-5deg);
    box-shadow: 0 10px 20px rgba(0, 153, 97, 0.2);
}

.dept-premium-card:hover .dept-card-content h3 {
    color: var(--su-green, #009961);
}

.dept-premium-card:hover .dept-details-btn {
    color: var(--su-dark, #0f172a);
}

.dept-premium-card:hover .dept-details-btn i {
    transform: translateX(-5px);
    color: var(--su-gold, #FFDF00);
}

/* التوافق مع الشاشات الصغيرة للأقسام */
@media (max-width: 768px) {
    .departments-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .dept-card-inner {
        padding: 25px 20px;
    }

    .dept-card-content h3 {
        font-size: 17px;
    }
}

/* تنسيق القسم العام */
.community-section { padding: 80px 0; background: white; }

/* تنسيق البطاقات */
.community-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }

.feature-card { 
    background: #fff; padding: 30px; border-radius: 20px; text-align: center; 
    transition: all 0.4s ease; border: 1px solid #eee; position: relative; overflow: hidden;
}

.feature-card:hover { transform: translateY(-10px); box-shadow: 0 20px 30px rgba(0,0,0,0.1); border-color: var(--su-gold); }

.community-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 60px; }

.gallery-item { border-radius: 15px; overflow: hidden; height: 250px; cursor: pointer; }

.gallery-item img { 
    width: 100%; height: 100%; object-fit: cover; 
    transition: transform 0.5s ease; 
}

.gallery-item:hover img { transform: scale(1.1); }

/* التجاوب مع الجوال */
@media (max-width: 768px) {
    .community-gallery { grid-template-columns: 1fr; }
}

/* =========================
   Page 2 Styles
   ========================= */

/* صفحة القسم الأكاديمي */
.dept-page-section {
    padding: 80px 0;
    background-color: var(--su-light);
    direction: rtl;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 90%;
    padding-right: 7.5%;
    padding-left: 7.5%;
    margin-right: 5%;
}

.dept-page-section p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: right;
}

.dept-page-section .container {
    margin: 0 auto;
    margin-bottom: 100px;
    margin-top: 50px;
    padding: 0 24px;
}

.dept-main-header {
    text-align: center;
    margin-bottom: 60px;
}

.dept-tag {
    background: rgba(0, 153, 97, 0.08);
    color: var(--su-green);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 12px;
}

.dept-main-header h2 {
    font-size: 32px;
    font-weight: 900;
    color: var(--su-dark);
    max-width: 800px;
    margin: 0 auto;
}

.dept-main-header h2 span {
    color: var(--su-green);
}

.header-line {
    width: 80px;
    height: 4px;
    background: var(--su-gold);
    margin: 20px auto 0 auto;
    border-radius: 2px;
}

.dept-page-section .sub-section-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--su-dark);
    margin: 50px 0 25px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 12px;
}

.dept-page-section .sub-section-title i {
    color: gray;
}

/* تصفيف بطاقات البرامج الأكاديمية */
.programs-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.program-ultra-card {
    display: flex;
    background: var(--su-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    border: 1px solid #e2e8f0;
    transition: var(--transition-smooth);
}

.program-img-box {
    width: 30%;
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

.program-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.prog-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--su-green);
    color: white;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.prog-badge.black-bg {
    background: var(--su-dark);
}

.prog-badge.gold-bg {
    background: #d97706;
}

.program-body-box {
    width: 70%;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.program-body-box h4 {
    font-size: 22px;
    font-weight: 800;
    color: #9d2c2c;
    margin-bottom: 15px;
}

.prog-brief {
    font-size: 15px;
    color: #475569;
    text-align: justify;
    line-height: 1.7;
    margin-bottom: 20px;
}

.prog-vmo-accordion {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    border-right: 4px solid var(--su-gold);
}

.vmo-item h5 {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--su-dark);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.vmo-item h5 i {
    color: var(--su-green);
}

.vmo-item p {
    font-size: 13px;
    color: #64748b;
    text-align: right;
    line-height: 1.6;
}

.btn-view-plan {
    text-decoration: none;
    background: linear-gradient(135deg, var(--su-green), #007a4d);
    color: white;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 28px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 153, 97, 0.2);
    transition: var(--transition-smooth);
}

.btn-view-plan:hover {
    background: var(--su-gold);
    color: var(--su-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 223, 0, 0.3);
}

.program-ultra-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    border-color: rgba(0, 153, 97, 0.15);
}

.program-ultra-card:hover .program-img-box img {
    transform: scale(1.06);
}

/* شبكة أعضاء هيئة التدريس التفاعلية */
.faculty-intro-p {
    color: #64748b;
    font-size: 15px;
    margin-top: -15px;
    margin-bottom: 35px;
}

.faculty-interactive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.faculty-premium-card {
    background: var(--su-white);
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    position: relative;
    text-align: center;
    padding: 30px 20px;
    transition: var(--transition-smooth);
}

.card-top-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--su-green);
}

.card-top-accent.yellow-accent {
    background: var(--su-gold);
}

.card-top-accent.blue-accent {
    background: #a13737;
}

.faculty-avatar-container {
    position: relative;
    width: 105px;
    height: 105px;
    margin: 0 auto 20px auto;
}

.avatar-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #f1f5f9;
    background: #f8fafc;
    transition: var(--transition-smooth);
}

.avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.degree-badge-floating {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 153, 97, 0.1);
    color: var(--su-green);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    white-space: nowrap;
    border: 1px solid rgba(0, 153, 97, 0.2);
    background-color: var(--su-white);
}

.degree-badge-floating.dark-badge {
    color: var(--su-dark);
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.degree-badge-floating.light-blue-badge {
    color: #1d4ed8;
    background: #eff6ff;
    border-color: #bfdbfe;
}

.faculty-details h4 {
    font-size: 16.5px;
    font-weight: 800;
    color: var(--su-dark);
    margin-bottom: 8px;
}

.fac-specialty {
    font-size: 13px;
    color: var(--su-green);
    font-weight: 700;
    margin-bottom: 4px;
}

.fac-university {
    font-size: 12px;
    color: #64748b;
}

.faculty-social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
}

.faculty-social-links a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.scholar-btn {
    background: #f1f5f9;
    color: #475569;
}

.scholar-btn:hover {
    background: #ea4335;
    color: white;
    transform: scale(1.1);
}

.linkedin-btn {
    background: #f1f5f9;
    color: #475569;
}

.linkedin-btn:hover {
    background: #0a66c2;
    color: white;
    transform: scale(1.1);
}

.disabled-btn {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.faculty-premium-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 153, 97, 0.06);
    border-color: rgba(0, 153, 97, 0.15);
}

.faculty-premium-card:hover .avatar-circle {
    border-color: var(--su-green);
    transform: scale(1.03);
}

.faculty-premium-card.helper-card:hover .avatar-circle {
    border-color: var(--su-gold);
}

/* =========================
   Global Media Queries
   ========================= */

@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; gap: 35px; }
    .dean-special { flex-direction: column; text-align: center; }
    .dean-special .leader-image-holder { margin-left: 0; margin-bottom: 15px; }
    .program-full-cover-card, .program-full-cover-card:nth-child(even) { flex-direction: column; }
    .p-media-full-box { width: 100%; height: 200px; }
    .p-media-full-box img { position: relative; }
    .p-info-full-box { width: 100%; padding: 20px; }
    .hero-content h1 { font-size: 32px; }
    
    .program-ultra-card, .program-ultra-card:nth-child(even) {
        flex-direction: column;
    }

    .program-img-box {
        width: 100%;
        height: 220px;
        min-height: auto;
    }

    .program-body-box {
        width: 100%;
        padding: 25px;
    }

    .prog-vmo-accordion {
        grid-template-columns: 1fr;
    }

    .dept-main-header h2 {
        font-size: 26px;
    }
    
    .dept-page-section .container {
        padding: 0 15px;
    }
}

/* تنسيق أيقونة تبديل اللغة */
.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-right: 10px; /* مناسب للـ RTL، سيُعدّل في ltr.css للـ LTR */
}

.lang-toggle:hover {
    background: var(--su-gold);
    color: var(--su-dark);
    border-color: var(--su-gold);
    text-decoration: none;
}

.faculty-social-links a.disabled-link {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}