/* ==========================================================
   ULTRA-MODERN FLOATING QUICK ACTION DOCK (Surya Liners)
   ========================================================== */

.floating-icons {
  position: fixed;
  bottom: 26px;
  left: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 99999;
}

/* Individual Modern Floating Orb */
.floating-icons .float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #ffffff !important;
  text-decoration: none;
  position: relative;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid rgba(255, 255, 255, 0.32);
  box-sizing: border-box;
}

/* 1. Email Gradient (Surya Flame Red / Gmail Theme) */
.floating-icons .float-email {
  background: linear-gradient(135deg, #FF4D26 0%, #E62200 100%);
  box-shadow: 0 8px 24px rgba(230, 34, 0, 0.42), 0 2px 6px rgba(0, 0, 0, 0.2);
}

.floating-icons .float-email:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 12px 30px rgba(230, 34, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.6);
}

/* 2. WhatsApp Gradient (Official Emerald Green) */
.floating-icons .float-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.2);
}

.floating-icons .float-whatsapp:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.65);
  border-color: rgba(255, 255, 255, 0.6);
}

/* 3. Call Gradient (Surya Liners Royal Blue) */
.floating-icons .float-call {
  background: linear-gradient(135deg, #0148E5 0%, #002BB8 100%);
  box-shadow: 0 8px 24px rgba(1, 72, 229, 0.45), 0 2px 6px rgba(0, 0, 0, 0.2);
}

.floating-icons .float-call:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 12px 30px rgba(1, 72, 229, 0.65);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Clean Crisp White Font Icons */
.floating-icons .float-btn i {
  color: #ffffff !important;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.22));
}

.floating-icons .float-email i {
  font-size: 24px;
}

.floating-icons .float-whatsapp i {
  font-size: 28px;
}

.floating-icons .float-call i {
  font-size: 24px;
}

.floating-icons .float-btn:hover i {
  transform: scale(1.14);
}

/* Modern Sliding Glassmorphic Tooltip */
.float-tooltip {
  position: absolute;
  left: calc(100% + 14px);
  background: rgba(7, 14, 28, 0.94);
  color: #ffffff !important;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px) scale(0.95);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.25s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100000;
}

/* Tooltip Pointer Triangle */
.float-tooltip::before {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent rgba(7, 14, 28, 0.94) transparent transparent;
}

.floating-icons .float-btn:hover .float-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
}

/* Ambient Pulse Wave on WhatsApp */
.pulse-ring {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.75);
  animation: floatPulse 2.4s infinite cubic-bezier(0.24, 0, 0.38, 1);
  pointer-events: none;
}

@keyframes floatPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.9;
  }
  70% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* ==========================================================
   ULTRA-MODERN 2026 MODALS & FORM UI
   ========================================================== */

/* Glassmorphic Backdrop */
.modal-backdrop.show {
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  background-color: rgba(15, 23, 42, 0.7) !important;
}

/* Modern Modal Dialog Sizing */
#emailModal .modal-dialog {
  max-width: 560px;
}

#whatsappModal .modal-dialog {
  max-width: 440px;
}

/* Modern Modal Card Container */
.modern-modal-card {
  border-radius: 20px !important;
  border: 1px solid rgba(226, 232, 240, 0.85) !important;
  background: #ffffff !important;
  box-shadow: 0 24px 60px -12px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(15, 23, 42, 0.04) !important;
  overflow: hidden !important;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
}

/* Modern Header */
.modern-modal-header {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid #eef2f6;
  padding: 1.25rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header-brand {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

/* Brand Icon Badges */
.modal-badge {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.badge-email {
  background: rgba(255, 77, 38, 0.1);
  color: #E62200;
  border: 1px solid rgba(255, 77, 38, 0.2);
}

.badge-whatsapp {
  background: rgba(37, 211, 102, 0.12);
  color: #128C7E;
  border: 1px solid rgba(37, 211, 102, 0.22);
}

.modal-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.modal-title-wrap .modal-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.modal-subtitle {
  font-size: 0.77rem;
  color: #64748b;
  font-weight: 500;
}

/* Close Button */
.modern-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #f1f5f9;
  opacity: 0.85;
  padding: 0;
  margin: 0;
  transition: all 0.2s ease;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.modern-close-btn:hover {
  background-color: #e2e8f0;
  opacity: 1;
  transform: rotate(90deg) scale(1.05);
}

/* Modern Body */
.modern-modal-body {
  padding: 1.35rem 1.6rem 1.6rem;
}

/* 2-Column Responsive Grid */
.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0.95rem;
}

.form-group-block {
  margin-bottom: 0.95rem;
}

.modern-modal-body .form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.38rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.modern-modal-body .form-label i {
  color: #0148E5;
  font-size: 0.92rem;
}

/* Modern Form Inputs */
.modern-input {
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 0.65rem 0.9rem !important;
  font-size: 0.88rem !important;
  font-family: inherit !important;
  color: #0f172a !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
}

.modern-input::placeholder {
  color: #94a3b8 !important;
  font-size: 0.84rem;
}

.modern-input:focus {
  background: #ffffff !important;
  border-color: #0148E5 !important;
  box-shadow: 0 0 0 3.5px rgba(1, 72, 229, 0.12) !important;
  outline: none !important;
}

.modern-textarea {
  resize: vertical;
  min-height: 80px;
}

/* Trust Badges Strip */
.modal-trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  margin: 1.05rem 0 1.25rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
}

.trust-item i {
  color: #10b981;
  font-size: 0.92rem;
}

/* Modern Action Submit Buttons */
.modern-submit-btn {
  width: 100%;
  padding: 0.8rem 1.4rem;
  border-radius: 11px;
  font-size: 0.92rem;
  font-weight: 700;
  border: none !important;
  color: #ffffff !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.01em;
}

.submit-btn-email {
  background: linear-gradient(135deg, #FF4D26 0%, #E62200 100%) !important;
  box-shadow: 0 8px 22px rgba(230, 34, 0, 0.38);
}

.submit-btn-email:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(230, 34, 0, 0.52);
  color: #ffffff !important;
}

.submit-btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.38);
}

.submit-btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.52);
  color: #ffffff !important;
}

.modern-submit-btn:active {
  transform: translateY(0);
}

.modern-submit-btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

/* Spinning Loader Icon */
.spin-icon {
  animation: modalSpin 0.9s linear infinite;
  display: inline-block;
}

@keyframes modalSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Mobile Adjustments */
@media screen and (max-width: 576px) {
  .floating-icons {
    bottom: 20px;
    left: 20px;
    gap: 12px;
  }

  .floating-icons .float-btn {
    width: 48px;
    height: 48px;
  }

  .float-tooltip {
    display: none;
  }

  #emailModal .modal-dialog,
  #whatsappModal .modal-dialog {
    margin: 1rem;
    max-width: calc(100% - 2rem);
  }

  .form-row-2col {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .modal-trust-strip {
    flex-direction: column;
    gap: 0.4rem;
    align-items: flex-start;
  }
}
