/*
 * ملف التنسيقات الرئيسي للموقع - تم حذف أكواد العدادات
 * تم استخلاصه من وسم <style> في ملف HTML الأصلي
 */

body { 
    font-family: 'Cairo', sans-serif; 
    scroll-behavior: smooth; 
}
.hero-gradient { 
    /* تدرج أفضل لزيادة وضوح النصوص على الصور */
    background: linear-gradient(to bottom, rgba(0, 11, 126, 0.75), rgba(0, 11, 126, 0.4)); 
}

/* Swiper Pagination Customization */
.swiper-pagination-bullet-active { background-color: #0ea5e9 !important; }

/* تخصيص نقاط سلايدر التخصصات (رمادي مع إطار أحمر) */
#majors .swiper-pagination-bullet {
    background-color: #ffffff !important;
    border: 2px solid #ff0163 !important;
    opacity: 1 !important;
    width: 12px; height: 12px;
}
#majors .swiper-pagination-bullet-active { 
    background-color: #ff0163 !important; /* استخدام لون Accent */
    border: 2px solid #ff0163 !important;
}

/* Hero Arrows Position Fix for Mobile */
.hero-prev, .hero-next {
    top: 35% !important; /* رفع السهم للأعلى قليلاً */
    transform: translateY(-50%);
    position: absolute;
    z-index: 20;
}

/* Search Bar Animation */
#search-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out, padding 0.4s;
    opacity: 0;
    /* إزالة position: absolute ليتناسب مع مكانه الجديد في الهيدر */
    background-color: white;
    border-top: 1px solid #f3f4f6;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
#search-container.active {
    max-height: 120px;
    opacity: 1;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Modal Animation */
.modal {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    display: none; /* إخفاؤه في البداية */
}
.modal.active {
    opacity: 1;
    visibility: visible;
    display: flex; /* لعرضه في المنتصف */
}
.modal-content {
    transform: scale(0.9);
    transition: all 0.3s ease-in-out;
}
.modal.active .modal-content {
    transform: scale(1);
}

/* Floating Buttons */
.float-btn {
    position: fixed; right: 20px; width: 60px; height: 60px;
    border-radius: 50px; text-align: center; font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    color: #FFF; transition: all 0.3s ease;
}
.whatsapp-float { bottom: 20px; background-color: #25d366; }
.whatsapp-float:hover { background-color: #128C7E; transform: scale(1.1); }

.consultation-float { bottom: 90px; background-color: #ff0163; font-size: 24px; }
.consultation-float:hover { background-color: #e6005c; transform: scale(1.1); }

/* Tooltips */
.float-btn::after {
    content: attr(data-tooltip);
    position: absolute; top: 50%; right: 70px;
    transform: translateY(-50%) translateX(10px);
    background-color: #333; color: white; padding: 6px 12px;
    border-radius: 6px; font-size: 14px; font-weight: bold;
    white-space: nowrap; opacity: 0; visibility: hidden;
    transition: all 0.3s ease; pointer-events: none;
}
.float-btn:hover::after { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }

/* Dropdowns */
.dropdown-menu {
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: all 0.3s ease;
}
.group:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }

/* Mobile Submenu */
.mobile-submenu { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.mobile-submenu.open { max-height: 1000px; transition: max-height 0.5s ease-in; }
.rotate-icon { transform: rotate(180deg); }

/* Hero Text Fade Effect */
.fade-text { transition: opacity 0.5s ease-in-out; }
.opacity-0 { opacity: 0; }
/* تم حذف أكواد العدادات (stats-counter و @keyframes fadeInScale) */