/* Sticky buttons */
* {
  -webkit-tap-highlight-color: transparent;
}

.button-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 9999;
}

.circle-button {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.2s;
}

.circle-button:hover {
  transform: scale(1.05);
}

.contact-fixed-btn {
  background: linear-gradient(to right, #00b2ff, #66dfff);
  color: white;
  position: relative;
  animation: shake-pause 5s ease-in-out infinite;
}

.contact-fixed-btn::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: pulse_shadow 1.5s ease-in-out infinite;
  z-index: -1;
}

@keyframes pulse_shadow {
  0% {
    box-shadow: 0px 0px 0px 0px #00b2ffa3;
  }
  100% {
    box-shadow: 0px 0px 1px 20px rgba(33, 137, 232, 0);
  }
}

@keyframes shake-pause {
  0%   { transform: translateX(0); }
  3%   { transform: translateX(-3px); }
  5%  { transform: translateX(3px); }
  7%  { transform: translateX(-3px); }
  9%  { transform: translateX(3px); }
  11%  { transform: translateX(-2px); }
  13%  { transform: translateX(2px); }
  15%  { transform: translateX(-1px); }
  17%  { transform: translateX(0); }
  100% { transform: translateX(0); } 
}


.document-fixed-btn {
  background: white;
  color: #00b2ff;
  border: 2px solid #00b2ff;
}

.circle-button svg {
  width: 30px;
  height: 30px;
  margin-bottom: 6px;
}

.contact-fixed-btn svg path {
  fill: white;
}

/* Popup form modal */
.modal {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 420px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.modal-content::-webkit-scrollbar {
  display: none;
}

.modal-content h2 {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  padding-bottom: 20px;
}

.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.modal-content .form-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-content .form-row label {
  font-size: 14px;
  color: #333;
  font-weight: 600;
}

.modal-content .form-row span {
  padding: 2px;
  border-radius: 4px;
  background: rgb(229, 86, 86);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  margin-left: 10px;
}

.modal-content input {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.error {
  border: 2px solid rgba(255, 0, 0, 0.5019607843) !important;
}
.error:focus {
  border-color: rgba(255, 0, 0, 0.5019607843) !important;
  outline: none !important;
  box-shadow: none !important;
}

.error-message {
  color: red;
  display: none;
}

.download-btn {
  background: #00b2ff;
  color: white;
  padding: 12px 20px;
  margin-top: 16px;
  border: none;
  border-radius: 6px;
  width: 100%;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  transition: 0.2s;
}

.download-btn:hover {
  background: #1565c0;
}

.close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 26px;
  font-weight: bold;
  color: #888;
  cursor: pointer;
}

/* Responsive */
@media screen and (max-width: 480px) {
  .button-container {
    right: 10px;
    bottom: 10px;
    gap: 10px;
  }

  .circle-button {
    width: 80px;
    height: 80px;
    font-size: 10px;
  }

  .circle-button svg {
    width: 24px;
    height: 24px;
  }
}