


@font-face{
    font-display:swap;
    font-family:bootstrap-icons;
    src:url('https://upn3xt.com/assets/fonts/bootstrap-icons.woff2') 
    format("woff2")
    
}
@font-face{
    font-family:flaticon_mycollection;
    font-display:swap;src:url('https://upn3xt.com/assets/fonts/flaticon_mycollection.woff2') format("woff2")}


.breadcrumb {
    display: flex;
    justify-content: center;
}

.title-h2 {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;

}

.title-h2 h2 {
    text-align: center;
    max-width: 70%;
}

@media (max-width: 767px) {
  
    .title-h2 h2 {

        max-width: 100%;
        font-size: 30px;
        line-height: 40px;
    }
}


.navbar-brand {
    font-size: 0;
    line-height: 0;
}

.navbar {
    padding: 20px 30px;
    align-items: end;
}

#header-wrap.fixed-header .logo img {
    height: 41px;
}

@media (max-width: 991px) {
    .navbar {
        align-items: center;
    }
}

.state-cards-container {
    gap: 12px !important;
}

.state-btn {
    min-width: 180px !important;
    min-height: 38px !important;
    padding: 6px 32px 6px 32px !important;
    font-size: 1.08rem !important;
    font-weight: 600;
    border-radius: 22px !important;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    transition: transform 0.18s cubic-bezier(.4, 2, .6, 1), box-shadow 0.18s;
    margin-bottom: 0 !important;
    background: #2d6cdf;
    color: #fff;
    border: none;
    text-decoration: none;
    margin: 6px;
}

.state-btn:hover,
.state-btn:focus {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.13);
    z-index: 2;
    color: #fff;
    text-decoration: none;
}

.state-btn .state-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.state-btn .state-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 1.08rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}

.state-btn .state-code {
    font-size: 0.98em;
    font-weight: 500;
    opacity: 0.7;
    color: #fff;
    margin-left: 2px;
}






.marker-pin {
    width: 44px;
    height: 60px;
  
    background: url('assets/images/icons/icon_map32x32.png') center/cover no-repeat;
  
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 120'%3E%3Cpath d='M50 0 C78 0 100 22 100 50 C100 78 75 95 50 120 C25 95 0 78 0 50 C0 22 22 0 50 0 Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 120'%3E%3Cpath d='M50 0 C78 0 100 22 100 50 C100 78 75 95 50 120 C25 95 0 78 0 50 C0 22 22 0 50 0 Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  
    box-shadow: 0 4px 10px rgba(0,0,0,.25);
  }
  


#us-map {
    width: 100%;
    height: 400px;
}

#us-map .city-marker {
    cursor: pointer;
}

.leaflet-tooltip {
    pointer-events: none;
}

/* Стили для кастомного маркера с вашей PNG-иконкой */
.custom-marker {
    background: none !important;
    border: none !important;
}

.marker-pin {
    width: 32px;
    height: 38px;
    background-image: url('/assets/images/icons/icon_map32x32.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    position: relative;
    transition: all 0.3s ease;
    /* Красивая тень и обводка */
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 0 3px rgba(255, 255, 255, 0.8));
    /* Цветовая настройка для разных регионов */
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 0 3px rgba(255, 255, 255, 0.8)) hue-rotate(0deg) saturate(1.2) brightness(1.1);
}

/* Цвета маркеров по регионам через CSS фильтры */
.marker-pin.northeast {
    filter: drop-shadow(0 3px 8px rgba(30, 144, 255, 0.4)) drop-shadow(0 0 0 3px rgba(255, 255, 255, 0.9)) hue-rotate(200deg) saturate(1.3) brightness(1.2);
}

.marker-pin.midwest {
    filter: drop-shadow(0 3px 8px rgba(160, 32, 240, 0.4)) drop-shadow(0 0 0 3px rgba(255, 255, 255, 0.9)) hue-rotate(280deg) saturate(1.3) brightness(1.2);
}

.marker-pin.south {
    filter: drop-shadow(0 3px 8px rgba(40, 167, 69, 0.4)) drop-shadow(0 0 0 3px rgba(255, 255, 255, 0.9)) hue-rotate(120deg) saturate(1.3) brightness(1.2);
}

.marker-pin.west {
    filter: drop-shadow(0 3px 8px rgba(255, 152, 0, 0.4)) drop-shadow(0 0 0 3px rgba(255, 255, 255, 0.9)) hue-rotate(30deg) saturate(1.3) brightness(1.2);
}

.marker-pin.other {
    filter: drop-shadow(0 3px 8px rgba(136, 136, 136, 0.4)) drop-shadow(0 0 0 3px rgba(255, 255, 255, 0.9)) hue-rotate(0deg) saturate(0.8) brightness(0.9);
}

