/* 
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
*/


/* Efecte*/

#cutie-inimi img {
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
    transform: translate(0, 0) scale(1) rotate(0deg);
}

#cutie-inimi:hover .inima-mica img {
    transform: scale(1.9) rotate(45deg) !important;
}

#cutie-inimi:hover .inima-mijlocie img {
    transform: scale(0.6) translateX(30px) !important;
}

#cutie-inimi:hover .inima-mare img {
    transform: scale(0.7) rotate(-35deg) !important;
}

/* text-animated */
.highlight {
    color: #001331; 
}
.permanent-color{
    color: #22B5C9;
}

.animated-text {
    background-image: 
        linear-gradient(#001331, #001331), 
        linear-gradient(#22B5C9, #22B5C9);  
    background-repeat: no-repeat;
    background-size: 0% 100%, 100% 100%;
    -webkit-background-clip: text;
    background-clip: text; 
    color: transparent !important; 
    display: inline;
    animation: fill-text-infinite 15s linear infinite;
}

@keyframes fill-text-infinite {
    0% {
        background-size: 0% 100%, 100% 100%;
    }
    70%, 90% {
        background-size: 100% 100%, 100% 100%;
    }
    100% {
        background-size: 0% 100%, 100% 100%;
    }
}
/* buton hover */
.buton-animat-text .elementor-button-text {
    display: inline-block; 
    transition: transform 0.3s ease-in-out !important; 
}

.buton-animat-text:hover .elementor-button-text {
    transform: scale(1.15) !important; 
}

/* container accordion */
.custom-accordeon {
  cursor: pointer;
}

/* text ascuns initial */
.custom-accordeon .text-accordeon {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}

/* stare activa */
.custom-accordeon.is-open .text-accordeon {
  max-height: 500px; /* suficient de mare pt continut */
  opacity: 1;
}

/* arrow rotit */
.custom-accordeon .c-arrow {
  transition: transform 0.3s ease;
}

.custom-accordeon.is-open .c-arrow {
  transform: rotate(180deg);
}

/* icon principal – default */
.custom-accordeon .c-main-icon .elementor-icon {
  transition: background-color 0.3s ease;
}

.custom-accordeon .c-main-icon .elementor-icon svg {
  transition: fill 0.3s ease;
}

/* icon principal – activ */
.custom-accordeon.is-open .c-main-icon .elementor-icon {
  background-color: #22B5C9 !important;
}

.custom-accordeon.is-open .c-main-icon .elementor-icon svg {
  fill: #fff !important;
  color:#fff;
}

.custom-accordeon.is-open .c-main-icon .elementor-icon svg path {
  fill: #fff !important;
}

.acc-btn .elementor-icon-wrapper .elementor-icon:hover svg {
  fill: #fff;
  color: #fff;
  stroke: #ffffff !important;
}
.acc-btn .elementor-icon-wrapper .elementor-icon:hover svg path {
  fill: #fff;
  color: #fff;
	stroke: #ffffff !important;
}

/* MAIN MENU------------- */

/* items with dropdown */
#menu-2-17dfda1 > li.menu-item-has-children > a {
    background-color: white !important;
    color: #001331;
}

/* arrow color */
#menu-2-17dfda1 > li.menu-item-has-children > a .sub-arrow svg {
    fill: #001331 !important;
}

/* last child blue */
#menu-2-17dfda1 > li:nth-last-child(1) > a {
    color: #22B5C9; !important;
}

/* white items with dropdown */
#menu-2-17dfda1 > li.menu-item-has-children > a {
    background-color: white !important;
    color: #001331;
}

/* arrow color */
#menu-2-17dfda1 > li.menu-item-has-children > a .sub-arrow svg {
    fill: #001331 !important;
}

/* FORMULAR BOOK NOW */

.form-pastila-custom .elementor-field-option input[type="radio"] {
    display: none !important;
}


