/* Contact Section Styles */
.contact {
  background-color: var(--color-background);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(197, 75, 116, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.contact .container {
  position: relative;
  z-index: 1;
}

.contact-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-5xl);
  margin-top: var(--spacing-4xl);
  align-items: start;
}

/* Smart Form Styles */
.contact-form-container {
  background-color: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.smart-form {
  position: relative;
}

.form-step {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.form-step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.form-step h3 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin-bottom: var(--spacing-lg);
  text-align: center;
}

/* Form Options */
.form-options {
  display: grid;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-2xl);
}

.option-card {
  display: block;
  cursor: pointer;
  position: relative;
}

.option-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-content {
  background-color: var(--color-background-alt);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  transition: all var(--transition-normal);
  position: relative;
}

.option-content::before {
  content: '';
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.option-card input[type="radio"]:checked + .option-content {
  border-color: var(--color-primary);
  background-color: rgba(197, 75, 116, 0.05);
}

.option-card input[type="radio"]:checked + .option-content::before {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m13.854 3.646-7.5 7.5a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6 10.293l7.146-7.147a.5.5 0 0 1 .708.708z'/%3e%3c/svg%3e");
}

.option-card:hover .option-content {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.option-content h4 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--spacing-sm);
}

.option-content p {
  color: var(--color-text-light);
  font-size: var(--font-size-sm);
  margin: 0;
  line-height: var(--line-height-relaxed);
}

/* Form Groups */
.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-group label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--spacing-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--spacing-md);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-base);
  font-family: var(--font-primary);
  background-color: var(--color-white);
  transition: all var(--transition-fast);
}

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

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

/* Form Navigation */
.form-navigation {
  display: flex;
  justify-content: space-between;
  gap: var(--spacing-md);
  margin-top: var(--spacing-2xl);
}

.form-prev,
.form-next,
.form-submit {
  padding: var(--spacing-md) var(--spacing-xl);
  border: none;
  border-radius: var(--radius-lg);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: all var(--transition-normal);
  min-width: 120px;
}

.form-next,
.form-submit {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
  margin-left: auto;
}

.form-next:hover,
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.form-prev {
  background-color: var(--color-background-alt);
  color: var(--color-text);
  border: 2px solid var(--color-border);
}

.form-prev:hover {
  background-color: var(--color-text);
  color: var(--color-white);
  border-color: var(--color-text);
}

/* Contact Info Card */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.contact-card {
  background-color: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.contact-card h3 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
}

.contact-card p {
  color: var(--color-text-light);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--spacing-lg);
}

.contact-details {
  display: flex;
  flex-direction: row !important;
  flex-wrap: nowrap;        /* force one row */
  gap: 24px;                /* tweak spacing */
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  color: var(--color-white);
  font-size: var(--font-size-sm);
}

.contact-item svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-3xl);
  }
  
  .contact-info {
    order: -1;
  }
}

@media (max-width: 768px) {
  .contact-form-container,
  .contact-card {
    padding: var(--spacing-xl);
  }
  
  .form-step h3 {
    font-size: var(--font-size-lg);
  }
  
  .option-content {
    padding: var(--spacing-md);
  }
  
  .option-content h4 {
    font-size: var(--font-size-base);
  }
  
  .form-navigation {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .form-prev,
  .form-next,
  .form-submit {
    width: 100%;
    margin: 0;
  }
}

@media (max-width: 480px) {
  .contact-form-container,
  .contact-card {
    padding: var(--spacing-lg);
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: var(--spacing-sm);
  }
  
  .contact-item {
    font-size: var(--font-size-xs);
  }
}


/* Icon-only contact links */
.contact-item .contact-link {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--color-primary);
  text-decoration: none;
}
.contact-item .contact-link:hover {
  text-decoration: underline;
}
.contact-item .contact-icon {
  width: 40px;
  height: 40px;
  display: block;
}

/* Visually hidden for accessibility (screen-reader only) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


.contact-item .contact-icon {
  width: 84px;              /* bigger icons */
  height: 84px;
}

