/*
==============================================
   site-responsive.css — النسخة المحسّنة
   • إزالة التكرارات
   • استجابة كاملة للموبايل
   • تحسينات حديثة
==============================================
   الفهرس:
   1. المتغيرات الجذرية (CSS Variables)
   2. إعادة الضبط العام (Reset)
   3. الحاوية (Container)
   4. المكونات المشتركة
   5. الهيدر + القائمة الجوالة
   6. اللاندنج
   7. التسعير
   8. الأحداث / البطاقات
   9. قسم التواصل
  10. الفوتر
  11. النماذج (تسجيل / دخول / كلمة مرور)
  12. الرسوم المتحركة
  13. الاستجابة الكاملة (Mobile First)
==============================================
*/

/* ==========================================
   1. المتغيرات الجذرية
   ========================================== */
:root {
    /* الألوان الرئيسية */
    --main-color:        #1A9BA1;
    --main-color-alt:    #1787e0;
    --main-color-light:  #fafafa;
    --accent-color:      #F4D249;
    --secondary-color:   #2c4755;

    /* ألوان الأكاديمية */
    --academy-color:     #FBBC05;
    --academy-color-alt: #f0b54d;

    /* المسافات */
    --section-padding:       60px;
    --main-padding-top:      100px;
    --main-padding-bottom:   100px;

    /* الخلفيات */
    --section-background:    #f6f6f6;
    --body-background:       #ffffff;

    /* الانتقالات */
    --transition-fast:   0.3s ease;
    --transition-slow:   0.5s ease;

    /* الخطوط */
    --font-main: "Cairo", sans-serif;

    /* شعاع الزوايا */
    --radius-sm:  8px;
    --radius-md:  12px;
    --radius-lg:  15px;

    /* الظلال */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 12px 20px rgba(0,0,0,0.13), 0 2px 4px rgba(0,0,0,0.12);
}

/* ==========================================
   2. إعادة الضبط العام
   ========================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--body-background);
    margin: 0;
    padding: 0;
}

/* ↓ دُمجت التكرارات: كانت a و a:hover تتكرران مرتين */
a {
    text-decoration: none;
    transition: var(--transition-slow);
}

a:hover { text-decoration: none; }

a:focus,
button:focus { outline: none; }

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ==========================================
   3. الحاوية (Container)
   ========================================== */
.container {
    padding-left:  15px;
    padding-right: 15px;
    margin-left:   auto;
    margin-right:  auto;
    width: 100%;
}

@media (min-width: 576px)  { .container { max-width: 540px; } }
@media (min-width: 768px)  { .container { max-width: 750px; } }
@media (min-width: 992px)  { .container { max-width: 970px; } }
@media (min-width: 1200px) { .container { max-width: 1170px; } }

/* ==========================================
   4. المكونات المشتركة
   ========================================== */

/* — 4.1 القسم العام — */
section,
.section-t-space { padding-top: 70px; }
.section-b-space  { padding-bottom: 70px; }
.large-section    { padding: 120px 0; }
.p-t-0            { padding-top: 0; }

/* — 4.2 الخط الفاصل — */
hr.style1 {
    width: 75px;
    height: 3px;
    margin-top: 13px;
    background-color: var(--main-color);
    border: none;
    text-align: center;
}

/* — 4.3 العنوان الرئيسي (main-title) — */
.main-title {
    text-transform: uppercase;
    margin: 0 auto 80px;
    border: 2px solid black;
    padding: 10px 20px;
    font-size: 30px;
    width: fit-content;
    position: relative;
    z-index: 1;
    transition: var(--transition-fast);
}

