/*
Theme Name:  Taelim GCC Child
Theme URI: https://taelimgcc.com
Description: القالب الابن لمنصة تعليم GCC (مع تحسينات Bootstrap RTL و Font Awesome)
Author: فريق التطوير
Template: flatsome
Version: 3.0
*/

/* ========== إعدادات عامة ========== */

/* الخط الافتراضي للموقع */
body, html {
    font-family: 'Tajawal', Arial, sans-serif;
    direction: rtl;
    text-align: right;
    background-color: #f9fafb;
    color: #111827;
}

/* إصلاح الروابط */
a {
    text-decoration: none;
    color: inherit;
}
a:hover {
    color: #2563eb;
}

/* تحسين مظهر العناوين */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.4;
    color: #111827;
}

/* الأزرار الافتراضية */
.btn, button, .button {
    font-family: 'Tajawal', Arial, sans-serif;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.btn:hover, button:hover, .button:hover {
    transform: translateY(-2px);
}

/* إصلاح مكونات Bootstrap */
.container {
    max-width: 1200px;
}

/* الصور */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ✅ تخصيص الأكورديون (FAQ) */
.accordion-button {
    font-family: 'Tajawal', Arial, sans-serif;
    font-weight: 600;
}

/*************** ADD CUSTOM CSS HERE.   ***************/

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
}
.tutor-password-strength-checker .tutor-password-field {
    text-align: right;
}
/* تعديل على section-title داخل child theme */
/* نسخة معدلة للوسط فقط */
.section-title.centered {
  display: block !important;
  text-align: center !important;
}


/* ✅ تطبيق خط Tajawal فقط على النصوص والعناوين */
/*
body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
button,
a,
span,
label,
input,
textarea {
    font-family: 'Tajawal', sans-serif;
}

/* ✅ تأكيد RTL */
html,
body {
    direction: rtl;
    text-align: right;
}
*/
/* ✅ مثال: تحسين النصوص في Elementor *//*
.elementor-heading-title,
.elementor-widget-container,
.elementor-button,
.elementor-text-editor {
    font-family: 'Tajawal', sans-serif;
}
*/
/* ✅ الأيقونات لا يتم تغيير خطها، تبقى بخطها الأصلي */
/*i,
svg,
[class^='fa-'],
[class*=' fa-'],
[class^='bi-'],
[class*=' bi-'],
.dashicons,
.tutor-icon,
.tutor-dashboard-icon,
.tutor-iconic,
[class^='tutor-icon-'],
[class*=' tutor-icon-'] {
    font-family: inherit;
    font-style: normal;
    line-height: 1;
}
*/
:root {
    --primary: #2563eb;
    --secondary: #7c3aed;
    --light: #f1f5f9;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.4;
    color
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.btn-gradient {
     background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
       transform: scale(1.05);
}

.btn-outline-light {
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* ✅ الزخارف المتحركة */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    animation: floatAnim 6s ease-in-out infinite;
    z-index: 0;
}

.shape1 {
    width: 120px;
    height: 120px;
    top: -40px;
    left: 15%;
    animation-delay: 0s;
}

.shape2 {
    width: 160px;
    height: 160px;
    bottom: -60px;
    right: 20%;
    animation-delay: 2s;
}

.shape3 {
    width: 100px;
    height: 100px;
    top: 50%;
    left: -50px;
    animation-delay: 4s;
}

@keyframes floatAnim {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

/* ✅ تحسين للجوال */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
}
/* فرضه على جميع النصوص */
/* ✅ قسم CTA */
/* ✅ كلاس الخلفية فقط */
.cta-bg {
    background: linear-gradient(135deg, #1c3faa, #1ca9e6);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* ✅ كلاس الهيكل العام */
.cta-wrapper {
    min-height: 300px;
    padding: 30px 20px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* محتوى CTA */
.cta-wrapper .cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.cta-wrapper .cta-text {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 25px;
    color: #f9f9f9;
}

.cta-wrapper .cta-btn {
    display: inline-block;
    padding: 15px 35px;
    background: #fff;
    color: #1c3faa;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.cta-wrapper .cta-btn:hover {
    background: #f1f5f9;
    transform: scale(1.05);
}

/* ✅ زخارف متحركة */
.cta-shape {
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: floatAnim 6s ease-in-out infinite;
    z-index: 0;
}

.cta-shape.shape1 {
    top: -30px;
    left: 10%;
    animation-delay: 0s;
}
.cta-shape.shape2 {
    bottom: -40px;
    right: 15%;
    animation-delay: 2s;
}
.cta-shape.shape3 {
    top: 50%;
    left: -60px;
    animation-delay: 4s;
}

@keyframes floatAnim {
    0% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.1);
    }
    100% {
        transform: translateY(0px) scale(1);
    }
}
/* ✅ تحسين العرض على الهواتف */
@media (max-width: 768px) {
    .cta-wrapper {
        padding: 50px 15px; /* تقليل المسافات */
    }

    .cta-wrapper .cta-title {
        font-size: 1.6rem; /* أصغر للتابلت */
    }

    .cta-wrapper .cta-text {
        font-size: 1rem;
    }

    .cta-wrapper .cta-btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    .cta-shape {
        width: 80px;
        height: 80px; /* تصغير الزخارف */
    }
}

@media (max-width: 480px) {
    .cta-wrapper {
        padding: 40px 10px;
    }

    .cta-wrapper .cta-title {
        font-size: 1.4rem; /* حجم مناسب للجوال */
        line-height: 1.4;
    }

    .cta-wrapper .cta-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .cta-wrapper .cta-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
/* featured*/
/* ===== قسم المميزات ===== */
.features-bg {
    background: linear-gradient(180deg, #f9fafb, #ffffff);
    padding: 30px 20px;
    border-radius: 20px;
}

.features-wrapper {
    text-align: center;
    color: #111827;
    max-width: 1200px;
    margin: 0 auto;
}

.features-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.features-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 50px;
}

/* الشبكة */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* البطاقات */
.feature-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.15);
}

/* الأيقونة */
.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    font-size: 2rem;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.feature-card:hover .feature-icon {
    transform: rotate(8deg) scale(1.1);
}

/* النصوص */
.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}
.feature-card:hover .feature-title {
    color: #2563eb;
}
.feature-text {
    font-size: 1rem;
    color: #6b7280;
}

