/* Add custom CSS styles below */.language-switcher {
    display: flex;
    flex-direction: column; /* ترتيب عمودي */
    align-items: center;    /* توسيط الاسم تحت الصورة */
    gap: 4px;               /* المسافة بين الصورة والاسم */
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    color: #bd9d63;
    width: 1.5rem;          /* نفس حجم باقي الأيقونات */
    height: 1.5rem;

  
}

.language-switcher a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* توسيط عمودي */
    text-decoration: none;
    color: #bd9d63;
    width: 100%;
    height: 100%;
  margin-top:5px
}

.language-switcher .lang-icon {
    width: 100%;
    height: 100%;
    object-fit: contain; /* الصورة تكبر بدون تشويه */
}

/* إظهار القسم في الموبايل والتابلت */
@media (max-width: 1024px) {
    .hidden.lg\:block {
        display: block !important;
    }
}



/* ===== About Us Page ===== */

.section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 60px;
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(40px);
}

.text {
    flex: 1;
    text-align: right; /* افتراضي للعربي */
}

.text h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #7a5c2e;
}

.text p {
    font-size: 15px;
    margin-bottom: 12px;
    line-height: 1.9;
}

.section .image {
    flex: 1;
}

.section .image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: 0.4s ease;
}

.section .image img:hover {
    transform: scale(1.03);
}

.full-width {
    text-align: right;
    margin-bottom: 25px;
}

.full-width p {
    font-size: 15px;
}

.gallery {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.gallery img {
    width: 100%;
    max-width: 350px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: 0.4s ease;
    margin: 10px !important;
}

.gallery img:hover {
    transform: translateY(-8px);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive ===== */

@media(max-width: 992px) {
    .section {
        flex-direction: column;
        text-align: center;
    }

    .gallery {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .gallery img {
        max-width: 90%;
    }
}

/* ===== LTR Support (JS sets dir="ltr") ===== */

.container[dir="ltr"] .section .text {
    text-align: left !important; 
}

.container[dir="ltr"] .section .image {
    order: 2;
}