.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #ffffff); /* Inherit from shared or default to white */
}

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

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height for hero image */
}

.page-contact__hero-content {
  position: relative;
  z-index: 1; /* Ensure content is above image if any layering occurs, but not overlapping */
  max-width: 800px;
  margin-top: 20px;
}

.page-contact__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff; /* White text for dark hero section */
}

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0; /* Light grey text for dark hero section */
}

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary,
.page-contact__social-btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-contact__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-contact__btn-primary:hover {
  background-color: #c96706;
  border-color: #c96706;
}

.page-contact__btn-secondary {
  background-color: #26A9E0; /* Main brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-contact__btn-secondary:hover {
  background-color: #1e87bb;
  border-color: #1e87bb;
}

.page-contact__social-btn {
  background-color: #f0f0f0;
  color: #26A9E0;
  border: 1px solid #e0e0e0;
  margin: 5px;
  min-width: 100px;
}

.page-contact__social-btn:hover {
  background-color: #e0e0e0;
  color: #1e87bb;
}

/* Section Titles and Text Blocks */
.page-contact__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  font-weight: 700;
  margin-bottom: 25px;
  text-align: center;
  color: #26A9E0; /* Brand color for section titles */
}

.page-contact__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Introduction Section */
.page-contact__introduction-section {
  padding: 60px 20px;
  background-color: #ffffff;
  color: #333333;
}

/* Channels Section */
.page-contact__channels-section {
  padding: 60px 20px;
  background-color: #f8f8f8;
  color: #333333;
}

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

.page-contact__card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  box-sizing: border-box;
}

.page-contact__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-contact__card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-contact__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-contact__card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-contact__note-text {
  font-size: 0.9em;
  color: #777777;
  margin-top: 40px;
  text-align: center;
}

/* Support Areas Section */
.page-contact__support-areas-section {
  padding: 60px 20px;
  background-color: #26A9E0; /* Dark section with brand color */
  color: #ffffff;
}

.page-contact__support-areas-section .page-contact__section-title {
  color: #ffffff;
}

.page-contact__support-areas-section .page-contact__text-block {
  color: #f0f0f0;
}

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

.page-contact__support-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  height: 100%;
  box-sizing: border-box;
}

.page-contact__support-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-contact__support-description {
  font-size: 0.95em;
  color: #f0f0f0;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 60px 20px;
  background-color: #ffffff;
  color: #333333;
}

.page-contact__faq-list {
  max-width: 900px;
  margin: 40px auto 20px auto;
}

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

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #f0f0f0;
  border-bottom: 1px solid #e0e0e0;
}

.page-contact__faq-item[open] .page-contact__faq-question {
  background-color: #e5e5e5;
}

.page-contact__faq-qtext {
  flex-grow: 1;
  text-align: left;
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
  content: '−';
}

.page-contact__faq-answer {
  padding: 15px 25px;
  font-size: 1em;
  color: #555555;
  text-align: left;
}

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

.page-contact__more-faq a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-contact__more-faq a:hover {
  text-decoration: underline;
}

/* Feedback Section */
.page-contact__feedback-section {
  padding: 60px 20px;
  background-color: #f8f8f8;
  color: #333333;
}

/* Why Choose Section */
.page-contact__why-choose-section {
  padding: 60px 20px;
  background-color: #26A9E0; /* Dark section with brand color */
  color: #ffffff;
}

.page-contact__why-choose-section .page-contact__section-title {
  color: #ffffff;
}

.page-contact__why-choose-section .page-contact__text-block {
  color: #f0f0f0;
}

.page-contact__why-choose-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 900px;
  text-align: left;
}

.page-contact__why-choose-list li {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-contact__why-choose-list li strong {
  color: #ffffff;
  margin-right: 10px;
  white-space: nowrap;
}

.page-contact__why-choose-list li::before {
  content: '✔';
  color: #EA7C07; /* Login color as a checkmark */
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.2em;
  line-height: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-image {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-contact__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-contact__hero-section,
  .page-contact__introduction-section,
  .page-contact__channels-section,
  .page-contact__support-areas-section,
  .page-contact__faq-section,
  .page-contact__feedback-section,
  .page-contact__why-choose-section {
    padding: 40px 15px !important;
  }

  .page-contact__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-contact__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-contact__hero-description {
    font-size: 1em;
  }

  .page-contact__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }

  .page-contact__text-block {
    font-size: 0.95em;
  }

  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .page-contact__social-btn {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 10px;
  }

  .page-contact__social-links {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .page-contact__social-btn {
    margin: 0;
  }

  .page-contact__card {
    padding: 20px;
  }

  .page-contact__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-contact__channels-grid,
  .page-contact__support-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-contact__faq-answer {
    padding: 10px 20px;
  }

  .page-contact__why-choose-list li {
    font-size: 1em;
    padding: 12px 15px;
  }

  /* Image responsiveness */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-contact__hero-section,
  .page-contact__introduction-section,
  .page-contact__channels-section,
  .page-contact__support-areas-section,
  .page-contact__faq-section,
  .page-contact__feedback-section,
  .page-contact__why-choose-section,
  .page-contact__container,
  .page-contact__card,
  .page-contact__support-item,
  .page-contact__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

/* Details for details/summary styling for FAQ */
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}

/* Color Contrast Adjustments */
.page-contact__dark-section {
  background: #26A9E0;
  color: #ffffff;
}

.page-contact__dark-section .page-contact__text-block strong {
  color: #ffffff;
}

.page-contact__light-bg {
  background: #ffffff;
  color: #333333;
}

.page-contact__light-bg .page-contact__text-block strong {
  color: #26A9E0;
}

/* Ensure strong tags are visible */
.page-contact strong {
  color: inherit;
  font-weight: bold;
}

/* Specific styling for email code */
.page-contact__card code {
  background-color: rgba(0, 0, 0, 0.05);
  padding: 2px 5px;
  border-radius: 4px;
  font-family: monospace;
  color: #26A9E0;
}