/* style/contact.css */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with shared.css body */
}

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

.page-contact__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  background-color: #26A9E0; /* Brand primary color for hero */
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-contact__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

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

.page-contact__section-title {
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand primary color for section titles */
  font-weight: bold;
}

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

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

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

.page-contact__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff; /* Light text for card background */
}

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

.page-contact__card-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__card-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-contact__form-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #ffffff;
}

.page-contact__contact-form {
  max-width: 600px;
  margin: 40px auto 0 auto;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for form background */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #555;
  border-radius: 5px;
  background-color: #333;
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #aaa;
}

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

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

.page-contact__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.page-contact__faq-item {
  background: rgba(255, 255, 255, 0.08); /* Slightly darker card for FAQ */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

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

.page-contact__faq-title {
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  margin: 0;
}

.page-contact__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #26A9E0;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

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

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

.page-contact__faq-answer p {
  margin: 0;
  color: #f0f0f0;
}

.page-contact__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #26A9E0;
  color: #ffffff;
}

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

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

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

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

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

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.5em;
  }
  .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: 60px 0;
  }
  .page-contact__hero-title {
    font-size: 2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__section-intro {
    font-size: 0.95em;
  }
  .page-contact__methods-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__card {
    padding: 20px;
  }
  .page-contact__contact-form {
    padding: 20px;
  }
  .page-contact__faq-question {
    padding: 15px 20px;
  }
  .page-contact__faq-answer {
    padding: 0 20px;
  }
  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 10px 20px 20px 20px;
  }
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    width: 100%;
    padding: 12px 20px;
  }
  
  /* Mobile image and container responsiveness */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__hero-section,
  .page-contact__methods-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  /* Ensure content area images are not displayed smaller than 200px (this rule is general, specific classes will override if needed for smaller items but here it applies to main content images) */
  .page-contact__card-icon {
    min-width: 200px !important;
    min-height: 200px !important;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__section-title {
    font-size: 1.6em;
  }
  .page-contact__hero-section,
  .page-contact__methods-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__cta-section {
    padding: 40px 0;
  }
}