/* Contact Page Styles */
.contact-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
              url('../img/contact-hero.jpg') no-repeat center center/cover;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 0 2rem;
}

.contact-hero__content {
  max-width: 800px;
  margin: 0 auto;
}

.contact-details {
  padding: 8rem 4rem;
}

.contact-details__container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.contact-icon {
  width: 24px;
  height: 24px;
  fill: #0e9f6e;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.contact-info__item h4 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.contact-info__item p {
  font-size: 1.6rem;
  color: #666;
  line-height: 1.6;
}

.contact-form {
  background: #f9f9f9;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1.6rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin: 2rem 0;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-right: 1rem;
}

.checkbox-group label {
  margin-bottom: 0;
  font-size: 1.4rem;
  color: #666;
}

.contact-map {
  padding: 0 4rem 8rem;
}

.map-container {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Form message styling */
.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    font-size: 1.6rem;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    display: block;
}

/* Error states */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #e53e3e;
}

.form-group.error .checkbox-group {
    color: #e53e3e;
}

.form-group .error-message {
    color: #e53e3e;
    font-size: 1.4rem;
    margin-top: 5px;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .contact-hero {
    height: 40vh;
  }
  
  .contact-details,
  .contact-map {
    padding: 4rem 2rem;
  }
  
  .contact-details__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
}