.marker-pin.hover {
    width: 40px;
    height: 40px;
    transform: scale(1.2);
    filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 0 4px rgba(255, 255, 255, 1)) !important;
}




  
  .marker-drop {
    transition: all 0.3s ease;
  }
  
  .custom-marker:hover .marker-drop {
    width: 40px;
    height: 40px;
    transform: rotate(-45deg) scale(1.2);
    filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 0 4px rgba(255, 255, 255, 1)) !important;
  }



  
  .custom-tooltip {
    background-color: rgba(0, 0, 0, 0.8) !important;
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
  }
  
  .custom-tooltip::before {
    border-top-color: rgba(0, 0, 0, 0.8) !important;
  }
  
  /* Стилизация контрола слоев */
  .leaflet-control-layers {
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2) !important;
    border: none !important;
  }
  
  .leaflet-control-layers-expanded {
    padding: 10px !important;
  }
  
  .leaflet-control-layers-toggle {
    background-image: none !important;
    background-color: #007cff !important;
    border-radius: 6px !important;
    width: 32px !important;
    height: 32px !important;
  }
  
  .leaflet-control-layers-toggle:before {
    content: "🗺️";
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
  }
  
  .leaflet-control-layers label {
    font-size: 14px !important;
    font-weight: 500 !important;
    margin-bottom: 5px !important;
    display: block !important;
  }
  
  .leaflet-control-layers-base label input {
    margin-right: 8px !important;
  }

  .leaflet-container .leaflet-control-attribution {

    opacity: 0;
}



.counties-container {
    margin: 20px 0;
}

.county-group {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #007bff;
}

.county-header {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
    line-height: 28px;
}

