/* style/contact.css */
.page-contact {
  padding-top: var(--header-offset, 120px);
  background-color: #FFFFFF;
  color: #333333;
  font-family: Arial, sans-serif;
}

.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-color: #000000; /* Dark background for hero text */
  color: #FFFFFF;
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.4; /* Slightly dim the image to make text pop */
}

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-contact__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login color for emphasis */
}

.page-contact__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.5;
}

.page-contact__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Dark text for contrast */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__hero-button:hover {
  background-color: #e0a53b;
  transform: translateY(-3px);
}

.page-contact__methods-section {
  padding: 60px 20px;
  background-color: #f8f8f8;
  text-align: center;
}

.page-contact__methods-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-contact__methods-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #000000;
}

.page-contact__methods-description {
  font-size: 1.1em;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

.page-contact__cards-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 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__card-icon {
  width: 200px; /* Minimum size */
  height: 200px; /* Minimum size */
  margin-bottom: 20px;
  object-fit: contain;
}

.page-contact__card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #000000;
}

.page-contact__card-text {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 25px;
}

.page-contact__card-button {
  display: inline-block;
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* White text */
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

.page-contact__card-button:hover {
  background-color: #333333;
}

.page-contact__form-section {
  padding: 60px 20px;
  background-color: #FFFFFF;
}

.page-contact__form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #f8f8f8;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.page-contact__form-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-align: center;
  color: #000000;
}

.page-contact__form-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  text-align: center;
  color: #555555;
}

.page-contact__contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-contact__form-group {
  text-align: left;
}

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

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

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

.page-contact__form-textarea {
  resize: vertical;
}

.page-contact__form-submit-button {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Dark text */
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  align-self: center;
  margin-top: 20px;
}

.page-contact__form-submit-button:hover {
  background-color: #e0a53b;
  transform: translateY(-3px);
}

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

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 60px 15px;
  }
  .page-contact__hero-title {
    font-size: 2.5em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__methods-section {
    padding: 40px 15px;
  }
  .page-contact__methods-title {
    font-size: 2em;
  }
  .page-contact__methods-description {
    font-size: 0.95em;
  }
  .page-contact__card-icon {
    width: 200px;
    height: 200px;
  }
  .page-contact__card-title {
    font-size: 1.5em;
  }
  .page-contact__form-section {
    padding: 40px 15px;
  }
  .page-contact__form-title {
    font-size: 2em;
  }
  .page-contact__form-description {
    font-size: 0.95em;
  }

  /* Ensure images do not overflow on mobile */
  .page-contact__hero-image {
    max-width: 100%;
    height: auto;
  }
  .page-contact__method-card img {
    max-width: 100%;
    height: auto;
  }
  .page-contact__contact-form img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 2em;
  }
  .page-contact__hero-description {
    font-size: 0.9em;
  }
  .page-contact__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-contact__methods-title {
    font-size: 1.8em;
  }
  .page-contact__card-icon {
    width: 200px;
    height: 200px;
  }
  .page-contact__form-title {
    font-size: 1.8em;
  }
  .page-contact__form-submit-button {
    padding: 12px 25px;
    font-size: 1em;
  }
}