/* style/contact.css */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  padding-top: 10px; /* Small top padding for the first section to avoid double padding with body */
}

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

.page-contact__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height for aesthetic */
  overflow: hidden;
}

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

.page-contact__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin-top: 20px;
}

.page-contact__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFF6D6; /* Text Main */
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF6D6; /* Text Main */
}

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

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

.page-contact__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text for contrast on bright button */
  border: 2px solid transparent;
}

.page-contact__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-contact__btn-secondary {
  background: #111111; /* Card B G */
  color: #FFD36B; /* Glow */
  border: 2px solid #FFD36B; /* Glow for border */
}

.page-contact__btn-secondary:hover {
  background: #FFD36B; /* Glow */
  color: #111111; /* Card B G */
  transform: translateY(-2px);
}

.page-contact__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #F2C14E; /* Main color */
}

.page-contact__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #FFF6D6; /* Text Main */
}

.page-contact__contact-methods-section,
.page-contact__faq-section,
.page-contact__commitment-section,
.page-contact__partner-section,
.page-contact__about-section {
  padding: 60px 0;
}

.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: #111111; /* Card B G */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFF6D6; /* Text Main */
}

.page-contact__method-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px;
  min-height: 200px;
}

.page-contact__method-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F2C14E; /* Main color */
}

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

.page-contact__faq-list {
  margin-top: 40px;
}

.page-contact__faq-item {
  background: #111111; /* Card B G */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

.page-contact__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1); /* Main color subtle hover */
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #F2C14E; /* Main color */
}

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

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6; /* Text Main */
}

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

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

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

.page-contact__commitment-card {
  background: #111111; /* Card B G */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFF6D6; /* Text Main */
}

.page-contact__commitment-icon {
  width: 150px;
  height: 150px;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px;
  min-height: 200px;
}

.page-contact__commitment-heading {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F2C14E; /* Main color */
}

.page-contact__commitment-text {
  margin-bottom: 25px;
  font-size: 1em;
  flex-grow: 1;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-contact__hero-content {
    padding: 30px 15px;
  }

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

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

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

  .page-contact__hero-section {
    padding-bottom: 20px;
  }

  .page-contact__hero-image-wrapper {
    max-height: 400px;
  }

  .page-contact__hero-content {
    padding: 20px 15px;
    margin-top: 10px;
  }

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

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

  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-contact__section-title {
    font-size: 1.8em;
    padding: 0 15px;
  }

  .page-contact__section-description {
    font-size: 0.95em;
    padding: 0 15px;
    margin-bottom: 30px;
  }

  .page-contact__contact-methods-section,
  .page-contact__faq-section,
  .page-contact__commitment-section,
  .page-contact__partner-section,
  .page-contact__about-section {
    padding: 40px 0;
  }

  .page-contact__methods-grid,
  .page-contact__commitment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-contact__method-card,
  .page-contact__commitment-card {
    padding: 20px;
  }

  .page-contact__method-icon,
  .page-contact__commitment-icon {
    width: 100px;
    height: 100px;
    min-width: 200px;
    min-height: 200px;
  }

  .page-contact__method-title,
  .page-contact__commitment-heading {
    font-size: 1.5em;
  }

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

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

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

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

  .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;
  }
}

/* Ensure min-width for content images */
.page-contact img:not(.page-contact__method-icon):not(.page-contact__commitment-icon) {
  min-width: 200px;
  min-height: 200px;
}

/* Specific overrides for small icons if they were needed, but they are generally forbidden */
/* The image requirements explicitly state min 200x200px except specific cases, which are not present here */

/* Color Contrast Fixes (as per highest priority requirements) */
.page-contact p, .page-contact li, .page-contact__hero-description, .page-contact__method-text, .page-contact__commitment-text, .page-contact__faq-answer p {
  color: #FFF6D6; /* Ensure light text on dark background */
}

.page-contact__faq-question {
  color: #FFF6D6;
}

.page-contact__main-title, .page-contact__section-title, .page-contact__method-title, .page-contact__commitment-heading {
  color: #F2C14E; /* Main brand color for headings */
}

/* Button text color on gradient button */
.page-contact__btn-primary {
  color: #111111; /* Darker text on bright gradient for contrast */
}

.page-contact__btn-secondary {
  color: #FFD36B; /* Light text on dark background */
}

.page-contact__btn-secondary:hover {
  color: #111111; /* Darker text on bright hover background */
}