.page-contact {
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
  min-height: 600px; /* Ensure hero section has a minimum height */
  justify-content: center;
}

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

.page-contact__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability, not changing color */
}

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent background for text readability */
  border-radius: 10px;
  margin-top: 100px; /* Push content down to avoid overlapping the top of the image */
}

.page-contact__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Use clamp for H1 font size */
  font-weight: 700;
  color: #FFD36B; /* Glow color for emphasis */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 1px;
}

.page-contact__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF6D6; /* Text Main */
}

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for light button */
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-contact__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

/* General Section Styling */
.page-contact__info-section,
.page-contact__form-section,
.page-contact__faq-section,
.page-contact__social-section {
  padding: 80px 0;
  position: relative;
  z-index: 2;
}

.page-contact__section-title {
  font-size: 2.5rem;
  color: #FFD36B; /* Glow color */
  text-align: center;
  margin-bottom: 25px;
  font-weight: 700;
}

.page-contact__section-description {
  font-size: 1.1rem;
  color: #FFF6D6; /* Text Main */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

/* Contact Methods Section */
.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-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #3A2A12; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.2);
}

.page-contact__method-icon {
  width: 400px; /* Display width */
  height: 300px; /* Display height */
  object-fit: contain;
  margin: 0 auto 20px auto;
  border-radius: 5px;
  display: block;
}

.page-contact__method-title {
  font-size: 1.8rem;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
}

.page-contact__method-text {
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
}

.page-contact__method-link {
  color: #FFD36B; /* Glow color */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-contact__method-link:hover {
  color: #F2C14E; /* Main color */
  text-decoration: underline;
}

/* Contact Form Section */
.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #111111; /* Card BG */
  padding: 40px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
}

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

.page-contact__form-label {
  display: block;
  font-size: 1.1rem;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  background-color: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 5px;
  color: #FFF6D6; /* Text Main */
  font-size: 1rem;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: rgba(255, 246, 214, 0.6); /* Lighter version of Text Main */
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #FFD36B; /* Glow color */
  outline: none;
  box-shadow: 0 0 8px rgba(255, 211, 107, 0.4);
}

.page-contact__submit-button {
  display: block;
  width: 100%;
  padding: 15px 25px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for light button */
  border: none;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
  text-align: center;
  text-decoration: none; /* For <a> tag */
}

.page-contact__submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

/* FAQ Section */
.page-contact__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: #F2C14E; /* Main color */
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1); /* Slightly lighter hover */
}

.page-contact__faq-title {
  font-size: 1.2rem;
  margin: 0;
  color: #F2C14E; /* Main color */
}

.page-contact__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD36B; /* Glow color */
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  transform: rotate(45deg); /* Plus to X for active */
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6; /* Text Main */
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px 25px;
}

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

.page-contact__text-link {
  color: #FFD36B;
  text-decoration: underline;
}

.page-contact__text-link:hover {
  color: #F2C14E;
}

/* Social Media Section */
.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-contact__social-icon {
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__social-icon img {
  width: 200px; /* Min size 200x200 */
  height: 200px; /* Min size 200x200 */
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid #F2C14E; /* Main color border */
}

.page-contact__social-icon:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-content {
    margin-top: 80px;
  }
}

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

  .page-contact__hero-section {
    padding-bottom: 40px;
    min-height: 500px;
  }

  .page-contact__hero-content {
    margin-top: 60px;
    padding: 30px 15px;
  }

  .page-contact__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-contact__hero-description {
    font-size: 1rem;
  }

  .page-contact__cta-button {
    width: 100%;
    max-width: 300px; /* Constrain button width */
    padding: 12px 20px;
    font-size: 1rem;
    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: 2rem;
  }

  .page-contact__section-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__social-section {
    padding: 50px 0;
  }

  .page-contact__contact-methods {
    grid-template-columns: 1fr; /* Stack cards vertically */
  }

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

  .page-contact__method-icon {
    width: 200px !important; /* Ensure min size */
    height: auto !important; /* Maintain aspect ratio */
    max-width: 100% !important;
  }

  .page-contact__method-title {
    font-size: 1.5rem;
  }

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

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

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

  .page-contact__faq-title {
    font-size: 1.1rem;
  }

  .page-contact__faq-toggle {
    font-size: 1.5rem;
  }

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

  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 10px 20px 20px 20px;
  }

  .page-contact__social-links {
    flex-wrap: wrap; /* Allow social icons to wrap */
    gap: 20px;
  }

  .page-contact__social-icon img {
    width: 200px !important; /* Ensure min size */
    height: 200px !important; /* Ensure min size */
    max-width: 100% !important;
  }

  /* Mobile image responsiveness */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__contact-form,
  .page-contact__contact-methods,
  .page-contact__faq-list,
  .page-contact__social-links {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Fixed header spacing (from common snippet) */
  .page-contact__hero-section {
    padding-top: 10px !important; /* Override if any other rule applies */
  }
}