/* رسبونسف */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .features-title { font-size: 1.6rem; }
    .features-subtitle { font-size: 1rem; }
}

/* ✅ testimonials*/
/* ✅ خلفية القسم */
/* ✅ خلفية احترافية للقسم */
/* ===== قسم التقييمات (Testimonials) ===== */
/* خلفية */
/* ===== قسم التقييمات (Testimonials) ===== */
.testimonials-bg {
    background: linear-gradient(135deg, #2563eb, #7c3aed); /* أزرق → بنفسجي */
    padding: 100px 20px;
    border-radius: 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* زخارف خلفية ناعمة */
.testimonials-bg::before, .testimonials-bg::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    z-index: 0;
}
.testimonials-bg::before {
    width: 200px; height: 200px;
    top: -60px; left: 10%;
}
.testimonials-bg::after {
    width: 250px; height: 250px;
    bottom: -80px; right: 15%;
}

/* ✅ Wrapper */
.testimonials-wrapper {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ✅ العنوان */
.testimonials-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    position: relative;
}
.testimonials-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin: 12px auto 0;
    background: linear-gradient(90deg, #38bdf8, #c084fc);
    border-radius: 2px;
}

/* ✅ الوصف */
.testimonials-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 50px;
}

/* ✅ الشبكة */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* ✅ بطاقة */
.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    color: #111827;
}
.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

/* ✅ النص */
.testimonial-text {
    font-size: 1rem;
    color: #374151;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}
.testimonial-text::before {
    content: '“';
    font-size: 2rem;
    color: #2563eb;
    position: absolute;
    top: -10px;
    left: -10px;
    opacity: 0.6;
}

/* ✅ المستخدم */
.testimonial-user {
    display: flex;
    align-items: center;
    gap: 15px;
}
.testimonial-user img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #2563eb;
    transition: 0.3s ease;
}
.testimonial-card:hover .testimonial-user img {
    border-color: #7c3aed;
    transform: rotate(-4deg) scale(1.05);
}
.testimonial-user h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #111827;
}
.testimonial-user span {
    font-size: 0.9rem;
    color: #6b7280;
}

