.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background: #B71C1C; /* Main background color */
}

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

.page-contact__dark-section {
  background: #7A0E0E; /* Deep Red from custom palette */
  color: #FFF5E1; /* Text Main from custom palette */
}

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

.page-contact__text-main {
  color: #FFF5E1; /* Text Main from custom palette */
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming body has header offset */
  margin-bottom: 40px;
  overflow: hidden;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-contact__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-contact__hero-content {
  padding: 60px 20px;
  text-align: center;
  margin-top: -5px; /* Slightly overlap with image for visual flow */
}

.page-contact__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFD86A; /* Gold-like color for emphasis */
}

.page-contact__description {
  font-size: clamp(1em, 1.5vw, 1.25em);
  max-width: 800px;
  margin: 0 auto 30px;
  color: #FFF5E1;
}

/* General Titles and Descriptions */
.page-contact__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  color: #FFCC66; /* Glow from custom palette */
}

.page-contact__section-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
  color: #FFF5E1;
}

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 100%; /* Ensure buttons don't overflow */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Custom button gradient */
  color: #7A0E0E; /* Deep Red for contrast */
  border: 2px solid transparent;
  margin: 10px;
}

.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__btn-secondary {
  background: #D32F2F; /* Card BG from custom palette */
  color: #FFF5E1; /* Text Main from custom palette */
  border: 2px solid #F2B544; /* Border from custom palette */
  margin: 10px;
}

.page-contact__btn-secondary:hover {
  background: #F2B544; /* Border color for hover */
  color: #7A0E0E; /* Deep Red for contrast */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Contact Methods Section */
.page-contact__methods-section {
  padding: 60px 0;
  background: #B71C1C; /* Background from custom palette */
}

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

.page-contact__method-card {
  background: #D32F2F; /* Card BG from custom palette */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #FFF5E1;
}

.page-contact__method-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__method-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFCC66;
}

.page-contact__method-text {
  font-size: 1em;
  margin-bottom: 20px;
  color: #FFF5E1;
}

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

.page-contact__faq-list {
  margin-top: 40px;
}

details.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #F2B544;
  overflow: hidden;
  background: #D32F2F; /* Card BG from custom palette */
  color: #FFF5E1;
}

details.page-contact__faq-item summary.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

details.page-contact__faq-item summary.page-contact__faq-question::-webkit-details-marker {
  display: none;
}

details.page-contact__faq-item summary.page-contact__faq-question:hover {
  background: #7A0E0E; /* Deep Red for hover */
}

.page-contact__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFD86A; /* Gold-like color */
}

.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFCC66;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-contact__faq-item .page-contact__faq-answer {
  padding: 0 25px 25px;
  background: #7A0E0E; /* Deep Red for answer background */
  border-radius: 0 0 8px 8px;
  color: #FFF5E1;
}

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

/* Why Contact Section */
.page-contact__why-contact-section {
  padding: 60px 0;
  background: #B71C1C; /* Background from custom palette */
}

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

.page-contact__feature-card {
  background: #D32F2F; /* Card BG from custom palette */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #FFF5E1;
}

.page-contact__feature-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__feature-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFCC66;
}

.page-contact__feature-text {
  font-size: 1em;
  color: #FFF5E1;
}

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

.page-contact__cta-content {
  max-width: 900px;
}

.page-contact__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

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

/* Media Queries */
@media (max-width: 1024px) {
  .page-contact__hero-image-wrapper {
    height: 450px;
  }
  .page-contact__hero-content {
    padding: 40px 20px;
  }
  .page-contact__main-title {
    font-size: clamp(1.8em, 4.5vw, 3em);
  }
  .page-contact__description {
    font-size: clamp(0.95em, 1.6vw, 1.15em);
  }
  .page-contact__section-title {
    font-size: clamp(1.6em, 3.5vw, 2.5em);
  }
  .page-contact__section-description {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    margin-bottom: 20px;
  }
  .page-contact__hero-image-wrapper {
    height: 300px;
  }
  .page-contact__hero-image {
    object-fit: contain !important; /* HERO mobile: object-fit:contain */
    aspect-ratio: unset !important;
  }
  .page-contact__hero-content {
    padding: 30px 15px;
  }
  .page-contact__main-title {
    font-size: clamp(1.6em, 7vw, 2.5em);
    margin-bottom: 15px;
  }
  .page-contact__description {
    font-size: clamp(0.9em, 4vw, 1.1em);
    margin-bottom: 20px;
  }

  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    margin: 8px 0 !important; /* Adjust margin for vertical stacking */
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-contact__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-contact__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-contact__section-title {
    font-size: clamp(1.5em, 6vw, 2.2em);
    margin-bottom: 15px;
  }

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

  .page-contact__methods-section,
  .page-contact__faq-section,
  .page-contact__why-contact-section,
  .page-contact__cta-section {
    padding: 40px 0;
  }

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

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

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

  details.page-contact__faq-item summary.page-contact__faq-question {
    padding: 15px 20px;
  }

  .page-contact__faq-qtext {
    font-size: 1em;
  }

  .page-contact__faq-toggle {
    font-size: 20px;
  }

  details.page-contact__faq-item .page-contact__faq-answer {
    padding: 0 20px 20px;
  }

  /* General image responsiveness for content area */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-contact__section,
  .page-contact__card,
  .page-contact__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}