/* Contact Section */
.contact {
  background-color: white;
  padding: 5rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  color: var(--primary-color);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent-color);
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.75rem;
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--accent-color);
  background: rgba(
    255,
    126,
    51,
    0.1
  ); /* Using --accent-color RGB: 255, 126, 51 */
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-text h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.contact-text p {
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
}

/* Contact Form Styles */
.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--primary-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: var(--light-color);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(255, 126, 51, 0.1); /* Using --accent-color RGB */
  background-color: white;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.btn.btn-accent {
  background-color: var(--accent-color);
  color: white;
  border: none;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.btn.btn-accent:hover {
  background-color: #e6712d; /* Slightly darker shade of accent color */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 126, 51, 0.15); /* Using --accent-color RGB */
}

/* Form Status Messages */
.form-status {
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 0.5rem;
  display: none;
  animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-status.success {
  background-color: rgba(212, 237, 218, 0.3);
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.form-status.error {
  background-color: rgba(248, 215, 218, 0.3);
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

@media (max-width: 370px) {
  .contact-info,
  .contact-form {
    margin-right: 20px;
  }
}

@media (max-width: 720px) {
  .section-title {
    font-size: 2rem;
  }
}
