/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


/* Target menu items within the .sub-menu */
.sub-menu li a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: inherit; /* Optional: maintains current text color */
}

/* Create the underline using ::after pseudo-element */
.sub-menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 0;
  background-color: white;
  transition: width 0.3s ease-in-out;
}

/* Animate underline on hover */
.sub-menu li a:hover::after {
  width: 100%;
}