.page-contact {
  color: #333333; /* Default text color for light body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-contact__hero-section {
  background-color: #003366; /* Main brand color for hero background */
  color: #ffffff; /* Light text for dark background */
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle background image */
  z-index: 0;
}

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

.page-contact__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold accent for title */
  line-height: 1.2;
}

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

.page-contact__section-title {
  font-size: 2.5em;
  color: #003366;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.page-contact__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

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

.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, color 0.3s ease, transform 0.2s ease;
  margin: 10px;
  border: none;
  cursor: pointer;
}

.page-contact__button--primary {
  background-color: #FFD700; /* Gold */
  color: #003366; /* Dark blue */
}

.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: #003366;
  transform: translateY(-2px);
}

.page-contact__methods-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

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

.page-contact__method-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__method-icon {
  width: 200px; /* Min size for content images */
  height: auto;
  margin-bottom: 25px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-contact__phone-number {
  font-size: 1.4em;
  font-weight: bold;
  color: #FFD700;
  margin-top: 20px;
}

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

.page-contact__form-wrapper {
  display: flex;
  gap: 50px;
  align-items: center;
  margin-top: 40px;
}

.page-contact__form-image {
  flex: 1;
  max-width: 50%;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure image is not too small */
  height: auto;
}

.page-contact__contact-form {
  flex: 1;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

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

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

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

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

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

.page-contact__faq-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-contact__faq-grid {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  margin-top: 40px;
}

.page-contact__faq-image {
  flex: 1;
  max-width: 40%;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure image is not too small */
  height: auto;
}

.page-contact__faq-list {
  flex: 1.5;
}

.page-contact__faq-item {
  background-color: #f0f8ff;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.page-contact__faq-question {
  font-size: 1.2em;
  color: #003366;
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  background-color: #e6f2ff;
  border-bottom: 1px solid #d0e0f0;
}

.page-contact__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-contact__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-contact__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-contact__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  padding: 20px 25px;
}

.page-contact__faq-answer p {
  margin: 0;
  color: #555555;
  line-height: 1.6;
}

.page-contact__faq-answer .page-contact__link {
  color: #003366;
  text-decoration: underline;
}

.page-contact__cta-section {
  background-color: #003366;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.5em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__form-wrapper, .page-contact__faq-grid {
    flex-direction: column;
    gap: 30px;
  }
  .page-contact__form-image, .page-contact__faq-image {
    max-width: 100%;
    min-width: 200px;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-title {
    font-size: 2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__methods-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__hero-section {
    padding: 60px 20px;
  }
  .page-contact__button {
    width: calc(100% - 20px);
    margin: 10px auto;
  }
  /* Ensure content images are responsive and not too small */
  .page-contact img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px; /* Ensure images are not too small */
  }
  .page-contact__method-icon {
    width: 200px; /* Min size for content images */
    height: auto;
  }
  .page-contact__form-image,
  .page-contact__faq-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
  }
  .page-contact__contact-form {
    padding: 30px;
  }
  .page-contact__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-contact__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__hero-section,
  .page-contact__methods-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__cta-section {
    padding: 40px 15px;
  }
  .page-contact__contact-form {
    padding: 20px;
  }
  .page-contact__form-input, .page-contact__form-textarea {
    padding: 10px;
  }
}