/* أنماط التحميل الجديدة */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0a4a7a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    width: 80px;
    height: 80px;
    position: relative;
    margin-bottom: 20px;
}

.loader-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 5px solid transparent;
    border-top-color: #ffd700;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.loader-icon::before,
.loader-icon::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 5px solid transparent;
}

.loader-icon::before {
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-top-color: #ffeb3b;
    animation: spin 2s linear infinite;
    box-shadow: 0 0 5px rgba(255, 235, 59, 0.3);
}

.loader-icon::after {
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border-top-color: #fff;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    color: white;
    font-size: 1.5rem;
    margin-top: 20px;
    font-family: 'Tajawal', sans-serif;
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s ease 0.5s forwards;
}

.loader-subtext {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-top: 10px;
    font-family: 'Tajawal', sans-serif;
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* أضف هذا النمط لزر التثبيت */
.install-btn {
    position: fixed;
    bottom: 100px;
    left: 20px;
    background-color: #ffd700;
    color: #0a4a7a;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
    transition: all 0.3s ease;
    font-family: 'Tajawal', sans-serif;
    font-weight: bold;
}

.install-btn:hover {
    background-color: #ffeb3b;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.install-btn i {
    font-size: 1.2rem;
}

.install-btn.hidden {
    display: none;
}

/* أنيميشن لزر التثبيت لجذب الانتباه */
@keyframes pulseInstall {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(255, 215, 0, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    }
}

.install-btn.pulse {
    animation: pulseInstall 2s infinite;
}

/* باقي الأنماط كما هي ... */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #1676b6;
    overflow-x: hidden;
    overflow-y: auto;
    color: white;
    min-height: 100vh;
    transition: transform 0.5s ease;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: auto !important;
}

/* تصميم متكامل للشريط العلوي والمحتوى */
.main-container {
    background: #1676b6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* شريط التنقل العلوي */
.navbar {
    background-color: #1676b6;
    height: 85px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 15px rgba(12, 109, 174, 0.3);
    overflow: hidden;
}

/* تأثير الماء الناعم */
.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
                  rgba(10, 109, 163, 0.15) 0%, 
                  rgba(44, 150, 243, 0.3) 50%, 
                  rgba(23, 130, 172, 0.15) 100%);
    animation: waterFlow 8s linear infinite;
}

@keyframes waterFlow {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0%); }
}

