/*

Theme Name: M2SYS Child
Theme URI: https://wordpress.org/themes/twentytwenty/
Template: m2sys-parent
Author: the WordPress team
Author URI: https://wordpress.org/
Description: M2sys Technology
Version: 1.0

*/

/*@import url("https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css");*/
@import url("custom-style.css");

/* Hides the reCAPTCHA v3 badge */
.grecaptcha-badge { 
    visibility: hidden; 
    opacity: 0; 
    position: absolute; 
    bottom: 0; 
    right: 0; 
    z-index: -1;
}


/*Default*/
body{background-color:#fff; font-size:18px; color: #272742; letter-spacing: normal;}
a, .btn, input[type='submit']{transition:all 0.3s ease-in-out; -webkit-transition:all 0.3s ease-in-out;}
a, p a{color:#0056b3;}
a:hover{color:#1279fd;}
img{max-width: 100%;height:auto;}
h1, h2, h3, h4, h5, h6{letter-spacing:unset;} 


iframe { width: 100%;height: 100%;}
.image-hover-effect img {transition: transform .5s, filter 1.5s ease-in-out;}
.image-hover-effect img:hover {transform: scale(1.05);-webkit-transform: scale(1.05);}

select.wpcf7-form-control{border-color:#e1e1e1; background-color:#ffffff; color:#919191; padding:1.3rem 1.8rem; width:100%; border:1px solid #dcd7ca;
-webkit-appearance:none !important; appearance: none !important; position:relative;}

input.wpcf7-form-control.wpcf7-submit { background: #C02125; border-radius: 4px; width: 168px; text-decoration: none; transition: all .3s; }
input.wpcf7-form-control.wpcf7-submit:hover { background: #9e1014; }

/* Force sub-menus to be hidden unless 'open' class is applied */
.elementor-editor-active .w3_megamenu .sub-menu {
  display: none !important;
}
/* Base styles */
.w3_megamenu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.w3_megamenu li {
  position: relative;
  list-style: none;
}

.w3_megamenu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  background-color: #fff;
}

/* 🔵 Active menu styles */
.w3_megamenu li.current-menu-item > a,
.w3_megamenu li.current-menu-parent > a,
.w3_megamenu li.current-menu-ancestor > a {
    color: #c02125;
  font-weight: bold;
}


/* Arrow icons */
.w3_megamenu li.menu-item-has-children > a::after {
  content: " \25BC"; /* ▼ */
  font-size: 0.6em;
  margin-left: 6px;
  vertical-align: middle;
  line-height: 1;
  transition: transform 0.3s ease;
}

.w3_megamenu .sub-menu li.menu-item-has-children > a::after {
  content: " \25B6"; /* ▶ */
  font-size: 0.6em;
  margin-left: 10px;
  vertical-align: middle;
  line-height: 1;
}

/* Dropdown levels */
.w3_megamenu .sub-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  min-width: 200px;
  z-index: 1000;
  padding: 0;
  margin: 0;
}

.w3_megamenu .sub-menu .sub-menu {
  left: 100%;
  top: 0;
  position: absolute;
  display: none;
  background-color: #f9f9f9;
  min-width: 200px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Hover for desktop */
@media (min-width: 992px) {
  .w3_megamenu li:hover > .sub-menu {
    display: block;
  }
}

/* Hover effect */
.w3_megamenu .sub-menu a:hover {
  background-color: #eee;
  color: #000;
}

/* -------------------------- */
/* Mobile Responsive Styling  */
/* -------------------------- */
@media (max-width: 991px) {
  .w3_megamenu {
    width: 100%;
  }

  .w3_megamenu ul,
  .w3_megamenu li {
    width: 100%;
  }

  .w3_megamenu .sub-menu,
  .w3_megamenu .sub-menu .sub-menu {
    position: relative;
    left: auto;
    top: auto;
    box-shadow: none;
    display: none;
  }
.w3_megamenu li a {
    justify-content: center;
	}	

  .w3_megamenu li.open > .sub-menu {
    display: block;
  }

  /* Rotate arrow ▼ when submenu is open */
  .w3_megamenu li.open > a::after {
    transform: rotate(180deg);
  }

  .w3_megamenu .sub-menu li.open > a::after {
    content: " \25BC"; /* ▼ for nested open */
    transform: rotate(180deg);
  }
}