.main-title::before,
.main-title::after {
    content: "";
    width: 12px;
    height: 12px;
    background-color: var(--main-color);
    position: absolute;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.main-title::before { left: -30px; }
.main-title::after  { right: -30px; }

.main-title:hover::before { z-index: -1; animation: left-move 0.5s linear forwards; }
.main-title:hover::after  { z-index: -1; animation: right-move 0.5s linear forwards; }
.main-title:hover {
    color: white;
    border-color: white;
    transition-delay: 0.5s;
}

/* — 4.4 العنوان الخاص (special-heading) — */
.special-heading {
    color: #ebeced;
    font-size: 50px;
    font-weight: 600;
    letter-spacing: -3px;
    margin-top: 0;
    text-align: left;
}

.special-heading + p {
    margin: -30px 0 0;
    font-size: 15px;
    text-align: center;
    color: #797979;
}

/* — 4.5 title-one — */
.title-one {
    text-align: center;
    width: min(100%, 980px);
    margin: 60px auto;
    text-transform: uppercase;
    display: grid;
    grid-template-columns: 1fr max-content 1fr;
    gap: 15px;
    align-items: center;
    font-size: 14px;
    color: #555;
}

.title-one::before,
.title-one::after {
    content: "";
    border-top: 1px solid var(--main-color);
    border-bottom: 1px solid var(--main-color);
    height: 5px;
}

/* — 4.6 main-heading — */
.main-heading { text-align: center; }

.main-heading h2 {
    font-weight: normal;
    font-size: 40px;
    position: relative;
    margin-bottom: 70px;
    text-transform: uppercase;
}

/* ↓ دُمجت ::before و ::after لـ main-heading h2 باستخدام الخصائص المشتركة */
.main-heading h2::before,
.main-heading h2::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.main-heading h2::before {
    height: 2px;
    background-color: #333;
    bottom: -30px;
    width: 120px;
}

.main-heading h2::after {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #333;
    bottom: -38px;
    background-color: white;
}

.main-heading p {
    width: 550px;
    max-width: 100%;
    margin: 0 auto 100px;
    line-height: 2;
    color: #777;
}

/* — 4.7 النقاط الزخرفية — */
.spikes { position: relative; }
.spikes::after {
    content: "";
    position: absolute;
    right: 0;
    width: 100%;
    height: 30px;
    z-index: 1;
    background-image:
        linear-gradient(135deg, white 25%, transparent 25%),
        linear-gradient(225deg,  white 25%, transparent 25%);
    background-size: 30px 30px;
}

.dots {
    background-image: url("../imgs/dots.png");
    height: 186px;
    width: 204px;
    background-repeat: no-repeat;
    position: absolute;
}
.dots-up   { top: 200px;    right: 0; }
.dots-down { bottom: 200px; left: 0; }

/* ==========================================
   5. الهيدر + القائمة
   ========================================== */
.header {
    background-color: var(--main-color);
    position: relative;
    box-shadow: 0 0 10px #ddd;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

.header .logo { width: 90px; }

/* — القائمة الرئيسية — */
.header .main-nav {
    display: flex;
    margin-left: auto;
}

.header .main-nav > li > a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90px;
    position: relative;
    color: white;
    padding: 0 30px;
    overflow: hidden;
    font-size: 22px;
    font-weight: bold;
    transition: var(--transition-fast);
}

.header .main-nav > li > a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 6px;
    background-color: var(--accent-color);
    bottom: 0;
    left: -100%;
    transition: var(--transition-fast);
}

.header .main-nav > li > a:hover::before { left: 0; }

/* — ميجا منيو — */
.header .mega-menu {
    position: absolute;
    width: 10%;
    padding: 30px;
    background-color: white;
    z-index: -1;
    display: flex;
    gap: 40px;
    top: calc(100% + 5px);
    opacity: 0;
    transition: top var(--transition-fast), opacity var(--transition-fast);
}

.header .main-nav > li:hover .mega-menu {
    opacity: 1;
    z-index: 100;
    top: calc(100% + 1px);
}

