.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--Text-Main); /* Default text color for the page */
  background-color: var(--Deep-Navy); /* Page background from shared.css */
}

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

.page-contact__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  color: var(--Text-Main);
  overflow: hidden;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 40px auto 0 auto;
  padding: 0 20px;
}

.page-contact__hero-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--Gold);
}

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--Text-Secondary);
}

.page-contact__hero-cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__hero-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__info-section {
  padding: 80px 0;
  background-color: var(--Deep-Navy);
  color: var(--Text-Main);
  text-align: center;
}

.page-contact__info-title {
  font-size: 2.5em;
  color: var(--Gold);
  margin-bottom: 20px;
}

.page-contact__info-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: var(--Text-Secondary);
}

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

.page-contact__method-card {
  background-color: var(--Card-BG);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  color: var(--Text-Main);
}

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

.page-contact__method-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  object-fit: cover;
  border-radius: 5px;
}

.page-contact__method-title {
  font-size: 1.8em;
  color: var(--Gold);
  margin-bottom: 15px;
}

.page-contact__method-text {
  font-size: 1em;
  color: var(--Text-Secondary);
  margin-bottom: 25px;
}

.page-contact__method-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.95em;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__method-button:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
}

.page-contact__form-section {
  padding: 80px 0;
  background-color: var(--Deep-Navy);
  color: var(--Text-Main);
  text-align: center;
  border-top: 1px solid var(--Divider);
}

.page-contact__form-title {
  font-size: 2.5em;
  color: var(--Gold);
  margin-bottom: 20px;
}

.page-contact__form-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: var(--Text-Secondary);
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--Card-BG);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
}

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

.page-contact__form-label {
  display: block;
  font-size: 1.1em;
  margin-bottom: 10px;
  color: var(--Text-Main);
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid var(--Border);
  border-radius: 5px;
  font-size: 1em;
  background-color: #08162B;
  color: var(--Text-Main);
}

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

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: var(--Text-Secondary);
  opacity: 0.7;
}

.page-contact__form-submit-button {
  display: block;
  width: 100%;
  padding: 15px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.page-contact__form-submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__faq-section {
  padding: 80px 0;
  background-color: var(--Deep-Navy);
  color: var(--Text-Main);
  text-align: center;
  border-top: 1px solid var(--Divider);
}

.page-contact__faq-title {
  font-size: 2.5em;
  color: var(--Gold);
  margin-bottom: 20px;
}

.page-contact__faq-intro {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: var(--Text-Secondary);
}

.page-contact__faq-list {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-contact__faq-item {
  background-color: var(--Card-BG);
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid var(--Border);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--Text-Main);
  cursor: pointer;
  background-color: var(--Card-BG);
  border-bottom: 1px solid var(--Divider);
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-contact__faq-question::-webkit-details-marker {
  display: none;
}

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

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

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

.page-contact__faq-answer {
  padding: 20px;
  font-size: 1em;
  color: var(--Text-Secondary);
  background-color: #10233F;
  border-top: 1px solid var(--Divider);
}

.page-contact__faq-answer p {
  margin-bottom: 10px;
}

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

.page-contact__cta-section {
  padding: 80px 0;
  background-color: var(--Deep-Navy);
  color: var(--Text-Main);
  text-align: center;
  border-top: 1px solid var(--Divider);
}

.page-contact__cta-title {
  font-size: 2.5em;
  color: var(--Gold);
  margin-bottom: 20px;
}

.page-contact__cta-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: var(--Text-Secondary);
}

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

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
}

.page-contact__btn-secondary {
  background: #ffffff;
  color: #113B7A;
  border: 2px solid #113B7A;
}

