:root {
    --color-background: #141414;
    --color-background2:#eeee;
    --color-text-white: #FFFFFF;
    --color-text-dark: #141414;
    --color-placeholder: #C4C4C4;
    --color-placeholder2: #141414;
    --color-light-black: #29384D;
    --color-background-input-field: #242424;
    --color-background-input-field2: #ffff;
    --color-border-1: #383838;
    --color-border-2: #b4a7a7;
    --color-actions: #38E078;
    --color-actions2: #e32828;
    --color-border: #E5E8EB;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    box-sizing: border-box;
    background-color: var(--color-background2);
    color: var(--color-text-dark);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    height: 65px;
    box-shadow: 0 0 0.8px 0 var(--color-border2);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 64px;
}

.nav-links {
    display: flex;
    gap: 24px;
    padding: 0;
    list-style: none;
}

.nav-link a {
    text-decoration: none;
    color: var(--color-text-dark);
}

.nav-link a:hover {
    color: var(--color-actions2);
}

.nav-buttons {
    display: flex;
    gap: 8px;
}

.btn {

    height: 40px;
    border: none;
    padding: 10px 16px;
    border-radius: 12px;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.btn-sign-in {
    background-color: var(--color-actions2);
    color: var(--color-text-white);
}

.btn-sign-up {
    background-color: var(--color-light-black);
    color: var(--color-text-white);
}
.btn-sign-in a{
    color: var(--color-text-white);
    text-decoration: none;
}
.btn-sign-up a
{
    color: var(--color-text-white);
    text-decoration: none;
}

.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
    min-height: 100vh; /* اجعل الفورم يمتد لطول الشاشة */
    padding: 20px;
}

input {
    height: 56px;
    border-radius: 12px;
    border: 1px solid var(--color-border-2);
    outline: none;
    width: 456px;
    padding: 0 8px 0 16px;
    background-color: var(--color-background-input-field2);
    color: var(--color-text-dark);
}

.input-name {
    display: flex;
    gap: 24px;
}

.input-name input {
    width: 204px;
}

.btn-submit {
    color: var(--color-text-white);
    background-color: var(--color-actions2);
    width: 480px;
}

.social-contact {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.social {
    width: 432px;
    height: 64px;
    border: 1px solid var(--color-border-2);
    border-radius: 12px;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-action {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-actions2);
    cursor: pointer;
}
.link{
    text-decoration: none;
    color: var(--color-actions2);
}
::placeholder, .handle, .or-text {
    color: var(--color-placeholder2);
}
/* اجعل التنسيق مناسبًا لجميع الأجهزة */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px; /* تقليل الحواف على التابلت */
    }
    
    .nav-actions {
        gap: 32px; /* تقليل التباعد في القائمة */
    }
    
    input {
        width: 100%; /* جعل الحقول تأخذ العرض بالكامل */
    }
    
    .input-name {
        flex-direction: column; /* اجعل الاسم الأول والاسم الأخير تحت بعض */
        gap: 12px;
    }
    
    .input-name input {
        width: 100%;
    }
    
    .btn-submit {
        width: 100%;
    }
    
    .social {
        width: 100%;
    }
}
/* تنسيق النموذج على الأجهزة الصغيرة */
@media (max-width: 1024px) {
    .contact-container {
        padding: 0 20px;
        display: flex;
        flex-direction: column;
        align-items: center; /* توسيط العناصر أفقياً */
        justify-content: center; /* توسيط العناصر عمودياً */
    }
}

/* تنسيق أزرار التنقل على الأجهزة الصغيرة */
@media (max-width: 768px) {
    .nav-buttons {
        flex-direction: column;
        align-items: center; /* توسيط الأزرار أفقياً */
        gap: 10px;
    }
}

@media (max-width: 768px) {
    /*  اجعل القائمة العلوية قابلة للطي على الجوال */
    .header {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }
    
    .nav-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .nav-buttons {
        flex-direction: column;
        width: 100%;
    }

    /*  جعل النموذج مناسبًا للهاتف */
    .contact-container {
        width: 100%;
        padding: 10px;
    }
    
    input {
        width: 100%;
    }
    
    .social {
        width: 100%;
    }
    
    .btn-submit {
        width: 100%;
    }
}

/*  تحسين الأزرار على الجوال */
.btn {
    width: 100%;
    text-align: center;
    font-size: 16px;
}
/* إخفاء زر القائمة على الشاشات الكبيرة */
.menu-toggle {
    display: none;
    background: var(--color-actions2);
    color: white;
    font-size: 24px;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
}

/* إخفاء زر القائمة على الشاشات الكبيرة */
.menu-toggle {
    display: none;
    background: var(--color-actions2);
    color: white;
    font-size: 24px;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
}

/*  إظهار زر القائمة على الأجهزة الصغيرة */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        top: 15px;
        right: 20px;
        z-index: 1000;
    }

    /* تعديل القائمة لجعلها مخفية افتراضيًا */
    .nav-actions {
        display: none;
        flex-direction: column;
        background: var(--color-background-input-field2);
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
    }

    /* إظهار القائمة عند النقر */
    .nav-actions.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .nav-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
}
