/* Premium Wellness Header Fixes */

/* 1. Remove duplicate logo from Elementor Container */
.elementor-element-f32bb93 .elementor-widget-image:nth-child(n+2) {
    display: none !important;
}

/* 2. Fix sticky header glitch & reduce height on scroll */
/* Main Header Container */
.elementor-element-167daf5 {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    position: sticky;
    top: 0;
    z-index: 9999;
}

.elementor-element-167daf5.is-scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    backdrop-filter: blur(10px);
}

/* Logo Image resizing */
.elementor-element-167daf5.is-scrolled .elementor-element-7055bbd img {
    max-height: 60px !important;
    transition: max-height 0.4s ease;
}

/* 3. Align menu items evenly (RT Mega Menu) */
.elementor-element-7fabb7e .rt-mega-menu {
    display: flex !important;
    justify-content: space-evenly !important;
    align-items: center !important;
    width: 100%;
}

.elementor-element-7fabb7e .rt-mega-menu > li > a {
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    transition: color 0.3s ease;
}

/* 4. Make phone CTA properly aligned */
/* Assuming text-editor or heading in top bar */
.elementor-element-b39b35f,
.elementor-element-44ba677 {
    display: flex !important;
    align-items: center !important;
}

/* 5. Tablet Responsiveness */
@media (max-width: 1024px) {
    .elementor-element-7fabb7e .rt-mega-menu {
        justify-content: space-between !important;
    }
    .elementor-element-167daf5.is-scrolled .elementor-element-7055bbd img {
        max-height: 50px !important;
    }
}

/* 6. Mobile Responsiveness */
@media (max-width: 767px) {
    .elementor-element-167daf5 {
        padding: 10px 0 !important;
    }
    /* Hide top bar on mobile */
    .elementor-element-ebbdeef {
        display: none !important;
    }
}