        /* Hero Section */
/* ====== Hero Section Modern ====== */
.research-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* تأثير بارالاكس */
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    isolation: isolate;
}

/* Overlay متحرك / ديناميكي */
.hero-overlay-modern {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(0,0,0,0.3) 0%,
        rgba(0,0,0,0.5) 50%,
        rgba(0,0,0,0.1) 100%);
    z-index: 1;
    backdrop-filter: brightness(0.9);
}

/* حاوية المحتوى */
.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 6rem 1.5rem;
}

.hero-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* العنوان الرئيسي */
.hero-title {
    font-size: clamp(2.1rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #a0c0ff);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* الوصف */
.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* إحصائيات سريعة */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0 2.5rem;
}
.stat-item {
    text-align: center;
}
.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #8bb5ff);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
.stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* مربع البحث المتطور */
.hero-search-modern {
    margin-top: 1rem;
}
.search-form-advanced {
    max-width: 650px;
    margin: 0 auto;
}
.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    border-radius: 70px;
    border: 1px solid rgba(255,255,255,0.25);
    transition: all 0.3s;
}
.search-input-group:focus-within {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.6);
    box-shadow: 0 0 20px rgba(255,255,255,0.1);
}
.search-icon {
    position: absolute;
    left: 20px;
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    pointer-events: none;
}
.search-input-field {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1rem 1rem 3rem;
    font-size: 1rem;
    color: white;
    outline: none;
}
.search-input-field::placeholder {
    color: rgba(255,255,255,0.6);
}
.search-submit-btn {
    background: linear-gradient(135deg, var(--maincolor), var(--secondcolor));
    border: none;
    padding: 0.7rem 1.8rem;
    margin: 6px;
    border-radius: 60px;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}
.search-submit-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
/* مؤشر التمرير */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.hero-scroll-indicator:hover {
    opacity: 1;
}
.scroll-text {
    font-size: 0.7rem;
    display: block;
    margin-bottom: 8px;
    letter-spacing: 1px;
}
.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid white;
    border-radius: 20px;
    margin: 0 auto;
    position: relative;
}
.scroll-wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}
@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    80% { opacity: 0; transform: translateX(-50%) translateY(12px); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* تحسين للشاشات الصغيرة */
@media (max-width: 768px) {
    .hero-container {
        padding: 4rem 1rem;
    }
    .hero-stats {
        gap: 1rem;
    }
    .stat-number {
        font-size: 1.5rem;
    }
    .search-input-group {
        flex-wrap: wrap;
        background: rgba(0,0,0,0.5);
        border-radius: 40px;
        padding: 6px;
    }
    .search-icon {
        display: none;
    }
    .search-input-field {
        width: 100%;
        padding: 0.8rem 1rem;
        text-align: center;
    }
    .search-submit-btn {
        width: 100%;
        justify-content: center;
        margin: 0 0 6px 0;
    }
    .hero-scroll-indicator {
        display: none;
    }
    .research-hero {
        background-attachment: scroll; /* إلغاء البارالاكس على الهاتف */
    }
}
