/* Contact Modal Styles */
.contact-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30, 34, 90, 0.25);
  backdrop-filter: blur(7px);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(.4,0,.2,1);
}

.contact-modal.show {
  opacity: 1;
}

.contact-modal-content {
  position: relative;
  background: rgba(255,255,255,0.85);
  margin: 5vh auto;
  width: 95%;
  max-width: 820px;
  min-width: 340px;
  border-radius: 28px;
  box-shadow: 0 8px 40px 0 rgba(30,34,90,0.18), 0 1.5px 6px 0 rgba(30,34,90,0.10);
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
  border: 1.5px solid rgba(30,34,90,0.08);
  backdrop-filter: blur(10px);
}

.contact-modal.show .contact-modal-content {
  transform: translateY(0);
  opacity: 1;
}

/* Header */
.contact-modal-header {
  background: #001635;
  padding: 28px 36px 18px 36px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 2px 12px 0 rgba(30,34,90,0.08);
}

.contact-modal-header h3 {
  color: #fff !important;
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

.contact-modal-close {
  color: #fff !important;
  font-size: 28px;
  font-weight: 300;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
  background: rgba(255,255,255,0.10);
  border: none;
}

.contact-modal-close:hover {
  background: rgba(255,255,255,0.22);
  transform: rotate(90deg) scale(1.08);
}

/* Body */
.contact-modal-body {
  padding: 32px 24px 32px 24px;
}

.contact-modal-body > p {
  color: #3a3a4d;
  font-size: 1.08rem;
  margin-bottom: 28px;
  text-align: center;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-weight: 700;
}

/* Contact Options Grid */
.contact-options {
  display: flex;
  flex-direction: row;
  gap: 32px;
  margin-top: 10px;
  justify-content: center;
  align-items: stretch;
}

@media (max-width: 900px) {
  .contact-modal-content {
    max-width: 99vw;
    min-width: unset;
  }
  .contact-option {
    min-width: unset;
    max-width: unset;
  }
  .contact-options {
    gap: 22px;
  }
}

/* Contact Option Cards */
.contact-option {
  background: rgba(255,255,255,0.7);
  border-radius: 20px;
  padding: 32px 18px 24px 18px;
  text-align: center;
  cursor: pointer;
  transition: box-shadow 0.25s, transform 0.25s, border 0.25s;
  position: relative;
  border: 1.5px solid rgba(40,53,147,0.10);
  box-shadow: 0 2px 16px 0 rgba(40,53,147,0.07);
  overflow: visible;
  min-width: 220px;
  max-width: 260px;
  flex: 1 1 0;
}

.contact-option:hover {
  box-shadow: 0 8px 32px 0 rgba(40,53,147,0.13);
  border-color: #283593;
  transform: translateY(-3px) scale(1.025);
  background: rgba(255,255,255,0.92);
}

.contact-option-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px auto;
  background: #001635;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px 0 rgba(40,53,147,0.10);
  transition: transform 0.25s;
  color: #fff;
}

.contact-option:hover .contact-option-icon {
  transform: scale(1.12) rotate(-6deg);
}

.contact-option-icon i {
  color: #fff !important;
  font-size: 2rem;
}

.contact-option h4 {
  color: #1a237e !important;
  font-size: 1.13rem;
  margin: 0 0 7px 0;
  font-weight: 700;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

.contact-option p {
  color: #283593 !important;
  font-size: 1.01rem;
  margin: 0 0 12px 0;
  line-height: 1.5;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-weight: 400;
  opacity: 0.95;
}

.contact-option-badge {
  position: absolute;
  left: 50%;
  top: 12px;
  transform: translateX(-50%);
  display: inline-block;
  padding: 3px 18px;
  background: linear-gradient(90deg, #ffeb3b 0%, #ffe082 100%);
  color: #283593;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 2px 8px 0 rgba(255,235,59,0.13);
  border: none;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
  z-index: 2;
  min-width: 0;
  max-width: 120px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-option:hover .contact-option-badge {
  background: linear-gradient(90deg, #fff176 0%, #ffd54f 100%);
  color: #1a237e;
  box-shadow: 0 4px 16px 0 rgba(255,235,59,0.18);
}

/* Phone Modal Specific Styles */
.phone-modal-content {
  max-width: 420px;
}

.phone-icon-header {
  text-align: center;
  margin-bottom: 22px;
}

.phone-icon-large {
  width: 64px;
  height: 64px;
  background: #001635;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px auto;
  animation: pulse 2s infinite;
  color: #fff;
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(26,35,126,0.18); }
  70% { transform: scale(1.07); box-shadow: 0 0 0 12px rgba(26,35,126,0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(26,35,126,0); }
}

.phone-icon-large i {
  font-size: 1.7rem;
  color: #fff;
}

/* Form Styles */
.phone-form {
  margin-top: 12px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  color: #283593;
  font-size: 0.97rem;
  margin-bottom: 7px;
  font-weight: 600;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s;
  background: #f8f9fa;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #283593;
  box-shadow: 0 0 0 2px #e8eaf6;
  background: #fff;
}

.form-group input::placeholder {
  color: #b0b0c3;
}

.form-actions {
  margin-top: 24px;
  text-align: center;
}

.btn-phone-submit {
  background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 1.08rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  box-shadow: 0 2px 12px 0 rgba(40,53,147,0.10);
}

.btn-phone-submit:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 18px 0 rgba(40,53,147,0.18);
}

.btn-phone-submit:active {
  transform: translateY(0);
}

.btn-phone-submit i {
  margin-right: 8px;
  font-size: 1.2rem;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
  .contact-modal-content {
    width: 99%;
    margin: 2vh auto;
    padding: 0;
    border-radius: 18px;
  }
  .contact-modal-header {
    padding: 18px 14px 12px 14px;
    border-radius: 18px 18px 0 0;
  }
  .contact-modal-body {
    padding: 18px 6px 18px 6px;
  }
  .contact-option {
    padding: 22px 8px 18px 8px;
    border-radius: 14px;
  }
  .contact-option-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
  }
  .contact-option-badge {
    top: 10px;
    right: 10px;
    font-size: 0.85rem;
    padding: 5px 10px;
  }
  .phone-modal-content {
    max-width: 99%;
  }
  .phone-icon-large {
    width: 44px;
    height: 44px;
    margin-bottom: 8px;
  }
}

/* Animations */
@keyframes slideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Success States */
.btn-phone-submit.success {
  background: linear-gradient(135deg, #2e7d32 0%, #43a047 100%);
}

.btn-phone-submit.whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

/* Loading State */
.btn-phone-submit.loading {
  position: relative;
  pointer-events: none;
}

.btn-phone-submit.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s linear infinite;
  margin-left: 10px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
} 