/* ===== تحسين العرض على الأجهزة ===== */

/* تابلت */
@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonials-title {
        font-size: 1.8rem;
    }
    .testimonials-subtitle {
        font-size: 1rem;
    }
}

/* موبايل */
@media (max-width: 600px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-card {
        padding: 20px;
    }
    .testimonial-user img {
        width: 50px;
        height: 50px;
    }
    .testimonials-title {
        font-size: 1.5rem;
    }
    .testimonials-subtitle {
        font-size: 0.95rem;
    }
}


/*partners*/
/* ✅ خلفية خاصة للقسم */
/* ✅ خلفية احترافية */
/* ✅ خلفية احترافية للقسم */

/*FAQ*//* ✅ الخلفية */
.faq-bg {
    background: linear-gradient(135deg, #f9fafb, #eef2ff);
    padding: 40px 20px;
    border-radius: 20px;
}

/* ✅ تغليف */
.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
    direction: rtl;
    text-align: right;
}

/* ✅ العنوان */
.faq-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    color: #111827;
}

/* ✅ الوصف */
.faq-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: #6b7280;
    margin-bottom: 40px;
}

/* ✅ العنصر */
.accordion-item {
    background: #fff;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    margin-bottom: 12px;
    transition: transform 0.2s ease;
}
.accordion-item:hover {
    transform: translateY(-3px);
}

/* ✅ زر السؤال */
.accordion-button {
    font-size: 1.1rem;
    font-weight: 600;
    background: #fff;
    color: #111827;
    padding: 18px;
    box-shadow: none !important;
    display: flex;
    flex-direction: row-reverse; /* النص يمين، الأيقونة يسار */
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

/* ✅ إلغاء سهم البوتستراب */
.accordion-button::after { content: none !important; }

/* ✅ الأيقونة */
.accordion-button::before {
    content: '+';
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    color: #2563eb;
    margin-left: auto; /* تبقى أقصى اليسار */
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

/* ✅ عند الفتح */
.accordion-button:not(.collapsed)::before {
    content: '−';
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    transform: rotate(180deg);
}

/* ✅ الزر المفتوح */
.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    font-weight: 700;
}

/* ✅ جسم الجواب */
.accordion-body {
    font-size: 1rem;
    color: #444;
    line-height: 1.7;
    padding: 20px;
    background: #fff;
}

/* ✅ موبايل */
@media (max-width: 600px) {
    .faq-title { font-size: 1.6rem; }
    .faq-subtitle { font-size: 1rem; }
    .accordion-button { font-size: 1rem; padding: 15px; }
    .accordion-button::before { width: 24px; height: 24px; font-size: 1rem; }
}

/*CTA*/
/* ✅ خلفية ختامية جذابة */

/* ✅ خلفية CTA النهائي */
.cta-final-wrapper {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    color: #fff;
    max-width: 1000px;
    margin: 0 auto 60px auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* ✅ العنوان */
.cta-final-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

/* ✅ النص */
.cta-final-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #f3f4f6;
    line-height: 1.6;
}

/* ✅ الحاوية للأزرار */
.cta-final-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ✅ زر التسجيل كطالب */
.cta-btn-primary {
    display: inline-block;
    padding: 15px 35px;
    background: #fff;
    color: #2563eb;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* ✅ زر التسجيل كمدرس */
.cta-btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
}

/* ✅ تأثيرات الـ Hover */
.cta-btn-primary:hover {
    background: #f1f5f9;
    transform: scale(1.05);
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
    color: #fff;
}

/* ✅ تحسين التابلت والجوال */
@media (max-width: 768px) {
    .cta-final-title {
        font-size: 1.8rem;
    }
    .cta-final-text {
        font-size: 1rem;
    }
    .cta-btn-primary,
    .cta-btn-secondary {
        width: 100%;
        text-align: center;
    }
}

/*contact*/
/* ✅ خلفية القسم */
.contact-wrapper {
    background: linear-gradient(135deg, #f9fafb, #eef2ff);
    padding: 30px 20px;
    border-radius: 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    direction: rtl; /* دعم العربية */
}

/* ✅ العنوان */
.contact-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111827;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 40px;
}

/* ✅ الفورم */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: right;
}

