/* Global ElementsKit Bullet Fix */ 
.ekit-menu-nav, 
.ekit-menu-nav ul, 
.ekit-menu-nav li, 
.elementskit-menu-container ul, 
.elementskit-menu-container li { 
list-style: none !important; 
list-style-type: none !important; 
}

selector ul { 
list-style-position: outside; 
margin-left: 1.5em; 
padding-left: 0; 
} 
selector li { 
text-indent: 0; 
}

/*Fix extra spacing above headings*/
.elementor-widget-text-editor h1:first-child,
.elementor-widget-text-editor h2:first-child,
.elementor-widget-text-editor h3:first-child,
.elementor-widget-text-editor h4:first-child {
    margin-top: 0;
}

/*Reduce spacing between headings*/
.elementor-widget-text-editor h2 {
    margin: 0 0 16px;
}

.elementor-widget-text-editor h3 {
    margin: 0 0 16px;
}

.elementor-widget-text-editor h4 {
    margin: 0 0 12px;
}

.elementor-widget-text-editor h5 {
    margin: 0 0 8px;
}

.elementor-widget-text-editor p {
    margin: 0 0 20px;
}

.elementor-widget-text-editor p:last-child {
    margin-bottom: 0;
}




/* Fixes the carousel structural containers for a 1:1 ratio */
.responsive-carousel .swiper-slide {
  height: auto !important;
}

.responsive-carousel .elementor-image-carousel-wrapper {
  display: block !important;
}

/* Forces the image container link to be a perfect square */
.responsive-carousel .swiper-slide-inner,
.responsive-carousel .swiper-slide-inner a {
  display: block !important;
  width: 100% !important;
  position: relative !important;
  aspect-ratio: 1 / 1 !important;
}

/* Absolutely positions the image to force-fill the square */
.responsive-carousel .swiper-slide .swiper-slide-image {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important; /* Forces it to fill space without stretching */
  object-position: center center !important;
  border-radius: 10px !important;
}

/*Styling for City Pills on Homeppage*/
.city-list {
    text-align: left;
}

.city-list .city-tag {
    display: inline-block;
    border: 1px solid currentColor;
    border-radius: 8px;
    padding: 7px 14px;
    margin: 0 5px 8px 0;
    line-height: 1.2;
}

@media (max-width: 767px) {
    .city-list {
        text-align: center !important;
    }

    .city-list .city-tag {
        margin: 0 3px 8px 3px !important;
    }
}

/*Homepage Service Card Transform*/
.service-content {
    transform: translateY(calc(100% - 90px));
    transition: transform 0.4s ease;
}

.service-card:hover .service-content {
    transform: translateY(0);
}

.service-content {
    transform: translateY(calc(100% - 90px));
    transition: transform 0.4s ease;
}

.service-card:hover .service-content {
    transform: translateY(0);
}

/* Mobile: show the full description */
@media (max-width: 767px) {
    .service-content {
        transform: translateY(0);
    }
}

/*Style the contact form submission button*/
/* Jetpack Contact Form — Submit Button */
/* Jetpack Contact Form — Submit Button */

.contact-form-button {
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
}

.contact-form-button .wp-block-button__link {
    display: inline-block !important;

    /* Colors */
    color: #263551 !important;
    background: #3CBCA6 !important;

    /* Shape */
    border: none !important;
    border-radius: 5px !important;

    /* Typography */
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: 500 !important;
    letter-spacing: normal !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    text-decoration: none !important;

    /* Remove inherited effects */
    box-shadow: none !important;

    /* Hover animation */
    transform: scale(1);
    transform-origin: center center;
    transition: transform 0.3s ease !important;
}

.contact-form-button .wp-block-button__link {
    transform-origin: left center !important;
    transition: transform 0.3s ease !important;
}

.contact-form-button .wp-block-button__link:hover {
    transform: scale(1.05) !important;
}

.wp-block-jetpack-contact-form,
.wp-block-jetpack-contact-form .wp-block-button,
.wp-block-jetpack-contact-form .contact-form-button {
    overflow: visible !important;
}