/* style/contact.css */

/* Base Styles */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: #121212; /* Inherited from shared, explicitly set for context */
}

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

.page-contact__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #E5B80B; /* Gold for titles */
}

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

.page-contact__dark-section {
  background-color: #0A2463; /* Main brand color */
  color: #ffffff;
}

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

.page-contact__btn-primary {
  background-color: #E5B80B; /* Gold */
  color: #0A2463; /* Dark blue text */
}

.page-contact__btn-primary:hover {
  background-color: #d4a70a;
}

.page-contact__btn-secondary {
  background-color: transparent;
  color: #E5B80B; /* Gold text */
  border: 2px solid #E5B80B;
}

.page-contact__btn-secondary:hover {
  background-color: #E5B80B;
  color: #0A2463;
}

.page-contact__btn-small {
  padding: 8px 15px;
  font-size: 14px;
  background-color: #E5B80B;
  color: #0A2463;
}

.page-contact__btn-small:hover {
  background-color: #d4a70a;
}

/* Hero Section */
.page-contact__hero-section {
  padding: 80px 0;
  text-align: center;
  position: relative;
  padding-top: 0; /* Assuming shared.css handles body padding-top */
}

.page-contact__hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.page-contact__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Contact Methods Section */
.page-contact__contact-methods-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-contact__method-card {
  background-color: #222222;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-contact__method-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: brightness(1.2); /* Slightly brighten icons for visibility */
}

.page-contact__method-title {
  font-size: 22px;
  color: #E5B80B;
  margin-bottom: 15px;
}

.page-contact__method-text {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-contact__method-info {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-contact__email-link,
.page-contact__phone-link {
  color: #E5B80B;
  text-decoration: none;
  font-weight: bold;
}

.page-contact__email-link:hover,
.page-contact__phone-link:hover {
  text-decoration: underline;
}

/* Contact Form Section */
.page-contact__form-section {
  padding: 80px 0;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #1a1a1a;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #0A2463;
  border-radius: 5px;
  background-color: #2a2a2a;
  color: #ffffff;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #999999;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #E5B80B;
  outline: none;
}

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

.page-contact__form-submit-btn {
  width: 100%;
  padding: 15px;
  background-color: #E5B80B;
  color: #0A2463;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-contact__form-submit-btn:hover {
  background-color: #d4a70a;
}

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

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

.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.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;
  padding: 0 15px;
  opacity: 0;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: #2a2a2a;
  border-radius: 0 0 5px 5px;
  color: #cccccc;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #1a1a1a;
  border: 1px solid #0A2463;
  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: #222222;
  border-color: #E5B80B;
}

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

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

.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #E5B80B;
  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: #ffffff;
  transform: rotate(45deg); /* Change to minus sign visually */
}

/* CTA Section */
.page-contact__cta-section {
  padding: 80px 0;
  background-color: #0A2463;
}

.page-contact__cta-content {
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: #1a1a1a;
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-contact__cta-image {
  width: 40%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-contact__cta-text {
  flex-grow: 1;
}

.page-contact__cta-title {
  font-size: 38px;
  color: #E5B80B;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-contact__cta-description {
  font-size: 18px;
  color: #f0f0f0;
  margin-bottom: 30px;
}


/* Responsive Styles */

/* General image responsiveness for all images in .page-contact */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

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

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

  .page-contact__cta-content {
    flex-direction: column;
    text-align: center;
  }

  .page-contact__cta-image {
    width: 80%;
    max-width: 500px;
    margin-bottom: 30px;
  }

  .page-contact__cta-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  /* HERO Section */
  .page-contact__hero-section {
    padding: 60px 0;
    padding-top: 0 !important; /* Ensure no double padding if shared provides it */
  }

  .page-contact__hero-container {
    padding: 0 15px;
  }

  .page-contact__hero-title {
    font-size: 32px !important;
    margin-bottom: 15px;
  }

  .page-contact__hero-description {
    font-size: 16px !important;
    margin-bottom: 30px;
  }

  .page-contact__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Buttons - General Mobile Adaption */
  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .page-contact__btn-small {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px !important;
  }

  /* Section Headers & Descriptions */
  .page-contact__section-title {
    font-size: 28px !important;
    margin-bottom: 15px;
  }

  .page-contact__section-description {
    font-size: 15px !important;
    margin-bottom: 30px;
  }

  /* Contact Methods Section */
  .page-contact__contact-methods-section {
    padding: 60px 0;
  }

  .page-contact__methods-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-contact__method-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
  }

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

  .page-contact__method-text,
  .page-contact__method-info {
    font-size: 15px;
  }

  /* Contact Form Section */
  .page-contact__form-section {
    padding: 60px 0;
  }

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

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

  .page-contact__form-label {
    font-size: 15px;
  }

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

  .page-contact__form-submit-btn {
    padding: 12px;
    font-size: 16px;
  }

  /* FAQ Section */
  .page-contact__faq-section {
    padding: 60px 0;
  }

  .page-contact__faq-question {
    padding: 15px 20px;
    flex-wrap: wrap;
  }

  .page-contact__faq-question h3 {
    font-size: 16px !important;
    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 20px !important;
  }

  /* CTA Section */
  .page-contact__cta-section {
    padding: 60px 0;
  }

  .page-contact__cta-content {
    padding: 30px;
  }

  .page-contact__cta-image {
    width: 90%;
    margin-bottom: 20px;
  }

  .page-contact__cta-title {
    font-size: 28px !important;
  }

  .page-contact__cta-description {
    font-size: 16px !important;
    margin-bottom: 20px;
  }
}

/* General image responsiveness for all images in .page-contact (mobile specific) */
@media (max-width: 768px) {
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure containers with images are also responsive */
  .page-contact__container,
  .page-contact__hero-container,
  .page-contact__contact-form,
  .page-contact__method-card,
  .page-contact__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Specific overrides for small icons if they exist, though they are generally forbidden */
  /* For example, the contact method icons are 60x60, which is > 200px, but still small */
  .page-contact__method-icon {
    width: 60px !important;
    height: 60px !important;
    max-width: 60px !important;
    object-fit: contain !important;
    flex-shrink: 0;
  }
}