﻿/* =========================
   Shared Styles (from Faculty Template & CBA)
   ========================= */

* {
    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);
    --text-muted: #667085;
}

body {
    background-color: white;
    color: var(--su-dark);
    line-height: 1.8;
    overflow-x: hidden;
}

.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: var(--su-green);
    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;
    align-items: center;
}

.top-contacts span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-contacts i {
    color: var(--su-gold);
}

.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;
}

.lang-toggle:hover {
    background: var(--su-gold);
    color: var(--su-dark);
    border-color: var(--su-gold);
    text-decoration: none;
}

/* 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;
}

/* 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 Section --- */
.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/center.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;
    color: white;
}

.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;
    color: white;
}

.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;
}

/* 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;
}

/* Keyframes & Animations */
@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; }

/* =========================
   CBA Specific Styles (Home Page)
   ========================= */

/* Section Global Layout */
section {
    padding: 90px 50px;
}

@media (max-width: 768px) {
    section {
        padding: 60px 20px;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    color: var(--su-dark);
    font-size: 32px;
    font-weight: 900;
}

.section-title span {
    color: var(--su-green);
}

.section-title::after {
    content: '';
    width: 50px;
    height: 4px;
    background-color: var(--su-gold);
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* --- تصميم قسم نبذة عن المركز  --- */
.about-premium-section {
    background-color: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    overflow: hidden;
}

.about-premium-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

@media (max-width: 992px) {
    .about-premium-container {
        flex-direction: column-reverse;
        gap: 40px;
    }
}

.about-text-side {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.about-tag {
    background: var(--su-green-light);
    color: var(--su-green);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 800;
    align-self: flex-start;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 153, 97, 0.08);
}

.about-main-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--su-dark);
    margin-bottom: 20px;
    position: relative;
}

.about-main-title span {
    color: var(--su-green);
    display: block;
    font-size: 24px;
    font-weight: 700;
    margin-top: 5px;
}

.about-description {
    font-size: 16px;
    color: #4a5568;
    line-height: 1.9;
    margin-bottom: 20px;
    text-align: justify;
}

.about-features-mini {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.feat-mini-card {
    background: var(--su-light);
    border: 1px solid #eee;
    padding: 12px 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.feat-mini-card i {
    color: var(--su-gold);
    font-size: 16px;
}

.feat-mini-card span {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--su-dark);
}

.feat-mini-card:hover {
    transform: translateY(-3px);
    border-color: var(--su-gold);
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
}

.about-image-side {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

@media (max-width: 992px) {
    .about-image-side {
        width: 100%;
        max-width: 500px;
    }
}

.about-img-frame {
    position: relative;
    width: 100%;
    border-radius: 24px;
    padding: 10px;
}

.about-img-frame::before {
    content: '';
    position: absolute;
    top: 30px;
    right: 30px;
    width: 100%;
    height: 100%;
    border: 2px dashed var(--su-gold);
    border-radius: 24px;
    z-index: 1;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.about-main-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0,0,0,0.07);
    transition: var(--transition-smooth);
}

.about-floating-card {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background: white;
    padding: 15px 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 3;
    border-right: 4px solid var(--su-gold);
    animation: aboutFloat 3s ease-in-out infinite;
}

@media (max-width: 576px) {
    .about-floating-card {
        left: 10px;
        bottom: 15px;
    }
}

.about-floating-card i {
    font-size: 28px;
    color: var(--su-green);
}

.about-floating-card h5 {
    font-size: 18px;
    font-weight: 900;
    color: var(--su-dark);
}

.about-floating-card p {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.about-img-frame:hover .about-main-img {
    transform: scale(1.02);
}

.about-img-frame:hover::before {
    transform: translate(-10px, -10px);
}

@keyframes aboutFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Infographic Strategy Cards */
.infographic-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-step-card {
    background: var(--su-light);
    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;
}

/* --- قسم مدير المركز --- */
.director-section {
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
}

.director-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
    background: var(--su-light);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #f0f0f0;
}

@media (max-width: 768px) {
    .director-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 30px 20px;
    }
}

.director-img-wrapper {
    position: relative;
    width: 220px;
    height: 220px;
    flex-shrink: 0;
}

.director-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: 4px solid white;
}

.director-img-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 100%;
    height: 100%;
    border: 2px dashed var(--su-gold);
    border-radius: 20px;
    z-index: 0;
}

.director-info {
    flex: 1;
    z-index: 1;
}

.director-badge {
    background: var(--su-green-light);
    color: var(--su-green);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 153, 97, 0.1);
}

.director-info h3 {
    font-size: 26px;
    font-weight: 900;
    color: var(--su-dark);
    margin-bottom: 8px;
}

.director-info .english-name {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.director-info p {
    font-size: 15.5px;
    color: #4a5568;
    line-height: 1.8;
    text-align: justify;
}

.deputies-container {
    max-width: 1000px;
    margin: 40px auto 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.deputy-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    flex: 1 1 280px;
    max-width: 380px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.deputy-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-color: var(--su-gold);
}

.deputy-card .director-img-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
}

.deputy-card .director-img {
    border-radius: 20px;
    border: 4px solid white;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    width: 100%;
    height: 100%;
}

