/* تنسيقات الشعار الجديد */
.logo-img {
    height: 40px;
    /* حجم الشعار في الهيدر */
    width: auto;
    filter: invert(1) brightness(2);
    /* تحويل الشعار الأسود إلى أبيض */
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
    /* تأثير تكبير بسيط عند التحويم */
}

/* تنسيقات البانر والشعار الكبير في الواجهة الرئيسية */
.hero-logo-container {
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;

    /* تصميم البانر */
    background: rgba(255, 255, 255, 0.03);
    /* خلفية شفافة جداً */
    backdrop-filter: blur(10px);
    /* تأثير الزجاج */
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* حدود زجاجية */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(102, 126, 234, 0.1);
    /* ظل متوهج خفيف */
    padding: 3rem 4rem;
    /* مساحة داخلية للبانر */
    border-radius: 24px;
    /* زوايا مستديرة */

    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* تأثير لمعان متحرك للبانر */
.hero-logo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.05),
            transparent);
    transition: 0.5s;
    animation: shimmerBanner 3s infinite;
}

@keyframes shimmerBanner {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

.hero-main-logo {
    max-width: 500px;
    width: 100%;
    height: auto;
    filter: invert(1) drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
    transition: all 0.5s ease;
    z-index: 1;
    /* ليكون فوق اللمعان */
}

.hero-logo-container:hover .hero-main-logo {
    filter: invert(1) drop-shadow(0 0 25px rgba(255, 255, 255, 0.4));
    transform: scale(1.02);
}

.hero-logo-container:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(102, 126, 234, 0.2);
}

/* تنسيقات الشعار في الفوتر */
.footer-logo-img {
    height: 50px;
    width: auto;
    filter: invert(1) opacity(0.8);
    margin-bottom: 1rem;
}

/* استجابة البانر للشاشات الصغيرة */
@media (max-width: 768px) {
    .hero-logo-container {
        padding: 2rem;
        width: 100%;
        margin-top: 2rem;
    }

    .hero-main-logo {
        max-width: 300px;
    }
}
/* ===== Contact Form Styles ===== */
.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.contact-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.5;
}

.contact-form {
    display: grid;
    gap: 24px;
}

.input-group {
    position: relative;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s ease;
    outline: none;
}

.input-group textarea {
    resize: vertical;
    min-height: 120px;
}

.input-group label {
    position: absolute;
    right: 20px;
    top: 16px;
    color: rgba(255, 255, 255, 0.5);
    transition: 0.3s ease;
    pointer-events: none;
    background: transparent;
    padding: 0 4px;
}

/* Floating Label Effect */
.input-group input:focus,
.input-group textarea:focus,
.input-group input:not(:placeholder-shown),
.input-group textarea:not(:placeholder-shown) {
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.input-group input:focus + label,
.input-group textarea:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:not(:placeholder-shown) + label {
    top: -12px;
    right: 10px;
    font-size: 0.85rem;
    color: #4facfe;
    background: #0a0a1a; /* Match body bg */
    border-radius: 4px;
}

.submit-btn {
    width: 100%;
    justify-content: center;
    margin-top: 16px;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.send-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px; /* RTL margin */
    transition: transform 0.3s ease;
}

.submit-btn:hover .send-icon {
    transform: translate(-4px, -4px);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .contact-container {
        padding: 24px;
    }
}


/* =====     ===== */

/*   */
.success-message {
    text-align: center;
    padding: 40px;
    background: rgba(46, 204, 113, 0.1); /*   */
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 24px;
    display: flex; /*     JS */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #2ecc71;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.4);
}

.success-icon svg {
    width: 40px;
    height: 40px;
}

.success-message h3 {
    margin-bottom: 10px;
    color: #2ecc71;
    font-size: 1.5rem;
}

.success-message p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.small-btn {
    padding: 10px 24px;
    font-size: 0.9rem;
    background: transparent;
    border: 1px solid var(--border-glass);
    box-shadow: none;
}

.small-btn:hover {
    background: var(--bg-glass);
    transform: translateY(-2px);
}

/*    */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

