/* ============================================
   Migrago Horizontal Footer
   أربعة أعمدة أفقية متجاورة في صف واحد
============================================ */

.migrago-horizontal-footer {
    background: #ffffff;
    color: #222222;
    font-family: 'Cairo', 'Segoe UI', sans-serif;
    padding: 50px 20px 30px;
    direction: rtl;
    border-top: 3px solid #FF6B35;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.07);
}

.footer-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

/* ========== الأعمدة الأربعة الأفقية ========== */
.footer-columns-horizontal {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col {
    padding: 0 10px;
}

.col-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* العناوين */
.col-title {
    font-size: 18px;
    font-weight: 800;
    color: #222222;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FF6B35;
}

.col-title i {
    color: #FF6B35;
    font-size: 16px;
    background-color: #FFF5F0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-heading {
    font-size: 14px;
    font-weight: 700;
    color: #555555;
    margin-bottom: 15px;
    text-align: right;
}

/* ========== العمود الأول: العلامة التجارية ========== */
.brand-col {
    border-right: 1px solid #eee;
    padding-right: 20px;
}

.brand-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-brand-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.2);
    padding: 5px;
    background: white;
    border: 1px solid #FFE4D6;
    flex-shrink: 0;
}

.brand-title h3 {
    font-size: 24px;
    font-weight: 900;
    color: #222222;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 14px;
    color: #FF6B35;
    font-weight: 700;
    margin: 0;
}

.brand-description {
    font-size: 14px;
    line-height: 1.6;
    color: #555555;
    margin: 0 0 25px 0;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 10px;
    border-right: 3px solid #FF6B35;
}

/* وسائل التواصل الاجتماعي */
.social-media-section {
    margin-bottom: 25px;
}

.social-icons-horizontal {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-icon-h {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.social-icon-h:hover {
    background-color: #FF6B35;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(255, 107, 53, 0.3);
    border-color: #FF6B35;
}

/* وسائل الدفع */
.payment-section-h {
    margin-top: 10px;
}

.payment-icons-h {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.payment-icon-h {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    cursor: pointer;
    position: relative;
}

.payment-icon-h:hover {
    background-color: #FF6B35;
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 12px rgba(255, 107, 53, 0.3);
    border-color: #FF6B35;
}

.payment-icon-h[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: -30px;
    right: 50%;
    transform: translateX(50%);
    background-color: #222222;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    z-index: 10;
}

/* ========== العمود الثاني: خدماتنا ========== */
.services-col {
    border-right: 1px solid #eee;
    padding-right: 20px;
}

.services-list-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-item-v {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #555555;
    text-decoration: none;
    font-size: 14px;
    padding: 10px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    background-color: #f9f9f9;
    border: 1px solid transparent;
}

.service-item-v:hover {
    background-color: #FFF5F0;
    color: #FF6B35;
    border-color: #FFD9C8;
    transform: translateX(-5px);
}

.service-item-v i {
    color: #FF6B35;
    font-size: 14px;
    width: 24px;
    text-align: center;
}

/* ========== العمود الثالث: الروابط السريعة ========== */
.links-col {
    border-right: 1px solid #eee;
    padding-right: 20px;
}

.links-list-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.link-item-v {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #555555;
    text-decoration: none;
    font-size: 14px;
    padding: 10px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    background-color: #f9f9f9;
    border: 1px solid transparent;
}

.link-item-v:hover {
    background-color: #FFF5F0;
    color: #FF6B35;
    border-color: #FFD9C8;
    transform: translateX(-5px);
}

.link-item-v i {
    color: #888888;
    font-size: 14px;
    width: 24px;
    text-align: center;
}

/* ========== العمود الرابع: الدعم واللغات ========== */
.support-col {
    padding-right: 10px;
}

.support-section-h {
    margin-bottom: 30px;
}

.contact-info-h {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item-h {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: all 0.2s ease;
}

.contact-item-h:hover {
    background-color: #FFF5F0;
    border-color: #FFD9C8;
    transform: translateX(-3px);
}

.contact-item-h i {
    color: #FF6B35;
    font-size: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 6px;
    flex-shrink: 0;
}

.contact-details-h {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-label-h {
    font-size: 11px;
    color: #888888;
    font-weight: 600;
}

.contact-value-h {
    font-size: 14px;
    font-weight: 700;
    color: #222222;
    text-decoration: none;
}

.contact-value-h:hover {
    color: #FF6B35;
}

/* اللغات والعملات */
.language-section-h {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.language-currency-h {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.lang-curr-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.lang-curr-item label {
    font-size: 14px;
    color: #555555;
    font-weight: 700;
    min-width: 60px;
}

.lang-select-h, .curr-select-h {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: white;
    color: #333333;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-select-h:focus, .curr-select-h:focus {
    outline: none;
    border-color: #FF6B35;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.1);
}

/* ========== الشريط السفلي ========== */
.footer-bottom-h {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid #eee;
    margin-top: 20px;
}

/* حقوق النشر */
.copyright-h p {
    font-size: 13px;
    color: #666666;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.copyright-h i {
    color: #FF6B35;
    font-size: 12px;
}

.copyright-note-h {
    font-size: 11px;
    color: #888888;
    margin-right: 12px;
    padding-right: 12px;
    border-right: 1px solid #ddd;
}

/* الروابط القانونية */
.legal-links-h {
    display: flex;
    gap: 20px;
}

.legal-links-h a {
    color: #555555;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.legal-links-h a:hover {
    color: #FF6B35;
}

.legal-links-h i {
    font-size: 11px;
}

/* الشهادات */
.certificates-h {
    display: flex;
    gap: 12px;
}

.cert-badge-h {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background-color: #f5f5f5;
    border-radius: 15px;
    font-size: 11px;
    color: #555555;
    font-weight: 700;
    border: 1px solid #eee;
    transition: all 0.2s ease;
}

.cert-badge-h:hover {
    background-color: #FFF5F0;
    border-color: #FFD9C8;
    color: #FF6B35;
}

.cert-badge-h i {
    color: #FF6B35;
    font-size: 10px;
}

/* ========== Responsive للحاسوب فقط ========== */
@media (max-width: 1200px) {
    .footer-columns-horizontal {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .brand-col, .services-col, .links-col {
        border-right: none;
        padding-right: 0;
    }
    
    .brand-col {
        grid-column: span 2;
        border-bottom: 1px solid #eee;
        padding-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .migrago-horizontal-footer {
        display: none;
    }
}

/* تحسينات عامة */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
}

/* ضمان ظهور الأيقونات */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');