html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.swiper {
    width: 100%;
    height: 100%;
}
/* الأقسام داخل السلايدر */
.swiper-slide {
    width: 100%;
    height: 100vh;
    overflow-y: auto; /* يسمح بالسكرول داخل السلايد إذا كان المحتوى طويلاً */
    overflow-x: hidden;
    flex-direction: column;
    display: flex;
    overscroll-behavior: contain;
}

/* خلفية مشتركة لجميع الصفحات ما عدا الهيرو */
.swiper-slide:not(#hero) {
    background-image: 
        linear-gradient(rgba(102, 45, 145, 0.1), rgba(102, 45, 145, 0.1)),
        url('../assets/images/backg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* التنسيق الأساسي للنقاط */
.swiper-pagination-bullet {
    background: #fff !important;
    opacity: 0.5;
    width: 12px;
    height: 12px;
    position: relative;
    margin-right: 20px !important; /* تحريك النقاط لليمين قليلاً */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* أنيميشن أكثر سلاسة */
}

/* حالة النشاط */
.swiper-pagination-bullet-active {
    background: #662d91 !important;
    opacity: 1;
    transform: scale(1.2); /* تكبير بسيط للنقطة النشطة */
}

/* تنسيق اسم السيكشن (Tooltip) */
.swiper-pagination-bullet::after {
    content: attr(data-name);
    font-family: "Teko", sans-serif;
    position: absolute;
    right: 35px; /* زيادة المسافة قليلاً ليعطي مساحة للأنيميشن */
    top: 50%;
    transform: translateY(-50%) translateX(10px); /* البداية مزاحة قليلاً للأنيميشن */
    background: rgba(102, 45, 145, 0.95);
    color: #fff;
    padding: 6px 14px; /* تكبير البادينج */
    border-radius: 6px;
    font-size: 15px; /* تكبير حجم الخط كما طلبت */
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease; /* أنيميشن الظهور */
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); /* إضافة ظل خفيف */
}

/* إظهار الاسم وعمل أنيميشن عند التأشير (Hover) */
.swiper-pagination-bullet:hover {
    opacity: 1;
    transform: scale(1.3); /* تكبير النقطة عند الوقوف عليها */
}

.swiper-pagination-bullet:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0); /* حركة دخول من اليمين لليسار */
}