/* — أزرار الحساب — */
/* ↓ دُمجت الخصائص المشتركة بين li:first-child و li:last-child */
.header .account ul {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header .account ul li {
    padding: 12px 25px;
    border-radius: var(--radius-lg);
}

.header .account ul li:first-child {
    border: 1px solid white;
}

.header .account ul li:first-child a { color: white; }

.header .account ul li:last-child {
    background-color: var(--accent-color);
}

.header .account ul li:last-child a { color: black; }

/* — زر الهامبرغر (موبايل) — */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: var(--transition-fast);
}

.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================
   6. اللاندنج
   ========================================== */
.landing { position: relative; }

.landing::before {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ececec;
    z-index: -1;
    transform: skewY(-6deg);
    transform-origin: top left;
}

.landing .container {
    min-height: calc(50vh - 72px);
    display: flex;
    align-items: center;
    padding-bottom: 120px;
    gap: 40px;
}

.landing .text { flex: 1; }

.landing .text h1 {
    font-size: 40px;
    margin: 0;
    letter-spacing: -2px;
}

.landing .text p {
    font-size: 23px;
    line-height: 1.7;
    margin: 5px 0 0;
    color: #666;
    max-width: 500px;
}

/* ↓ دُمجت قواعد .landing .video المتكررة */
.landing .video {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex: 1;
}

.landing .video video {
    width: 100%;
    border-radius: var(--radius-lg);
    margin-top: 100px;
    animation: up-and-down 5s linear infinite;
}

.go-down {
    color: var(--main-color);
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    transition: var(--transition-fast);
}

.go-down:hover { color: var(--main-color-alt); }
.go-down i     { animation: bouncing 1.5s infinite; }

/* ==========================================
   7. التسعير
   ========================================== */
.pricing {
    padding: var(--main-padding-top) 0 var(--main-padding-bottom);
    position: relative;
    background-color: var(--section-background);
}

.pricing .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.pricing .box {
    position: relative;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-fast);
    background: white;
    text-align: center;
    z-index: 1;
}

/* ↓ دُمجت ::before و ::after لـ pricing .box */
.pricing .box::before,
.pricing .box::after {
    content: "";
    width: 0;
    height: 50%;
    background-color: #f6f6f6;
    position: absolute;
    z-index: -1;
    transition: var(--transition-fast);
}

.pricing .box::before { left: 0;  top: 0; }
.pricing .box::after  { right: 0; bottom: 0; }

.pricing .box:hover::before,
.pricing .box:hover::after { width: 100%; }

@media (min-width: 1200px) {
    .pricing .box.popular { top: -20px; }
}

.pricing .box.popular .label {
    position: absolute;
    writing-mode: vertical-rl;
    background-color: var(--main-color);
    color: white;
    font-weight: bold;
    padding: 10px 10px 35px;
    font-size: 18px;
    right: 20px;
    width: 40px;
}

.pricing .box.popular .label::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    border-style: solid;
    border-color: transparent transparent white;
    border-width: 20px;
}

.pricing .box .title {
    font-weight: bold;
    margin: 30px 0;
    font-size: 25px;
    letter-spacing: -1px;
}

.pricing .box img {
    width: 80px;
    margin-bottom: 30px;
}

.pricing .box .price   { margin-bottom: 20px; }

.pricing .box .amount {
    display: block;
    font-size: 60px;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--main-color);
}

