       /* تنسيق الأيقونات العائمة الملونة كودياً */
.floating-icons-container {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    pointer-events: none; 
    z-index: 2; 
    overflow: hidden;
}

.f-icon {
    position: absolute; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    width: 65px; 
    height: 65px; 
    border-radius: 50%;
    
    /* تأثير زجاجي شفاف محايد */
    background: rgba(255, 255, 255, 0.03); 
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    
    /* حدود شفافة افتراضية */
    border: 1px solid rgba(255, 255, 255, 0.1); 
    
    /* ظل خفيف جداً محايد */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    
    animation: floatIcon 6s ease-in-out infinite alternate; 
    opacity: 0.7;
    transition: var(--transition-smooth);
}

/* تنسيق الأيقونة الداخلية (الميـزة الجديـدة) */
.f-icon i {
    /* استخدام المتغير اللوني المحدد في HTML */
    color: var(--icon-color); 
    font-size: 26px;
    /* إضافة توهج (Neon effect) بنفس لون الأيقونة */
    text-shadow: 0 0 10px var(--icon-color);
    transition: var(--transition-smooth);
}

/* تلوين الحدود عند التمرير (اختياري، للجمالية) */
.f-icon:hover {
    border-color: var(--icon-color);
    background: rgba(255, 255, 255, 0.08);
    opacity: 1;
}

/* توزيع الأيقونات في زوايا ومناطق مختلفة حول المركز */
.i-1 { top: 15%; left: 12%; animation-delay: 0.0s; width: 50px; height: 50px; }
.i-1 i { font-size: 20px; }

.i-2 { top: 20%; right: 15%; animation-delay: 0.5s; }

.i-3 { top: 45%; left: 6%; animation-delay: 1.2s; width: 75px; height: 75px; opacity: 0.8; }
.i-3 i { font-size: 32px; }

.i-4 { bottom: 25%; right: 8%; animation-delay: 0.8s; }

.i-5 { top: 12%; right: 38%; animation-delay: 1.5s; width: 55px; height: 55px; }
.i-5 i { font-size: 22px; }

.i-6 { bottom: 15%; left: 22%; animation-delay: 0.3s; width: 60px; height: 60px; }

.i-7 { top: 35%; right: 4%; animation-delay: 2.1s; }

.i-8 { bottom: 35%; left: 10%; animation-delay: 1.8s; width: 45px; height: 45px; }
.i-8 i { font-size: 18px; }

.i-9 { top: 65%; right: 20%; animation-delay: 0.9s; width: 55px; height: 55px; }

.i-10 { top: 82%; left: 35%; animation-delay: 1.1s; }

/* حركة الطفو الناعمة */
@keyframes floatIcon {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(10deg); }
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

*, *::before, *::after {
    box-sizing: border-box;
}

