.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark, so text is light */
  background-color: #0d0d0d; /* Ensure consistency with body background */
}

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

.page-contact__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjusted height for better visual */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure header offset is applied */
  box-sizing: border-box;
}

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

.page-contact__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  z-index: 2;
}

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

.page-contact__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

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

.page-contact__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-contact__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-contact__dark-section {
  background-color: #1A202C;
  padding: 60px 0;
}

.page-contact__info-section {
  padding: 60px 0;
}

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

.page-contact__method-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-contact__method-icon {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

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

.page-contact__method-description {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-contact__social-links {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 15px;
}

.page-contact__social-icon {
  display: inline-block;
  padding: 10px 20px;
  background-color: #FFD700;
  color: #1A202C;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-contact__social-icon:hover {
  background-color: #e6c200;
}

.page-contact__form-section {
  padding: 60px 0;
  background-color: #0d0d0d;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.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 rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

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

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

.page-contact__btn-primary {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 14px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

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

.page-contact__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #FFD700;
  padding: 14px 30px;
  border: 2px solid #FFD700;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
}

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

.page-contact__faq-section {
  padding: 60px 0;
  background-color: #1A202C;
}

.page-contact__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.page-contact__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  transform: rotate(45deg);
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
  font-size: 1em;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 15px 25px 20px 25px;
}

.page-contact__faq-answer p {
  margin: 0;
}

.page-contact__faq-answer a {
  color: #FFD700;
  text-decoration: underline;
}

.page-contact__cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: #0d0d0d;
}

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

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

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-contact__hero-section {
    height: 500px;
  }
  .page-contact__hero-title {
    font-size: 2.2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__hero-buttons,
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact__contact-methods {
    grid-template-columns: 1fr;
  }
  .page-contact__method-card {
    padding: 25px;
  }
  .page-contact__method-icon {
    height: 180px;
  }
  .page-contact__form-contact {
    padding: 30px;
  }
  .page-contact__faq-question {
    font-size: 1.1em;
    padding: 18px 20px;
  }

  /* Mobile image responsiveness */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-contact__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__method-title {
    font-size: 1.5em;
  }
  .page-contact__method-icon {
    height: 150px;
  }
  .page-contact__faq-question {
    font-size: 1em;
  }
  .page-contact__faq-answer p {
    font-size: 0.9em;
  }
}