.elementor-24787 .elementor-element.elementor-element-6dc5a88:not(.elementor-motion-effects-element-type-background), .elementor-24787 .elementor-element.elementor-element-6dc5a88 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#0F172A;}.elementor-24787 .elementor-element.elementor-element-6dc5a88{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;margin-top:0px;margin-bottom:0px;padding:20px 0px 0px 0px;}.elementor-24787 .elementor-element.elementor-element-6dc5a88 > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}:root{--page-title-display:none;}@media(min-width:768px){.elementor-24787 .elementor-element.elementor-element-30517a9{width:100%;}}@media(max-width:1024px){.elementor-24787 .elementor-element.elementor-element-6dc5a88{padding:80px 10px 10px 10px;}}@media(max-width:767px){.elementor-24787 .elementor-element.elementor-element-6dc5a88{margin-top:0px;margin-bottom:0px;}}/* Start custom CSS for section, class: .elementor-element-6dc5a88 */.main-footer {
    background: #0f172a; /* لون داكن أساسي */
    position: relative;
    padding: 60px 20px 20px;
    font-family: 'Cairo', sans-serif; /* تأكد من استدعاء الخط في الموقع */
    direction: rtl;
    text-align: center;
    overflow: hidden;
}

/* تأثير الزجاج - Glassmorphism */
.main-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.footer-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.teacher-name {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.teacher-bio {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* تنسيق الروابط */
.footer-links {
    margin-bottom: 40px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #38bdf8; /* لون أزرق سماوي عند التحويم */
}

/* تنسيق الأيقونات */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    margin-top: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* توافق مع الموبايل */
@media (max-width: 768px) {
    .teacher-name { font-size: 1.8rem; }
    .footer-links { display: flex; flex-direction: column; gap: 15px; }
}


/* تحسين الاسم ليبرز أكثر */
.teacher-name {
    color: #ffffff;
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255,255,255,0.1); /* توهج خفيف جداً */
}

/* تحسين وضوح الوصف */
.teacher-bio {
    color: #e2e8f0; /* لون أوضح للقراءة */
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 35px;
}

/* تنسيق الروابط السريعة */
.footer-links a {
    color: #94a3b8;
    font-weight: 600;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* ضبط المسافة عند الخط السفلي */
.footer-social {
    margin-bottom: 30px; /* تقليل المسافة */
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08); /* خط أنعم */
    padding-top: 25px;
}






.main-footer {
    clear: both; /* يمنع التداخل مع العناصر العائمة */
    display: block; 
    position: relative; /* تأكد أنه ليس absolute أو fixed */
    z-index: 10; /* لضمان ظهوره فوق الخلفيات وليس فوق المحتوى */
    margin-top: 50px; /* يعطي مساحة إجبارية بينه وبين الكروت */
}/* End custom CSS */