.loader-circle {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.floating-iconss,
.social-floating-right {
  position: fixed;
  top: 77%;
  display: flex;
  margin-left: -19px;
  margin-right: -19px;
  flex-direction: column;
  gap: 12px;
  transform: translateY(-50%);
  z-index: 1040;
}

.floating-iconss { left: clamp(10px, 2vw, 24px); }
.social-floating-right { right: clamp(10px, 2vw, 24px); }

.icons,
.social-icons {
  width: 48px;
  height: 48px;
  padding: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(2, 41, 88, .12);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(2, 41, 88, .18);
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}

.icons img,
.social-icons img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.icons:hover,
.social-icons:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 24px rgba(2, 41, 88, .26);
}

.icons:focus-visible,
.social-icons:focus-visible {
  outline: 3px solid #D6A14B;
  outline-offset: 3px;
}

.modal { z-index: 1055; }

/* Header call-to-action */
.header-cta {
  display: flex;
  align-items: center;
  margin-left: 24px;
}

.header-quote-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 20px 0 24px;
  overflow: hidden;
  border: 1px solid #f2ebe1;
  border-radius: 999px;
  background: #fff;
  color: #022958;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .2px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .16);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.header-quote-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .45) 50%, transparent 75%);
  transform: translateX(-120%);
  transition: transform .6s ease;
}

.header-quote-btn span,
.header-quote-btn i {
  position: relative;
  z-index: 1;
}

.header-quote-btn i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #022958;
  color: #fff;
  font-size: 12px;
  transition: transform .25s ease;
}

.header-quote-btn:hover {
  background: #f2ebe1;
  color: #022958;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .22);
}

.header-quote-btn:hover::before {
  transform: translateX(120%);
}

.header-quote-btn:hover i {
  transform: translateX(3px);
}

@media (max-width: 1199px) {
  .header-cta {
    margin-left: 12px;
  }

  .header-quote-btn {
    min-height: 44px;
    padding-left: 17px;
    padding-right: 14px;
  }
}

@media (max-width: 991px) {
  .header-cta {
    display: none;
  }
}

@media (max-width: 575px) {
  .floating-iconss,
  .social-floating-right {
    top: auto;
    margin-left: 0px;
    margin-right: 0px;
    bottom: 16px;
    flex-direction: column;
    gap: 10px;
    transform: none;
  }

  .floating-iconss { left: 14px; }
  .social-floating-right { right: 14px; }

  .icons,
  .social-icons {
    width: 42px;
    height: 42px;
    padding: 8px;
  }
}


/* Modal Animation & Form Styling */
.modal-content {
  border-radius: 15px;
  /* overflow: auto; */
  animation: fadeInUp 0.5s ease;
  height: 100% !important;
  position: relative;
  z-index: 998;
}

.modal-header {
  background: linear-gradient(45deg, #155bd5, #155bd5);
  color: white;
}

.modal-header h5 {
  color: #fff !important;
}

.modal-title {
  font-weight: 600;
}

.modal-body input,
.modal-body select,
.modal-body textarea {
  color: #526071 !important;
  -webkit-text-fill-color: #526071 !important;
  background-color: #fff !important;
  border-radius: 8px;
  border: 1px solid #ccc;
  opacity: 1 !important;
  visibility: visible !important;
  transition: border 0.3s ease;
}

.modal-body input::selection,
.modal-body select::selection,
.modal-body textarea::selection {
  color: #fff;
  background: #022958;
}

.modal-body input:-webkit-autofill,
.modal-body input:-webkit-autofill:hover,
.modal-body input:-webkit-autofill:focus,
.modal-body textarea:-webkit-autofill,
.modal-body textarea:-webkit-autofill:hover,
.modal-body textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: #526071 !important;
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
}

.modal-body input:focus,
.modal-body select:focus,
.modal-body textarea:focus {
  border-color: #469696;
  box-shadow: 0 0 5px rgba(87, 163, 171, 0.3);
  outline: none;
}
.modal-body .nice-select.form-control.mb-3 {
  width: 100%;
  height: 56px;
  min-height: 56px;
  margin-bottom: 1rem !important;
  padding: 14px 42px 14px 15px !important;
  display: flex;
  align-items: center;
  border: 1px solid #ced4da !important;
  border-radius: 8px;
  background: #fff;
  color: #526071;
  line-height: 1.5;
}

.modal-body .nice-select.form-control.mb-3:hover,
.modal-body .nice-select.form-control.mb-3.open,
.modal-body .nice-select.form-control.mb-3:focus {
  border-color: #D6A14B !important;
  box-shadow: 0 0 5px rgba(214, 161, 75, .3);
}

.modal-body .nice-select.form-control.mb-3 .current {
  overflow: hidden;
  color: #526071;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modal-body .nice-select.form-control.mb-3 .list {
  left: 0;
  right: 0;
  width: 100%;
  margin-top: 4px;
  background: #fff;
  border: 1px solid #ced4da;
  box-shadow: 0 8px 20px rgba(2, 41, 88, .14);
  color: #022958;
}

.modal-body .nice-select.form-control.mb-3 .option {
  border: 0;
  color: #526071;
}

.modal-body .nice-select.form-control.mb-3 .option:hover,
.modal-body .nice-select.form-control.mb-3 .option.focus,
.modal-body .nice-select.form-control.mb-3 .option.selected.focus {
  background: #F2EBE1;
  color: #022958;
}

.modal-body button {
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease;
  height: 35px !important;
}

@media (max-width: 575px) {
  .floating-iconss,
  .social-floating-right {
    top: auto;
    bottom: 16px;
    transform: none;
    margin-left: 0px;
    margin-right: 0px;
    flex-direction: column;
    gap: 10px;
  }

  .floating-iconss {
    left: 14px;
  }

  .social-floating-right {
    right: 14px;
  }

  .icons,
  .social-icons {
    width: 42px;
    height: 42px;
    padding: 8px;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
