/* style/contact.css */
:root {
  --primary-color: #336699;
  --secondary-color: #FFCC00;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark-main: #1a1a1a;
  --bg-dark-card: #2a2a2a;
  --border-color: rgba(255, 255, 255, 0.1);
}

.page-contact {
  background: var(--bg-dark-main);
  color: var(--text-light);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: 120px; /* Spacing for fixed header */
}

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

.page-contact__hero-contact {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color), #204060); /* Darker gradient for contrast */
  border-radius: 0 0 15px 15px;
  margin-bottom: 40px;
}

.page-contact__main-title {
  font-size: 3.2em;
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-contact__intro-text {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--text-light);
}

.page-contact__intro-text strong {
  color: var(--secondary-color);
}

.page-contact__hero-image {
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  margin-top: 30px;
}

.page-contact__card {
  background: var(--bg-dark-card);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 40px;
  margin-bottom: 40px;
  border: 1px solid var(--border-color);
}

.page-contact__section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-contact__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: rgba(255, 255, 255, 0.85);
}

.page-contact__section-description strong {
  color: var(--secondary-color);
}

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

.page-contact__method-item,
.page-contact__feature-item {
  text-align: center;
  background: #3a3a3a; /* Slightly lighter dark for items */
  padding: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__method-item:hover,
.page-contact__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-contact__method-icon,
.page-contact__feature-icon {
  width: 150px; /* Increased size, min 200x200 requirement applies to actual image, not just display width */
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px rgba(255, 204, 0, 0.4)); /* Allowed filter for shadow effect, not color change */
}

.page-contact__method-title,
.page-contact__feature-title {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__method-description,
.page-contact__feature-description {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.page-contact__cta-button {
  display: inline-block;
  background: var(--primary-color);
  color: var(--text-light);
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

.page-contact__cta-button:hover {
  background: #2a527a;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.page-contact__cta-button--large {
  padding: 15px 40px;
  font-size: 1.2em;
  margin-top: 30px;
}

.page-contact__contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.page-contact__form-group {
  display: flex;
  flex-direction: column;
}

.page-contact__form-label {
  font-size: 1.1em;
  margin-bottom: 8px;
  color: var(--secondary-color);
  font-weight: bold;
}

.page-contact__form-input,
.page-contact__form-textarea {
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background: #3a3a3a;
  color: var(--text-light);
  font-size: 1em;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

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

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

.page-contact__submit-button {
  align-self: flex-start;
}

/* FAQ Styles */
.page-contact__faq-list {
  margin-top: 30px;
}

.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  background: #3a3a3a;
  color: rgba(255, 255, 255, 0.8);
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 2000px !important;
  padding: 20px 20px !important;
  opacity: 1;
  border-radius: 0 0 5px 5px;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #333333; /* Slightly darker for question */
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

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

.page-contact__faq-question:active {
  background: #555555;
}

.page-contact__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-light);
}

.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  color: var(--text-light);
  transform: rotate(45deg); /* Rotate to form an 'x' or 'minus' */
}

.page-contact__faq-answer a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-contact__faq-answer a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-contact {
    padding-top: 100px; /* Mobile fixed header spacing */
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-contact__intro-text {
    font-size: 1em;
  }

  .page-contact__hero-image {
    max-width: 90%;
  }

  .page-contact__card {
    padding: 25px;
    margin-bottom: 30px;
  }

  .page-contact__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

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

  .page-contact__method-grid,
  .page-contact__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-contact__method-item,
  .page-contact__feature-item {
    padding: 20px;
  }

  .page-contact__method-icon,
  .page-contact__feature-icon {
    width: 120px;
  }

  .page-contact__method-title,
  .page-contact__feature-title {
    font-size: 1.4em;
  }

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

  .page-contact__cta-button--large {
    padding: 12px 30px;
    font-size: 1em;
  }

  .page-contact__form-label {
    font-size: 1em;
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 10px 12px;
    font-size: 0.95em;
  }

  .page-contact__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-contact__faq-question h3 {
    font-size: 1em;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-contact__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-contact__faq-answer {
    padding: 0 15px;
  }
  
  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 15px !important;
  }
}