/* ================= FLOATING POSITIONS ================= */
.floating-iconss,
.social-floating-right {
  position: fixed;
  top: 70%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1060;
}

.floating-iconss { left: 0; }
.social-floating-right { right: 10px; }

/* ================= ICON CARD STYLE ================= */
.floating-iconss .icons,
.social-floating-right .social-icons {
  width: 46px;
  height: 46px;
  background: #ffffff;
  border-radius: 0 12px 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  transition: all 0.35s ease;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.social-floating-right .social-icons {
  border-radius: 12px;
}

.floating-iconss .icons:hover {
  transform: translateX(8px);
}

.social-floating-right .social-icons:hover {
  transform: scale(1.08);
}

.floating-iconss img,
.social-floating-right img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* ================= MODAL OVERLAY ================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.35s;
  z-index: 2000;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ================= MODAL BOX ================= */
.modal-box {
  background: #ffffff;
  width: 95%;
  max-width: 420px;
  padding: 25px;
  border-radius: 14px;
  position: relative;
  animation: popup 0.35s ease;
}

@keyframes popup {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-box h3 {
  margin-bottom: 15px;
  font-weight: 600;
}

/* close button */
.close-btn {
  position: absolute;
  right: 12px;
  top: 10px;
  font-size: 22px;
  border: none;
  background: none;
  cursor: pointer;
}

/* ================= FORM ================= */
.modal-form input,
.modal-form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #dcdcdc;
  font-size: 14px;
}

.modal-form textarea {
  resize: none;
}

.submit-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(45deg,#1e90ff,#00bcd4);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.submit-btn:hover {
  opacity: 0.9;
}

/* ================= MOBILE ================= */
@media (max-width:768px){

  .floating-iconss,
  .social-floating-right {
    top: auto;
    bottom: 80px;
    transform: none;
  }

  .floating-iconss { left: 6px; }
  .social-floating-right { right: 6px; }

  .floating-iconss .icons,
  .social-floating-right .social-icons {
    width: 40px;
    height: 40px;
  }

  .floating-iconss img,
  .social-floating-right img {
    width: 24px;
    height: 24px;
  }

  .modal-box {
    padding: 20px;
  }
}
