.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.modal-content {
  background-color: var(--dark-color);
  margin: auto;
  border-radius: 20px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideIn 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.close {
  color: rgba(255, 255, 255, 0.6);
  float: right;
  font-size: 2rem;
  font-weight: bold;
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1001;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
}

.close:hover {
  color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.contact-cta-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 4rem 2rem;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--light-color);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8);
}

.cta-button {
  background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
  color: white;
  border: none;
  padding: 1.5rem 3rem;
  font-size: 1.3rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 30px rgba(var(--primary-color-rgb), 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(var(--primary-color-rgb), 0.4);
}

.cta-button:active {
  transform: translateY(-1px);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.contact-form-section {
  background-color: var(--dark-color);
  padding: 5rem 0;
}

.contact-form-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact-form {
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--light-color);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--light-color);
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--light-color);
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: 'Roboto', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background-color: var(--dark-color);
  color: var(--light-color);
}

.submit-btn {
  width: 100%;
  padding: 1.2rem;
  background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--primary-color-rgb), 0.3);
}

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

.form-section {
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 2rem;
}

.form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 2rem;
}

.form-section h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.radio-group,
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.radio-label,
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--light-color);
  cursor: pointer;
  font-size: 0.95rem;
  margin-bottom: 0 !important;
  padding: 0.5rem 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 25px;
  transition: all 0.3s ease;
}

.radio-label:hover,
.checkbox-label:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.radio-label input[type='radio'],
.checkbox-label input[type='checkbox'] {
  width: auto;
  margin: 0;
  padding: 0;
  accent-color: var(--primary-color);
}

.radio-label input[type='radio']:checked + *,
.checkbox-label input[type='checkbox']:checked + * {
  color: var(--primary-color);
}

.form-divider {
  display: none;
}

@media (max-width: 768px) {
  .contact-form {
    padding: 2rem;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .contact-form h2 {
    font-size: 1.8rem;
  }

  .modal-content {
    width: 95%;
    margin: 1rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-button {
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .contact-form-container {
    padding: 0 1rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .contact-form h2 {
    font-size: 1.6rem;
  }

  .modal-content {
    max-height: 95vh;
  }

  .close {
    right: 1rem;
    top: 1rem;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-button {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}