.deputy-card .director-img-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 100%;
    height: 100%;
    border: 2px dashed var(--su-gold);
    border-radius: 20px;
    z-index: 0;
    display: block;
}

.deputy-badge {
    background: var(--su-green-light);
    color: var(--su-green);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 12px;
    border: 1px solid rgba(0,153,97,0.1);
}

.deputy-card h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--su-dark);
    margin: 0;
}

/* --- قسم أهداف المركز --- */
.center-objectives-section {
    background-color: var(--su-light);
}

.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%;
}

/* 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;

 
}


/* News & Events Section */
.news-section {
    background: white;
    border-top: 1px solid #eee;
}

.news-container {
    display: flex;
    gap: 40px;
    align-items: center;
    background: var(--su-light);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    max-width: 1200px;
    margin: 0 auto;
}

@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);
}

/* Professional Image Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.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;
}

/* =========================
   ADDITIONS FOR EFSRC (Departments & Internal Pages)
   ========================= */

/* --- تصميم أقسام المركز في الصفحة الرئيسية (من كلية التجارة) --- */
.college-departments-section {
    padding: 90px 0;
    background-color: var(--su-light, #f8fafc);
    position: relative;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.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);
    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);
    transition: var(--transition-smooth);
    z-index: 3;
}

.dept-icon-wrapper {
    width: 65px;
    height: 65px;
    background: #f1f1f1;
    color: var(--su-green);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 25px;
    transition: var(--transition-smooth);
}

.dept-card-content h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--su-dark);
    line-height: 1.5;
    margin-bottom: 15px;
    transition: var(--transition-smooth);
}

.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);
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.dept-details-btn i {
    font-size: 13px;
    transition: transform 0.3s ease;
}

.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;
}

.dept-premium-card:hover .dept-icon-wrapper {
    background: var(--su-green);
    color: var(--su-white);
    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);
}

.dept-premium-card:hover .dept-details-btn {
    color: var(--su-dark);
}

.dept-premium-card:hover .dept-details-btn i {
    transform: translateX(-5px);
    color: var(--su-gold);
}

/* --- تصميم الصفحات الداخلية (الأقسام وهيئة التدريس) --- */
.dept-page-section {
    padding: 80px 0;
    background-color: var(--su-light);
}

.dept-main-header {
    text-align: center;
    margin-bottom: 60px;
}

.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;
}

.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 5px 20px rgba(0,0,0,0.03);
    border: 1px solid #e2e8f0;
    transition: var(--transition-smooth);
}

.program-body-box {
    width: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.program-body-box h4 {
    font-size: 22px;
    font-weight: 800;
    color: var(--su-green);
    margin-bottom: 15px;
}

.prog-brief {
    font-size: 15px;
    color: #475569;
    text-align: justify;
    line-height: 1.8;
    margin-bottom: 25px;
}

.prog-vmo-accordion {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    background: #f8fafc;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    border-right: 4px solid var(--su-gold); /* للملف الإنجليزي تأكد من جعلها border-left في ltr.css */
}

.vmo-item h5 {
    font-size: 16px;
    font-weight: 800;
    color: var(--su-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vmo-item h5 i {
    color: var(--su-green);
}

.vmo-item p {
    font-size: 14px;
    color: #475569;
    text-align: justify;
    line-height: 1.7;
}

.btn-view-plan {
    text-decoration: none;
    background: var(--su-green);
    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);
    align-self: flex-start;
}

.btn-view-plan:hover {
    background: var(--su-gold);
    color: var(--su-dark);
    transform: translateY(-3px);
}

.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);
}

/* شبكة أعضاء هيئة التدريس */
.sub-section-title {
    font-size: 22px; 
    font-weight: 800; 
    color: var(--su-dark); 
    margin: 60px 0 30px 0;
    display: flex; 
    align-items: center; 
    gap: 12px; 
    border-bottom: 2px solid #e2e8f0; 
    padding-bottom: 12px;
}

.sub-section-title i { color: #64748b; }

.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.03);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    position: relative;
    text-align: center;
    padding: 35px 20px;
    transition: var(--transition-smooth);
}

.card-top-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--su-green);
}

.faculty-avatar-container {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 20px auto;
}

.avatar-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #f1f5f9;
    background: #f8fafc;
    transition: var(--transition-smooth);
}

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

.degree-badge-floating {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--su-white);
    color: var(--su-green);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap;
    border: 1px solid rgba(0, 153, 97, 0.2);
}

.faculty-details h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--su-dark);
    margin-bottom: 8px;
}

.fac-specialty {
    font-size: 14px;
    color: var(--su-green);
    font-weight: 700;
    margin-bottom: 6px;
}

.fac-university {
    font-size: 13px;
    color: #64748b;
}

.faculty-social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
}

.faculty-social-links a {
    width: 36px;
    height: 36px;
    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); }

.faculty-premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 153, 97, 0.08);
    border-color: rgba(0, 153, 97, 0.2);
}

.faculty-premium-card:hover .avatar-circle {
    border-color: var(--su-green);
}

.disabled-link {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* Global Media Queries Additions */
@media (max-width: 992px) {
    .prog-vmo-accordion { grid-template-columns: 1fr; }
    .program-body-box { padding: 25px; }
    .dept-main-header h2 { font-size: 26px; }
    .departments-grid { grid-template-columns: 1fr; }
}