/* style/contact.css */
.page-contact {
  color: #333333; /* Dark text for light body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #FF6B00, #FF8C00);
  color: #ffffff;
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.2;
}

.page-contact__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-contact__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-contact__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  opacity: 0.9;
}

.page-contact__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-contact__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
  cursor: pointer;
  border: none;
}

.page-contact__btn--primary {
  background-color: #00A86B; /* Auxiliary color */
  color: #ffffff;
}

.page-contact__btn--primary:hover {
  background-color: #008f5a;
  transform: translateY(-2px);
}

.page-contact__btn--secondary {
  background-color: #FF6B00; /* Primary color */
  color: #ffffff;
}

.page-contact__btn--secondary:hover {
  background-color: #e65c00;
  transform: translateY(-2px);
}

.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-contact__methods-section {
  padding: 80px 0;
  background-color: #f9f9f9;
  text-align: center;
}

.page-contact__methods-title {
  font-size: 2.8em;
  margin-bottom: 50px;
  color: #333333;
}

.page-contact__methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-contact__method-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__method-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-contact__method-icon {
  width: 250px;
  height: 187px;
  object-fit: contain;
  margin-bottom: 25px;
  border-radius: 8px;
}

.page-contact__method-heading {
  font-size: 1.8em;
  color: #FF6B00;
  margin-bottom: 15px;
}

.page-contact__method-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #555555;
}

.page-contact__btn--small {
  padding: 10px 20px;
  font-size: 0.95em;
  border-radius: 6px;
  background-color: #00A86B;
  color: #ffffff;
}

.page-contact__btn--small:hover {
  background-color: #008f5a;
}

.page-contact__form-section {
  padding: 80px 0;
  background-color: #f4f4f4;
}

.page-contact__form-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 50px;
  color: #333333;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.page-contact__form-group {
  margin-bottom: 25px;
}

.page-contact__form-label {
  display: block;
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #dddddd;
  border-radius: 8px;
  font-size: 1em;
  color: #333333;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #FF6B00;
  outline: none;
}

.page-contact__form-textarea {
  resize: vertical;
  min-height: 120px;
}

.page-contact__btn--submit {
  width: 100%;
  padding: 18px;
  background-color: #FF6B00;
  color: #ffffff;
  font-size: 1.2em;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-contact__btn--submit:hover {
  background-color: #e65c00;
  transform: translateY(-2px);
}

.page-contact__info-section {
  padding: 80px 0;
  background-color: #f9f9f9;
  text-align: center;
}

.page-contact__info-title {
  font-size: 2.8em;
  margin-bottom: 40px;
  color: #333333;
}

.page-contact__info-text {
  font-size: 1.1em;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #555555;
}

.page-contact__btn--link {
  background-color: transparent;
  color: #00A86B;
  border: 2px solid #00A86B;
  padding: 12px 25px;
  border-radius: 6px;
  margin: 0 10px;
}

.page-contact__btn--link:hover {
  background-color: #00A86B;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.8em;
  }

  .page-contact__hero-description {
    font-size: 1.1em;
  }

  .page-contact__methods-title,
  .page-contact__form-title,
  .page-contact__info-title {
    font-size: 2.4em;
  }

  .page-contact__method-heading {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-contact {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }
  .page-contact__hero-section {
    padding: 60px 20px;
  }

  .page-contact__hero-title {
    font-size: 2.2em;
  }

  .page-contact__hero-description {
    font-size: 1em;
  }

  .page-contact__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__btn {
    width: 100%;
  }

  .page-contact__methods-section,
  .page-contact__form-section,
  .page-contact__info-section {
    padding: 50px 0;
  }

  .page-contact__methods-title,
  .page-contact__form-title,
  .page-contact__info-title {
    font-size: 2em;
  }

  .page-contact__methods-grid {
    grid-template-columns: 1fr;
  }

  .page-contact__method-card {
    padding: 25px;
  }

  .page-contact__method-icon {
    width: 200px; /* Minimum size for content images */
    height: 150px;
  }

  .page-contact__contact-form {
    padding: 30px;
  }

  .page-contact__info-text {
    font-size: 0.95em;
  }
  
  /* Ensure images in content area do not overflow */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }

  .page-contact__hero-description {
    font-size: 0.9em;
  }

  .page-contact__methods-title,
  .page-contact__form-title,
  .page-contact__info-title {
    font-size: 1.8em;
  }

  .page-contact__method-heading {
    font-size: 1.4em;
  }

  .page-contact__btn--small {
    padding: 8px 15px;
    font-size: 0.9em;
  }
}