.pricing .box .time { color: #777; }

.pricing .box ul    { text-align: left; }

.pricing .box ul li {
    padding: 20px;
    border-top: 1px solid #eee;
}

.pricing .box ul li::before {
    font-family: "Font Awesome 5 Free";
    content: "\f00c";
    margin-right: 10px;
    font-weight: 900;
    color: var(--main-color);
}

.pricing .box a {
    display: block;
    width: fit-content;
    border: 2px solid var(--main-color);
    color: var(--main-color);
    margin: 30px auto 40px;
    padding: 15px 20px;
    border-radius: 6px;
    font-weight: bold;
    transition: var(--transition-fast);
}

.pricing .box a:hover {
    background-color: var(--main-color);
    border-color: var(--main-color);
    color: white;
}

/* ==========================================
   8. الأحداث / البطاقات
   ========================================== */
/* ↓ دُمجت .events المتكررة في قاعدة واحدة */
.events {
    padding: var(--main-padding-top) 0 var(--main-padding-bottom);
    position: relative;
    background: #f8f9fa;
}

.events .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.events img { max-width: 450px; }

.events .title {
    text-align: center;
    margin: 40px 0 0;
    font-size: 30px;
}

.events .description {
    text-align: center;
    line-height: 1.7;
    font-size: 19px;
    color: #777;
}

.card {
    border-radius: var(--radius-lg);
    transition: var(--transition-fast);
}

.card:hover { transform: translateY(-5px); }
.card h5    { color: var(--main-color); }

/* ==========================================
   9. التواصل
   ========================================== */
.contacts {
    padding: var(--section-padding) 0;
    background-color: var(--main-color);
}

.contacts .info {
    padding: var(--section-padding) 0;
    text-align: center;
}

.contacts .info .label {
    font-size: 35px;
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: -2px;
    margin-bottom: 15px;
}

.contacts .info .link {
    font-size: 25px;
    font-weight: 500;
    color: black;
    background-color: var(--accent-color);
    border: 1px solid;
    margin-top: 200px;
    padding: 10px 34px;
    border-radius: var(--radius-lg);
    width: 400px;
    max-width: 100%;
}

/* — بطاقة التواصل — */
.contact {
    padding: 80px 0;
    background-color: #f7f7f7;
}

.contact .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.contact-image {
    flex: 1;
    text-align: right;
}

.contact-image img {
    width: 100%;
    max-width: 500px;
}

.contact-text { flex: 1; }

.contact-card h2 {
    color: var(--main-color);
    margin-bottom: 15px;
}

.contact-card p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* ↓ دُمجت .item a و .item i في مجموعة واحدة */
.item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.item i { color: var(--main-color); font-size: 18px; }

.item a {
    color: var(--main-color);
    font-weight: 600;
}

.item a:hover { text-decoration: underline; }

.note { margin-top: 20px; }

/* ==========================================
   10. الفوتر
   ========================================== */
.footer {
    background-color: black;
    color: white;
    padding: 30px 10px;
    text-align: center;
    font-size: 18px;
}

.footer .container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 50px;
    text-align: center;
}

.footer span {
    font-weight: bold;
    color: var(--main-color);
}

/* ==========================================
   11. النماذج (تسجيل / دخول / كلمة مرور)
   ========================================== */
.auth-container {
    width: min(450px, 100%);
    margin: 60px auto;
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
   
}

.auth-header {
    background: var(--main-color);
    color: #fff;
    text-align: center;
    padding: 18px;
    font-size: 20px;
    font-weight: 600;
}

.auth-body { padding: 25px; }

.auth-link {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: var(--main-color);
}

.auth-link:hover { text-decoration: underline; }

/* ↓ حُذف .register-page { margin-right: 300px } الذي كان يكسر الموبايل */
.register-page {
    background-color: #f5f5f5;
    padding: 50px 15px;
    direction: rtl;
    margin-right:400px;
    
}

.theme-card {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid #eee;
}

.register-page h3 {
    text-align: center;
    background-color: var(--main-color);
    color: #fff;
    padding: 15px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    margin-bottom: 0;
}

.page-title h6 {
    color: var(--main-color);
    margin-bottom: 15px;
}

.form-group { margin-bottom: 12px; }

.form-control {
    width: 100%;
    height: 45px;
    border-radius: var(--radius-sm);
    border: 1px solid #ddd;
    padding: 0 12px;
    font-size: 14px;
}

.form-control:focus {
    border-color: var(--main-color);
    outline: none;
    box-shadow: 0 0 4px rgba(26,155,161,0.3);
}

.password-field { position: relative; }

.password-field span {
    position: absolute;
    left: 10px;
    top: 12px;
    cursor: pointer;
    color: #888;
}

