/* About Us Page Specific Styles */

/* ===== MOBILE NAVIGATION (up to 1366px for tablets including iPad Pro) ===== */
@media (max-width: 1366px) {
    /* Hide desktop language switcher on mobile/tablet */
    #language_switcher {
        display: none !important;
    }

    /* Mobile navigation layout */
    #floating-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        z-index: 10000;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #floating-nav ul {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        list-style: none;
        margin: 0;
        padding: 0;
        text-align: center;
        width: 100%;
        max-width: 300px;
    }

    #floating-nav li {
        width: 100%;
    }

    #floating-nav li a {
        display: block;
        width: 100%;
        padding: 15px 20px;
        font-size: 18px;
        color: #A57041;
        text-decoration: none;
        border: 2px solid #A57041;
        border-radius: 8px;
        text-align: center;
        transition: all 0.3s ease;
        background: transparent;
    }

    #floating-nav li a:hover {
        background: #A57041;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(165, 112, 65, 0.3);
    }

    /* Mobile language switcher styling */
    .mobile-language-switcher {
        margin-top: 20px;
    }

    .mobile-language-dropdown {
        position: relative;
    }

    .mobile-language-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 15px 20px;
        font-size: 18px;
        font-weight: 600;
        color: #A57041;
        background: transparent;
        border: 2px solid #A57041;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .mobile-language-btn:hover {
        background: #A57041;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(165, 112, 65, 0.3);
    }

    .mobile-language-btn svg {
        transition: transform 0.3s ease;
    }

    .mobile-language-btn:hover svg {
        transform: translateY(2px);
    }

    .mobile-language-options {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.9);
        border: 2px solid #A57041;
        border-top: none;
        border-radius: 0 0 8px 8px;
        overflow: hidden;
        z-index: 10001;
    }

    .mobile-language-option {
        display: block;
        width: 100%;
        padding: 12px 20px;
        font-size: 16px;
        color: #F2E6DA;
        text-decoration: none;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(165, 112, 65, 0.3);
    }

    .mobile-language-option:last-child {
        border-bottom: none;
    }

    .mobile-language-option:hover {
        background: #A57041;
        color: white;
        padding-left: 25px;
    }

    /* Adjust burger menu position for mobile/tablet - easier to reach */
    #nav-toggle {
        top: 30px !important;
    }

    /* About page logo mobile/tablet adjustments */
    .logo-about {
        width: 140px !important;
        height: 60px !important;
        left: 30% !important;
    }

    .logo-about-en {
        left: 50% !important;
        margin-left: -70px !important; /* Half of logo width (140px/2) */
    }

    .logo-about-ar {
        right: 50% !important;
        margin-right: -70px !important; /* Half of logo width (140px/2) */
    }
}

/* ===== SMALLER MOBILE (up to 767px) ===== */
@media (max-width: 767px) {
    #floating-nav li a {
        font-size: 16px;
        padding: 12px 18px;
    }

    .mobile-language-btn {
        font-size: 16px;
        padding: 12px 18px;
    }

    /* About page logo smaller mobile adjustments */
    .logo-about {
        width: 120px !important;
        height: 50px !important;
        left: 30% !important;
    }

    /* About page images mobile/tablet adjustments */
    .about-image img,
    .about-image-right img {
        width: 300px !important;
        height: 225px !important;
    }

    .logo-about-en {
        left: 50% !important;
        margin-left: -60px !important; /* Half of logo width (120px/2) */
    }

    .logo-about-ar {
        right: 50% !important;
        margin-right: -60px !important; /* Half of logo width (120px/2) */
    }
}

/* ===== DESKTOP (above 1366px) ===== */
@media (min-width: 1367px) {
    .d-xl-none {
        display: none !important;
    }
    .d-xl-block {
        display: block !important;
    }
}

/* ===== SUBSCRIBE BUTTON STYLES ===== */
#about-us-read-more-btn {
    background-color: #A57041 !important;
    color: #212529 !important;
    border: none !important;
    padding: 12px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

#about-us-read-more-btn:hover {
    background-color: #C88C4A !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(165, 112, 65, 0.3) !important;
}

/* Mobile subscribe button adjustments */
@media (max-width: 767px) {
    #about-us-read-more-btn {
        width: 100% !important;
        padding: 14px 20px !important;
        font-size: 16px !important;
    }
}