img,
video,
iframe {
    max-width: 100%;
    height: auto;
}
:root {
            /* تعديل الألوان لتعتمد على الأسود والذهبي */
            --primary-brand: #000000;
            --primary-brand-light: rgba(0, 0, 0, 0.05);
            --su-gold: #FFDF00;
            --su-dark: #111111;
            --su-light: #f8faf9;
            --su-card-bg: #ffffff;
            --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
            --text-muted: #667085;
            --soft-dark-bg: #f3f3f3;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Cairo', sans-serif;
        }

        body {
            background-color: var(--su-light);
            color: #333;
            overflow-x: hidden;
            scroll-behavior: smooth;
        }

        ::-webkit-scrollbar {
            width: 10px;
        }

        ::-webkit-scrollbar-track {
            background: #f1f1f1;
        }

        ::-webkit-scrollbar-thumb {
            background: var(--primary-brand);
            border-radius: 5px;
        }

        /* Top Bar */
        .top-bar {
            background-color: var(--primary-brand);
            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: #222;
            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;
        }

    

        .logo-text h1 {
            font-size: 20px;
            font-weight: 900;
            color: var(--primary-brand);
            line-height: 1.5;
        }

        .logo-text p {
            font-size: 11px;
            color: var(--text-muted);
            font-weight: 600;
        }
        .main-logo-img {
            height: 70px;
            width: auto;
            object-fit: contain;
        }
        /* 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(--primary-brand);
                    background: var(--primary-brand-light);
                }

        .menu-toggle {
            display: none;
            font-size: 26px;
            color: var(--primary-brand);
            cursor: pointer;
            z-index: 1002;
        }

        @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 !important;
            color: white;
            text-align: center !important;
            overflow: hidden;
             z-index: 1000;
        }

        .hero-bg-zoom {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('../images/service1.png') 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, rgba(15, 15, 15, 0.8), rgba(0, 0, 0, 0.8));
            z-index: 2;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
            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);
                
                font-size: 32px;
                margin-top: 10px;
            }

        .hero-content p {
            max-width: 750px;
            margin: 0 auto 35px auto;
            font-size: 18px;
            color: #e2e8f0;
            animation: fadeInUp 1.2s ease forwards;
            line-height: 1.8;
        }

        .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 #666;
            color: white;
        }

            .btn-outline:hover {
                background: white;
                color: black;
                transform: translateY(-4px);
                border-color: white;
            }

        /* General Sections */
        section {
            padding: 90px 50px;
        }

        @media (max-width: 768px) {
            section {
                padding: 60px 20px;
            }
        }

        .section-title {
            text-align: center;
            margin-bottom: 70px;
            position: relative;
            color: var(--su-dark);
            font-size: 32px;
            font-weight: 900;
        }

            .section-title span {
                color: var(--primary-brand);
            }

            .section-title::after {
                content: '';
                width: 50px;
                height: 4px;
                background-color: var(--su-gold);
                position: absolute;
                margin-bottom: 20px;
                left: 50%;
                transform: translateX(-50%);
                border-radius: 2px;
            }

        /* Intersection Observer */
        .hidden {
            opacity: 0;
            transform: translateY(40px);
            transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        .show {
            opacity: 1;
            transform: translateY(0);
        }

        .delay-100 {
            transition-delay: 0.1s;
        }

        .delay-200 {
            transition-delay: 0.2s;
        }

        .delay-300 {
            transition-delay: 0.3s;
        }

        .delay-400 {
            transition-delay: 0.4s;
        }

        /* About Section */
        .about-premium-container {
            display: flex;
            align-items: center;
            gap: 60px;
            max-width: 1200px;
            margin: 0 auto;
        }

        @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(--soft-dark-bg);
            color: var(--primary-brand);
            padding: 6px 16px;
            border-radius: 30px;
            font-size: 13px;
            font-weight: 800;
            align-self: flex-start;
            margin-bottom: 15px;
            border: 1px solid #ddd;
        }

        .about-main-title {
            font-size: 32px;
            font-weight: 900;
            color: var(--su-dark);
            margin-bottom: 20px;
        }

            .about-main-title span {
                color: var(--primary-brand);
                display: block;
                font-size: 22px;
                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(--primary-brand);
                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;
        }

        .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(--primary-brand);
                border-radius: 24px;
                z-index: 1;
                pointer-events: none;
            }

        .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);
        }

        .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;
        }

            .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;
            }

        /* Objectives Section (Axes) - ألوان مخصصة لكل أيقونة */
        .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: 25px;
            border-radius: 16px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.02);
            display: flex;
            gap: 20px;
            align-items: center;
            transition: var(--transition-smooth);
            border: 1px solid #f0f0f0;
            position: relative;
            overflow: hidden;
        }

            /* تطبيق المتغيرات اللونية الخاصة بكل بطاقة */
            .objective-anim-card .obj-icon {
                width: 55px;
                height: 55px;
                border-radius: 12px;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 22px;
                flex-shrink: 0;
                transition: var(--transition-smooth);
                background: var(--icon-bg);
                color: var(--icon-color);
            }

            .objective-anim-card h4 {
                font-size: 16px;
                color: #2d3748;
                font-weight: 700;
                line-height: 1.5;
                transition: var(--transition-smooth);
            }

            .objective-anim-card::after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                width: 0;
                height: 3px;
                background: var(--icon-color);
                transition: var(--transition-smooth);
            }

            .objective-anim-card:hover {
                transform: translateY(-6px);
                box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
                border-color: var(--icon-bg);
            }

                .objective-anim-card:hover .obj-icon {
                    background: var(--icon-color);
                    color: white;
                    transform: rotate(360deg) scale(1.1);
                }

                .objective-anim-card:hover h4 {
                    color: var(--icon-color);
                }

                .objective-anim-card:hover::after {
                    width: 100%;
                }

        /* Programs Section (Services) */
        .premium-programs-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
        }

        .program-showcase-card {
            background: #ffffff;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.03);
            border: 1px solid #f0f0f0;
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .program-content-side {
            padding: 30px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
            gap: 15px;
        }

            .program-content-side h3 {
                font-size: 20px;
                font-weight: 800;
                color: var(--su-dark);
                display: flex;
                align-items: center;
                gap: 10px;
                margin: 0;
            }

                .program-content-side h3 i {
                    color: var(--primary-brand);
                    font-size: 22px;
                }

            .program-content-side .p-desc {
                font-size: 15px;
                color: #555;
                line-height: 1.7;
                text-align: justify;
                margin: 0;
            }

        .p-detail-block {
            background: var(--su-light);
            border-radius: 8px;
            padding: 15px;
            border-right: 4px solid var(--su-gold);
            margin-top: auto;
        }

            .p-detail-block h5 {
                font-size: 14px;
                font-weight: 800;
                color: var(--su-dark);
                margin-bottom: 10px;
            }

        .p-goals-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 8px;
            font-size: 13.5px;
            color: #4a5568;
        }

            .p-goals-list li {
                display: flex;
                align-items: flex-start;
                gap: 8px;
                line-height: 1.6;
            }

                .p-goals-list li i {
                    color: var(--primary-brand);
                    margin-top: 4px;
                    font-size: 12px;
                }

        /* Facilities Section */
        .facilities-section {
    padding: 80px 0;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #718096;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- أنماط شبكة البطاقات --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* --- أنماط البطاقة الفردية --- */
.facility-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
    border: 2px solid transparent;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    text-align: right; /* محاذاة النص لليمين */
}

