.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main on assumed dark body background */
  background-color: var(--bg-color); /* Inherited from shared.css */
}

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

.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom for content */
  color: #FFF5E1;
  overflow: hidden;
}

.page-contact__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

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

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 80px 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-contact__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFCC66; /* Glow color for main title */
  line-height: 1.2;
}

.page-contact__description {
  font-size: 1.1rem;
  margin-bottom: 0;
  color: #FFF5E1;
}

.page-contact__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #FFCC66; /* Glow color for section titles */
}

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

.page-contact__dark-section {
  background-color: #B71C1C; /* Background color from custom palette */
  color: #FFF5E1; /* Text Main color */
  padding: 60px 0;
}

.page-contact__form-section {
  padding: 60px 0;
}

.page-contact__contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
  background: #D32F2F; /* Card BG color */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #F2B544; /* Border color */
}

.page-contact__form-group {
  display: flex;
  flex-direction: column;
}

.page-contact__form-label {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #FFF5E1;
}

.page-contact__form-input,
.page-contact__form-textarea {
  padding: 12px 15px;
  border: 1px solid #F2B544; /* Border color */
  border-radius: 5px;
  background-color: #7A0E0E; /* Deep Red for input background */
  color: #FFF5E1;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #FFCC66; /* Glow color on focus */
  outline: none;
}

.page-contact__btn-submit,
.page-contact__btn-primary {
  display: inline-block;
  padding: 14px 25px;
  border: none;
  border-radius: 5px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button gradient */
  color: #7A0E0E; /* Deep Red for button text */
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  text-align: center;
  white-space: normal; /* Allow button text to wrap */
  word-wrap: break-word; /* Allow button text to break words */
  box-sizing: border-box;
}

.page-contact__btn-submit:hover,
.page-contact__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 204, 102, 0.4);
}

.page-contact__alternative-contact {
  padding: 60px 0;
  background-color: #C91F17; /* Main color as background */
  color: #FFF5E1;
}

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

.page-contact__method-card {
  background: #D32F2F; /* Card BG color */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #F2B544; /* Border color */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: #FFF5E1;
}

.page-contact__method-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFD86A; /* Gold for titles */
}

.page-contact__method-description {
  font-size: 1rem;
  margin-bottom: 20px;
  flex-grow: 1;
  color: #FFF5E1;
}

.page-contact__phone-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #F4D34D; /* Gold color */
  margin-top: 15px;
}

.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.page-contact__social-icon {
  display: inline-block;
  width: 48px;
  height: 48px;
  transition: transform 0.3s ease;
}

.page-contact__social-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.page-contact__social-icon:hover {
  transform: translateY(-5px);
}

.page-contact__faq-section {
  padding: 60px 0;
}

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

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

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  background-color: #7A0E0E; /* Deep Red for question background */
  color: #FFF5E1;
  transition: background-color 0.3s ease;
}

.page-contact__faq-item[open] .page-contact__faq-question {
  background-color: #E53935; /* Auxiliary color when open */
}

.page-contact__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

.page-contact__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1rem;
  color: #FFF5E1;
}

.page-contact__faq-answer p {
  margin-bottom: 0;
}

.page-contact__faq-answer a {
  color: #FFD86A; /* Gold for links in FAQ */
  text-decoration: none;
  font-weight: 600;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-content {
    padding: 60px 20px;
  }
  .page-contact__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-contact__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-contact__hero-section {
    padding-bottom: 40px;
  }
  .page-contact__hero-content {
    padding: 40px 15px;
    max-width: 90%;
  }
  .page-contact__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-contact__description {
    font-size: 1rem;
  }
  .page-contact__section-title {
    font-size: 1.8rem;
  }
  .page-contact__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
  .page-contact__form-section,
  .page-contact__alternative-contact,
  .page-contact__faq-section {
    padding: 40px 0;
  }
  .page-contact__contact-form {
    padding: 20px;
  }
  .page-contact__contact-methods {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
  .page-contact__method-card {
    padding: 25px;
  }
  .page-contact__method-title {
    font-size: 1.5rem;
  }
  .page-contact__phone-number {
    font-size: 1.3rem;
  }
  .page-contact__faq-list {
    padding: 0 15px;
  }
  .page-contact__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-contact__faq-answer {
    padding: 10px 20px 15px 20px;
  }

  /* Mobile specific overrides with !important */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact__hero-image {
    height: auto !important; /* Allow hero image to adjust height */
  }
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__form-group,
  .page-contact__contact-form,
  .page-contact__contact-methods,
  .page-contact__social-links {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto !important; /* Ensure centering on mobile */
    margin-right: auto !important; /* Ensure centering on mobile */
  }
  .page-contact__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  .page-contact__btn-submit,
  .page-contact__btn-primary,
  .page-contact a[class*="button"],
  .page-contact a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact__social-links {
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-contact__social-icon {
    width: 40px !important;
    height: 40px !important;
  }
}