/* اللوجو في الطرف الآخر */
.logo-container {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.logo {
    height: 70px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

/* النقاط الملونة في الشريط العلوي */
.sparkle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: sparkleMove linear infinite;
}

@keyframes sparkleMove {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* النقاط الملونة في الخلفية */
.color-sparkle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: floatParticle linear infinite;
    filter: blur(0.5px);
}

/* المحتوى الرئيسي - متصل بالشريط العلوي */
.content {
    padding-top: 85px;
    min-height: calc(100vh - 85px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 20px;
    z-index: 1;
}

/* تصميم العنوان الرئيسي مع تأثير النيون الذهبي */
.main-title {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 30px;
    position: relative;
    transition: all 0.5s ease;
    padding: 0 50px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #3A5A78;
    text-shadow: 
        0 0 10px rgba(58, 90, 120, 00.7),
        0 0 20px rgba(255, 215, 0, 0.6),
        0 0 30px rgba(255, 215, 0, 0.5),
        0 0 40px rgba(255, 215, 0, 0.4);
    animation: neonGlow 1.5s ease-in-out infinite alternate;
}

/* الخطوط الجانبية */
.main-title::before,
.main-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 2px;
    background: #ffd700;
    transition: all 0.5s ease;
    box-shadow: 0 0 10px #ffd700;
}

.main-title::before {
    right: -10px;
    transform: translateY(-50%);
}

.main-title::after {
    left: -10px;
    transform: translateY(-50%);
}

/* تأثير عند hover */
.main-title:hover {
    text-shadow: 
        0 0 15px rgba(255, 215, 0, 0.8),
        0 0 25px rgba(255, 215, 0, 0.7),
        0 0 35px rgba(255, 215, 0, 0.6),
        0 0 45px rgba(255, 215, 0, 0.5);
}

.main-title:hover::before {
    right: -30px;
    width: 60px;
    height: 3px;
    background: linear-gradient(to left, #ffd700, transparent);
    box-shadow: 0 0 20px #ffd700;
}

.main-title:hover::after {
    left: -30px;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #ffd700, transparent);
    box-shadow: 0 0 20px #ffd700;
}

/* تأثير النيون الذهبي عند hover */
@keyframes neonGlow {
    from {
        text-shadow: 
            0 0 10px rgba(255, 215, 0, 0.7),
            0 0 20px rgba(255, 215, 0, 0.6),
            0 0 30px rgba(255, 215, 0, 0.5),
            0 0 40px rgba(255, 215, 0, 0.4);
    }
    to {
        text-shadow: 
            0 0 15px rgba(255, 215, 0, 0.8),
            0 0 25px rgba(255, 215, 0, 0.7),
            0 0 35px rgba(255, 215, 0, 0.6),
            0 0 45px rgba(255, 215, 0, 0.5);
    }
}

/* النص الثانوي */
.sub-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: white;
    max-width: 800px;
    position: relative;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    padding: 0 20px;
    font-family: 'Tajawal', sans-serif;
}

/* تمييز بعض الكلمات */
.highlight {
    color: #ffeb3b;
    font-weight: bold;
    position: relative;
    font-family: 'Tajawal', sans-serif;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ffeb3b;
    animation: highlightUnderline 3s infinite;
}

@keyframes highlightUnderline {
    0%, 100% { width: 0%; left: 50%; }
    50% { width: 100%; left: 0; }
}

/* جسيمات عائمة */
@keyframes floatParticle {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        transform: translate(var(--x-end), var(--y-end));
        opacity: 0;
    }
}

/* الوردة الكبيرة في الخلفية */
.medical-flower {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="rgba(255,255,255,0.15)" d="M50 10C60 0 70 10 80 10C90 10 100 20 90 30C100 40 90 50 80 50C70 50 60 60 50 50C40 60 30 50 20 50C10 50 0 40 10 30C0 20 10 10 20 10C30 10 40 0 50 10Z"/><circle cx="50" cy="50" r="15" fill="rgba(255,255,255,0.2)"/><path fill="rgba(255,255,255,0.1)" d="M50 30C55 25 60 30 65 30C70 30 75 35 70 40C75 45 70 50 65 50C60 50 55 55 50 50C45 55 40 50 35 50C30 50 25 45 30 40C25 35 30 30 35 30C40 30 45 25 50 30Z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 0;
    opacity: 0.7;
    animation: flowerPulse 8s infinite ease-in-out;
}

@keyframes flowerPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

/* الشعار الطبي في وسط الوردة */
.medical-symbol {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="rgba(255,215,0,0.7)" d="M50 10L60 40H90L65 60L75 90L50 70L25 90L35 60L10 40H40Z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    animation: symbolRotate 15s infinite linear;
}

@keyframes symbolRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* أنيميشن سهم الماوس */
.mouse-scroll {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    z-index: 100;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.mouse-scroll::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: scrollWheel 2s infinite;
}

.mouse-scroll::after {
    content: '↓';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 20px;
    animation: scrollArrow 2s infinite;
    opacity: 0;
}

@keyframes scrollWheel {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(10px);
        opacity: 0;
    }
}

@keyframes scrollArrow {
    0%, 40% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }
    50%, 100% {
        opacity: 1;
        transform: translateX(-50%) translateY(10px);
    }
}

/* إخفاء الأنيميشن عند التمرير */
.mouse-scroll.hidden {
    opacity: 0;
    pointer-events: none;
}

/* شريط الإعلان البسيط */
.announcement-bar {
    position: fixed;
    top: 85px;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, rgba(10, 74, 122, 0.9), rgba(22, 118, 182, 0.9));
    color: white;
    padding: 12px 20px;
    text-align: center;
    z-index: 99;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.announcement-bar a {
    color: #ffd700;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
    background: rgba(255, 215, 0, 0.2);
}

