/* 
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 */
 
header .current-menu-item > a{
    background-color:var(--e-global-color-primary);
    color: #FFFFFF !important;
    text-decoration: none;
    border-radius: 5px;
}
 
header nav li > a:hover{
    background-color:var(--e-global-color-secondary);
    color: #FFFFFF !important;
    text-decoration: none;
    border-radius: 5px;
}
.obfx-menu-icon {
    margin-right: 2px;
    vertical-align: middle;
}



/* === WP Navigation: cheap, GPU-friendly open/close === */
.wp-block-navigation__responsive-container{
  transform: translateY(-8px);
  opacity: 0;
  transition: transform .18s ease, opacity .18s ease;
}
.wp-block-navigation__responsive-container.is-menu-open{
  transform: translateY(0);
  opacity: 1;
}

/* Submenus: avoid expensive height auto animations */
.wp-block-navigation__submenu-container{
  max-height: 0;
  overflow: hidden;
  transition: max-height .18s ease;
}
.wp-block-navigation-item.is-open > .wp-block-navigation__submenu-container{
  max-height: 480px; /* adjust */
}

/* Keep header above chat bubble */
header, .site-header{ position: sticky; top: 0; z-index: 1000; }

/* If the chat bubble overlaps hamburger, nudge it or lower its z-index */
.chaty-widget, .chaty, .chatty-widget { z-index: 999; }
@media (max-width: 480px){
  .chaty-widget{ bottom: 12px; right: 12px; } /* adjust if needed */
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .wp-block-navigation__responsive-container,
  .wp-block-navigation__submenu-container{ transition: none; }
}







/* === Make the two columns equal height === */
#Section-Services > .elementor-container{
  display:flex !important;
  align-items:stretch !important;            /* columns match tallest column */
}

/* Each column should fill the section height */
.section-services,
.section-content{
  /*flex:1 1 0 !important;*/
  display:flex !important;
}
.section-services > .elementor-widget-wrap,
.section-content > .elementor-widget-wrap{
  flex:1 1 auto !important;
  display:flex !important;
  flex-direction:column !important;
}

/* === IMAGE WIDGET: fill full column height === */
#Section-Services .elementor-widget-image{                 /* the Image widget wrapper */
  flex:1 1 auto !important;
  display:flex !important;
}
#Section-Services .elementor-widget-image .elementor-widget-container{
  flex:1 1 auto !important;
  height:100% !important;
  display:flex !important;
}
#Section-Services .elementor-widget-image .section-img{
  display:block !important;
  width:100% !important;
  height:100% !important;                   /* key: match column height */
  object-fit:cover !important;              /* fill; crop edges if needed */
  max-width:none !important;                /* override Elementor inline max-width */
}

/* Optional: vertically center text column content */
.section-content > .elementor-widget-wrap{
  justify-content:center !important;
}

/* Mobile: stack columns and avoid cropping */
@media (max-width: 767px){
  #Section-Services > .elementor-container{
    flex-direction:column !important;
  }
  #Section-Services .elementor-widget-image .section-img{
    height:auto !important;
    object-fit:contain !important;
    max-width:100% !important;
  }
}


