
.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 {
    position: fixed;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
  }
  .social-icons {
    background-color: #ffffff;
  }
  .icons {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: bounce 2s infinite;
    overflow: hidden;
    padding: 10px;
    border: 1px solid #e0e0e0;
    cursor: pointer;
  }
  
  .icons img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  .icons:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  }
  
  @keyframes bounce {
    0%,
    100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-5px);
    }
  }
  

  
  .floating-iconss,
  .social-floating-right {
    position: fixed;
    top: 80%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1050;
  }
  
  .floating-iconss {
    left: 10px;
  }
  
  .social-floating-right {
    right: 10px;
  }
  
  .social-icons {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: bounce 2s infinite;
    overflow: hidden;
    cursor: pointer;
    padding: 8px;
  }
  
  .social-icons:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  }
  
  .social-icons img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  @keyframes floatBounce {
    0%,
    100% {
      transform: translateY(0);
    }
  
    50% {
      transform: translateY(-6px);
    }
  }
  


/* Contact modals: isolated from the template search modal. */
html body .si-contact-modal {
  z-index: 2147483004;
  padding: 0 12px !important;
  scrollbar-width: none;
}
.modal-backdrop { z-index: 2147483003; }
.si-contact-modal .modal-dialog {
  width: 100%;
  max-width: 500px;
  margin: 24px auto;
  min-height: calc(100% - 48px);
  height: auto;
}
.si-contact-modal .modal-content {
  height: auto;
  max-height: calc(100dvh - 48px);
  background: #fff;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 64px #061c3940;
}
.si-contact-modal .modal-header {
  flex-shrink: 0;
  gap: 16px;
  padding: 16px;
  border: 0;
  background: #155bd5;
}
.si-contact-modal .modal-title {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}
.si-contact-modal .modal-header .btn-close {
  position: static;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  padding: 4px;
  margin: 0 0 0 auto;
  border: 0;
  border-radius: 4px;
  filter: none;
  opacity: .85;
}
.si-contact-modal .modal-body {
  min-height: 0;
  padding: 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.si-contact-modal::-webkit-scrollbar,
.si-contact-modal .modal-body::-webkit-scrollbar { display: none; }
.si-contact-modal form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.si-contact-modal form > .mb-3 { margin-bottom: 0 !important; }
.si-contact-modal .modal-body .form-control {
  display: block;
  width: 100%;
  height: 48px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  color: #222;
  font-family: var(--font_roamer, Georgia), "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.5;
}
.si-contact-modal .modal-body .form-control::placeholder { color: #666; opacity: 1; }
.si-contact-modal .modal-body textarea.form-control {
  height: 110px;
  min-height: 80px;
  resize: vertical;
}
.si-contact-modal .modal-body select {
  appearance: none;
  padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, #6b7280 50%), linear-gradient(135deg, #6b7280 50%, transparent 50%);
  background-position: calc(100% - 19px) 50%, calc(100% - 13px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.si-contact-modal .modal-body .form-control:focus {
  outline: 0;
  border-color: #155bd5;
  box-shadow: 0 0 0 3px #155bd51a;
}
.si-contact-modal .g-recaptcha:empty { display: none; }
.si-contact-modal button[type="submit"] {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.si-contact-modal .btn-primary { background: #0d6efd; border-color: #0d6efd; }
.si-contact-modal .btn-primary:hover { background: #0b5ed7; }
@media (max-width: 575px), (max-height: 650px) {
  .si-contact-modal .modal-dialog {
    margin-block: 12px;
    min-height: calc(100% - 24px);
  }
  .si-contact-modal .modal-content { max-height: calc(100dvh - 24px); }
  .si-contact-modal .modal-header { padding: 12px 16px; }
  .si-contact-modal form { gap: 12px; }
  .si-contact-modal .modal-body .form-control { height: 42px; min-height: 42px; }
  .si-contact-modal .modal-body textarea.form-control { height: 80px; }
}
