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

.contact-container {
  display: flex;
  gap: var(--spacing-xl);
}

.contact-info {
  flex: 0 0 40%;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--spacing-lg);
  background-color: var(--light-gray);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  transition: var(--transition-normal);
}

.info-item:hover {
  background-color: var(--primary-light);
  color: var(--white);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.info-icon {
  flex: 0 0 40px;
  height: 40px;
  background-color: var(--white);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: var(--spacing-md);
  font-size: 1.2rem;
  transition: var(--transition-normal);
}

.info-item:hover .info-icon {
  background-color: var(--accent-color);
  color: var(--white);
}

.info-content h4 {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-xs);
}

.info-content p {
  font-size: 0.9rem;
}

.contact-form {
  flex: 0 0 55%;
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-gray);
}

.form-group {
  margin-bottom: var(--spacing-md);
  position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius-md);
  transition: var(--transition-normal);
  background-color: var(--white);
  color: var(--black);
}

.form-group label {
  position: absolute;
  left: 1rem;
  top: 0.8rem;
  color: var(--dark-gray);
  transition: var(--transition-normal);
  pointer-events: none;
  font-size: 0.9rem;
  background-color: var(--white);
  padding: 0 0.3rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group select:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label,
.form-group select:valid ~ label {
  top: -0.5rem;
  font-size: 0.8rem;
  color: var(--primary-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: transparent;
}

/* Responsive Contact */
@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
  }
  
  .contact-info,
  .contact-form {
    flex: 0 0 100%;
  }
  
  .contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
  }
  
  .info-item {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .contact-info {
    grid-template-columns: 1fr;
  }
  
  .info-item {
    margin-bottom: var(--spacing-md);
  }
  
  .contact-form {
    padding: var(--spacing-lg);
  }
}