.page-contact {
  color: #ffffff; /* Light text on dark body background */
  background-color: #1a1a1a; /* Ensure consistency with shared.css body background */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

/* Hero Section */
.page-contact__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px 40px;
  position: relative;
  overflow: hidden;
}

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

.page-contact__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.page-contact__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold primary color */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

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

/* Section Titles and Descriptions */
.page-contact__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 60px;
}

.page-contact__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

/* Buttons */
.page-contact__button {
  display: inline-block;
  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;
  cursor: pointer;
  border: none;
}

.page-contact__button--primary {
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Dark Red text */
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

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

.page-contact__button--secondary {
  background-color: #8B0000; /* Dark Red */
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
  box-shadow: 0 3px 10px rgba(139, 0, 0, 0.4);
}

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

.page-contact__button--submit {
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Dark Red text */
  width: 100%;
  max-width: 300px;
  margin-top: 20px;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

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

/* Contact Methods Section */
.page-contact__methods-section {
  padding: 80px 20px;
  background-color: #2a2a2a;
}

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

.page-contact__method-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-contact__method-card:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-contact__method-icon {
  width: 250px; /* Min size 200px */
  height: 250px; /* Min size 200px */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-contact__method-description {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 25px;
  line-height: 1.5;
}

/* Form Section */
.page-contact__form-section {
  padding: 80px 20px;
  background-color: #1a1a1a;
}

.page-contact__form {
  max-width: 700px;
  margin: 50px auto 0;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(139, 0, 0, 0.2);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: calc(100% - 20px);
  padding: 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  background-color: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  font-size: 1em;
  transition: border-color 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: #FFD700;
  outline: none;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

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

/* CTA Section */
.page-contact__cta-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #2a2a2a;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
}

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

.page-contact__cta-description {
  font-size: 1.2em;
  color: #f0f0f0;
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

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

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 60px 15px 30px;
  }
  .page-contact__hero-title {
    font-size: 2.2em;
  }
  .page-contact__hero-description {
    font-size: 1.1em;
  }
  .page-contact__section-title {
    font-size: 1.8em;
    padding-top: 40px;
  }
  .page-contact__methods-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__method-icon {
    width: 200px; /* Enforce min size */
    height: 200px; /* Enforce min size */
  }
  .page-contact__form {
    padding: 30px;
  }
  .page-contact__button--submit {
    max-width: 100%;
  }

  /* Mobile content area image overflow prevention */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }

  .page-contact__methods-section,
  .page-contact__form-section,
  .page-contact__cta-section {
    padding: 60px 15px;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__section-title {
    font-size: 1.6em;
  }
  .page-contact__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-contact__method-card {
    padding: 25px;
  }
  .page-contact__method-title {
    font-size: 1.5em;
  }
  .page-contact__form {
    padding: 20px;
  }
  .page-contact__cta-title {
    font-size: 1.8em;
  }
}