
.dropdown-menu {
    display: none;
    opacity: 0;
    transform: translateY(10px);

    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    position: absolute;
    z-index: 1000;
    width: 212px;
}

/* ظهور القائمة عند الفتح */
.dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
    margin-top: 7px;
}

  /* تنسيق لعناصر feature-text عند الشاشات الصغيرة (أقل من 992px) */
  @media (max-width: 992px) {
    .feature-text-ar {
      margin-right: 0 !important;
    }
  }

/* تحسين شكل العناصر */
.dropdown-item {
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    padding: 10px 15px;
    cursor: pointer;
}

/* ظهور العناصر بشكل متتابع */
.dropdown-menu.show .dropdown-item {
    opacity: 1;
    transform: translateX(0);
}

/* إضافة تأخير زمني لكل عنصر */
.dropdown-menu.show .dropdown-item:nth-child(1) { transition-delay: 0.1s; }
.dropdown-menu.show .dropdown-item:nth-child(2) { transition-delay: 0.2s; }
.dropdown-menu.show .dropdown-item:nth-child(3) { transition-delay: 0.3s; }
.dropdown-menu.show .dropdown-item:nth-child(4) { transition-delay: 0.4s; }
.dropdown-menu.show .dropdown-item:nth-child(5) { transition-delay: 0.5s; }
.dropdown-menu.show .dropdown-item:nth-child(6) { transition-delay: 0.6s; }
.dropdown-menu.show .dropdown-item:nth-child(7) { transition-delay: 0.7s; }


/* تحسين التأثير عند التحويم */
.dropdown-item:hover {
    background: linear-gradient(90deg, #004085, #0067B8);
    color: #fff;
    transform: translateX(5px);
    border-radius: 5px;
    margin-right: 6px;
    margin-left: 5px;
}

/*----- */
.dropdown-men {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    position: absolute;
    z-index: 1000;
    width: 234px;
}

/* ظهور القائمة عند الفتح */
.dropdown-men.show {
margin-left: 126px;
    display: block;
    opacity: 1;
    transform: translateY(0);
    margin-top: -345px;
}

/* تحسين شكل العناصر */
.dropdown-item {
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    padding: 10px 15px;
    cursor: pointer;
}

/* ظهور العناصر بشكل متتابع */
.dropdown-men.show .dropdown-item {
    opacity: 1;
    transform: translateX(0);
}

/* إضافة تأخير زمني لكل عنصر */
.dropdown-men.show .dropdown-item:nth-child(1) { transition-delay: 0.1s; }
.dropdown-men.show .dropdown-item:nth-child(2) { transition-delay: 0.2s; }
.dropdown-men.show .dropdown-item:nth-child(3) { transition-delay: 0.3s; }
.dropdown-men.show .dropdown-item:nth-child(4) { transition-delay: 0.4s; }
.dropdown-men.show .dropdown-item:nth-child(5) { transition-delay: 0.5s; }
.dropdown-men.show .dropdown-item:nth-child(6) { transition-delay: 0.6s; }
.dropdown-men.show .dropdown-item:nth-child(7) { transition-delay: 0.7s; }

/* تحسين التأثير عند التحويم */
.dropdown-item:hover {
    background: linear-gradient(90deg, #004085, #0067B8);
    color: #fff;
    transform: translateX(5px);
    border-radius: 5px;
    margin-right: 6px;
    margin-left: 5px;
}

/*----- */

        .language-switche {
            position: relative;
            display: inline-block;
            z-index: 99999 !important; 
            margin-bottom: 10px;
            /* تأكد أن القائمة أعلى من باقي العناصر */
        }


    .globel {
        padding: 0px !important;
        color: #37373F;
        cursor: pointer;
        margin-left: 14px;
        transition: transform 0.3s ease;
    }

    .globel:hover {
        color: #37373F;
        transform: scale(1.05);
    }





        .dropdow-content {
            position: absolute;
            top: -19%;
            left: 329px;
            transform: translate(-50%, -50%) scale(0);
            background: white;
            border-radius: 15px;
            box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
            width: 150px;
            opacity: 0;
            transition: transform 0.5s ease-in-out, opacity 0.3s ease-in-out;
            overflow: hidden;
            z-index: 1001 !important; /* تأكد أن القائمة أعلى من العناصر الأخرى */
        }

        .dropdow-content a {
            display: block;
            padding: 12px;
            text-decoration: none;
            color: black;
            font-weight: bold;
            text-align: center;
            transition: background 0.3s ease;
        }

        .dropdow-content a:hover {
            background: #f0f0f0;
        }

        .language-switche.active .dropdow-content {
            transform: translate(-120%, -53%) scale(1);
            opacity: 1;
        }

.q {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    margin-left: 8px;
    border: 2px solid #1a2036;
    border-radius: 50%;
    transition: transform 0.3s ease ;
    cursor: pointer;
}

.q:hover {
    transform: scale(1.05);

}

.q a i{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    font-size: 17px;
    margin-bottom: 3px;
    margin-left: 9px !important;
    color:  #1a2036;
    text-decoration: none;
    transition: color 0.3s ease;
}
.icon:hover::before{
    content: "\f2f5"; /* كود Font Awesome لأيقونة الخروج */
}


/* الخلفية الضبابية */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 998;
}

/* نافذة تسجيل الدخول */
.login-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.2); /* لون أبيض شفاف */
    backdrop-filter: blur(10px); /* تشويش الخلفية */
    -webkit-backdrop-filter: blur(10px); /* دعم Safari */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 999;
    width: 400px;
}

