/* style/contact.css */
:root {
  --primary-color: #0056B3;
  --secondary-color: #FFD700;
  --dark-bg-1: #0d0d0d; /* Assuming from shared.css */
  --text-light: #ffffff;
  --text-dark: #333333;
  --border-color: #e0e0e0;
}

.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for main content on dark body bg */
  background-color: var(--dark-bg-1);
}

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

.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 180px 20px 60px; /* Adjusted padding-top for fixed header */
  background: linear-gradient(135deg, var(--primary-color), #003a7a);
  color: var(--text-light);
}

.page-contact__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-contact__hero-subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  color: var(--text-light);
}

.page-contact__hero-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-contact__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.page-contact__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-dark);
}

.page-contact__highlight {
  color: var(--primary-color);
  font-weight: bold;
}

/* Info Section */
.page-contact__info-section {
  padding: 80px 0;
  background-color: var(--text-light); /* Light background for this section */
  color: var(--text-dark);
}

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

.page-contact__method-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

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

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

.page-contact__method-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-contact__method-description {
  font-size: 16px;
  margin-bottom: 25px;
  color: var(--text-dark);
}

/* Form Section */
.page-contact__form-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #003a7a, var(--primary-color));
  color: var(--text-light);
}

.page-contact__form-section .page-contact__section-title {
  color: var(--secondary-color);
}

.page-contact__form-section .page-contact__section-description {
  color: var(--text-light);
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 40px auto 0;
  background: rgba(255, 255, 255, 0.08);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.page-contact__form-label {
  display: block;
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: bold;
  color: var(--text-light);
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-light);
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: var(--secondary-color);
  background: rgba(0, 0, 0, 0.3);
}

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

/* FAQ Section */
.page-contact__faq-section {
  padding: 80px 0;
  background-color: var(--text-light);
  color: var(--text-dark);
}

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

.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.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: #f9f9f9;
  color: var(--text-dark);
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 2000px !important; /* Sufficiently large */
  padding: 20px !important;
  opacity: 1;
  border-top: 1px solid var(--border-color);
  border-radius: 0 0 8px 8px;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-contact__faq-item.active .page-contact__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-color: var(--primary-color);
}

.page-contact__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

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

.page-contact__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-dark);
  pointer-events: none; /* Prevent text selection from interfering with click */
}

.page-contact__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-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: 32px;
  height: 32px;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg); /* Change + to X-like symbol when active */
}

/* CTA Buttons */
.page-contact__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-contact__btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__btn-primary:hover {
  background: #003a7a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__btn-secondary {
  background: var(--text-light);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-contact__btn-secondary:hover {
  background: #f0f0f0;
  color: #003a7a;
  border-color: #003a7a;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 40px;
  }
  .page-contact__hero-subtitle {
    font-size: 18px;
  }
  .page-contact__section-title {
    font-size: 30px;
  }
  .page-contact__section-description {
    font-size: 16px;
  }
  .page-contact__form-input, .page-contact__form-textarea, .page-contact__form-label {
    font-size: 15px;
  }
  .page-contact__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 140px 15px 40px; /* Adjusted padding-top for fixed header on mobile */
  }
  .page-contact__hero-title {
    font-size: 32px;
  }
  .page-contact__hero-subtitle {
    font-size: 16px;
  }
  .page-contact__info-section, .page-contact__form-section, .page-contact__faq-section {
    padding: 60px 0;
  }
  .page-contact__container {
    padding: 0 15px;
  }
  .page-contact__section-title {
    font-size: 26px;
  }
  .page-contact__section-description {
    font-size: 15px;
  }
  .page-contact__contact-methods {
    grid-template-columns: 1fr;
  }
  .page-contact__method-card {
    padding: 25px;
  }
  .page-contact__contact-form {
    padding: 30px;
  }
  .page-contact__form-group {
    margin-bottom: 20px;
  }
  .page-contact__form-label {
    font-size: 16px;
  }
  .page-contact__form-input, .page-contact__form-textarea {
    padding: 12px;
    font-size: 14px;
  }
  .page-contact__faq-question {
    padding: 15px;
  }
  .page-contact__faq-question h3 {
    font-size: 16px;
  }
  .page-contact__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 28px;
  }
  .page-contact__hero-subtitle {
    font-size: 14px;
  }
  .page-contact__section-title {
    font-size: 22px;
  }
  .page-contact__section-description {
    font-size: 14px;
  }
  .page-contact__method-title {
    font-size: 20px;
  }
  .page-contact__method-description {
    font-size: 14px;
  }
  .page-contact__cta-button {
    padding: 10px 20px;
    font-size: 14px;
  }
  .page-contact__form-label {
    font-size: 14px;
  }
  .page-contact__form-input, .page-contact__form-textarea {
    font-size: 13px;
  }
  .page-contact__faq-question h3 {
    font-size: 14px;
  }
}