.announcement-bar a:hover {
    color: #ffeb3b;
    text-decoration: none;
    background: rgba(255, 215, 0, 0.3);
}

.announcement-icon {
    color: #ffd700;
    margin-right: 5px;
    animation: sparkle 1.5s infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.close-announcement {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.close-announcement:hover {
    color: #ffd700;
    transform: scale(1.2);
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    top: 85px;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 1000;
    background: transparent;
}

.scroll-bar {
    height: 100%;
    background: linear-gradient(to right, #ffd700, #ffeb3b);
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px #ffd700;
}

/* قسم BORD */
.board-section {
    min-height: 100vh;
    padding: 100px 20px;
    background-color: #0a4a7a;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.board-title {
    font-size: 4rem;
    font-weight: 800;
    color: #ffd700;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.board-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.board-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #ffd700;
    border-radius: 2px;
    box-shadow: 0 0 10px #ffd700;
}

/* تصميم الأقسام */
.department-section {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 50px;
    position: relative;
}

.department-title {
    font-size: 2.5rem;
    color: #ffd700;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffd700;
    position: relative;
    text-align: center;
    font-family: 'Tajawal', sans-serif;
}

.department-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #ffd700;
}

.department-members {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    justify-items: center;
}

/* تصميم الكروت */
.member-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 250px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.member-card.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.member-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 2px solid #ffd700;
}

.member-info {
    padding: 20px;
    text-align: center;
}

.member-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
    font-family: 'Tajawal', sans-serif;
}

.member-position {
    font-size: 1rem;
    color: #ffd700;
    margin-bottom: 15px;
    font-weight: 600;
    font-family: 'Tajawal', sans-serif;
}

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

.social-icon {
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #ffd700;
    transform: scale(1.2);
}

/* أيقونات المجال الطبي */
.medical-icons {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
}

.medical-icon {
    background: rgba(10, 74, 122, 0.8);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* أيقونات الخلفية الخاصة بكل عضو */
.member-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.2;
}

.member-icon {
    position: absolute;
    font-size: 2rem;
    color: #ffd700;
    animation: floatIcon 10s infinite linear;
}

@keyframes floatIcon {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translate(var(--x-end), var(--y-end)) rotate(360deg);
        opacity: 0;
    }
}

/* قسم الفاصل المتحرك */
.divider-section {
    min-height: 200px;
    background: linear-gradient(135deg, #0a4a7a, #1676b6);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 50px 20px;
}

.divider-text {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    background: linear-gradient(90deg, #ffd700, #ffeb3b, #ffd700);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
    text-transform: uppercase;
    letter-spacing: 5px;
    position: relative;
    z-index: 2;
    font-family: 'Montserrat', sans-serif;
}

@keyframes shine {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* قسم الأهداف والإنجازات */
.goals-section {
    padding: 100px 20px;
    background-color: #1676b6;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffd700;
    margin-bottom: 70px;
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: #ffd700;
    border-radius: 2px;
    box-shadow: 0 0 15px #ffd700;
}

.goals-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.goal-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.goal-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.goal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 74, 122, 0.3), rgba(22, 118, 182, 0.3));
    z-index: -1;
}

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

.goal-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: #ffd700;
    transition: all 0.5s ease;
    position: relative;
    border: 2px solid rgba(255, 215, 0, 0.5);
}

.goal-card:hover .goal-icon {
    transform: scale(1.1) rotate(10deg);
    background: rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.goal-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.1);
        opacity: 0;
    }
    100% {
        transform: scale(0.95);
        opacity: 0;
    }
}

.goal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffd700;
    position: relative;
    font-family: 'Tajawal', sans-serif;
}

.goal-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: #ffd700;
    transition: all 0.3s ease;
}

.goal-card:hover .goal-title::after {
    width: 80px;
}

.goal-description {
    font-size: 1rem;
    line-height: 1.6;
    color: white;
    font-family: 'Tajawal', sans-serif;
}

