/* Contact Popup Styles */
.contact-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.contact-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.contact-popup {
  background: white;
  max-width: 900px;
  width: 95%;
  max-height: 90vh;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transform: scale(0.7) translateY(50px);
  transition: transform 0.3s ease;
  position: relative;
}

.contact-popup-overlay.active .contact-popup {
  transform: scale(1) translateY(0);
}

.popup-header {
  background: white;
  color: #333;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e0e0e0;
}

.popup-header h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.popup-close {
  background: none;
  border: none;
  color: #666;
  font-size: 30px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.popup-close:hover {
  background: #f0f0f0;
  color: rgb(225, 0, 46);
}

.popup-content {
  padding: 25px 40px;
  overflow: visible;
}

.popup-content p {
  color: #666;
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.4;
}

.contact-form .form-row {
  display: flex;
  gap: 25px;
  margin-bottom: 15px;
}

.contact-form .form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

.contact-form .form-group {
  margin-bottom: 15px;
}

.contact-form .form-group label {
  display: block;
  margin-bottom: 6px;
  color: #333;
  font-weight: 600;
  font-size: 14px;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s ease;
  font-family: inherit;
  box-sizing: border-box;
  min-height: 44px;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
  outline: none;
  border-color: rgb(225, 0, 46);
}

.contact-form .form-group textarea {
  resize: vertical;
  min-height: 70px;
}

.contact-form .checkbox-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-form .checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
  margin-top: 0;
  flex-shrink: 0;
}

.contact-form .checkbox-group label {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #666;
  font-weight: 400;
}

.contact-form .checkbox-group label a {
  color: rgb(225, 0, 46);
  text-decoration: none;
}

.contact-form .checkbox-group label a:hover {
  text-decoration: underline;
}

.contact-form .form-actions {
  margin-top: 20px;
  text-align: center;
}

.contact-form .submit-btn {
  background: rgb(225, 0, 46);
  color: white;
  border: none;
  padding: 14px 40px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  min-height: 50px;
}

.contact-form .submit-btn:hover {
  background: rgb(225, 0, 46, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(225, 0, 46, 0.3);
}

.contact-form .submit-btn:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .contact-popup {
    width: 95%;
    margin: 20px;
  }

  .popup-header {
    padding: 20px;
  }

  .popup-header h3 {
    font-size: 20px;
  }

  .popup-content {
    padding: 20px;
  }

  .contact-form .form-row {
    flex-direction: column;
    gap: 0;
    margin-bottom: 15px;
  }

  .contact-form .form-row .form-group {
    margin-bottom: 15px;
  }

  .contact-form .form-group {
    margin-bottom: 15px;
  }

  .contact-form .form-group input,
  .contact-form .form-group textarea {
    padding: 12px 16px;
    font-size: 16px;
    min-height: 44px;
  }

  .contact-form .form-group textarea {
    min-height: 80px;
  }

  .contact-form .submit-btn {
    padding: 12px 35px;
    font-size: 15px;
    min-height: 46px;
  }
}