.container {
            padding: 40px;
            border-radius: 20px;
            border: 8px solid linear-gradient(135deg, #00dfc4, #0088ff);
            box-shadow: -5px -5px 15px rgba(255, 255, 255, 0.1),
                5px 5px 15px rgba(0, 0, 0, 0.35),
                inset -5px -5px 15px rgba(255, 255, 255, 0.1),
                inset 5px 5px 15px rgba(0, 0, 0, 0.35);
        }

        .container .form {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            gap: 25px;
        }

        .container .form.signin,
        .container.signinForm .form.signup {
            display: none;
        }

        .container.signinForm .form.signin {
            display: flex;
        }

        .container .form h2 {
            color: white;
            font-weight: 500;
        }
        .container .form h2 i{
            color: #B49C73;
        }
        .container .form .inputBox {
            position: relative;
            width: 300px;
        }

        .container .form .inputBox input {
            padding: 12px 10px 12px 48px;
            width: 100%;
            border: none !important;
            color: black;
            font-weight: 300;
            border-radius: 25px;
            font-size: 1em;
            box-shadow: -5px -5px 15px rgba(255, 255, 255, 0.1),
                5px 5px 15px rgba(0, 0, 0, 0.35);
            transition: 0.5s;
            outline: none;
        }

        .container .form .inputBox span {
            position: absolute;
            left: 0;
            padding: 12px 10px 12px 48px;
            pointer-events: none;
            margin-top: 4px;
            font-size: 1em;
            font-weight: 300;
            transition: 0.5s;
            letter-spacing: 0.05em;
            color: #1a2036;
        }

        .container .form .inputBox input:valid~span,
        .container .form .inputBox input:focus~span {
            color: white;
            background: #806e49;
            transform: translateX(25px) translateY(-15px);;
            font-size: 0.6em;
            padding: 5px 8px 0 8px;;
            border-radius: 10px;
            letter-spacing: 0.1em;
        }



        .container .form .inputBox i {
            position: absolute;
            top: 15px;
            left: 16px;
            width: 25px;
            padding: 2px 0;
            padding-right: 8px;
            color: #806e49;
            border-right: 1px solid #1a2036;
        }

        .container .form .inputBox input[type="submit"] {
            background: #806e49;
            color: white;
            letter-spacing: 1px;
            padding: 12px 0px 6px 0px;;
            font-weight: bold !important;
            cursor: pointer;
            box-shadow: none;
        }

        .container .form p {
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.75em;
            font-weight: 300;
        }

        .container .form p a {
            font-weight: bold;
            color:  #1a2036;
        }

        .togglePassword {
            transform: translateX(277px) translateY(-26px);
            border: none !important;
        }

        .icon-container {
            position: relative;
            display: flex;
            align-items: end;
            cursor: pointer;
            flex-direction: column;
        }

        .home-icon {
            font-size: 20px;
            color: #00dfc4;
            text-shadow: 0px 4px 10px rgba(0, 223, 196, 0.7);
            transition: transform 0.3s ease, text-shadow 0.3s ease;
            animation: pulse 1.5s infinite;
        }

        .arrow-icon {
            font-size: 30px;
            color: red;
            position: absolute;
            left: 366px;
            top: -3px;
            opacity: 0;
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .icon-container:hover .home-icon {
            transform: scale(1.2);
            text-shadow: 0px 8px 20px rgba(0, 223, 196, 1);
        }

        .icon-container:hover .arrow-icon {
            opacity: 1;
            transform: translateX(10px);
        }

        @keyframes pulse {
            0% {
                transform: scale(1);
                text-shadow: 0px 4px 10px rgba(0, 223, 196, 0.7);
            }

            50% {
                transform: scale(1.1);
                text-shadow: 0px 6px 15px rgba(0, 223, 196, 1);
            }

            100% {
                transform: scale(1);
                text-shadow: 0px 4px 10px rgba(0, 223, 196, 0.7);
            }
        }

        .background-text {
            position: absolute;
            top: 7%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 80px;
            /* حجم ثابت مناسب لكل الشاشات */
            font-weight: 900;
            color: #fff;
            letter-spacing: 5px;
            background: linear-gradient(45deg, #00dfc4, #0088ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow:
                3px 3px 0px rgba(0, 0, 0, 0.8),
                6px 6px 0px rgba(0, 0, 0, 0.6),
                9px 9px 0px rgba(0, 0, 0, 0.4),
                12px 12px 15px rgba(0, 0, 0, 0.3);
            white-space: nowrap;
            z-index: -1;
            transform-style: preserve-3d;
            perspective: 500px;
        }

        .container {
            transition: transform 0.3s ease, height 0.3s ease;
        }

        .container .Form {
            opacity: 1;
            visibility: visible;
            transition: opacity 0.3s ease;
        }

        .container .Form.hidden {
            opacity: 0;
            visibility: hidden;
            position: absolute;
            transform: translateY(20px);
        }
        .close-btn{

        color: #1a2036;
        font-size: 35px;
        }
    .text_1{
        color: white !important;
        font-weight: 500 !important;
    }
    .username h2{
        margin-left: 8px;
    font-size: 17px;
    margin-bottom: -6px;
    color: #37373F;;
    }
    .username i{

    font-size: 17px;

    }
    .img{

        height: 70px;
        padding: 8px; /* ضبط الارتفاع ليتناسب مع النص */
 /* محاذاة مع النص */

    }
    .img1{

height: 70px;
padding: 8px; /* ضبط الارتفاع ليتناسب مع النص */
/* محاذاة مع النص */

}




/* تصميم القائمة الجانبية */
.custom-menu {
    position: fixed;
    top: 0;
    left: -16px;
    width: 267px;
    height: 555px;
    border-radius: 0 0 18px 0;
    background: white;
    color: black;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
    transform: translateX(-100%);
    z-index: 99999;
    padding-top: 70px;
}

/* عند فتح القائمة */
.custom-menu.active {
    transform: translateX(0);
}

/* زر إغلاق */
.custom-menu .close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: black;
    transition: 0.3s;
}

.custom-menu .close-btn:hover {
    color: #f1c40f;
}

/* تحسين تصميم القائمة */
.custom-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-menu ul li {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(58, 27, 27, 0.1);
    transition: 0.3s;
}

.custom-menu ul li a {
    color: #1a2036;
    text-decoration: none;
    font-size: 18px;
    display: flex;
    align-items: center;
}
.custom-menu ul li a:hover {
color: #806e49;
}

.custom-menu ul li a i {
    margin-right: 10px;
    margin-bottom: 9px;
}



/* زر القائمة في الأعلى */
.menu-toggle {
    position: fixed;
    top: 15px;
    left: 15px;
    font-size: 26px;
    cursor: pointer;
    background: none;
    border: none;
    color: #fff;
    z-index: 100000;
    transition: 0.3s;
}

.menu-toggle:hover {
    color: #f1c40f;
}

/* تحسين المظهر للهواتف فقط */
@media (max-width: 992px) {
    .custom-menu {
        display: block;
    }
}

@media (min-width: 992px) {
    .custom-menu {
        display: none !important;
    }
}

.user-menu-container {
    position: absolute;
    top: 10px;
    right: 20px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.custom-menu-icon {
    width: 30px;
    cursor: pointer;
    margin-right: -41px;
    margin-top: 17px;
}

.custom-menu-icon span {
    display: block;
    height: 4px;
    width: 100%;
    background-color: #1a2036;
    margin: 2px 0;
    border-radius: 221px;
    size: 22px;
}
.core{
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 252px;
    min-height: 137px;
    box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.3);
    border-radius: 9px;
    right: -38px;
    top: 50px;
    z-index: 1000;
}

.dropdown-content {
    display: none;
}

.dropdown-content.show {
    display: block;
}


.dropdown-content a{
    color: black;
    padding-left: 17px;
    text-decoration: none;
    margin-bottom: 0px;
    font-size: 14px;
}
.dropdown-content p ,.core{
    color: black;
    padding: 8px;
    text-decoration: none;
    margin-bottom: 0px;
    display: block;
    font-size: 14px;
}
.dropdown-content p{
padding-left: 16px;
padding-top: 15px;
}
.core
{
    text-align: center;
    font-size: 46px !important;
}

.core:hover {
    background-color: #f1f1f1;
    border-radius: 0 0 20px 20px;
}

.custom-dropdown {
    position: relative;
    display: inline-block;
}

.custom-dropdown-btn {
    background-color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 20px;
    font-size: 14px;
    padding-top: 3px;
    transform: translateX(106px) translateY(-1px);
}

.custom-dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 120px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 0px 0px 9px 9px;
    z-index: 1000;
    padding: 10px;
}
.dropdown-item .icon-fixed {
    width: 20px !important; /* أو حسب حجم الأيقونة */
    text-align: center !important;
    margin-right: 10px !important; /* مسافة بين الأيقونة والنص */
    font-size: 16px !important; /* حجم موحد */
    transform: translateY(-3px) !important; /* ضبط عمودي خفيف */
}
.custom-dropdown-content a {
    color: black;
    padding: 8px;
    text-decoration: none;
    display: block;
    font-size: 14px;
}

.custom-dropdown-content a:hover {
    background-color: #f1f1f1;

}
.hr{
    margin-top: 1px !important;
    margin-bottom: 8px !important;
    border: 0;
    border-top: 1px solid black;
}
.hrr{
    margin-top: 1px !important;
    margin-bottom: 8px !important;
    border: 0;
    border-top: 1px solid black;
}
.header-container { 
    position: fixed; /* تثبيت العنصر */
    top: 0; /* يبقى في أعلى الصفحة */
    left: 0;
    width: 100%; /* يغطي العرض بالكامل */
    z-index: 1000; /* يجعله فوق جميع العناصر */
    background-color: #fff; /* أضف خلفية لتجنب الشفافية */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* ظل خفيف */
}
body {
    padding-top: 70px;/* حسب ارتفاع الهيدر عندك */
}
            .a{
                width: 30px !important;
                height: 30px !important;
                background: black;
            }
.forgot{
    margin-top: 6px;
    color: #1a2036;
    font-size: 0.75em;
    margin-right: 21px;
    left: 11px;
    float: right;
    font-weight: bold;
    line-height: 16px;

}
