/* Service Icons - Apply blue color filter to match brand */
.icons-color img,
img[src*="icons-color"] {
    filter: brightness(0) saturate(100%) invert(27%) sepia(96%) saturate(7500%) hue-rotate(200deg) brightness(98%) contrast(104%);
}

/* fx-slide outline buttons: visible text on light backgrounds (e.g. product page) */
#content section:not(.text-light):not([class*="section-dark"]) a.btn-main.btn-line.fx-slide,
#content section:not(.text-light):not([class*="section-dark"]) a.btn-main.btn-line.fx-slide span {
    color: #35404e;
}
#content section:not(.text-light):not([class*="section-dark"]) a.btn-main.btn-line.fx-slide {
    border-color: rgba(53, 64, 78, 0.5);
}
#content section:not(.text-light):not([class*="section-dark"]) a.btn-main.btn-line.fx-slide:hover,
#content section:not(.text-light):not([class*="section-dark"]) a.btn-main.btn-line.fx-slide:hover span {
    color: #fff;
}

/* Hide social media icons in footer */
footer .social-icons,
#extra-wrap .social-icons {
    display: none !important;
}

/* Fix arrow icons globally - Ensure FontAwesome 6 icons display properly */

/* Header dropdown arrows - Hide duplicate arrow on li element, keep only the one on anchor */
#mainmenu>li.has-child:after,
#mainmenu li.has-child:after,
header #mainmenu li.has-child:after,
header.smaller.scroll-light #mainmenu li.has-child:after,
.header-light #mainmenu li.has-child:after,
.rtl #mainmenu li.has-child:after {
    display: none !important;
    content: "" !important;
}

/* Header dropdown arrows - Keep only the arrow on the anchor tag */
#mainmenu>li.menu-item-has-children>a.menu-item:after,
#mainmenu li.menu-item-has-children>a:after,
#mainmenu li.has-child>a.menu-item:after,
#mainmenu li.has-child>a:after {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    content: "\f078" !important;
    font-size: 8px !important;
    display: inline-block !important;
    position: relative !important;
    margin-left: 5px !important;
    vertical-align: middle !important;
    top: 0 !important;
    transform: none !important;
}

/* Breadcrumb arrows - All variations */
.crumb li:after,
.crumb-wrapper .crumb li:after,
ul.crumb li:after {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    content: "\f054" !important;
    font-size: 10px !important;
    display: inline-block !important;
}

/* Scroll back to top button - All states */
#back-to-top:before,
#back-to-top.show:before,
#back-to-top.hide:before {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    content: "\f106" !important;
    font-size: 18px !important;
    display: inline-block !important;
}

/* Fix hamburger menu icon on mobile - Override style.css line 1053 */
#menu-btn:before,
#menu-btn.menu-open:before {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    display: inline-block !important;
}

#menu-btn:before {
    content: "\f0c9" !important; /* Hamburger icon (bars) */
}

#menu-btn.menu-open:before {
    content: "\f00d" !important; /* Close icon (X) - using f00d instead of f068 for FA6 */
}

/* Make logo smaller on mobile devices */
@media only screen and (max-width: 768px) {
    div#logo img,
    header div#logo img,
    .logo-main,
    .logo-scroll,
    .logo-mobile {
        max-width: 150px !important;
        width: auto !important;
        height: auto !important;
    }
}

/* Make logo even smaller on very small mobile devices */
@media only screen and (max-width: 480px) {
    div#logo img,
    header div#logo img,
    .logo-main,
    .logo-scroll,
    .logo-mobile {
        max-width: 120px !important;
    }
}

/* Fix Owl Carousel navigation arrows - Override style.css line 10784 */
.owl-custom-nav .btn-prev:before,
.owl-custom-nav .btn-next:before,
.owl-custom-nav.menu-float .btn-prev:before,
.owl-custom-nav.menu-float .btn-next:before {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    display: block !important;
}

.owl-custom-nav .btn-prev:before,
.owl-custom-nav.menu-float .btn-prev:before {
    content: "\f104" !important; /* Left arrow (angle-left) */
}

.owl-custom-nav .btn-next:before,
.owl-custom-nav.menu-float .btn-next:before {
    content: "\f105" !important; /* Right arrow (angle-right) */
}

/* Fix Swiper slider navigation arrows on mobile - Ensure they're visible */
@media only screen and (max-width: 768px) {
    .swiper-button-prev,
    .swiper-button-next {
        display: flex !important;
        opacity: 1 !important;
        width: 44px !important;
        height: 44px !important;
        background: rgba(255, 255, 255, 0.2) !important;
        border-radius: 50% !important;
        backdrop-filter: blur(5px) !important;
    }
    
    .swiper-button-prev {
        left: 10px !important;
    }
    
    .swiper-button-next {
        right: 10px !important;
    }
    
    .swiper-button-prev:hover,
    .swiper-button-next:hover {
        background: rgba(255, 255, 255, 0.3) !important;
    }
    
    .swiper-button-prev:after,
    .swiper-button-next:after {
        font-size: 20px !important;
        color: #ffffff !important;
    }
}

/* Fix accordion arrow icons - Override style.css line 4660 */
.accordion-section-title:before,
.dark-scheme .accordion-section-title:before,
.text-light .accordion-section-title:before,
.rtl .accordion-section-title:before {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    content: "\f107" !important; /* Down arrow (angle-down) */
    display: inline-block !important;
}

.accordion-section-title.active:before {
    content: "\f106" !important; /* Up arrow (angle-up) */
}

/* Language Switcher - Simple Text Buttons */
header .lang-switcher,
.menu_side_area .lang-switcher,
.lang-switcher {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-left: 15px !important;
    margin-right: 0 !important;
    vertical-align: middle !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1000 !important;
    position: relative !important;
    width: auto !important;
    height: auto !important;
}

/* Language Switcher - Single Flag Icon Button */
header .lang-flag-btn,
.menu_side_area .lang-flag-btn,
.lang-flag-btn {
    padding: 8px 12px !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    background: rgba(0, 0, 0, 0.3) !important;
    color: white !important;
    cursor: pointer !important;
    border-radius: 6px !important;
    font-size: 0 !important; /* Hide any text */
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 42px !important;
    line-height: 1 !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1001 !important;
    position: relative !important;
    margin: 0 !important;
    overflow: hidden !important;
}

.lang-flag-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.lang-flag-btn:active {
    transform: translateY(0) !important;
}

.flag-icon {
    font-size: 24px !important;
    line-height: 1 !important;
    display: inline-block !important;
    transition: transform 0.3s ease !important;
}

.lang-flag-btn:hover .flag-icon {
    transform: scale(1.1) !important;
}

/* Mobile responsive */
@media only screen and (max-width: 768px) {
    .lang-switcher {
        margin-right: 10px !important;
        margin-left: 10px !important;
    }
    
    .lang-flag-btn {
        width: 40px !important;
        height: 40px !important;
        padding: 6px !important;
    }
    
    .flag-icon {
        font-size: 20px !important;
    }
}