/* ✅ صف الحقول */
.contact-row {
    display: flex;
    gap: 20px;
}

.contact-row input {
    flex: 1;
}

/* ✅ الحقول */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Tajawal', sans-serif;
    background: #fff;
    color: #111827;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ✅ تأثير التركيز */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

/* ✅ الزر */
.contact-btn {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    font-weight: 700;
    padding: 15px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    opacity: 0.9;
    transform: scale(1.03);
}

/* ✅ تحسين التابلت والجوال */
@media (max-width: 768px) {
    .contact-row {
        flex-direction: column;
    }
    .contact-title {
        font-size: 1.8rem;
    }
    .contact-subtitle {
        font-size: 1rem;
    }
}
.contact-section {
    background: linear-gradient(135deg, #f9fafb, #eef2ff);
    padding: 60px 20px;
    border-radius: 20px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    direction: rtl; /* دعم العربية */
    max-width: 1100px;
    margin: 0 auto;
}

/* ✅ معلومات التواصل */
.contact-info {
    flex: 1;
}

.contact-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111827;
}

.contact-text {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 20px;
}

.contact-details {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.contact-details li {
    font-size: 1rem;
    color: #444;
    margin-bottom: 10px;
}

/* ✅ أيقونات السوشيال */
.contact-social a {
    display: inline-block;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.contact-social a:hover {
    transform: scale(1.1);
}

/* ✅ الخريطة */
.contact-map {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* ✅ تحسين التابلت والجوال */
@media (max-width: 992px) {
    .contact-section {
        flex-direction: column;
    }
    .contact-map iframe {
        height: 250px;
    }
}

/* bestudent*/

.student-register-modern {
    background: linear-gradient(135deg, #f9fafb, #eef2ff);
    padding: 30px 20px;
    border-radius: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ✅ الحاوية */
.student-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    direction: rtl;
}

/* ✅ النصوص */
.student-main-title {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 10px;
}

.student-main-desc {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* ✅ المزايا */
.student-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* ✅ على الحاسوب تكون صف أفقي */
    gap: 20px;
    margin-bottom: 25px;
}

.feature-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    width: 300px; /* ✅ عرض ثابت ليتساوى */
    transition: all 0.3s ease;
    cursor: default;
}

/* ✅ تأثير Hover */
.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

/* ✅ الأيقونة */
.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    border-radius: 50%;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

/* ✅ النصوص داخل الميزة */
.feature-text h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
}

.feature-text p {
    margin: 5px 0 0;
    font-size: 0.95rem;
    color: #6b7280;
}

/* ✅ زر التسجيل */
.student-actions {
    margin-top: 25px;
}

.student-btn-primary {
    padding: 15px 35px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
    display: inline-block;
}

.student-btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    color: #fff;
}

.student-login {
    margin-top: 15px;
    font-size: 0.95rem;
    color: #6b7280;
}

.student-login a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}
.student-login a:hover {
    text-decoration: underline;
}

/* ✅ Responsive للتابلت والجوال */
@media (max-width: 768px) {
    .student-features {
        flex-direction: column;
        align-items: center;
    }
    .feature-box {
        width: 100%;
        text-align: center;
        flex-direction: column;
    }
    .feature-text h4 {
        margin-top: 10px;
    }
}

/* ✅ خلفية القسم */
.instructor-register-modern {
    background: linear-gradient(135deg, #f9fafb, #eef2ff);
    padding: 30px 20px;
    border-radius: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ✅ الحاوية */
.instructor-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    direction: rtl;
}

/* ✅ النصوص */
.instructor-main-title {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 10px;
}

.instructor-main-desc {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* ✅ المزايا */
.instructor-features {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* ✅ يجعلها صف أفقي على الحاسوب */
    margin-bottom: 25px;
}

.feature-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    width: 300px; /* ✅ حجم ثابت ليتساوى على الحاسوب */
    transition: all 0.3s ease;
    cursor: default;
}

/* ✅ تأثير hover للمزيد من الحيوية */
.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

/* ✅ الأيقونة */
.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    border-radius: 50%;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

/* ✅ النصوص داخل الميزة */
.feature-text h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
}

