.elementor-kit-6{--e-global-color-primary:#ED8B00;--e-global-color-secondary:#366287;--e-global-color-text:#253746;--e-global-color-accent:#ED8B00;--e-global-color-a5f01b2:#253746;--e-global-color-c39adad:#366287;--e-global-color-9aa8dc5:#F83600;--e-global-color-85d041d:#FE8C00;--e-global-color-e1c133f:#FFB81C;--e-global-typography-primary-font-family:"brandon-grotesque";--e-global-typography-primary-font-weight:700;--e-global-typography-secondary-font-family:"brandon-grotesque";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Open Sans";--e-global-typography-text-font-size:1.1em;--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Open Sans";--e-global-typography-accent-font-weight:500;}.elementor-kit-6 e-page-transition{background-color:#FFBC7D;}.elementor-kit-6 a{color:#ED8B00;text-decoration:none;}.elementor-kit-6 a:hover{text-decoration:none;}.elementor-kit-6 h1{font-family:"brandon-grotesque", Sans-serif;text-transform:uppercase;letter-spacing:0.05em;}.elementor-kit-6 h2{font-family:"brandon-grotesque", Sans-serif;text-transform:uppercase;letter-spacing:0.05em;}.elementor-kit-6 h3{font-family:"brandon-grotesque", Sans-serif;text-transform:uppercase;letter-spacing:0.05em;}.elementor-kit-6 h4{font-family:"brandon-grotesque", Sans-serif;text-transform:uppercase;letter-spacing:0.05em;}.elementor-kit-6 h5{font-family:"brandon-grotesque", Sans-serif;text-transform:uppercase;letter-spacing:0.05em;}.elementor-kit-6 h6{font-family:"brandon-grotesque", Sans-serif;text-transform:uppercase;letter-spacing:0.05em;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1440px;}.e-con{--container-max-width:1440px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-6 h1{font-size:2em;}.elementor-kit-6 h2{font-size:1.5em;}.elementor-kit-6 h3{font-size:1.3em;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS */.elementor-widget-image a{display: block}
body.admin-bar .ekit-promo-popup.mfp-ready button.mfp-close{margin-right:5em;margin-top:5em;margin-right}.cta-popup{cursor:pointer;}
.jet-hamburger-panel__toggle {box-shadow:none!important;}
.side-panel .jet-hamburger-panel__instance{max-width:500px;}
.breaker-top{margin-top:2em!important;}
.container > .e-con-full.profile-child-container{min-height:50vh;}
.side-panel .jet-hamburger-panel__icon svg {
  fill: #f83600; /* Default to black */
  transition: fill 0.3s ease; /* Smooth colour change */
}

header.elementor .main-nav ul li a.ekit-menu-nav-link
{padding-left:2vw!important;}
header.elementor .sub-nav ul li a.ekit-menu-nav-link
{padding-left:2vw!important;}

.side-panel .hmlogo svg .text {
  fill: #ffffff; /* Default to black */
  transition: fill 0.3s ease; /* Smooth colour change */
}

.elementor-widget-nav-menu .elementor-nav-menu--main:not(.e--pointer-framed) .current-menu-item .elementor-item:after {opacity:0;}

.elementor-widget-nav-menu .elementor-nav-menu--main:not(.e--pointer-framed) .current-menu-item:hover .elementor-item:after {opacity:1;}


.elementor-nav-menu li.spacer{margin-top:1em;}
.elementor-page .elementor-element .elementor-nav-menu.sm-vertical li a.elementor-item{line-height:1.5em;}
.text-wh{color:#fff;}
.text-sm{font-size:0.8em;}
li::marker {
  color: #ed8b00;
  line-height:1em;
  font-size:1.2em;
}
.post-body ul {padding-bottom:1.5em;}
ul {padding-inline-start:22px;
}
li{padding-inline-start:5px;}


div.elementor-element.light-bg .elementor-element .profile-item{
    border-color:#366287;
}


div.elementor-element.light-bg .elementor-element .profile-item .e-flex{
background-color: #366287D1;}

div.elementor-element.light-bg .elementor-element .profile-item .e-flex .elementor-widget-heading h2{color:#fff; opacity:0.8;}
div.elementor-element.light-bg .elementor-element .profile-item .e-flex .elementor-widget-heading:first-of-type h2{color:#fff;opacity:1;}

.cta-header span {
    color: #FFBF00;
}
.contents-box {
    display: none;
}


.hm-cta a.elementor-button {
    animation: 10s ease 0s infinite normal none running hm-grad-anim;
    background: linear-gradient(-45deg, #8a2387, #e94057, #f27121) 0% 0% / 400% 400%;
}
@keyframes hm-grad-anim {
    0% {
        background-position: 0 100%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0 100%;
    }
}
.hm-cta a.elementor-button,
.hm-grad.elementor-element.elementor-element-81ebd02::before {
    animation: 10s ease 0s infinite normal none running hm-grad-anim;
    background: linear-gradient(-45deg, #8a2387, #e94057, #f27121) 0% 0% / 400% 400%;
}

.focus-in-expand {
	-webkit-animation: focus-in-expand 0.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) 1ss both;
	        animation: focus-in-expand 0.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) 1s both;
}

@-webkit-keyframes focus-in-expand {
  0% {
    letter-spacing: -0.5em;
    -webkit-filter: blur(12px);
            filter: blur(12px);
    opacity: 0;
    
    text-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
  100% {
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
    text-shadow: 0 0 18px rgba(0, 0, 0, 0.35);
  }
}
@keyframes focus-in-expand {
  0% {
    letter-spacing: -0.5em;
    -webkit-filter: blur(12px);
            filter: blur(12px);
    opacity: 0;
    text-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
  100% {
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
    text-shadow: 0 0 18px rgba(0, 0, 0, 0.35);
  }
}
.highlight em {
    color: #F27121;
    font-style:inherit;
    font-weight:700;
    font-family:"brandon-grotesque", Sans-serif;
    text-transform: uppercase;
    letter-spacing:0.05em
}
.highlight em:nth-of-type(3n + 1) {
    color: #e94057;
}
.highlight em:nth-of-type(3n + 2) {
    color: #8a2387;
}
.highlight-aqua em:nth-of-type(3n + 3) {
    color: #F27121;
}
.highlight-aqua em {
    color: #0575e6;
    font-style:inherit;
}
.highlight-aqua em:nth-of-type(2n + 1) {
    color: #0575e6;
}
.highlight-aqua em:nth-of-type(2n + 2) {
    color: #00f260;
}


.cta-chevron svg.chevron {
    margin-left:.5em;
}

.cta-chevron svg.chevron path {
    fill:#fe8c00!important;
}


.copyright {
    font-size: .8em;
    line-height: 1.2;
    text-align: center;
    color: rgba(255,255,255,0.85);
    font-family: "brandon-grotesque", Sans-serif;
}


nav div ul#menu-header.elementskit-navbar-nav >li.prime:nth-of-type(3) {
    margin-right: 3em;}

.post-body p {margin-bottom:1.5em;}

.post-body h2:first-child,
.post-body h2:first-child ~ h2 {
    margin-bottom: 1em;
    line-height: 1.3;
    text-transform: none;
    letter-spacing: normal;
}

.post-body h2{margin-bottom:1em;}

.post-body h2:not(:first-child):not(:first-child ~ h2:nth-child(-n+4)), 
.post-body h3 {
    margin-top: 2em;
}

.post-body h3 {
    margin-bottom: 1em;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #ed8b00;}


.post-body h3:first-child{
    margin-top:0;
}

.featured-image img{
    height: 450px;
    width: 100%;
    object-fit: cover;
    object-position: center center; 
}

html body header .elementor-element nav div ul#menu-header.elementskit-navbar-nav > li:not(.prime) > a {
    font-family: "open sans", Sans-serif;
    font-size: 1em;
    font-weight: 500;letter-spacing:0.2em;}
    
 .profile-item[data-settings*="background_background"] {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

ul ul {
  list-style-type: disc;
}

.loop-item {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.category-menu .elementor-nav-menu > li:not(:last-child){margin-bottom:5px!important;}

.category-menu .elementor-nav-menu{
    padding: 20px;
    padding-left: 0;}


        .category-menu .elementor-item::before {
            content: '•';
            color: #ed8b00!important;
            background-color: transparent!important;
            font-size: 1.5em;
            margin-left: -0.7em;
            opacity:1!important;
            display: inline-block;
        }
.uc_post_grid_style_one .uc_post_button,
.uc_post_grid_style_one .ue-meta-data,
.uc_post_grid_style_one .uc_post_text {
    display:none;}

/* ==========================================================================
   Custom Taxonomy Terms Styling
   ========================================================================== */

/* Base container styling */
.taxonomy-terms {
    margin: 15px 0;
    padding: 0;
    text-transform: uppercase;
    letter-spacing:0.1em;
    line-height: 1.5;
    
}

/* Elementor shortcode wrapper compatibility */
.elementor-shortcode .taxonomy-terms {
    margin: 10px 0;
}

/* Individual term styling - Tag style */
.taxonomy-terms .term-name,
.taxonomy-terms .term-link {
    display: inline-block;
    background: #f8f9fa;
    color: #495057;
    padding: 6px 12px;
    margin: 2px 4px 2px 0;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    cursor: default;
}

/* Link styling when terms are linked */
.taxonomy-terms .term-link {
    cursor: pointer;
}

.taxonomy-terms .term-link:hover {
    background: #007cba;
    color: white;
    border-color: #007cba;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 124, 186, 0.2);
}

/* Alternative: Button style */
.taxonomy-terms.button-style .term-name,
.taxonomy-terms.button-style .term-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 11px;
}

.taxonomy-terms.button-style .term-link:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

/* Alternative: Minimal style */
.taxonomy-terms.minimal-style .term-name,
.taxonomy-terms.minimal-style .term-link {
    background: transparent;
    color: #666;
    border: 1px solid #ddd;
    padding: 4px 10px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: normal;
}

.taxonomy-terms.minimal-style .term-link:hover {
    background: #f5f5f5;
    color: #333;
    border-color: #999;
}

/* Alternative: Outlined style */
.taxonomy-terms.outlined-style .term-name,
.taxonomy-terms.outlined-style .term-link {
    background: transparent;
    color: #007cba;
    border: 1px solid #007cba;
    padding: 6px 14px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 12px;
}

.taxonomy-terms.outlined-style .term-link:hover {
    background: #007cba;
    color: white;
    transform: scale(1.05);
}

/* Color variations for different taxonomies */
.taxonomy-service_tag .term-name,
.taxonomy-service_tag .term-link {
    background: #e3f2fd;
    color: #1565c0;
    border-color: #bbdefb;
}

.taxonomy-service_tag .term-link:hover {
    background: #1565c0;
    color: white;
    border-color: #1565c0;
}

.taxonomy-category .term-name,
.taxonomy-category .term-link {
    background: #f3e5f5;
    color: #7b1fa2;
    border-color: #e1bee7;
}

.taxonomy-category .term-link:hover {
    background: #7b1fa2;
    color: white;
    border-color: #7b1fa2;
}

.taxonomy-post_tag .term-name,
.taxonomy-post_tag .term-link {
    background: #e8f5e8;
    color: #2e7d32;
    border-color: #c8e6c9;
}

.taxonomy-post_tag .term-link:hover {
    background: #2e7d32;
    color: white;
    border-color: #2e7d32;
}

/* Service group specific styling */
.taxonomy-service_group .term-name,
.taxonomy-service_group .term-link {
    background: #fff3e0;
    color: #ef6c00;
    border-color: #ffcc02;
}

.taxonomy-service_group .term-link:hover {
    background: #ef6c00;
    color: white;
    border-color: #ef6c00;
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
    .taxonomy-terms .term-name,
    .taxonomy-terms .term-link {
        background: #333;
        color: #f0f0f0;
        border-color: #555;
    }
    
    .taxonomy-terms .term-link:hover {
        background: #007cba;
        border-color: #007cba;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .taxonomy-terms .term-name,
    .taxonomy-terms .term-link {
        font-size: 12px;
        padding: 5px 10px;
        margin: 2px 2px 2px 0;
    }
}

/* Before/after text styling */
.taxonomy-terms .before-text {
    font-weight: 600;
    color: #333;
    margin-right: 8px;
}

.taxonomy-terms .after-text {
    color: #666;
    margin-left: 8px;
}

/* No terms message */
.taxonomy-terms .no-terms {
    color: #999;
    font-style: italic;
    font-size: 14px;
}

/* Animation for terms loading */
.taxonomy-terms.loading .term-name,
.taxonomy-terms.loading .term-link {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Spacing adjustments for different separators */
.taxonomy-terms.separator-pipe .term-name:not(:last-child)::after,
.taxonomy-terms.separator-pipe .term-link:not(:last-child)::after {
    content: " | ";
    color: #ccc;
    font-weight: normal;
    margin: 0 8px;
}

.taxonomy-terms.separator-bullet .term-name:not(:last-child)::after,
.taxonomy-terms.separator-bullet .term-link:not(:last-child)::after {
    content: " • ";
    color: #ccc;
    font-weight: bold;
    margin: 0 6px;
}

/* Flex layout for better alignment */
.taxonomy-terms.flex-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.taxonomy-terms.flex-layout .term-name,
.taxonomy-terms.flex-layout .term-link {
    margin: 0;
}

/* Large style for hero sections */
.taxonomy-terms.large-style .term-name,
.taxonomy-terms.large-style .term-link {
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
}

/* Small/compact style */
.taxonomy-terms.small-style .term-name,
.taxonomy-terms.small-style .term-link {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 12px;
}













/* ==========================================================================
   JetEngine Filter Checkboxes - Outlined Style (Matching Taxonomy Terms)
   ========================================================================== */

/* Hide the default checkbox input */
.jet-checkboxes-list__input {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* Container styling */
.jet-checkboxes-list-wrapper {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.jet-checkboxes-list-wrapper legend {
    display: none !important;
}

/* Row styling - make them inline */
.jet-checkboxes-list__row {
    display: inline-block !important;
    margin: 2px 8px 2px 0 !important;
    vertical-align: top !important;
}

/* Label styling - remove default styles */
.jet-checkboxes-list__item {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
    position: relative !important;
}

/* Button styling - make it look like outlined taxonomy terms - Higher specificity */
.jet-checkboxes-list .jet-checkboxes-list__row .jet-checkboxes-list__item .jet-checkboxes-list__button,
.jet-filter .jet-checkboxes-list__button,
div.jet-checkboxes-list .jet-checkboxes-list__button {
    display: inline-block !important;
    background: transparent !important;
    color: #366287 !important;
    border: 1px solid #366287 !important;
    padding: 6px 14px !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    text-transform: uppercase;
    letter-spacing: 0.07em
}

/* Hide the default decorator (checkbox icon) */
.jet-checkboxes-list__decorator {
    display: none !important;
}

/* Label text styling - Higher specificity */
.jet-checkboxes-list .jet-checkboxes-list__row .jet-checkboxes-list__label,
.jet-filter .jet-checkboxes-list__label,
div.jet-checkboxes-list .jet-checkboxes-list__label {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    font-weight: inherit !important;
    color: inherit !important;
}

/* Hover state - Higher specificity */
.jet-checkboxes-list .jet-checkboxes-list__row .jet-checkboxes-list__item:hover .jet-checkboxes-list__button,
.jet-filter .jet-checkboxes-list__item:hover .jet-checkboxes-list__button,
div.jet-checkboxes-list .jet-checkboxes-list__item:hover .jet-checkboxes-list__button {
    background: #ed8b00 !important;
    color: white !important;
    transform: scale(1.05) !important;
    border-color: #ed8b00 !important;
}

/* Checked/Active state - Higher specificity */
.jet-checkboxes-list .jet-checkboxes-list__row .jet-checkboxes-list__input:checked + .jet-checkboxes-list__button,
.jet-checkboxes-list .jet-checkboxes-list__row .jet-checkboxes-list__item.jet-active .jet-checkboxes-list__button,
.jet-filter .jet-checkboxes-list__input:checked + .jet-checkboxes-list__button,
.jet-filter .jet-checkboxes-list__item.jet-active .jet-checkboxes-list__button,
div.jet-checkboxes-list .jet-checkboxes-list__input:checked + .jet-checkboxes-list__button,
div.jet-checkboxes-list .jet-checkboxes-list__item.jet-active .jet-checkboxes-list__button {
    background: #ed8b00 !important;
    color: white !important;
    border-color: #ed8b00 !important;
    transform: none !important;
}

/* Focus state for accessibility */
.jet-checkboxes-list__input:focus + .jet-checkboxes-list__button {
    outline: 2px solid #ed8b00 !important;
    outline-offset: 2px !important;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .jet-checkboxes-list__button {
        font-size: 11px !important;
        padding: 5px 12px !important;
    }
    
    .jet-checkboxes-list__row {
        margin: 2px 2px 2px 0 !important;
    }
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
    .jet-checkboxes-list__button {
        color: #4fc3f7 !important;
        border-color: #4fc3f7 !important;
    }
    
    .jet-checkboxes-list__item:hover .jet-checkboxes-list__button,
    .jet-checkboxes-list__input:checked + .jet-checkboxes-list__button {
        background: #4fc3f7 !important;
        color: #000 !important;
        border-color: #4fc3f7 !important;
    }
}

/* Loading state */
.jet-checkboxes-list.jet-filter-loading .jet-checkboxes-list__button {
    opacity: 0.6 !important;
    pointer-events: none !important;
}

/* Optional: Add a subtle animation when filters are applied */
.jet-checkboxes-list__button {
    position: relative !important;
    overflow: hidden !important;
}

.jet-checkboxes-list__input:checked + .jet-checkboxes-list__button::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(255, 255, 255, 0.3) !important;
    animation: slideIn 0.3s ease-out !important;
}

@keyframes slideIn {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Fix for any container spacing issues */
.jet-checkboxes-list {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure proper spacing between filter groups if multiple exist */
.jet-checkboxes-list + .jet-checkboxes-list {
    margin-top: 15px !important;
}

/* Style adjustments for filter titles/labels if they exist */
.jet-filter-label {
    font-weight: 600 !important;
    margin-bottom: 10px !important;
    color: #333 !important;
    font-size: 14px !important;
}

/* Remove any unwanted margins from the fieldset */
fieldset.jet-checkboxes-list-wrapper {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    min-width: 0 !important;
}





/* Enhanced styling for Highland Health service boxes */

/* Container for all three boxes */
.service-boxes-container {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  max-width: 1200px;
  margin: 0 auto;
}

/* Individual service box styling */
.service-box {
  flex: 1;
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.9) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  text-decoration: none;
  color: inherit;
}

/* Hover effects */
.service-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  border-color: rgba(255,255,255,0.3);
}

/* Background accent for each box */
.service-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6b35, #f7931e);
  transition: height 0.3s ease;
}

.service-box:nth-child(2)::before {
  background: linear-gradient(90deg, #667eea, #764ba2);
}

.service-box:nth-child(3)::before {
  background: linear-gradient(90deg, #f093fb, #f5576c);
}

.service-box:hover::before {
  height: 8px;
}

/* Box titles */
.service-box h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #2c3e50;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* Box descriptions */
.service-box p {
  font-size: 1rem;
  line-height: 1.6;
  color: #5a6c7d;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

/* Service tags container */
.service_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

/* Individual service tags */
.service_tags p {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 20px;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0;
  color: #4a5568;
  transition: all 0.2s ease;
  backdrop-filter: blur(5px);
}

.service_tags p:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Responsive design */
@media (max-width: 768px) {
  .service-boxes-container {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
  }
  
  .service-box {
    padding: 2rem 1.5rem;
  }
  
  .service-box h2 {
    font-size: 1.3rem;
  }
}

/* Alternative modern card style */
.service-box.modern-card {
  background: #ffffff;
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  position: relative;
}

.service-box.modern-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-box.modern-card:hover::after {
  opacity: 1;
}

/* Floating elements for visual interest */
.service-box .floating-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.service-box:hover .floating-icon {
  opacity: 1;
  transform: rotate(10deg) scale(1.1);
}

/* Enhanced typography */
.service-box h2 {
  background: linear-gradient(135deg, #2c3e50, #3498db);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Smooth entrance animations */
.service-box {
  animation: fadeInUp 0.6s ease-out forwards;
}

.service-box:nth-child(2) {
  animation-delay: 0.1s;
}

.service-box:nth-child(3) {
  animation-delay: 0.2s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom scrollbar for tags overflow (if needed) */
.service_tags::-webkit-scrollbar {
  height: 4px;
}

.service_tags::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.1);
  border-radius: 10px;
}

.service_tags::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 10px;
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
  .service-box {
    background: linear-gradient(135deg, rgba(30,30,30,0.95) 0%, rgba(40,40,40,0.9) 100%);
    color: #e2e8f0;
    border-color: rgba(255,255,255,0.1);
  }
  
  .service-box h2 {
    color: #f7fafc;
  }
  
  .service-box p {
    color: #cbd5e0;
  }
  
  .service_tags p {
    background: rgba(60,60,60,0.7);
    color: #e2e8f0;
    border-color: rgba(255,255,255,0.1);
  }
}



.loop-item .text-container{
  backdrop-filter: blur(5px);}
  
  
  
  
  
  
  
  
  
   /* ========================================
           HUBSPOT FORM CUSTOM STYLES
           ======================================== */
        
        /* Container and form wrapper */
        .hs-form,
        .hs-form-field,
        .hs-form fieldset {
            max-width: 100% !important;
        }
        
        /* All text elements in the form */
        .hs-form,
        .hs-form label,
        .hs-form legend,
        .hs-form .hs-form-field label,
        .hs-form .hs-richtext,
        .hs-form .hs-richtext p,
        .hs-form .hs-main-font-element {
            color: rgb(37, 55, 70) !important;
            font-family: "Open Sans", sans-serif !important;
            font-size: 17.6px !important;
            font-weight: 400 !important;
            line-height: 26.4px !important;
        }
        
        /* Form field groups */
        .hs-form .hs-form-field {
            margin-bottom: 14.4px !important;
        }
        
        /* Labels */
        .hs-form label {
            display: block !important;
            margin-bottom: 8px !important;
            font-weight: 600 !important;
        }
        
        .hs-form .hs-form-required {
            color: #d73502 !important;
        }
        
        /* Input fields, textareas, and selects */
        .hs-form input[type="text"],
        .hs-form input[type="email"],
        .hs-form input[type="number"],
        .hs-form input[type="tel"],
        .hs-form input[type="date"],
        .hs-form input[type="password"],
        .hs-form textarea,
        .hs-form select {
            width: 100% !important;
            padding: 12px 15px !important;
            border: 1px solid #cbd6e2 !important;
            border-radius: 4px !important;
            background-color: #ffffff !important;
            color: rgb(37, 55, 70) !important;
            font-family: "Open Sans", sans-serif !important;
            font-size: 17.6px !important;
            line-height: 26.4px !important;
            box-sizing: border-box !important;
            transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
        }
        
        /* Textarea specific */
        .hs-form textarea {
            min-height: 120px !important;
            resize: vertical !important;
        }
        
        /* Focus states */
        .hs-form input[type="text"]:focus,
        .hs-form input[type="email"]:focus,
        .hs-form input[type="number"]:focus,
        .hs-form input[type="tel"]:focus,
        .hs-form input[type="date"]:focus,
        .hs-form input[type="password"]:focus,
        .hs-form textarea:focus,
        .hs-form select:focus {
            outline: none !important;
            border-color: rgb(37, 55, 70) !important;
            box-shadow: 0 0 0 3px rgba(37, 55, 70, 0.1) !important;
        }
        
        /* Placeholder text */
        .hs-form input::placeholder,
        .hs-form textarea::placeholder {
            color: #a0a0a0 !important;
            opacity: 1 !important;
        }
        
        /* Submit button */
        .hs-form input[type="submit"],
        .hs-form .hs-button {
            display: inline-block !important;
            padding: 14px 32px !important;
            background-color: rgb(37, 55, 70) !important;
            color: #ffffff !important;
            font-family: "Open Sans", sans-serif !important;
            font-size: 17.6px !important;
            font-weight: 600 !important;
            line-height: 26.4px !important;
            text-align: center !important;
            text-decoration: none !important;
            border: none !important;
            border-radius: 4px !important;
            cursor: pointer !important;
            transition: background-color 0.3s ease, transform 0.2s ease !important;
            margin-top: 10px !important;
        }
        
        .hs-form input[type="submit"]:hover,
        .hs-form .hs-button:hover {
            background-color: rgb(27, 40, 52) !important;
            transform: translateY(-2px) !important;
        }
        
        .hs-form input[type="submit"]:active,
        .hs-form .hs-button:active {
            transform: translateY(0) !important;
        }
        
        /* Radio buttons and checkboxes */
        .hs-form input[type="radio"],
        .hs-form input[type="checkbox"] {
            width: auto !important;
            margin-right: 8px !important;
            margin-top: 2px !important;
            vertical-align: top !important;
        }
        
        .hs-form .inputs-list {
            list-style: none !important;
            padding: 0 !important;
            margin: 0 !important;
        }
        
        .hs-form .inputs-list li {
            margin-bottom: 10px !important;
        }
        
        .hs-form .inputs-list label {
            display: inline-block !important;
            margin-bottom: 0 !important;
            font-weight: 400 !important;
            cursor: pointer !important;
        }
        
        /* Multi-column layout */
        .hs-form .hs-form-field.hs-fieldtype-radio ul,
        .hs-form .hs-form-field.hs-fieldtype-checkbox ul,
        .hs-form .hs-form-field.hs-fieldtype-booleancheckbox ul {
            columns: 1 !important;
        }
        
        /* Error messages */
        .hs-form .hs-error-msgs {
            list-style: none !important;
            padding: 0 !important;
            margin: 8px 0 0 0 !important;
        }
        
        .hs-form .hs-error-msg {
            color: #d73502 !important;
            font-size: 14px !important;
            line-height: 20px !important;
            margin-bottom: 4px !important;
        }
        
        /* Field with errors */
        .hs-form .hs-form-field.error input,
        .hs-form .hs-form-field.error textarea,
        .hs-form .hs-form-field.error select {
            border-color: #d73502 !important;
        }
        
        /* Success message */
        .hs-form .submitted-message {
            padding: 20px !important;
            background-color: #e8f5e9 !important;
            border: 1px solid #4caf50 !important;
            border-radius: 4px !important;
            color: #2e7d32 !important;
            font-family: "Open Sans", sans-serif !important;
            font-size: 17.6px !important;
            line-height: 26.4px !important;
        }
        
        /* Rich text content */
        .hs-form .hs-richtext {
            margin-bottom: 20px !important;
        }
        
        .hs-form .hs-richtext p {
            margin-block-start: 0 !important;
            margin-block-end: 14.4px !important;
        }
        
        .hs-form .hs-richtext p:last-child {
            margin-block-end: 0 !important;
        }
        
        /* Field descriptions */
        .hs-form .hs-field-desc {
            display: block !important;
            margin-top: 4px !important;
            color: #7c98b6 !important;
            font-size: 14px !important;
            line-height: 20px !important;
        }
        
        /* Progressive profiling */
        .hs-form .hs-form-field.hs-hidden {
            display: none !important;
        }
        
        /* Loading state */
        .hs-form.hs-form-stacked-loading {
            position: relative !important;
        }
        
        .hs-form.hs-form-stacked-loading:after {
            content: "" !important;
            position: absolute !important;
            top: 0 !important;
            left: 0 !important;
            right: 0 !important;
            bottom: 0 !important;
            background: rgba(255, 255, 255, 0.8) !important;
            z-index: 999 !important;
        }
        
        /* Date picker specific */
        .hs-form .hs-datepicker {
            position: relative !important;
        }
        
        /* File upload */
        .hs-form input[type="file"] {
            padding: 8px !important;
            border: 2px dashed #cbd6e2 !important;
            background-color: #fafafa !important;
            width: 100% !important;
            box-sizing: border-box !important;
        }
        
        /* Legal consent */
        .hs-form .legal-consent-container {
            margin-top: 20px !important;
            padding: 15px !important;
            background-color: #f7f9fc !important;
            border: 1px solid #e3e8ee !important;
            border-radius: 4px !important;
        }
        
        .hs-form .legal-consent-container label {
            font-weight: 400 !important;
        }
        
        /* Responsive design */
        @media (max-width: 768px) {
            .hs-form input[type="submit"],
            .hs-form .hs-button {
                width: 100% !important;
                padding: 16px 24px !important;
            }
            
            .hs-form .hs-form-field {
                margin-bottom: 20px !important;
            }
        }
        
        /* Remove HubSpot default styling conflicts */
        .hs-form .hs-input {
            box-shadow: none !important;
        }
        
        .hs-form fieldset {
            border: none !important;
            padding: 0 !important;
            margin: 0 !important;
        }
        
        .hs-form fieldset.form-columns-1 .hs-form-field,
        .hs-form fieldset.form-columns-2 .hs-form-field,
        .hs-form fieldset.form-columns-3 .hs-form-field {
            width: 100% !important;
            float: none !important;
        }
        
        /* Two column layout support */
        @media (min-width: 768px) {
            .hs-form fieldset.form-columns-2 .hs-form-field {
                width: 48% !important;
                float: left !important;
                margin-right: 4% !important;
            }
            
            .hs-form fieldset.form-columns-2 .hs-form-field:nth-child(2n) {
                margin-right: 0 !important;
            }
            
            .hs-form fieldset.form-columns-3 .hs-form-field {
                width: 31% !important;
                float: left !important;
                margin-right: 3.5% !important;
            }
            
            .hs-form fieldset.form-columns-3 .hs-form-field:nth-child(3n) {
                margin-right: 0 !important;
            }
        }
        
        /* Clear floats */
        .hs-form fieldset:after {
            content: "" !important;
            display: table !important;
            clear: both !important;
        }
        .overlfow-visible{overflow: visible!important;}
        
    /* Reset the container to inline layout */
.signpost .service_tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    background: none !important;
    padding: 10px 0 !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

/* Style individual tag items */
.signpost .service_tags .elementor-widget {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* Style the text within tags */
.signpost .service_tags .elementor-widget p {
    margin: 0 !important;
    padding: 3px 10px !important;
    background: none !important;
    color: rgba(255,255,255,0.6) !important;
    font-size: 0.7em !important;
    line-height: 1 !important;
    white-space: nowrap;
    border:0;
    border-right: 1px solid rgba(255,255,255,0.4);
    border-radius:0;
    letter-spacing:0.1em;
}

/* Add dividers between items using pseudo-elements */
.signpost .service_tags .elementor-widget:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 16px;
    width: 1px;
    background: none !important;
    margin: 0 2px;
}


/* Remove any default Elementor spacing/styling that might interfere */
.signpost .service_tags .elementor-element {
    margin: 0 !important;
}

/* Optional: Add hover effect for better interactivity */
.signpost .service_tags .elementor-widget:hover p {
    color: #FFA500 !important; /* Adjust to match your brand color */
    transition: color 0.3s ease;
}

/* For mobile responsiveness - stack items if needed */
@media (max-width: 768px) {
    .signpost .service_tags {
        justify-content: center !important;
    }
    
    .signpost .service_tags .elementor-widget p {
        font-size: 0.8em !important;
        padding: 4px 10px !important;
    }
}

/* For very small screens - allow wrapping */
@media (max-width: 480px) {
    .signpost .service_tags .elementor-widget p {
        white-space: normal;
        font-size: 0.8em !important;
        padding: 3px 8px !important;
    }
}    
        
        
        
        
        
/* ===== CSS FOR TOGGLE FUNCTIONALITY ===== */

/* Hide service tags by default */
.service_tags {
    display: none !important;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
}

/* Show state for service tags */
.service_tags.expanded {
    display: flex !important;
    opacity: 1;
    max-height: 500px; /* Adjust based on your content */
    padding: 15px 0;
    margin-top: 10px;
}

/* Style the unfold button */
.unfold {
    cursor: pointer !important;
    transition: transform 0.3s ease;
    z-index: 10;
}

/* Rotate animation for chevron */
.unfold.rotated {
    transform: rotate(0deg);
}

/* Prevent link click when clicking unfold button */
.unfold.clicked {
    pointer-events: auto !important;
}

/* Optional: Add hover effect to unfold button */
.unfold:hover {
    opacity: 0.8;
}

/* Optional: Smooth animation for the icon itself */
.unfold .elementor-icon {
    transition: transform 0.3s ease;
}


/* Hover effect */
.signpost .service_tags .elementor-widget:hover p {
    transition: color 0.3s ease;
}

        
        
        
        
        
        
        
        /* Style all pagination links as pills */
.elementor-pagination .page-numbers {
    background-color: #FFFFFF;
    font-family: "brandon-grotesque", Sans-serif;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--e-global-color-c39adad);
    transition-duration: 0.2s;
    border-style: solid;
    border-width: 1px;
    border-color: var(--e-global-color-accent);
    border-radius: 2em;
    padding: 8px 18px;
    text-decoration: none;
    display: inline-block;
    margin: 0 5px;
}
.elementor-pagination .page-numbers.next:hover {
    transform: translateX(5px);
}

/* Style for disabled "Previous" link */
.elementor-pagination span.page-numbers.prev {
    opacity: 0.5;
    cursor: cursor;
}
/* Hover state for Previous button - move left */
.elementor-pagination .page-numbers.prev:not([class*="disabled"]):hover {
    transform: translateX(-5px);
}

/* Active/current page styling (if needed) */
.elementor-pagination .page-numbers.current {
    background-color: var(--e-global-color-c39adad);
    color: #FFFFFF;
    border-color: var(--e-global-color-c39adad);
}





/* Hide filter grid by default with slide preparation */
.filter-grid {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-20px);
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease,
                transform 0.4s ease,
                padding 0.4s ease,
                margin 0.4s ease;
    display: block !important; /* Keep block to allow sliding */
    visibility: hidden;
    padding: 0 !important;
    margin: 0 !important;
}

/* Show state for filter grid with smooth slide */
.filter-grid.expanded {
    max-height: 2000px; /* Adjust based on your content */
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    padding: 20px 0 !important;
    margin-top: 15px !important;
}

/* Alternative slide animation (from top) */
.filter-grid.slide-from-top {
    transform: translateY(-30px) scale(0.98);
}

.filter-grid.expanded.slide-from-top {
    transform: translateY(0) scale(1);
}

/* Style the filter button */
.filter-button {
    cursor: pointer !important;
    transition: all 0.3s ease;
    position: relative;
}

/* Add hover effect to filter button */
.filter-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Rotate animation for button icon */
.filter-button .elementor-button-icon {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

/* Rotated state for icon */
.filter-button.active .elementor-button-icon {
    transform: rotate(180deg);
}


/* ===== SERVICE TAGS SLIDE ANIMATION ===== */

/* Hide service tags by default with slide preparation */
.service_tags {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease,
                transform 0.4s ease,
                padding 0.4s ease,
                margin 0.4s ease;
    display: flex !important;
    visibility: hidden;
    padding: 0 !important;
    margin: 0 !important;
}

/* Show state for service tags with smooth slide */
.service_tags.expanded {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    padding: 15px 0 !important;
    margin-top: 10px !important;
}

/* Style the unfold button */
.unfold {
    cursor: pointer !important;
    transition: transform 0.3s ease;
    z-index: 10;
}

/* Rotate animation for chevron */
.unfold .elementor-icon {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Optional: Add hover effect to unfold button */
.unfold:hover {
    opacity: 0.8;
}

/* Ensure smooth animation for grid/tag items with stagger */
.filter-grid > *,
.service_tags > * {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.filter-grid.expanded > *,
.service_tags.expanded > * {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for visual appeal */
.filter-grid.expanded > *:nth-child(1),
.service_tags.expanded > *:nth-child(1) { transition-delay: 0.05s; }
.filter-grid.expanded > *:nth-child(2),
.service_tags.expanded > *:nth-child(2) { transition-delay: 0.1s; }
.filter-grid.expanded > *:nth-child(3),
.service_tags.expanded > *:nth-child(3) { transition-delay: 0.15s; }
.filter-grid.expanded > *:nth-child(4),
.service_tags.expanded > *:nth-child(4) { transition-delay: 0.2s; }
.filter-grid.expanded > *:nth-child(5),
.service_tags.expanded > *:nth-child(5) { transition-delay: 0.25s; }
.filter-grid.expanded > *:nth-child(6),
.service_tags.expanded > *:nth-child(6) { transition-delay: 0.3s; }
.filter-grid.expanded > *:nth-child(7),
.service_tags.expanded > *:nth-child(7) { transition-delay: 0.35s; }
.filter-grid.expanded > *:nth-child(8),
.service_tags.expanded > *:nth-child(8) { transition-delay: 0.4s; }

/* Mobile responsiveness */
@media (max-width: 768px) {
    .filter-grid.expanded {
        padding: 15px 0 !important;
        margin-top: 10px !important;
    }
    
    .service_tags.expanded {
        padding: 10px 0 !important;
        margin-top: 8px !important;
    }
    
    /* Faster animations on mobile */
    .filter-grid,
    .service_tags {
        transition-duration: 0.3s;
    }
}






/* Align TOC bullet icons to the top */
.elementor-toc__list-item-text-wrapper {
    display: flex;
    align-items: flex-start !important; /* Change from center to top */
}

/* Ensure the SVG bullet stays at the top */
.elementor-toc__list-item-text-wrapper svg {
    margin-top: 0.4em; /* Adjust to align with first line of text */
    flex-shrink: 0; /* Prevent SVG from shrinking */
}

/* Optional: Add some spacing between bullet and text */
.elementor-toc__list-item-text-wrapper .elementor-toc__list-item-text {
    margin-left: 8px; /* Adjust spacing as needed */
}

/* If the text wraps to multiple lines, ensure proper alignment */
.elementor-toc__list-item {
    align-items: flex-start !important;
}

/* Fine-tune the bullet position if needed */
.elementor-toc__list-item-text-wrapper svg.e-font-icon-svg {
    position: relative;
    top: 2px; /* Adjust this value to perfectly align with text baseline */
}
.elementor-toc__list-item-text-wrapper svg{fill:#ed8b00!important;}
.elementor-toc__body {padding-left:0!important;}



[id^="elementor-toc__heading-anchor-"] {
    top: -75px;
    position: relative;
}/* End custom CSS */