
.contact-section {
  padding: 60px 20px;
}

.contact-heading {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.contact-subtitle {
  text-align: center;
  color: #777;
  font-size: 1rem;
  margin-bottom: 40px;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}

.contact-form {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
}

.contact-form textarea {
  resize: none;
}

.contact-btn {
  padding: 14px 30px;
  background-color: var(--text-secondary);
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-btn:hover {
  background-color: var(--text-secondary);
}

.contact-info {
  flex: 1;
  min-width: 250px;
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  color: #444;
}

.contact-info h3 {
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.contact-info p {
  margin-bottom: 10px;
  font-size: 1rem;
}

.contact-info i {
  margin-right: 10px;
  color: var(--text-secondary);
}

.social-icons {
  margin-top: 20px;
}

.social-icons a {
  margin-right: 15px;
  font-size: 1.2rem;
  color: #333;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .contact-form,
  .contact-info {
    max-width: 100%;
  }
}

.form-success {
  background-color: #d4edda;
  color: #155724;
  padding: 12px;
  border-radius: 5px;
  margin-bottom: 15px;
  border: 1px solid #c3e6cb;
  font-weight: 500;
}

.form-error {
  background-color: #f8d7da;
  color: #721c24;
  padding: 12px;
  border-radius: 5px;
  margin-bottom: 15px;
  border: 1px solid #f5c6cb;
  font-weight: 500;
}


/* alert boxes */
.alert-box {
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  font-size: 16px;
  position: relative;
  animation: fadeInDown 0.5s ease both;
}

.alert-box.success {
  background-color: #d4edda;
  color: #155724;
  border-left: 5px solid #28a745;
}

.alert-box.error {
  background-color: #f8d7da;
  color: #721c24;
  border-left: 5px solid #dc3545;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}