.feature-text p {
    margin: 5px 0 0;
    font-size: 0.95rem;
    color: #6b7280;
}

/* ✅ الزر والرابط */
.instructor-actions {
    margin-top: 25px;
}

.instructor-btn-primary {
    padding: 15px 35px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
    display: inline-block;
}

.instructor-btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    color: #fff;
}

.instructor-login {
    margin-top: 15px;
    font-size: 0.95rem;
    color: #6b7280;
}

.instructor-login a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.instructor-login a:hover {
    text-decoration: underline;
}

/* ✅ استجابة التابلت والجوال */
@media (max-width: 768px) {
    .instructor-features {
        flex-direction: column;
        align-items: center;
    }
    .feature-box {
        width: 100%;
        text-align: center;
        flex-direction: column;
    }
    .feature-text h4 {
        margin-top: 10px;
    }
}
/* ✅ تحسين حجم صورة القسم (طالب + مدرس) */
.student-image img,
.instructor-image img {
    width: 100%;
    max-width: 480px; /* أقصى عرض مناسب */
    max-height: 320px; /* أقصى ارتفاع لمنع الطول الزائد */
    height: auto; /* يحافظ على النسبة */
    border-radius: 16px;
    object-fit: cover; /* يقص الزائد إذا كانت الصورة طويلة */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

/* ✅ على التابلت والجوال */
@media (max-width: 768px) {
    .student-image img,
    .instructor-image img {
        max-width: 100%; /* عرض كامل للجوال */
        max-height: 260px; /* ارتفاع أصغر للجوال */
    }
}
/* ✅ القسم العام */
.join-platform-section {
    background: linear-gradient(135deg, #f9fafb, #eef2ff);
    padding: 50px 20px;
    border-radius: 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* ✅ العنوان والوصف */
.join-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 10px;
}

.join-header p {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 40px;
}

/* ✅ الحاوية */
.join-options {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* ✅ كل خيار */
.join-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    padding: 25px;
    width: 100%;
    max-width: 500px;
    text-align: center;
    transition: all 0.3s ease;
}

.join-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* ✅ الصورة */
.join-image img {
    width: 100%;
    max-width: 400px;
    max-height: 250px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

/* ✅ العناوين */
.join-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
}

.join-box p {
    font-size: 1rem;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ✅ المزايا */
.join-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    text-align: right;
    direction: rtl;
}

.join-benefits li {
    background: #f9fafb;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #111827;
    text-align: center;
}

/* ✅ زر التسجيل */
.join-btn {
    display: inline-block;
    padding: 14px 35px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.2);
    text-decoration: none;
}

.join-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
    color: white;
}

/* ✅ استجابة التابلت والجوال */
@media (max-width: 992px) {
    .join-options {
        flex-direction: column;
        align-items: center;
    }
    .join-box {
        max-width: 90%;
    }
    .join-image img {
        max-height: 220px;
    }
}
.about-hero {
    background: #f9fafb;
    text-align: center;
    padding: 30px 20px;
}
.about-hero h1 {
    font-weight: 700;
    color: #111827;
}
.about-hero p {
    color: #6b7280;
    max-width: 600px;
    margin: 20px auto;
}

.about-mission .container {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding: 60px 20px;
    flex-wrap: wrap;
}
.about-mission .card {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    flex: 1 1 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-mission .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.about-team {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    padding: 30px 20px;
    text-align: center;
}
.team-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}
.team-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease;
}
.team-card:hover {
    transform: scale(1.05);
}
.team-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.about-stats {
    background: #fff;
    padding: 60px 20px;
}
.stats-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    text-align: center;
}
.stats-grid .stat h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
}
.stats-grid .stat p {
    color: #6b7280;
}

.about-cta {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    text-align: center;
    color: #fff;
    padding: 30px 20px;
}
.about-cta .btn-primary {
    display: inline-block;
    margin-top: 20px;
    background: #fff;
    color: #2563eb;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
}
.about-cta .btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
}

