.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Matches body background from shared.css */
}

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

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  height: 400px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 0; /* shared.css handles body padding-top */
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  padding: 20px;
  max-width: 800px;
}

.page-contact__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #E0B400; /* Gold for prominence */
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 18px;
  line-height: 1.5;
  opacity: 0.9;
}

/* Section Title & Description */
.page-contact__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 15px;
  color: #E0B400;
}

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

/* Contact Methods Section */
.page-contact__methods-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
}

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

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

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

.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: 10px;
  color: #E0B400;
}

.page-contact__method-text {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 25px;
}

/* Buttons */
.page-contact__btn-primary {
  display: inline-block;
  background-color: #E0B400;
  color: #0A2342;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

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

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

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

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #E0B400;
  outline: none;
  box-shadow: 0 0 0 2px rgba(224, 180, 0, 0.3);
}

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

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

.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background-color: #2a2a2a;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #333333;
  border: 1px solid #444;
  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;
  border-color: #555;
}

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

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

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

.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;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: #333333;
  border-radius: 0 0 5px 5px;
  border: 1px solid #444;
  border-top: none;
  color: #cccccc;
}

.page-contact__faq-answer p {
  margin: 0;
  color: #cccccc;
}

.page-contact__faq-answer a {
  color: #E0B400;
  text-decoration: none;
}

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

/* Call to Action Section */
.page-contact__cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: #0A2342;
  color: #ffffff;
}

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

.page-contact__cta-title {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #E0B400;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 40px;
  }
  .page-contact__hero-description {
    font-size: 16px;
  }
  .page-contact__section-title {
    font-size: 32px;
  }
  .page-contact__cta-title {
    font-size: 36px;
  }
  .page-contact__faq-question h3 {
    font-size: 17px;
  }
  .page-contact__faq-toggle {
    font-size: 26px;
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 768px) {
  .page-contact__container {
    padding: 0 15px;
  }

  /* Hero Section */
  .page-contact__hero-section {
    height: 300px;
    padding-top: 0 !important; /* Ensure no double padding */
  }
  .page-contact__hero-title {
    font-size: 32px;
  }
  .page-contact__hero-description {
    font-size: 15px;
  }

  /* General Section Spacing */
  .page-contact__methods-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__cta-section {
    padding: 50px 0;
  }

  .page-contact__section-title {
    font-size: 28px;
  }
  .page-contact__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* Contact Methods Grid */
  .page-contact__methods-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-contact__method-card {
    padding: 25px;
  }
  .page-contact__method-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
  }
  .page-contact__method-title {
    font-size: 20px;
  }
  .page-contact__method-text {
    font-size: 15px;
    margin-bottom: 20px;
  }

  /* Contact Form */
  .page-contact__contact-form {
    padding: 30px;
  }
  .page-contact__form-label {
    font-size: 15px;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 10px 12px;
    font-size: 15px;
  }

  /* Buttons */
  .page-contact__btn-primary,
  .page-contact__btn-large {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
    font-size: 16px;
  }
  .page-contact__method-card .page-contact__btn-primary {
    width: auto !important; /* Allow buttons in cards to shrink if needed */
  }
  
  /* FAQ */
  .page-contact__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-contact__faq-question h3 {
    font-size: 16px;
    width: calc(100% - 40px);
    margin-bottom: 0;
  }
  .page-contact__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 22px;
  }
  .page-contact__faq-answer {
    padding: 0 15px;
  }
  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 15px !important;
  }

  /* CTA Section */
  .page-contact__cta-title {
    font-size: 30px;
  }
  .page-contact__cta-description {
    font-size: 16px;
  }
}

/* Global image responsiveness for content area */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-contact__hero-image,
  .page-contact__method-icon,
  .page-contact__form-section img {
    /* Specific overrides if needed, but general img rule should cover */
  }
  
  .page-contact__hero-section,
  .page-contact__methods-section .page-contact__container,
  .page-contact__form-section .page-contact__container,
  .page-contact__faq-section .page-contact__container,
  .page-contact__cta-section .page-contact__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left and padding-right are already set on .page-contact__container */
  }
}

/* No filter on images */
.page-contact img {
  filter: none; /* Ensure no CSS filter is applied */
}