/*!
Theme Name: Insuz Child theme
Theme URI: https://bracketweb.com/insuzwp/
Template: insuz
Author: Bracket Web
Author URI: https://themeforest.net/user/bracket-web
Description: This is a Child theme for Insuz WordPress theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: insuz-child
*/

/* Dynamic Service Areas Menu */

.lex-menu .sub-menu {
  display: none;
}

.lex-menu .sub-menu.open {
  display: block;
}

.dropdown-btn {
  background: none;
  border: none;
  padding-left: 8px;
	    padding-left: 8px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
}

.dropdown-btn i {
  pointer-events: none;
  -webkit-transition: 500ms;
  transition: 500ms;
}

.main-menu .main-menu__list > li > ul > li + li, .main-menu .main-menu__list > li > ul > li > ul > li + li, .stricky-header .main-menu__list > li > ul > li + li, .stricky-header .main-menu__list > li > ul > li > ul > li + li {
  margin-top: 0px;
}

@media(min-width: 1200px) {
    .lex-menu li:hover > .sub-menu {
    display: block !important;
    position: absolute;
    z-index: 100;
    left: 100%;
    top: 0;
    background: #fff;
  }

  .lex-menu li.menu-item-has-children {
    position: relative;
  }
  li.menu-item-has-children a {
    position: relative;
  }

  li.menu-item-has-children > a:after {
    content: "\f107"; 
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 0.5em;
    display: inline-block;
    font-size: 16px;
    -webkit-transition: 500ms;
    transition: 500ms;
  }

  li.menu-item-has-children:hover > a:after,
  li.menu-item-has-children:hover > a > button > i  {
    transform: rotate(180deg);
  }

  li.menu-item-has-children a.lex-submenu-function:after,
  li.menu-item-has-children a.lex-submenu-function ~ .lex-menu a:after {
    display: none;
  }

  .lex-menu li:hover > .sub-menu.lex-menu__cities {
    display: flex !important;    
    height: 100vh;
  }

  .lex-menu__cities {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: transparent !important;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: start;
    max-height: 660px; /* 44px * 15 */
    max-width: fit-content;
    overflow-y: auto;
  }

  .lex-menu__cities::-webkit-scrollbar {
    width: 8px;
  }

  .lex-menu__cities::-webkit-scrollbar-thumb:hover {
    background: #000;
  }

  .lex-menu__cities::-webkit-scrollbar-thumb {
    background: #23479E;
    border-radius: 4px;
  }

  .lex-menu__cities::-webkit-scrollbar-track{
    background: #fff;
    border-radius: 0px;
  }

  .lex-menu__city {
    min-width: 200px;
    width: 200px;
    background: #fff;
    margin-left: 1px;
  }

  .lex-menu__cities a {
    color: #000 !important;
    height: 100%;
    width: 100%;
    display: block;
    padding: 5px 10px;
  }
  .lex-menu__cities a:hover {
    background-color: #23479E;
    color: #fff !important;
  }
  
  .lex-menu__state {
    min-width: 200px;
  }

  .main-menu .main-menu__list > li > ul > li, .main-menu .main-menu__list > li > ul > li > ul > li, .stricky-header .main-menu__list > li > ul > li, .stricky-header .main-menu__list > li > ul > li > ul > li {
    position: static !important;
    min-width: 250px;
  }

  .lex-menu__item:hover > a > .dropdown-btn i {
    color: #fff;
    transform: rotate(180deg);
  }
}


@media(max-width: 1199px) {
  .lex-menu__cities {
    padding-left: 0px;
  }
  .lex-menu__cities a {
    font-size: 14px;
    font-family: var(--insuz-font);
    font-weight: 500 !important;
    color: #fff !important;
  }
}

/* END Dynamic Service Areas Menu */

.main-slider__line {
  font-weight: 700;
  font-size: 20px;
  margin-top: 30px;
}

.main-slider__line img {
  height: 30px;
  width: 30px;
  margin-right: 5px;
}

@media(max-width: 650px) {
  .main-slider__line {
    font-size: 16px;
  }
}