.form-pastila-custom .elementor-field-option label {
    display: flex !important;
    align-items: center;
    background-color: #FFFFFF;
    padding: 15px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: sans-serif;
    color: #333;
    font-weight: 500;
    margin-bottom: 0 !important;
    width: 100% !important;
    min-height: 59px;
    box-sizing: border-box;
}


.form-pastila-custom .elementor-field-option label::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #22B3C7;
    margin-right: 12px;
    background-color: white;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.form-pastila-custom .elementor-field-option input[type="radio"]:checked + label::before {
    background-color: #22B3C7;
    box-shadow: inset 0 0 0 3px #fff;
}


.form-pastila-custom .elementor-field-subgroup {
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
    gap: 12px !important;
    width: 100% !important;
}


.testim {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; 
    justify-content: center !important;
}

.form-pastila-custom .elementor-field-option {
    flex: 0 0 calc(25% - 20px) !important;
    max-width: calc(25% - 20px) !important;
}

.form-pastila-custom .elementor-field-group-bd46170 .elementor-field-option {
    flex: 0 0 calc(25% - 9px) !important;
    max-width: calc(25% - 9px) !important;
}


@media (max-width: 1024px) {
    .form-pastila-custom .elementor-field-option,
    .form-pastila-custom .elementor-field-group-bd46170 .elementor-field-option {
        flex: 0 0 calc(50% - 6px) !important;
        max-width: calc(50% - 6px) !important;
    }
	#e-n-menu-content-8531{
		left:0px!important;
		width:90%!important;
		margin-left:20px!important;
	}
}


@media (max-width: 767px) {
    .form-pastila-custom .elementor-field-subgroup {
        flex-direction: column !important; 
    }
    
    .form-pastila-custom .elementor-field-option,
    .form-pastila-custom .elementor-field-group-bd46170 .elementor-field-option {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .form-pastila-custom .elementor-field-option label {
        border-radius: 35px; 
        padding: 12px 15px;
    }
	m-hide{
		display:none;
	}
}

.elementor-element.elementor-widget-container {
    position: relative;
}

.bio-wrapper-hidden {
    position: absolute;
    top: 100%; 
    left: 0;
    width: 100%; 
    background: white;
    color: #333;
    z-index: 999; 
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease-in-out;
    box-shadow: 0px 15px 35px rgba(0,0,0,0.2);
    pointer-events: none; 
}

.bio-wrapper-expanded {
    max-height: 1500px;
    opacity: 1;
    pointer-events: auto;
    margin-top: 10px;
}


.scroll-step {
    transition: all 0.5s ease-in-out;
    background-color: transparent !important;
    opacity: 0.4; 
}


.scroll-step .nr-card {
    transition: all 0.4s ease;
    opacity: 0.3; 
}

.scroll-step .c-dot { background-color: #e0e0e0 !important; transition: 0.4s; }
.scroll-step .c-line .elementor-spacer-inner { border-color: #e0e0e0 !important; transition: 0.4s; }
.scroll-step .elementor-icon { background-color: #e0e0e0 !important; transition: 0.4s; }

.scroll-step.is-active {
    opacity: 1 !important;

}

.scroll-step.is-active .nr-card {
    opacity: 1 !important;
    color: #25a9c0 !important;
}

.scroll-step.is-active .c-dot { 
    background-color: #25a9c0 !important;

}

.scroll-step.is-active .c-line .elementor-spacer-inner { 
    border-color: #25a9c0 !important; 
}

.scroll-step.is-active .elementor-icon { 
    background-color: #25a9c0 !important; 
}

.scroll-step.is-active .elementor-icon svg {
    animation: pulseIcon 0.5s ease-out;
}

@keyframes pulseIcon {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

#our-team, #learn-more, #contact-us-form, #services-diagnosis-mob {
  scroll-margin-top: 100px;
}
@media (max-width: 768px) {
  #our-team, #learn-more, #contact-us-form, #services-diagnosis-mob {
    scroll-margin-top: 40px; /* înălțimea meniului mobil */
  }
}