/* قسم البودكاست */
.podcast-section {
    min-height: 100vh;
    padding: 100px 20px;
    background: linear-gradient(to right, #0a4a7a, #1676b6);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

.podcast-title {
    font-size: 4rem;
    font-weight: 800;
    color: #ffd700;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
    z-index: 2;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.podcast-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.podcast-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: #ffd700;
    border-radius: 2px;
    box-shadow: 0 0 15px #ffd700;
}

.podcast-content {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease 0.3s;
}

.podcast-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.podcast-description {
    font-size: 1.3rem;
    line-height: 1.8;
    color: white;
    margin-bottom: 40px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-family: 'Tajawal', sans-serif;
}

.podcast-button {
    background: linear-gradient(to right, #ffd700, #ffeb3b);
    color: #0a4a7a;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-family: 'Tajawal', sans-serif;
}

.podcast-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #ffeb3b, #ffd700);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.podcast-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.podcast-button:hover::before {
    opacity: 1;
}

.podcast-button i {
    font-size: 1.5rem;
}

/* موجات الصوت المتحركة */
.sound-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    opacity: 0.3;
}

.wave {
    position: absolute;
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 50%;
    animation: waveExpand 4s infinite ease-out;
    opacity: 0;
}

@keyframes waveExpand {
    0% {
        transform: scale(0.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* النص المتحرك */
.moving-text-container {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
    z-index: 1;
}

.moving-text {
    position: absolute;
    white-space: nowrap;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    animation: moveText 20s linear infinite;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

@keyframes moveText {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* ميكروفون متحرك */
.microphone {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    color: rgba(255, 215, 0, 0.5);
    z-index: 2;
    animation: microphonePulse 2s infinite ease-in-out;
}

@keyframes microphonePulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}

/* مؤشر تذبذب الصوت */
.audio-visualizer {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 60px;
    z-index: 2;
}

.audio-bar {
    width: 8px;
    background: rgba(255, 215, 0, 0.7);
    border-radius: 5px;
    animation: audioBar 1.5s infinite ease-in-out;
}

@keyframes audioBar {
    0%, 100% {
        height: 10px;
    }
    50% {
        height: 60px;
    }
}

/* القائمة الجانبية المحسنة */
.sidebar {
    position: fixed;
    top: 85px;
    right: 0;
    width: 300px;
    height: calc(100vh - 85px);
    background: rgba(10, 74, 122, 0.98);
    backdrop-filter: blur(10px);
    z-index: 998;
    transition: all 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    border-left: 3px solid #ffd700;
    transform: translateX(100%);
}

.sidebar.active {
    transform: translateX(0);
}

.sidebar-title {
    color: #ffd700;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
    padding-top: 20px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #ffd700;
    border-radius: 3px;
    box-shadow: 0 0 10px #ffd700;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    margin: 0;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-family: 'Tajawal', sans-serif;
    position: relative;
    overflow: hidden;
    border-left: 3px solid transparent;
}

.sidebar-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 215, 0, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-5px);
    border-left: 3px solid #ffd700;
}

.sidebar-link:hover::before {
    transform: translateX(0);
}

.sidebar-link i {
    margin-left: 10px;
    color: #ffd700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.sidebar-link:hover i {
    transform: scale(1.2);
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-family: 'Tajawal', sans-serif;
}

.sidebar-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #0a4a7a;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.sidebar-toggle:hover {
    background: #0d5a8f;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.sidebar-close {
    position: absolute;
    top: 15px;
    left: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-close:hover {
    color: #ffd700;
    transform: rotate(90deg);
}

/* الفوتر */
.footer {
    background: linear-gradient(135deg, #0a4a7a, #1676b6);
    padding: 50px 20px;
    color: white;
    position: relative;
    overflow: hidden;
    border-top: 3px solid #ffd700;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.03"><path fill="%23ffd700" d="M50 10L60 40H90L65 60L75 90L50 70L25 90L35 60L10 40H40Z"/></svg>');
    background-size: 100px 100px;
    opacity: 0.1;
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-logo {
    height: 80px;
    margin-bottom: 30px;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.social-link {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.social-link:hover::before {
    transform: scale(1);
}

.social-link.facebook {
    background-color: #3b5998;
}

.social-link.linkedin {
    background-color: #0077b5;
}

.social-link.instagram {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

.social-link.tiktok {
    background-color: #000;
}

.social-link.youtube {
    background-color: #ff0000;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-copyright {
    margin-top: 30px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    font-family: 'Tajawal', sans-serif;
}

.developer-link {
    color: #ffd700;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
}

.developer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: width 0.3s ease;
}

.developer-link:hover {
    color: #ffeb3b;
}

.developer-link:hover::after {
    width: 100%;
}

/* شات بوت المساعدة الطبية */
.chatbot-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.chatbot-button {
    background-color: #0a4a7a;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(32, 18, 233, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chatbot-button:hover {
    background-color: #0d5a8f;
    transform: scale(1.1);
}

.chatbot-button i {
    pointer-events: none;
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 350px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: none;
    flex-direction: column;
    max-height: 500px;
    color: #333;
}

.chatbot-header {
    background-color: #0a4a7a;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-title {
    font-weight: bold;
    font-size: 18px;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.chatbot-messages {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    line-height: 1.4;
    font-size: 14px;
    position: relative;
}

.bot-message {
    align-self: flex-start;
    background-color: #e3f2fd;
    color: #0a4a7a;
    border-top-left-radius: 5px;
}

.user-message {
    align-self: flex-end;
    background-color: #0a4a7a;
    color: white;
    border-top-right-radius: 5px;
}

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.quick-reply {
    background-color: #e3f2fd;
    color: #0a4a7a;
    border: none;
    border-radius: 15px;
    padding: 5px 10px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-reply:hover {
    background-color: #bbdefb;
}

.chatbot-input {
    display: flex;
    padding: 10px;
    background-color: white;
    border-top: 1px solid #eee;
}

.chatbot-input input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
}

.chatbot-input button {
    background-color: #0a4a7a;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-left: 10px;
    cursor: pointer;
}

.disease-info {
    background-color: #f9f9f9;
    border-left: 3px solid #0a4a7a;
    padding: 10px;
    margin-top: 5px;
    border-radius: 0 5px 5px 0;
    font-size: 13px;
}

.disease-info h4 {
    margin: 5px 0;
    color: #0a4a7a;
}

.disease-info p {
    margin: 5px 0;
}

.typing-indicator {
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background-color: #0a4a7a;
    border-radius: 50%;
    margin: 0 2px;
    opacity: 0.4;
    animation: typingAnimation 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) {
    animation-delay: 0s;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingAnimation {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

/* سحابة الشات بوت */
.chatbot-bubble {
    position: fixed;
    bottom: 90px;
    left: 30px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #0a4a7a;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    max-width: 250px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    pointer-events: none;
    font-family: 'Tajawal', sans-serif;
}

.chatbot-bubble.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.chatbot-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 20px;
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.9) transparent transparent;
}

/* زر إغلاق سحابة الشات بوت */
.close-bubble {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #0a4a7a;
    color: white;
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
}

/* أنيميشن لـ "Podcast" في العنوان */
.podcast-highlight {
    color: #ffeb3b;
    text-shadow: 0 0 10px rgba(255, 235, 59, 0.7);
    animation: pulseHighlight 2s infinite;
    font-family: 'Montserrat', sans-serif;
}

@keyframes pulseHighlight {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 235, 59, 0.7);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 235, 59, 0.9);
    }
}

/* تباين في الخطوط */
.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

.font-tajawal {
    font-family: 'Tajawal', sans-serif;
}

.font-neon {
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
    color: #ffd700;
}

/* تحسينات للتمرير السلس */
html {
    scroll-behavior: smooth;
}

/* منع مشاكل التمرير على iOS */
body {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
}

/* إصلاح مشكلة التمرير المفاجئ */
.main-container {
    overflow-anchor: none;
}

/* تحسينات للأجهزة المحمولة */
@media (max-width: 768px) {
    .navbar {
        height: 70px;
        padding: 0 15px;
    }
    
    .logo {
        height: 60px;
    }
    
    .main-title {
        font-size: 3rem;
        padding: 0 20px;
    }
    
    .sub-text {
        font-size: 1.1rem;
    }
    
    .scroll-indicator {
        top: 70px;
        height: 3px;
    }
    
    .announcement-bar {
        font-size: 0.9rem;
        padding: 10px 15px;
    }
    
    .board-title, .section-title, .podcast-title {
        font-size: 2.5rem;
    }
    
    .department-title {
        font-size: 2rem;
    }
    
    .member-card {
        width: 100%;
        max-width: 280px;
    }
    
    .member-image {
        height: 200px;
    }
    
    .chatbot-window {
        width: 300px;
        max-height: 400px;
    }
    
    .chatbot-bubble {
        bottom: 80px;
        left: 20px;
        right: 20px;
        max-width: none;
        margin: 0 auto;
        font-size: 0.8rem;
    }
    
    .chatbot-bubble::after {
        display: none;
    }
    
    .sidebar {
        width: 85%;
    }
    
    .footer-social {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .medical-flower {
        opacity: 0.4;
        width: 400px;
        height: 400px;
    }
    
    .medical-symbol {
        width: 70px;
        height: 70px;
    }
    
    .sparkle, .color-sparkle {
        opacity: 0.7;
    }
    
    .moving-text {
        font-size: 3rem;
    }
    
    .microphone {
        font-size: 4rem;
    }
    
    .audio-visualizer {
        height: 50px;
    }
    
    .audio-bar {
        width: 6px;
    }
    
    @keyframes audioBar {
        0%, 100% {
            height: 8px;
        }
        50% {
            height: 50px;
        }
    }
}

/* تحسينات لأجهزة الكمبيوتر */
@media (min-width: 1200px) {
    .main-title {
        font-size: 5.5rem;
    }
    
    .sub-text {
        font-size: 1.4rem;
        max-width: 900px;
    }
    
    .content {
        padding: 50px;
    }
    
    .member-card {
        width: 280px;
    }
    
    .member-card:hover {
        transform: translateY(-15px);
        box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
    }
    
    .footer-content {
        padding: 60px 0;
    }
}

/* تحسينات للأجهزة الصغيرة جدًا */
@media (max-width: 480px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .board-title, .section-title, .podcast-title {
        font-size: 2rem;
    }
    
    .department-title {
        font-size: 1.8rem;
    }
    
    .department-members {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .member-name {
        font-size: 1.2rem;
    }
    
    .divider-text {
        font-size: 1.5rem;
    }
    
    .goal-card {
        min-height: 250px;
        padding: 20px;
    }
    
    .goal-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .goal-title {
        font-size: 1.3rem;
    }

    .podcast-description {
        font-size: 1rem;
    }

    .podcast-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .moving-text {
        font-size: 2rem;
    }

    .sidebar {
        width: 90%;
    }

    .microphone {
        font-size: 3rem;
    }

    .audio-visualizer {
        height: 40px;
        bottom: 25%;
    }

    .audio-bar {
        width: 4px;
    }

    @keyframes audioBar {
        0%, 100% {
            height: 5px;
        }
        50% {
            height: 40px;
        }
    }

    .footer-social {
        gap: 10px;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .footer-logo {
        height: 70px;
    }
    
    .footer-copyright {
        font-size: 0.9rem;
    }
}

/* ✅ 1. تقليل الأنيميشنات */
* {
  transition: none !important;
  animation: none !important;
}

/* ✅ 2. تحسين أداء الصور */
img {
  max-width: 100%;
  height: auto;
  display: block;
  will-change: transform;
  content-visibility: auto;
}

/* ✅ 3. تحسين الأداء عند التمرير */
body, html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  will-change: scroll-position;
  overscroll-behavior-y: auto;
}