/* style/contact.css */
.page-contact {
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  background-color: #FFFFFF; /* Default background based on body */
  color: #333333; /* Dark text for light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-contact__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF; /* Light text for dark background */
  position: relative;
  overflow: hidden;
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-contact__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  opacity: 0.9;
  color: #FFFFFF;
}

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

.page-contact__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-contact__btn--live-chat {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-contact__btn--live-chat:hover {
  background-color: #e0a73d;
  transform: translateY(-2px);
}

.page-contact__btn--register {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-contact__btn--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

/* Info Section */
.page-contact__info-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-contact__info-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #000000;
}

.page-contact__info-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #555555;
}

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

.page-contact__method-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

.page-contact__method-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-contact__method-icon {
  width: 200px; /* Explicitly set to meet minimum size */
  height: 200px;
  margin-bottom: 25px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.page-contact__method-card:hover .page-contact__method-icon {
  transform: scale(1.1);
}

.page-contact__method-heading {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #000000;
}

.page-contact__method-text {
  font-size: 1em;
  color: #666666;
  margin-bottom: 25px;
}

.page-contact__btn--live-chat-card, .page-contact__btn--email, .page-contact__btn--faq {
  background-color: #FCBC45;
  color: #000000;
  border: none;
  padding: 12px 25px;
  font-size: 1em;
  border-radius: 6px;
}

.page-contact__btn--live-chat-card:hover, .page-contact__btn--email:hover, .page-contact__btn--faq:hover {
  background-color: #e0a73d;
  transform: translateY(-2px);
}

/* Form Section */
.page-contact__form-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-contact__form-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #000000;
}

.page-contact__form-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #555555;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
}

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

.page-contact__form-label {
  display: block;
  font-size: 1.1em;
  margin-bottom: 10px;
  font-weight: bold;
  color: #000000;
}

.page-contact__form-input, .page-contact__form-textarea {
  width: calc(100% - 22px);
  padding: 12px;
  border: 1px solid #cccccc;
  border-radius: 6px;
  font-size: 1em;
  color: #333333;
  background-color: #FFFFFF;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input:focus, .page-contact__form-textarea:focus {
  border-color: #FCBC45;
  box-shadow: 0 0 0 3px rgba(252, 188, 69, 0.2);
  outline: none;
}

.page-contact__form-textarea {
  resize: vertical;
  min-height: 120px;
}

.page-contact__btn--submit {
  width: 100%;
  padding: 15px;
  background-color: #FCBC45;
  color: #000000;
  border: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-contact__btn--submit:hover {
  background-color: #e0a73d;
  transform: translateY(-2px);
}

.page-contact__form-message {
  text-align: center;
  margin-top: 30px;
  padding: 15px;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  font-size: 1.1em;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 80px 0;
  background-color: #000000; /* Dark background for FAQ */
  color: #FFFFFF; /* Light text for dark background */
}

.page-contact__faq-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-contact__faq-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #cccccc;
}

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

.page-contact__faq-item {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #333333;
}

.page-contact__faq-question {
  font-size: 1.4em;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #FCBC45;
}

.page-contact__faq-question::after {
  content: '+';
  font-size: 1.2em;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.page-contact__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-contact__faq-answer {
  font-size: 1em;
  color: #e0e0e0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  padding-top: 0;
}

.page-contact__faq-answer.active {
  max-height: 500px; /* Increased max-height for longer answers */
  padding-top: 15px;
}

/* Commitment Section */
.page-contact__commitment-section {
  padding: 80px 0;
  background-color: #f9f9f9;
  text-align: center;
}

.page-contact__commitment-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #000000;
}

.page-contact__commitment-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto;
  color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.8em;
  }
  .page-contact__info-title, .page-contact__form-title, .page-contact__faq-title, .page-contact__commitment-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 60px 15px;
  }
  .page-contact__hero-title {
    font-size: 2.2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__btn {
    width: 80%;
  }
  .page-contact__info-section, .page-contact__form-section, .page-contact__faq-section, .page-contact__commitment-section {
    padding: 60px 0;
  }
  .page-contact__info-title, .page-contact__form-title, .page-contact__faq-title, .page-contact__commitment-title {
    font-size: 1.8em;
  }
  .page-contact__contact-methods {
    grid-template-columns: 1fr;
  }
  .page-contact__contact-form {
    padding: 25px;
  }
  .page-contact__form-label {
    font-size: 1em;
  }
  .page-contact__form-input, .page-contact__form-textarea {
    width: calc(100% - 20px);
  }
  /* Mobile content image constraint */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
  .page-contact__method-icon {
    width: 200px; /* Ensure minimum 200px constraint is met on display */
    height: 200px;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__hero-description {
    font-size: 0.9em;
  }
  .page-contact__btn {
    width: 90%;
  }
  .page-contact__info-title, .page-contact__form-title, .page-contact__faq-title, .page-contact__commitment-title {
    font-size: 1.5em;
  }
  .page-contact__method-card {
    padding: 20px;
  }
  .page-contact__method-heading {
    font-size: 1.4em;
  }
  .page-contact__faq-question {
    font-size: 1.2em;
  }
  .page-contact__method-icon {
    width: 200px; /* Fixed to 200px to meet minimum size */
    height: 200px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Ensure all images within .page-contact meet minimum size requirements */
.page-contact img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}