/* style/contact.css */
.page-contact {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa;
}

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

.page-contact__hero {
  background: linear-gradient(135deg, #007BFF, #FFC107);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  margin-bottom: 40px;
}

.page-contact__hero-title {
  font-size: 3.2em;
  margin-bottom: 15px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-contact__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.page-contact__section {
  padding: 60px 0;
  margin-bottom: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-contact__section:nth-of-type(odd) {
  background-color: #fefefe;
}

.page-contact__section-title {
  font-size: 2.5em;
  color: #007BFF;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-contact__section-description {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #555;
}

.page-contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-contact__method-card {
  background-color: #fdfdfd;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 250px;
}

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

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

.page-contact__method-title {
  font-size: 1.5em;
  color: #007BFF;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-contact__method-text {
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-contact__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  text-align: center;
}

.page-contact__btn--primary {
  background-color: #007BFF;
  color: #fff;
  border: 2px solid #007BFF;
}

.page-contact__btn--primary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.page-contact__btn--secondary {
  background-color: #f0f0f0;
  color: #007BFF;
  border: 2px solid #007BFF;
}

.page-contact__btn--secondary:hover {
  background-color: #e0e0e0;
  color: #0056b3;
  transform: translateY(-2px);
}

.page-contact__form-section {
  background-color: #f0f8ff;
}

.page-contact__form {
  max-width: 700px;
  margin: 0 auto;
  padding: 30px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #007BFF;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
  outline: none;
}

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

.page-contact__form .page-contact__btn--primary {
  width: 100%;
  padding: 15px;
  font-size: 1.1em;
}

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

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

.page-contact__faq-question {
  padding: 18px 25px;
  font-size: 1.3em;
  color: #007BFF;
  cursor: pointer;
  position: relative;
  margin: 0;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-contact__faq-question::after {
  content: '+';
  font-size: 1.5em;
  color: #FFC107;
  transition: transform 0.3s ease;
}

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

.page-contact__faq-answer {
  padding: 0 25px 18px;
  font-size: 1em;
  color: #555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 200px; /* Adjust as needed */
  padding-top: 10px;
}

.page-contact__cta-section {
  background: linear-gradient(90deg, #007BFF, #FFC107);
  color: #fff;
  text-align: center;
  padding: 80px 0;
  border-radius: 10px;
}

.page-contact__cta-content {
  max-width: 800px;
}

.page-contact__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-contact__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.7;
}

.page-contact__btn--large {
  padding: 18px 40px;
  font-size: 1.3em;
  border-radius: 8px;
  background-color: #FFC107;
  border-color: #FFC107;
  color: #007BFF; /* Ensure good contrast */
}

.page-contact__btn--large:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  color: #0056b3;
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-contact__hero-title {
    font-size: 2.5em;
  }

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

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

  .page-contact__grid {
    grid-template-columns: 1fr;
  }

  .page-contact__method-card {
    min-height: auto;
  }

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

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

  .page-contact__btn--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-contact__hero {
    padding: 50px 0;
  }

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

  .page-contact__section {
    padding: 40px 0;
  }

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

  .page-contact__form {
    padding: 20px;
  }

  .page-contact__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}