.page-contact__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* General image and button responsive styles */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* @media (max-width: 1024px) for tablet */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.8em;
  }
  .page-contact__hero-description,
  .page-contact__info-description,
  .page-contact__form-description,
  .page-contact__faq-intro,
  .page-contact__cta-description {
    font-size: 1em;
  }
  .page-contact__contact-methods-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-contact__method-icon {
    max-width: 150px;
  }
  .page-contact__method-title {
    font-size: 1.5em;
  }
  .page-contact__form-title,
  .page-contact__info-title,
  .page-contact__faq-title,
  .page-contact__cta-title {
    font-size: 2em;
  }
  .page-contact__contact-form {
    padding: 30px;
  }
  .page-contact__faq-question {
    font-size: 1.1em;
  }
}

/* @media (max-width: 768px) for mobile */
@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-contact__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 40px;
  }
  .page-contact__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-contact__hero-description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }
  .page-contact__hero-cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__cta-section {
    padding: 40px 0;
  }
  .page-contact__info-title,
  .page-contact__form-title,
  .page-contact__faq-title,
  .page-contact__cta-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-contact__info-description,
  .page-contact__form-description,
  .page-contact__faq-intro,
  .page-contact__cta-description {
    font-size: 0.9em;
    margin-bottom: 30px;
  }

  .page-contact__contact-methods-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-contact__method-card {
    padding: 20px;
  }
  .page-contact__method-icon {
    max-width: 120px;
  }
  .page-contact__method-title {
    font-size: 1.3em;
  }
  .page-contact__method-text {
    font-size: 0.9em;
  }
  .page-contact__method-button {
    padding: 10px 20px;
    font-size: 0.9em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-contact__contact-form {
    padding: 25px;
  }
  .page-contact__form-label {
    font-size: 1em;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 10px;
    font-size: 0.9em;
  }
  .page-contact__form-submit-button {
    padding: 12px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-contact__faq-question {
    padding: 15px;
    font-size: 1em;
  }
  .page-contact__faq-answer {
    padding: 15px;
    font-size: 0.9em;
  }

  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* General mobile image and container styles */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-contact__section,
  .page-contact__card,
  .page-contact__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Required CSS for homepage-specific sections, even if not used in HTML for this page */
  .page-contact__hero-carousel-section {
    padding-top: 10px !important; /* Minimal padding for non-homepage hero-carousel */
    /* Further carousel specific styles if needed */
  }
  .page-contact__guide-box {
    padding: 15px;
  }
  .page-contact__guide-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
  }
  .page-contact__guide-card {
    padding-top: 0 !important; /* Reset specific padding for mobile */
    flex: none; /* Override flex basis */
    max-width: 100%; /* Ensure it takes full width of its grid span */
  }
  .page-contact__guide-card--pos-1, .page-contact__guide-card--pos-2 {
    grid-column: span 3;
  }
  .page-contact__guide-card--pos-3, .page-contact__guide-card--pos-4, .page-contact__guide-card--pos-5 {
    grid-column: span 2;
  }
  .page-contact__guide-card img {
    aspect-ratio: 250/350; /* Maintain aspect ratio */
    object-fit: contain;
    width: 100%;
    height: auto;
  }
  .page-contact__home-content-box {
    max-width: 100% !important;
    height: auto !important; /* Full height on mobile */
    border: none !important; /* Remove border/shadow for mobile if desired */
    box-shadow: none !important;
    padding: 0 !important;
  }
  .page-contact__home-content-inner {
    height: auto !important;
    overflow: visible !important; /* Show full content */
  }
  .page-contact__blog-section {
    padding: 40px 0;
  }
  .page-contact__blog-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }
}

/* Ensure contrast for various elements */
.page-contact p, .page-contact li {
  color: var(--Text-Secondary);
}
.page-contact h1, .page-contact h2, .page-contact h3, .page-contact h4, .page-contact h5, .page-contact h6 {
  color: var(--Gold);
}
.page-contact__dark-section {
  background-color: var(--Deep-Navy);
  color: var(--Text-Main);
}
.page-contact__card {
  background-color: var(--Card-BG);
  color: var(--Text-Main);
}
.page-contact__form-input,
.page-contact__form-textarea {
  background-color: var(--Deep-Navy);
  color: var(--Text-Main);
  border: 1px solid var(--Border);
}
.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: var(--Text-Secondary);
}