.page-contact {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

.page-contact__hero-section {
  position: relative;
  text-align: center;
  color: #ffffff;
  padding: 80px 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #1E90FF, #0028ff);
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.2; /* Slightly dim the background image for text readability */
}

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

.page-contact__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.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.3s ease;
  font-size: 1.1em;
  white-space: nowrap;
}

.page-contact__button--primary {
  background-color: #FFD700; /* Gold */
  color: #1E90FF; /* Deep blue */
  border: 2px solid #FFD700;
}

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

.page-contact__button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

.page-contact__button--secondary:hover {
  background-color: #FFD700;
  color: #1E90FF;
  transform: translateY(-2px);
}

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

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

.page-contact__info-heading {
  font-size: 2.5em;
  color: #1E90FF;
  margin-bottom: 20px;
}

.page-contact__info-text {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

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

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

.page-contact__method-card:hover {
  transform: translateY(-5px);
}

.page-contact__method-icon {
  width: 200px;
  height: 133px; /* Adjusted height to maintain aspect ratio for 600x400 source */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-contact__method-title {
  font-size: 1.8em;
  color: #1E90FF;
  margin-bottom: 15px;
}

.page-contact__method-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-contact__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
}

.page-contact__form-section {
  padding: 60px 20px;
  background-color: #1E90FF;
  color: #ffffff;
  text-align: center;
}

.page-contact__form-container {
  max-width: 800px;
  margin: 0 auto;
}

.page-contact__form-heading {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-contact__form-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #e0e0e0;
}

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

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #FFD700;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #cccccc;
  opacity: 0.8;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  outline: none;
  border-color: #FFD700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

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

.page-contact__button--submit {
  background-color: #FFD700;
  color: #1E90FF;
  border: none;
  cursor: pointer;
  align-self: center;
  width: fit-content;
  padding: 15px 40px;
  font-size: 1.1em;
  border-radius: 8px;
}

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

.page-contact__cta-section {
  padding: 80px 20px;
  background: linear-gradient(45deg, #FFD700, #e6c200);
  text-align: center;
  color: #1E90FF; /* Dark text for light background */
}

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

.page-contact__cta-heading {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #1E90FF;
}

.page-contact__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #333333;
}

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

.page-contact__cta-buttons .page-contact__button--primary {
  background-color: #1E90FF;
  color: #FFD700;
  border: 2px solid #1E90FF;
}

.page-contact__cta-buttons .page-contact__button--primary:hover {
  background-color: #1565b3;
  border-color: #1565b3;
}

.page-contact__cta-buttons .page-contact__button--secondary {
  background-color: transparent;
  color: #1E90FF;
  border: 2px solid #1E90FF;
}

.page-contact__cta-buttons .page-contact__button--secondary:hover {
  background-color: #1E90FF;
  color: #FFD700;
}

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

  .page-contact__hero-description,
  .page-contact__info-text,
  .page-contact__form-description,
  .page-contact__cta-description {
    font-size: 1em;
  }

  .page-contact__info-heading,
  .page-contact__form-heading,
  .page-contact__cta-heading {
    font-size: 2em;
  }

  .page-contact__hero-buttons,
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__button {
    width: 80%;
    margin: 0 auto;
  }

  .page-contact__button--submit {
    width: 100%;
  }

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

  .page-contact__method-icon {
    max-width: 100%;
    height: auto;
  }

  /* Ensure all content images are responsive */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-section,
  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__cta-section {
    padding: 40px 15px;
  }

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

  .page-contact__info-heading,
  .page-contact__form-heading,
  .page-contact__cta-heading {
    font-size: 1.8em;
  }

  .page-contact__button {
    font-size: 1em;
    padding: 12px 25px;
  }
}