.page-contact {
  font-family: Arial, sans-serif;
  color: #ffffff;
  background-color: var(--dark-bg, #0d0d0d);
  line-height: 1.6;
}

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

.page-contact__hero-section {
  position: relative;
  padding: 120px 0 80px;
  background: url('[GALLERY:hero:1920x1080:customer_support_hero,contact_center,online_assistance]') no-repeat center center/cover;
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-contact__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.page-contact__hero-section > .page-contact__container {
  position: relative;
  z-index: 2;
}

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

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__hero-cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A2B4C;
  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;
}

.page-contact__hero-cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

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

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

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

.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);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

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

.page-contact__card-text {
  color: #e0e0e0;
  margin-bottom: 20px;
}

.page-contact__method-link {
  display: inline-block;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 5px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-contact__method-link:hover {
  color: #ffffff;
  border-color: #ffffff;
}

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

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

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

.page-contact__form-label {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1em;
  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: #cccccc;
}

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

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

.page-contact__submit-button {
  display: block;
  width: 100%;
  padding: 15px 20px;
  background-color: #FFD700;
  color: #1A2B4C;
  border: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-contact__why-contact-section {
  padding: 80px 0;
  background-color: var(--dark-bg, #0d0d0d);
  color: #ffffff;
}

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

.page-contact__benefit-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-contact__faq-section {
  padding: 80px 0;
  background-color: #f0f0f0; /* Light background for contrast */
  color: #333333;
}

.page-contact__faq-section .page-contact__section-title {
  color: #1A2B4C;
}

.page-contact__faq-section .page-contact__section-intro {
  color: #555555;
}

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

.page-contact__faq-item {
  background-color: #ffffff;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #eeeeee;
  transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
  background-color: #f8f8f8;
}

.page-contact__faq-title {
  font-size: 1.2em;
  color: #1A2B4C;
  margin: 0;
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

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

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

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

.page-contact__social-media-section {
  padding: 80px 0;
  background-color: #1A2B4C;
  color: #ffffff;
  text-align: center;
}

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

.page-contact__social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #FFD700;
  color: #1A2B4C;
  border-radius: 50%;
  font-size: 1.2em;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__social-icon:hover {
  background-color: #e6c200;
  transform: translateY(-3px) scale(1.05);
}

/* Color Contrast Specifics */
.page-contact__dark-bg {
  background-color: #1A2B4C;
  color: #ffffff;
}

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

/* 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 {
    min-height: 400px;
    padding: 100px 0 60px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-contact__hero-title {
    font-size: 2.2em;
  }

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

  .page-contact__hero-cta-button,
  .page-contact__submit-button {
    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;
  }

  .page-contact__methods-grid,
  .page-contact__benefits-grid {
    grid-template-columns: 1fr;
  }

  .page-contact__method-card,
  .page-contact__benefit-card,
  .page-contact__contact-form,
  .page-contact__faq-item {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .page-contact__section-intro {
    margin-bottom: 30px;
  }

  .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__methods-section,
  .page-contact__form-section,
  .page-contact__why-contact-section,
  .page-contact__faq-section,
  .page-contact__social-media-section,
  .page-contact__contact-form,
  .page-contact__methods-grid,
  .page-contact__benefits-grid,
  .page-contact__faq-list,
  .page-contact__social-links {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  .page-contact__social-links {
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-contact__faq-question {
    padding: 15px 20px;
  }

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

  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 15px 20px 20px;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }

  .page-contact__section-title {
    font-size: 1.8em;
  }

  .page-contact__hero-cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-contact__card-title {
    font-size: 1.5em;
  }

  .page-contact__faq-title {
    font-size: 1.1em;
  }
}