.btn-submit {
    width: 200px;
    height: 45px;
    background: var(--main-color);
    border: none;
    color: #fff;
    border-radius: var(--radius-sm);
    margin: 20px auto;
    display: block;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-submit:hover { background: #157a80; }

.divider {
    text-align: center;
    margin: 15px 0;
    color: #999;
    position: relative;
}

/* ↓ دُمجت الخصائص المشتركة لـ divider::before و divider::after */
.divider::before,
.divider::after {
    content: "";
    position: absolute;
    width: 40%;
    height: 1px;
    background: #ddd;
    top: 50%;
}

.divider::before { right: 0; }
.divider::after  { left: 0; }

.google-btn {
    width: 100%;
    height: 45px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
}

.google-btn img { width: 20px; }

/* ↓ دُمجت .login-link a و .login-link */
.login-link {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.login-link a { color: var(--main-color); }
.login-link a:hover { text-decoration: underline; }

/* ==========================================
   12. الرسوم المتحركة
   ========================================== */
@keyframes up-and-down {
    0%, 100% { top: 0; }
    50%       { top: -50px; }
}

@keyframes bouncing {
    0%, 10%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40%, 60%                      { transform: translateY(-15px); }
}

@keyframes left-move {
    50%  { left: 0; width: 12px; height: 12px; }
    100% { left: 0; border-radius: 0; width: 50%; height: 100%; }
}

@keyframes right-move {
    50%  { right: 0; width: 12px; height: 12px; }
    100% { right: 0; border-radius: 0; width: 50%; height: 100%; }
}

@keyframes moving-arrow {
    100% { transform: translateX(10px); }
}

@keyframes flashing {
    0%, 40% { opacity: 1; }
    100%    { opacity: 0; width: 200%; height: 200%; }
}

/* ==========================================
   13. الاستجابة الكاملة — Mobile First
   ========================================== */

/* ~~~ أجهزة موبايل صغيرة (< 480px) ~~~ */
@media (max-width: 480px) {

    /* الهيدر */
  

    /* ✅ حاوية الهيدر: ترتيب أفقي محكم بدون تفاف */
    .header .container {
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        gap: 0;
        height: 80px;
    }

    /* ✅ ظهور زر الهامبرغر — يوضع في اليسار (بداية السطر في RTL) */
    .hamburger {
        display: flex;
        order: 1; /* يسار في RTL */
        flex-shrink: 0;
        margin-inline-start: 8px;
        padding: 8px;
        z-index: 10;
    }

    /* ✅ الشعار: تصغير وتمركز */
    .header .logo-link {
        order: 2;
        flex: 1;
        display: flex;
        margin-right:auto;

       
    }

    .header .logo {
        width: 55px; /* تصغير من 90px */
        height: 100px;
    }

    /* ✅ أزرار الحساب: تظهر على اليمين بحجم مضغوط */
    .header .account {
        display: flex !important; /* إلغاء display:none */
        order: 3; /* يمين في RTL */
        flex-shrink: 0;
    }

        .header .account ul {
            gap: 6px;
        }

            .header .account ul li {
                padding: 7px 12px;
                font-size: 13px;
                border-radius: var(--radius-lg);
            }

    /* ✅ القائمة الرئيسية: تنسدل من الأعلى عند الضغط */
    .header .main-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 65px; /* يتطابق مع ارتفاع الهيدر */
        right: 0;
        left: 0;
        background-color: var(--main-color);
        z-index: 999;
        padding: 10px 0;
        box-shadow: var(--shadow-md);
    }

        .header .main-nav.open {
            display: flex;
        }

        .header .main-nav > li > a {
            height: auto;
            padding: 14px 20px;
            font-size: 18px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        }

            .header .main-nav > li > a::before {
                display: none;
            }

    /* اللاندنج */
    .landing .text h1   { font-size: 22px; letter-spacing: -1px; }
    .landing .text p    { font-size: 15px; }

    /* التسعير */
    .pricing .box .amount { font-size: 40px; }

    /* التواصل */
    .contacts .info .label { font-size: 22px; }
    .contacts .info .link  { font-size: 16px; padding: 8px 20px; }

    /* الفوتر */
    .footer .container { grid-template-columns: 1fr; gap: 15px; }

    /* النماذج */
    .auth-container { margin: 20px auto; }
}

/* ~~~ موبايل عام (< 768px) ~~~ */
@media (max-width: 767px) {

    /* العناوين */
    .special-heading       { font-size: 40px; }
    .special-heading + p   { margin-top: -20px; }
    .main-heading h2        { font-size: 28px; }
    .main-title             { font-size: 22px; margin-bottom: 50px; }

    /* --- الهيدر --- */
    /* --- الهيدر --- */
    .hamburger {
        display: flex;
    }

    .header .container {
        flex-wrap: nowrap;
    }

    .header .main-nav {
        
    }

    .header .account {
        display: none;
    }

    /* --- اللاندنج --- */
    .landing .container {
        flex-direction: column;
        padding-bottom: 60px;
        padding-top: 60px;
        text-align: center;
        min-height: auto;
    }

    .landing .text p { max-width: 100%; }

    .landing .video video {
        margin-top: 30px;
        animation: none;
    }

    /* --- التسعير --- */
    .pricing .container {
        grid-template-columns: 1fr;
    }

    .pricing .box.popular { top: 0; }

    /* --- الأحداث --- */
    .events img { display: none; }

    /* --- التواصل --- */
    .contact .container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .contact-image { order: -1; }

    .item { justify-content: center; }

    .contacts .info .link {
        width: 100%;
        max-width: 320px;
        margin-top: 40px;
    }

    /* --- الفوتر --- */
    .footer .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* --- النماذج --- */
    .register-page { margin-right: 0; padding: 20px 15px; }

    .btn-submit { width: 100%; }

    .auth-container { margin: 30px 15px; }
}

/* ~~~ تابلت (768px – 991px) ~~~ */
@media (min-width: 768px) and (max-width: 991px) {

    /* الهيدر */
    .header .main-nav > li > a {
        font-size: 16px;
        padding: 0 15px;
        height: 70px;
    }

    .header .account ul li { padding: 8px 15px; }

    /* اللاندنج */
    .landing .text h1 { font-size: 30px; }
    .landing .text p  { font-size: 18px; }

    /* التسعير */
    .pricing .container {
        grid-template-columns: repeat(2, 1fr);
    }

    /* الأحداث */
    .events img { display: none; }

    /* الفوتر */
    .footer .container { gap: 25px; }

    /* النماذج */
    .register-page { margin-right: 0; }

 
    .auth-page {
        min-height: calc(100vh - 65px - 80px); /* هيدر الموبايل أصغر */
        padding: 15px 10px;
        align-items: flex-start;
    }

    .auth-page .auth-container {
        width: 100%;
        max-width: 100%;
    }

    .auth-page .auth-header {
        padding: 14px;
        font-size: 17px;
    }

    .auth-page .auth-body {
        padding: 20px 15px;
    }

    /* منع iOS zoom التلقائي */
    .auth-page .form-control {
        font-size: 16px;
        height: 44px;
    }

    .auth-page .btn-submit {
        width: 100%;
        height: 46px;
        font-size: 15px;
        margin: 15px 0 10px;
    }

    .auth-page .auth-link {
        font-size: 13px;
        margin-top: 12px;
    }

    .auth-page .alert-danger {
        font-size: 13px;
        padding: 10px 12px;
        margin-bottom: 12px;
    }
    
  
}

/* ~~~ شاشات كبيرة (992px – 1199px) ~~~ */
@media (min-width: 992px) and (max-width: 1199px) {

    .header .main-nav > li > a { font-size: 18px; padding: 0 20px; }

    .landing .text h1 { font-size: 34px; }

    .pricing .container {
        grid-template-columns: repeat(3, 1fr);
    }

    .register-page { margin-right: 0; }
}