/* تأثير مرور الماوس على البطاقة: رفع، ظل، وحدود ملونة */
.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--icon-color);
}

/* أنماط الأيقونة */
.icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background-color: #f7fafc;
    color: var(--icon-color); /* استخدام المتغير اللوني المحدد في HTML */
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease-in-out;
}

/* تأثير الماوس على الأيقونة: توهج لوني */
.facility-card:hover .icon-wrapper {
    background-color: var(--icon-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #1a202c;
    margin-bottom: 15px;
}

.card-content {
    font-size: 1rem;
    color: #718096;
    font-weight: 300;
}

/* تمييز الرقم الهام في كود HTML بـ strong */
.card-content strong {
    font-weight: 700;
    color: #2d3748;
}

/* --- استجابة الشاشات الصغيرة --- */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .facility-card {
        padding: 30px;
    }
}
        .director-container {
            max-width: 1000px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            gap: 50px;
            background: white;
            padding: 40px;
            border-radius: 24px;
            border: 1px solid #f0f0f0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.03);
        }

        @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-info h3 {
                font-size: 24px;
                font-weight: 900;
                color: var(--su-dark);
                margin-bottom: 15px;
            }

            .director-info p {
                font-size: 16px;
                color: #555;
                line-height: 1.8;
                margin-bottom: 15px;
                text-align: justify;
            }

      /* 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;
}

        /* Publications / Students Role Section */
        .pubs-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .pub-card {
            background: white;
            border-radius: 16px;
            padding: 35px 25px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.03);
            border: 1px solid #f0f0f0;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            transition: var(--transition-smooth);
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

            .pub-card::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 4px;
                background: var(--su-gold);
                transform: scaleX(0);
                transform-origin: right;
                transition: transform 0.4s ease;
                z-index: 2;
            }

            .pub-card:hover {
                transform: translateY(-10px);
                box-shadow: 0 15px 35px rgba(0,0,0,0.08);
                border-color: rgba(0, 0, 0, 0.1);
            }

                .pub-card:hover::before {
                    transform: scaleX(1);
                }

        .pub-icon {
            width: 75px;
            height: 75px;
            background: var(--soft-dark-bg);
            color: var(--primary-brand);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 34px;
            margin-bottom: 20px;
            transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        }

        .pub-card:hover .pub-icon {
            background: var(--primary-brand);
            color: white;
            transform: rotateY(180deg);
        }

        .pub-info h4 {
            font-size: 18px;
            font-weight: 800;
            color: var(--su-dark);
            margin-bottom: 12px;
        }

        .pub-info p {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.6;
            margin-bottom: 25px;
        }

        /* Guide Section (القسم الجديد المضاف) */
        .guide-container {
            display: flex;
            align-items: center;
            gap: 60px;
            max-width: 1100px;
            margin: 0 auto;
            background: white;
            padding: 50px;
            border-radius: 24px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.05);
            border: 1px solid #eee;
            position: relative;
            overflow: hidden;
        }

        @media (max-width: 992px) {
            .guide-container {
                flex-direction: column;
                text-align: center;
                padding: 40px 20px;
            }
        }

        .guide-container::after {
            content: '';
            position: absolute;
            top: -50px;
            left: -50px;
            width: 150px;
            height: 150px;
            background: var(--su-gold);
            opacity: 0.1;
            border-radius: 50%;
            z-index: 0;
            pointer-events: none;
        }

        .guide-text {
            flex: 1;
            z-index: 1;
        }

            .guide-text h2 {
                font-size: 32px;
                font-weight: 900;
                color: var(--su-dark);
                margin-bottom: 20px;
            }

                .guide-text h2 span {
                    color: var(--primary-brand);
                    display: block;
                    font-size: 22px;
                    margin-top: 5px;
                }

            .guide-text p {
                font-size: 16px;
                color: #555;
                line-height: 1.9;
                margin-bottom: 30px;
                text-align: justify;
            }

        .guide-image-box {
            flex: 0.7;
            display: flex;
            justify-content: flex-end;
            perspective: 1000px;
            z-index: 1;
        }

        @media (max-width: 992px) {
            .guide-image-box {
                justify-content: center;
            }
        }

        .book-cover {
            width: 100%;
            max-width: 280px;
            border-radius: 5px 15px 15px 5px;
            box-shadow: -15px 20px 40px rgba(0,0,0,0.2), inset -4px 0 10px rgba(255,255,255,0.4);
            border-left: 18px solid #222; /* تأثير كعب الكتاب */
            transition: transform 0.5s ease;
            cursor: pointer;
            object-fit: cover;
            aspect-ratio: 1 / 1.4;
        }

            .book-cover:hover {
                transform: translateY(-10px) rotateY(-8deg);
                box-shadow: -20px 25px 45px rgba(0,0,0,0.25);
            }

        /* 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;
            max-width: 1200px;
            margin: 0 auto 40px auto;
        }

        @media (max-width: 768px) {
            .footer-main-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }
        }

        .f-about h4, .f-contact h4 {
            font-size: 20px;
            color: var(--su-gold);
            font-weight: 800;
            margin-bottom: 20px;
        }

        .f-about p {
            color: #b5b5b5;
            line-height: 1.9;
            font-size: 15px;
            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: 14px;
        }

            .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-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 fadeInUp {
            from {
                opacity: 0;
                transform: translateY(25px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes slowZoomBg {
            0% {
                transform: scale(1);
            }

            100% {
                transform: scale(1.11);
            }
        }

        @keyframes aboutFloat {
            0% {
                transform: translateY(0px);
            }

            50% {
                transform: translateY(-10px);
            }

            100% {
                transform: translateY(0px);
            }
        }

/* تنسيق أيقونة تبديل اللغة */
.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    color: white !important;
    text-decoration: none !important;
    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) !important;
    border-color: var(--su-gold);
    text-decoration: none !important;
}