.county-cities {
    gap: 12px;
    margin: 0 -6px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .county-group {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .county-header {
        font-size: 1.3rem;
    }
    
    .county-cities {
        justify-content: center !important;
    }
}

/* Эффекты при наведении на группу */
.county-group:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Альтернативные цвета для разных групп */
.county-group:nth-child(even) {
    border-left-color: #28a745;
    background-color: #f8fff9;
}

.county-group:nth-child(odd) {
    border-left-color: #6f42c1;
    background-color: #f9f8ff;
}



.primary-footer .footer-title {
    margin-bottom: 20px;
    background: linear-gradient(115deg, var(--themeht-primary-color), var(--themeht-secondary-color));
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 20px;
}

.media-icon li .footer-mini-title {
    margin: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.title-h2-border {
    border-bottom: 1px solid #c9008b36;
    padding-bottom: 5px;
}

.title-h2-center {
    text-align: center;
}

.title-h3-color {
    color: #fff;
}

.title-h4-text {
    font-size: 26px;
    line-height: 36px;
    font-weight: 500;
}


.error-message {
    font-size: 14px;
    line-height: 18px;
}

/* Footer logo shadow for better visibility on dark background */
.footer .footer-logo img,
.primary-footer .footer-logo img {
    filter: drop-shadow(0 3px 10px rgba(45, 108, 223, 0.8)) 
            drop-shadow(0 1px 5px rgba(45, 108, 223, 0.6))
            drop-shadow(0 0 0 2px rgba(255, 255, 255, 0.9))
            drop-shadow(0 0 8px rgba(255, 255, 255, 0.4)) !important;
    transition: filter 0.3s ease !important;
}

.footer .footer-logo:hover img,
.primary-footer .footer-logo:hover img {
    filter: drop-shadow(0 4px 15px rgba(45, 108, 223, 1))
            drop-shadow(0 2px 8px rgba(45, 108, 223, 0.8))
            drop-shadow(0 0 0 3px rgba(255, 255, 255, 1))
            drop-shadow(0 0 12px rgba(255, 255, 255, 0.6)) !important;
    transform: scale(1.02) !important;
}

/* Services Grid Styles for bg-effect section */
.services-grid .row {
    display: flex;
    flex-wrap: wrap;
}

.services-grid .row > .col-lg-4,
.services-grid .row > .col-12 .row > .col-lg-4 {
    display: flex;
}

.services-grid .service-item.style-2 {
    transition: all 0.3s ease;
    margin-bottom: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.services-grid .service-item.style-2 .service-desc {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.services-grid .service-item.style-2 .service-desc p {
    flex: 1;
}

.services-grid .service-item.style-2:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.services-grid .service-item.style-2 .service-icon {
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.services-grid .service-item.style-2:hover .service-icon {
    transform: scale(1.1);
}

.services-grid .service-item.style-2 .service-title h3 {
    margin-bottom: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.services-grid .service-item.style-2:hover .service-title h3 {
    color: var(--themeht-primary-color);
}

.services-grid .service-item.style-2 p {
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 17px;
}

/* Services grid spacing */
.services-grid .row > .col-12 {
    margin-top: 30px;
}

/* Enhanced responsive grid */
@media (max-width: 991px) {
    .services-grid .col-lg-4 {
        margin-bottom: 20px;
    }

    .services-grid .service-item.style-2 {
        margin-bottom: 0;
    }

    .services-grid .row > .col-12 {
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .services-grid .col-md-6 {
        margin-bottom: 20px;
    }

    .bg-effect .theme-title h2 {
        font-size: 32px;
        line-height: 42px;
    }
}

/* Animation delay for staggered effect */
.services-grid .service-item.style-2:nth-child(1) { animation-delay: 0.1s; }
.services-grid .service-item.style-2:nth-child(2) { animation-delay: 0.2s; }
.services-grid .service-item.style-2:nth-child(3) { animation-delay: 0.3s; }
.services-grid .service-item.style-2:nth-child(4) { animation-delay: 0.4s; }
.services-grid .service-item.style-2:nth-child(5) { animation-delay: 0.5s; }



@media (max-width: 992px) {
    .page-title {
        padding-bottom: 100px;
    }
}

@media (max-width: 767px) {
    
    section {
        padding: 60px 0;
    }
    .theme-title h2 {
        font-size: 26px;
        line-height: 35px;
    }
}


.title-h3-result {
    font-size:20px;
    margin-bottom:0;
}

.title-bar-result {
   font-size: 26px;
    line-height: 36px;
    font-weight: 500;
}








.fixed-action-buttons {
    position: fixed;
    bottom: 50px;
    right: 200px;
    z-index: 9999;
    display: flex;
    gap: 15px;
}


.fixed-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start; 
  padding: 10px 20px;        
  border-radius: 40px;     
  background: linear-gradient(135deg, #2d6cdf 0%, #1e5bb8 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(45, 108, 223, 0.4),
              0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  font-weight: 500;
  gap: 10px; /* расстояние между иконкой и текстом */
}



.fixed-btn:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 12px 35px rgba(45, 108, 223, 0.6),
              0 6px 20px rgba(0, 0, 0, 0.15);
}

.fixed-btn:active {
  transform: translateY(-2px) scale(1.05);
}

.fixed-btn i {
  font-size: 20px;
}


.fixed-btn:hover i {
  transform: scale(1.2);
}

.fixed-btn .btn-text {
  position: static;    
  background: none;  
  color: #fff;
  padding: 0;
  border: none;
  box-shadow: none;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.fixed-btn:hover .btn-text {
  opacity: 1;
  transform: translateX(0);
}

.fixed-btn .pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border: 2px solid rgba(45, 108, 223, 0.6);
  border-radius: 50%;
  animation: pulse 2s infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.fixed-btn:hover .pulse-ring {
  opacity: 1;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

/* Phone Button Specific Styles */
.phone-btn {
  background: linear-gradient(135deg, #2d6cdf 0%, #1e5bb8 100%);
  box-shadow: 0 8px 25px rgba(45, 108, 223, 0.4),
              0 4px 15px rgba(0, 0, 0, 0.1);
}

.phone-btn:hover {
  box-shadow: 0 12px 35px rgba(45, 108, 223, 0.6),
              0 6px 20px rgba(0, 0, 0, 0.15);
}

.phone-btn .pulse-ring {
  border-color: rgba(45, 108, 223, 0.6);
}

/* Quote Button Specific Styles */
.quote-btn {
  background: linear-gradient(135deg, var(--themeht-primary-color, #2d6cdf) 0%, var(--themeht-secondary-color, #c9008b) 100%);
  box-shadow: 0 8px 25px rgba(201, 0, 139, 0.4),
              0 4px 15px rgba(0, 0, 0, 0.1);
}

.quote-btn:hover {
  box-shadow: 0 12px 35px rgba(201, 0, 139, 0.6),
              0 6px 20px rgba(0, 0, 0, 0.15);
}

.quote-btn .pulse-ring {
  border-color: rgba(201, 0, 139, 0.6);
}

.scroll-top {
    bottom: 56px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .fixed-action-buttons {
    bottom: 20px;
    right: 9%;
    gap: 12px;
  }



  .fixed-btn i {
    font-size: 20px;
  }

 

  .fixed-btn:hover .btn-text {
    opacity: 0;
  }
  
  .footer-logo::before {
    width: 80% !important;
}
.scroll-top {
    bottom: 112px;
}



}

@media (max-width: 480px) {
  .fixed-action-buttons {

    right: 15px;
  }


  .fixed-btn i {
    font-size: 18px;
  }
}

/* Floating animation for buttons */
.fixed-btn:nth-child(1) {
  animation: float 6s ease-in-out infinite;
}

.fixed-btn:nth-child(2) {
  animation: float 6s ease-in-out infinite 2s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Additional hover effects */
.fixed-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.fixed-btn:hover::before {
  opacity: 1;
}

.footer-logo {
  position: relative; 
  display: inline-block;
  margin-bottom: 10px;
}

.footer-logo::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 69%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(0,140,255,0.5) 40%, rgba(0,140,255,0) 61%);
  transform: translate(-50%, -50%);
  filter: blur(25px);
  z-index: -1; 
}



