/* General Menu Styles */
#eng-header-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background-color: transparent;
    padding: 10px 0;
    list-style: none;
    margin: 0;
}

#eng-header-menu li {
    position: relative;
    margin: 0;
}

/* Link styles */
#eng-header-menu a {
    text-decoration: none;
    color: white;
    font-family: 'cairo', sans-serif;
    font-weight: 700 !important;
    font-size: 16px;
    padding: 10px 20px;
    display: inline-block;
    transition: color 0.3s ease;
    text-align: center;
}

#eng-header-menu a:hover {
    color: black;
}

/* Submenu Styles */
#eng-header-menu ul {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #e8230d;
    padding: 10px 0;
    display: none; /* Hidden by default */
    list-style: none;
    margin: 0;
    z-index: 1000;
    width: 200px;
    text-align: center;
}

/* Submenu link styles */
#eng-header-menu ul a {
    padding: 10px;
    color: white;
    font-size: 14px;
    font-family: 'cairo', sans-serif;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#eng-header-menu ul a:hover {
    background-color: black;
    color: white;
}

/* Arrow for Submenu Items */
#eng-header-menu .menu-item-has-children > a::after {
    content: " ▼";
    font-size: 18px;
    margin-left: 5px;
    cursor: pointer;
}

/* Desktop-Specific Styles */
@media (min-width: 769px) {
    #eng-header-menu {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .mobile-menu-toggle {
        display: none;
    }

    /* Show submenu on hover for desktop */
    #eng-header-menu li:hover > ul {
        display: block; /* Display submenu */
    }

    #eng-header-menu ul {
        transition: all 0.3s ease;
    }
}

/* Mobile-Specific Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        background-color: transparent;
        display: block;
        color: white;
        border: none;
        padding: 10px;
        font-size: 38px;
        cursor: pointer;
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 1001;
    }

    .mobile-menu-toggle:focus {
        outline: none;
    }

    #eng-header-menu {
        display: none;
        flex-direction: column;
        background-color: #e8230d;
        width: 100%;
        gap: 2px;
    }

    #eng-header-menu.active {
        display: flex;
    }

    #eng-header-menu li {
        width: 100%;

    }

    /* Mobile Submenu styles */
    #eng-header-menu ul {
        position: static;
        width: 100%;
        background-color: black;
        display: none; /* Hidden by default */
    }

    /* Show submenu when 'open' class is added (for mobile click) */
    #eng-header-menu li.menu-item-has-children.open > ul {
        display: block; /* Display submenu */
    }

    /* Increase text size of menu items on mobile */
    #eng-header-menu a {
        padding: 5px 5px;  /* Increase padding for better spacing */
        width: 100%;
        font-size: 17px;  /* Increase the font size */
        
    }
    
    /* Optional: Adjust submenu link size (if any) */
    #eng-header-menu ul a {
        font-size: 15px;  /* Slightly smaller font size for submenu items */
    }
}

/* Social Icons for Mobile */
.social-icons-container.mobile-icons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-icons-container {
    position: relative; /* Or absolute/fixed, depending on layout */
    z-index: 100000; /* Higher than WordPress admin bar */
    
}

@media (max-width: 768px) {
    .social-icons-container {
        display: flex !important;
    }
}

.eng-footer-nav {
  text-align: center;
  margin: 20px 0;
}

.eng-footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.eng-footer-nav-list li {
  display: inline-block;
  margin: 0 10px;
}

.eng-footer-nav-list li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.eng-footer-nav-list li a {
  color: white !important;
  text-decoration: none !important;
  font-weight: 500;
}

.eng-footer-nav-list li a:hover {
  text-decoration: none !important;
  opacity: 0.8; /* Optional hover effect */
}