.icon-box {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.icon-box i {
    color: #fff;
    font-size: 1.4rem;
}
.btn-primary {
    background: #2563eb;
    border: none;
}
.text-secondary {
    color: #7c3aed !important;
}
/* نصوص Gradient */

/* الأيقونات داخل دائرة */
.icon-box {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.4rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
}
.icon-box:hover {
    transform: scale(1.1) rotate(5deg);
}

/* زر Gradient عصري */
.btn-gradient {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border: none;
    border-radius: 12px;
    padding: 12px 28px;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}
.btn-gradient:hover {
    background: linear-gradient(135deg, #1e4ed8, #6d28d9);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}
.btn-gradient:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.2);
}

/* قسم التحليلات */
.section-analytics {
    background: #f9fafb;
}

/* الأيقونات داخل دائرة */
.analytics-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}
.analytics-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

/* تحسين العناوين */
.section-analytics h2 {
    font-size: 1.9rem;
    line-height: 1.4;
}

.text-gradient {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.icon-box,
.analytics-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}
.icon-box:hover,
.analytics-icon:hover {
    transform: scale(1.1) rotate(5deg);
}
.btn-gradient {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border: none;
    border-radius: 12px;
    padding: 12px 28px;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    text-decoration: none;
    display: inline-block;
}
.btn-gradient:hover {
    background: linear-gradient(135deg, #1e4ed8, #6d28d9);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}
.section-analytics {
    background: #f9fafb;
}
/* تحسين العرض على الشاشات الصغيرة */
@media (max-width: 768px) {
    /* العناوين الكبيرة تكون أصغر قليلاً */
    .display-5 {
        font-size: 1.8rem;
        line-height: 1.4;
    }

    .display-6 {
        font-size: 1.5rem;
        line-height: 1.4;
    }

    /* تقليل المسافات العلوية والسفلية */
    section {
        padding: 50px 0 !important;
    }

    /* الصورة والنصوص تكون في وسط الشاشة */
    .hero-section img,
    .section-analytics img,
    .bg-light img {
        margin-bottom: 20px;
    }

    /* الميزات تكون عمودية مع مسافة أقل */
    .list-unstyled li {
        gap: 10px;
    }

    .icon-box,
    .analytics-icon {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }

    /* جعل النصوص في الوسط على الهاتف */
    .text-center,
    .text-md-start {
        text-align: center !important;
    }

    /* الأزرار تأخذ العرض الكامل على الموبايل */
    .btn-gradient {
        width: 100%;
        text-align: center;
    }

    /* داخل التحليلات، الميزات تكون فوق بعضها */
    .section-analytics .row.g-4 > div {
        width: 100%;
    }
}
/* صفحة تسجيل الطالب */
.student-register-section {
    background: #f9fafb;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    font-family: 'Tajawal', sans-serif;
}

.register-container {
    background: #fff;
    max-width: 600px;
    width: 100%;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.register-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.register-header h1 {
    font-weight: 700;
    font-size: 28px;
    color: #111827;
    margin-bottom: 10px;
}

.register-header p {
    color: #6b7280;
    font-size: 16px;
    margin-bottom: 30px;
}

/* تخصيص نموذج Tutor LMS */
.register-form-wrapper form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.register-form-wrapper label {
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
    display: block;
}

.register-form-wrapper input[type='text'],
.register-form-wrapper input[type='email'],
.register-form-wrapper input[type='password'] {
    width: 100%;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
    font-size: 15px;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.register-form-wrapper input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    outline: none;
}

.register-form-wrapper button[type='submit'] {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.register-form-wrapper button[type='submit']:hover {
    background: linear-gradient(135deg, #1e4ed8, #6d28d9);
    transform: translateY(-2px);
}

/* رسائل الأخطاء/النجاح */
.register-form-wrapper .tutor-success-msg,
.register-form-wrapper .tutor-error-msg {
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 15px;
}

.register-form-wrapper .tutor-success-msg {
    background: #ecfdf5;
    color: #065f46;
}

.register-form-wrapper .tutor-error-msg {
    background: #fef2f2;
    color: #991b1b;
}

.absolute-footer, html {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}