/* Compatibility between the original design and native Elementor widgets. */
html { overflow-x:clip; }
.elementor { --hdf-navy:#0b1d45; --hdf-blue:#2450e6; }
.elementor .elementor-widget-heading .elementor-heading-title { line-height:inherit; }
.elementor .elementor-widget-text-editor p:last-child { margin-bottom:0; }
.elementor .elementor-widget-image img { display:block; }
.elementor .hdf-portrait .elementor-widget-image { width:100%; }
.elementor .hdf-hero-visual { width:100%; }
.elementor .hdf-svc { overflow:hidden; }
.elementor .hdf-svc-img { position:absolute; inset:0; width:100%; height:100%; z-index:-2; }
.elementor .hdf-svc-img .elementor-widget-container { height:100%; }
.elementor .hdf-svc-img img { width:100%; height:100%; object-fit:cover; }
.elementor .hdf-service-card { position:relative; isolation:isolate; }
.elementor .hdf-service-card::before { z-index:-1; pointer-events:none; }
.elementor .hdf-service-body p { margin:0; }
.elementor .hdf-service-body a,.elementor .hdf-editable-footer a { color:inherit; }
.elementor .hdf-strip .elementor-widget { width:auto; }
.elementor .hdf-strip .elementor-widget p { margin:0; }
.elementor .hdf-elementor-cta .elementor-heading-title,.elementor .hdf-elementor-cta p { text-align:center; }
.elementor .hdf-editable-header .elementor-widget-icon-list { width:auto; }
.elementor-location-header { position:sticky;top:0;z-index:50; }
.elementor .hdf-chart { position:absolute; }
.elementor .hdf-chart { top:auto; height:auto; }
.elementor .hdf-portrait::before { opacity:1; background:#2450e6; }
.elementor .hdf-portrait--about::before { background:#0b1d45; }
.admin-bar .elementor-location-header { top:32px; }
@media(max-width:782px){.admin-bar .elementor-location-header{top:46px}}
.elementor .elementor-button { text-decoration:none; }
.elementor .elementor-button:hover { transform:translateY(-2px); }
.elementor .elementor-widget-icon-list a { text-decoration:none; }
.elementor .hdf-logo img { width:180px; }
.elementor .hdf-footer-logo img { width:200px; }
.elementor .mf-input-wrapper .mf-input { font:inherit; padding:12px; border:1px solid #d9deea; border-radius:8px; background:#fff; color:#0b1d45; }
.elementor .mf-input-label { font-size:13px; font-weight:700; }
.elementor .mf-input-wrapper textarea { min-height:130px; }
.elementor-editor-active .hdf-split,.elementor-editor-active .hdf-reveal,.elementor-editor-active .hdf-imgreveal { opacity:1; transform:none; clip-path:none; }
@media(max-width:767px){ .elementor .hdf-logo img{width:145px} .elementor .hdf-chart{left:-3%;bottom:5%} }

/* Responsive navigation and content compatibility. Layout remains in Elementor. */
.elementor .hdf-header-menu { min-width:0; }
.elementor .hdf-header-menu .elementskit-navbar-nav { margin:0; }
.elementor .hdf-editable-header .e-con-inner { min-width:0; }
.elementor .hdf-elementor-cta em { color:#a7beff; }
.elementor .hdf-editable-footer a { overflow-wrap:anywhere; }
.elementor .hdf-footer-brand-column .elementor-widget-image img { margin:0; }
.elementor .hdf-contact-section .hdf-form-wrap { width:100%; }
.elementor .hdf-contact-section .mf_select__control { min-height:52px; border-radius:6px; }
.elementor .hdf-contact-section .mf_select__placeholder { color:#6b7280; font-size:16px; }
.elementor .hdf-contact-section textarea.mf-input { min-height:150px; }
.elementor .hdf-contact-section .mf-input::placeholder { color:#6b7280; opacity:1; }
@media(max-width:1024px){
 .elementor .hdf-header-menu .elementskit-menu-container { max-width:100vw; }
 .elementor .hdf-header-menu .elementskit-menu-hamburger { margin:0; }
 .elementor .hdf-header-menu .elementskit-menu-hamburger { min-width:44px; min-height:44px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; }
 .elementor .hdf-header-menu .elementskit-menu-hamburger-icon { margin:0; }
 .elementor .hdf-hero-visual { margin-inline:auto; }
 .admin-bar .elementor .hdf-header-menu .elementskit-menu-container { top:32px; height:calc(100dvh - 32px); }
}
@media(max-width:767px){
 html { scroll-padding-top:96px; }
 .elementor .hdf-editable-header .e-con-inner { flex-wrap:nowrap; }
 .elementor .hdf-footer-copyright { line-height:1.7; }
 .elementor .hdf-contact-section .mf-btn-wraper .metform-btn { width:100%; }
 .admin-bar .elementor .hdf-header-menu .elementskit-menu-container { top:46px; height:calc(100dvh - 46px); }
 #wpadminbar .display-name { display:none; }
}
@media(max-width:600px){
 /* WordPress's phone toolbar scrolls away; keep the site header at the top. */
 .admin-bar .elementor-location-header { top:0; }
}
