/* ===== TomSelect overrides ===== */

/* Compact tags */
.tom-select-custom .ts-control.multi .ts-input > div {
  font-size: .8125rem;
  padding: .2rem .625rem;
  border-radius: .25rem;
  background-color: #e7eaf3;
  color: #1e2022;
  line-height: 1.4;
}

/* Input & placeholder font */
.tom-select-custom .ts-input {
  font-size: .875rem;
  min-height: 0;
}

/* Remove inner border/shadow when inside input-card */
.input-card .tom-select-custom .ts-control .ts-input {
  border: none !important;
  box-shadow: none !important;
  padding: .5rem .75rem;
}

/* Body-level dropdown (when using dropdownParent='body') */
body > .ts-dropdown {
  z-index: 1060;
  border: 1px solid rgba(33, 50, 91, .1);
  border-radius: .5rem;
  box-shadow: 0 .5rem 1.5rem rgba(140, 152, 164, .2);
  font-size: .875rem;
}
body > .ts-dropdown .option {
  padding: .5rem 1rem;
}
body > .ts-dropdown .option:hover,
body > .ts-dropdown .active {
  background-color: rgba(0, 201, 167, .08);
  color: #1e2022;
}

/* ===== Hero form — phone input ===== */
.input-card .input-group {
  border: none;
}
.input-card .input-group .input-group-text {
  border: none;
  background: transparent;
  font-size: .875rem;
  font-weight: 600;
  color: #1e2022;
  padding: 0 .25rem 0 0;
  letter-spacing: .01em;
}
.input-card .input-group .form-control {
  border: none;
  box-shadow: none;
  font-size: .9375rem;
}
.input-card .input-group .form-control:focus {
  box-shadow: none;
}

/*!
 * For Video Pop UP
 */
.modal-dialog-video {
  max-width: 60%;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 20%;
}

@media only screen and (max-width: 768px) {
  .modal-dialog-video {
    margin: 0;
    max-width: 100%;
    margin: 0;
  }
}




/* Default video width for mobile */
.hero-mobile-banner-video {
 width: 100%;
 }

/* Video width for desktop */
@media screen and (min-width: 768px) {
 .hero-desktop-banner-video {
     width: 70%;
  }
 }

/* Floating WhatsApp & Call Buttons */
.float {
    position: fixed;
    width: 60px;
    height: 60px;
    right: 15px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 10px;
    font-size: 14px;
    transition: background-color 0.2s;
}

.float:hover {
    background-color: white;
}

.whatsapp {
    bottom: 15px;
}

.call {
    bottom: 80px;
    background-color: #34b7f1;
}

.float .bi {
    font-size: 30px;
    margin-right: 5px;
}

.cta-text {
    display: none;
}

@media only screen and (max-width: 768px) {
    .bottom-actions-wrap {
        position: fixed;
        bottom: 10px;
        left: 10px;
        right: 10px;
        z-index: 100;
        display: flex;
        justify-content: space-between;
        background-color: white;
        padding: 5px;
        border-radius: 15px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

    .float {
        position: static;
        width: 48%;
        height: 50px;
        border-radius: 10px;
        padding: 5px;
    }

    .whatsapp, .call {
        bottom: auto;
    }

    .cta-text {
        display: inline;
    }
}

/* ===== Services filter pills (mobile) ===== */
.services-filter-btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.5rem 1rem;
    border-radius: 50rem;
    border: 1px solid #d4d9e1;
    background-color: #fff;
    color: #677788;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}
.services-filter-btn--active {
    border: 2px solid var(--bs-success, #00C9A7);
    background-color: var(--bs-success, #00C9A7);
    color: #fff;
}

/* ===== Offer cards: prevent layout shift before Swiper CSS/JS loads ===== */
.js-swiper-equal-height {
    overflow: hidden;
}
.js-swiper-equal-height .swiper-wrapper {
    display: flex;
}
.js-swiper-equal-height .swiper-slide {
    flex-shrink: 0;
    margin-right: 15px;
}
.js-swiper-equal-height .swiper-slide:last-child {
    margin-right: 0;
}
@media (min-width: 1024px) {
    .js-swiper-equal-height .swiper-slide {
        width: calc((100% - 30px) / 3);
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .js-swiper-equal-height .swiper-slide {
        width: calc((100% - 15px) / 2);
    }
}
@media (max-width: 767px) {
    .js-swiper-equal-height .swiper-slide {
        width: 100%;
        margin-right: 0;
    }
}