.floating-call-button {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-image: linear-gradient(to right, #ef4d85, #f68c41, #23479e, #5074cb) !important;
  background-size: 300% 100% !important;
  color: #fff;
  font-size: 22px;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: rgba(149, 157, 165, .2) 0 8px 24px;
  z-index: 9999;
  transition: .5s cubic-bezier(0, .275, .125, 1);
  cursor: pointer;
  border: none;
}

.floating-call-button:hover {
  background-position: 100% 0 !important;
}

.floating-call-button .icon-phone {
  font-size: 30px;
  color: #fff;
  line-height: 1;
}

.floating-call-button::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(to right, #ef4d85, #f68c41);
  top: 0;
  left: 0;
  z-index: -1;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

.contact-modal {
  position: fixed;
  bottom: 110px;
  left: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: rgba(149, 157, 165, .2) 0 8px 24px;
  padding: 20px;
  width: fit-content;
  max-width: 90%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 9998;
}

.contact-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.contact-modal__inner {
  position: relative;
}

.contact-modal__close {
  position: absolute;
  top: 5px;
  right: 10px;
  background: none;
  border: none;
  font-size: 22px;
  color: #999;
  cursor: pointer;
  padding: 0px;
  transition: all 0.3s ease;
}

.contact-modal__close:hover {
  transform: rotate(180deg);
}

.contact-modal__heading {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #000;
  text-align: left;
}

.contact-modal__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-modal__list a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #333;
  text-decoration: none;
  border-radius: 20px;
  padding: 13px 10px;
  line-height: 1.3em;
  transition: background 0.2s ease, color 0.2s ease;
}

.contact-modal__list a:hover {
  background: #f5f5f5;
  color: #000;
}

.contact-modal__list span[class^="icon-"] {
  font-size: 18px;
  color: #ef4d85;
}

@media(max-width: 1024px) {
  .floating-call-button {
    display: none;
  }
}

.our-steps {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin-top: 40px;
}

.our-steps__item {
  background-color: #f0fbfb;
  border: 1px solid #dedede;
  border-radius: 20px;
  padding: 30px 20px;
  position: relative;
  z-index: 1;
}

.our-steps__item:not(:last-of-type)::after {
  content: "";
  background: url('https://byecar.com/wp-content/uploads/2026/03/icon-arrow-round-bkg.svg') no-repeat;
  background-size: contain;
  position: absolute;
  top: 18px;
  right: -29px;
  height: 30px;
  width: 30px;
  z-index: 10;
  transform: rotate(180deg);
  filter: invert(5%) sepia(100%) saturate(4061%) hue-rotate(248deg) brightness(95%) contrast(97%);
}

@media (max-width: 990px) {
  .our-steps__item:not(:last-of-type)::after {
    right: 20px;
    bottom: -30px;
    top: unset;
    transform: rotate(-90deg);
  }
}

.our-steps__item:last-of-type {
  background-color: #23479e;
}

.our-steps__item:last-of-type p {
  color: #fff;
}

.our-steps__item:last-of-type .our-steps__heading__step {
  background-color: #fff;
  color: #0e0d50 !important;
}

.our-steps__heading__step {
  margin-bottom: 0px !important;
  font-size: 14px !important;
  font-weight: 700;
  background-color: #0e0d50;
  color: #fff !important;
  padding: 3px 13px;
  border-radius: 5px;
  line-height: 1em;
  width: fit-content;
}

.our-steps__heading__title {
  font-weight: 700;
  font-size: 25px !important;
  margin-bottom: 0px !important;
}

.our-steps__item:not(:last-of-type) .our-steps__heading__title {
  color: #0e0d50 !important;
}

.our-steps__text p {
  margin-bottom: 0px;
}

.our-steps.--location-page {
  margin-top: 30px;
  margin-bottom: 30px;
}

.our-steps.--location-page .our-steps__item::after {
  display: block;
  right: 10px;
  bottom: 10px;
  top: unset;
  transform: rotate(-270deg);
}

.about-two__points-box.--pa-points .about-two__points {
	margin: 0px !important;
}

.about-two__points-box.--pa-points .about-two__points li {
	box-shadow: none !important;
}