.page-contact {
  color: #ffffff; /* Light text for dark body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-contact__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #0A2342; /* Main brand color for hero background */
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid #E5B80B;
}

.page-contact__hero-container {
  max-width: 900px;
  margin-bottom: 40px;
  z-index: 1;
}

.page-contact__hero-title {
  font-size: 3.2em;
  color: #E5B80B; /* Auxiliary color for emphasis */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-contact__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-contact__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin-top: 40px;
  z-index: 1;
}

.page-contact__button {
  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;
  text-align: center;
}

.page-contact__button--primary {
  background-color: #E5B80B; /* Gold/Amber for primary action */
  color: #0A2342;
  border: 2px solid #E5B80B;
}

.page-contact__button--primary:hover {
  background-color: #fcc200;
  transform: translateY(-3px);
}

.page-contact__button--secondary {
  background-color: transparent;
  color: #E5B80B;
  border: 2px solid #E5B80B;
}

.page-contact__button--secondary:hover {
  background-color: rgba(229, 184, 11, 0.2);
  transform: translateY(-3px);
}

.page-contact__info-section {
  padding: 80px 20px;
  background-color: #051426; /* Dark background from body */
  text-align: center;
}

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

.page-contact__section-title {
  font-size: 2.8em;
  color: #E5B80B;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-contact__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

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

.page-contact__method-card {
  background-color: rgba(10, 35, 66, 0.7); /* Slightly transparent main color */
  border: 1px solid rgba(229, 184, 11, 0.3);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-contact__method-card:hover {
  transform: translateY(-10px);
  background-color: rgba(10, 35, 66, 0.9);
}

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

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

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

.page-contact__button--small {
  padding: 10px 20px;
  font-size: 0.95em;
}

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

.page-contact__form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(5, 20, 38, 0.8); /* Darker background for form */
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

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

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

.page-contact__form-label {
  display: block;
  font-size: 1.1em;
  color: #E5B80B;
  margin-bottom: 8px;
  font-weight: 500;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid rgba(229, 184, 11, 0.3);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 1em;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #aaaaaa;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #E5B80B;
  box-shadow: 0 0 0 3px rgba(229, 184, 11, 0.3);
  outline: none;
}

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

.page-contact__button--submit {
  background-color: #E5B80B;
  color: #0A2342;
  padding: 15px 25px;
  border: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  align-self: flex-start; /* Align button to the left */
}

.page-contact__button--submit:hover {
  background-color: #fcc200;
  transform: translateY(-3px);
}

.page-contact__cta-section {
  background-color: #051426;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-contact__cta-container {
  max-width: 900px;
}

.page-contact__cta-title {
  font-size: 2.8em;
  color: #E5B80B;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-contact__cta-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-contact__button--cta {
  background-color: #D62828; /* Emphasize with a red accent */
  color: #ffffff;
  padding: 18px 40px;
  font-size: 1.3em;
  border: 2px solid #D62828;
}

.page-contact__button--cta:hover {
  background-color: #e03c3c;
  transform: translateY(-3px);
}

.page-contact__cta-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 40px 15px;
  }
  .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__button {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__cta-section {
    padding: 60px 15px;
  }
  .page-contact__section-title,
  .page-contact__cta-title {
    font-size: 2em;
  }
  .page-contact__section-description,
  .page-contact__cta-description {
    font-size: 0.95em;
  }
  .page-contact__contact-methods {
    grid-template-columns: 1fr;
  }
  .page-contact__form-container {
    padding: 30px;
  }
  .page-contact__button--submit {
    align-self: stretch;
  }
  /* Mobile image handling to prevent overflow */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__section-title,
  .page-contact__cta-title {
    font-size: 1.8em;
  }
  .page-contact__button--cta {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}