/* style/contact.css */
.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #f8f8f8;
}

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

.page-contact__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #8B0000;
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.page-contact__section-description {
  font-size: 18px;
  color: #555555;
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background: linear-gradient(135deg, #FFD700, #8B0000);
  color: #ffffff;
  overflow: hidden;
}

.page-contact__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.page-contact__hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
}

.page-contact__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 15px;
}

.page-contact__hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff; /* White text on dark/gradient background */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-contact__hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0; /* Slightly off-white for better contrast */
}

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700; /* Primary color */
  color: #000000; /* Dark text for primary button */
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-contact__cta-button:hover {
  background: #e6c200; /* Slightly darker gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Contact Methods Section */
.page-contact__methods-section {
  background-color: #ffffff;
  padding: 80px 0;
}

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

.page-contact__method-card {
  background: #fdfdfd;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  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(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-contact__method-card img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-contact__method-title {
  font-size: 24px;
  color: #8B0000; /* Secondary color */
  margin-bottom: 15px;
}

.page-contact__method-description {
  font-size: 16px;
  color: #555555;
  margin-bottom: 20px;
}

.page-contact__contact-info a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-contact__contact-info a:hover {
  text-decoration: underline;
}

.page-contact__method-button {
  display: inline-block;
  padding: 12px 25px;
  background: #FFD700;
  color: #000000;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__method-button:hover {
  background: #e6c200;
}

.page-contact__social-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-contact__social-list li {
  margin-bottom: 10px;
}

.page-contact__social-list a {
  color: #8B0000;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
}

.page-contact__social-list a:hover {
  text-decoration: underline;
  color: #FFD700;
}

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

.page-contact__form-section .page-contact__section-title,
.page-contact__form-section .page-contact__section-description {
  color: #ffffff;
}

.page-contact__form-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-contact__form-image {
  flex: 1;
}

.page-contact__form-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  min-height: 200px;
}

.page-contact__contact-form {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 16px;
  box-sizing: border-box;
}

.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 {
  outline: none;
  border-color: #FFD700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

.page-contact__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: #FFD700; /* Primary color */
  color: #000000; /* Dark text for primary button */
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

/* Why Support Section */
.page-contact__why-support-section {
  background-color: #f8f8f8;
  padding: 80px 0;
}

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

.page-contact__feature-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

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

.page-contact__feature-card img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-contact__feature-title {
  font-size: 24px;
  color: #8B0000; /* Secondary color */
  margin-bottom: 15px;
}

.page-contact__feature-description {
  font-size: 16px;
  color: #555555;
}

/* FAQ Section */
.page-contact__faq-section {
  background: #8B0000;
  color: #ffffff;
  padding: 80px 0;
}

.page-contact__faq-section .page-contact__section-title,
.page-contact__faq-section .page-contact__section-description {
  color: #ffffff;
}

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

.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.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;
  color: #f0f0f0;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 5px 5px;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  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: rgba(255, 255, 255, 0.2);
  border-color: #FFD700;
}

.page-contact__faq-question:active {
  background: rgba(255, 255, 255, 0.25);
}

.page-contact__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none;
}

.page-contact__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  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: 30px;
  height: 30px;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Change to X or rotate for active state */
}

/* Map Section */
.page-contact__map-section {
  background-color: #ffffff;
  padding: 80px 0;
}

.page-contact__map-embed {
  margin-top: 40px;
  text-align: center;
}

.page-contact__map-embed img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-contact__address-text {
  margin-top: 20px;
  font-size: 18px;
  color: #333333;
  font-weight: 500;
}

/* General Colors for sections */
.page-contact__dark-section {
  background: #8B0000;
  color: #ffffff;
}

.page-contact__light-bg {
  background: #ffffff;
  color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-content h1 {
    font-size: 40px;
  }

  .page-contact__hero-content p {
    font-size: 18px;
  }

  .page-contact__section-title {
    font-size: 30px;
  }

  .page-contact__section-description {
    font-size: 16px;
  }

  .page-contact__form-content {
    flex-direction: column;
  }

  .page-contact__form-image, .page-contact__contact-form {
    width: 100%;
  }

  .page-contact__contact-form {
    padding: 30px;
  }

  .page-contact__method-card, .page-contact__feature-card {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact__hero-content h1 {
    font-size: 32px;
  }

  .page-contact__hero-content p {
    font-size: 16px;
  }

  .page-contact__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-contact__section-title {
    font-size: 26px;
  }

  .page-contact__section-description {
    font-size: 15px;
    margin-bottom: 40px;
  }

  .page-contact__container {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-contact__methods-section, .page-contact__form-section, .page-contact__why-support-section, .page-contact__faq-section, .page-contact__map-section {
    padding: 40px 0;
  }

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

  .page-contact__method-title, .page-contact__feature-title {
    font-size: 20px;
  }

  .page-contact__method-description, .page-contact__feature-description {
    font-size: 15px;
  }

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

  /* Images responsive */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-contact__hero-image,
  .page-contact__form-image,
  .page-contact__map-embed,
  .page-contact__method-card,
  .page-contact__feature-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  /* FAQ responsive */
  .page-contact__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-contact__faq-question h3 {
    font-size: 15px;
    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;
  }
}