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

.page-contact__hero-section {
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #F2C14E, #FFD36B);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 450px;
  position: relative;
  overflow: hidden;
  color: #111111; /* Dark text for light background gradient */
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.8); /* Slightly dim image for better text readability */
}

.page-contact__hero-content {
  position: relative;
  z-index: 10;
  padding: 20px 15px;
  max-width: 900px;
  margin: 0 auto;
}

.page-contact__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #111111;
}

.page-contact__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  color: #333333;
}

.page-contact__hero-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-contact__hero-button:hover {
  transform: translateY(-3px);
  background: linear-gradient(180deg, #FFE082 0%, #E6B03A 100%);
}

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

.page-contact__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #F2C14E;
}

.page-contact__section-description {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6;
}

.page-contact__methods-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.page-contact__method-card {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px #FFD36B; /* Glow effect */
}

.page-contact__method-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #FFD36B); /* Add a subtle glow to icons */
}

.page-contact__method-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F2C14E;
}

.page-contact__method-text {
  font-size: 1rem;
  margin-bottom: 25px;
  color: #FFF6D6;
}

.page-contact__method-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
}

.page-contact__method-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #FFE082 0%, #E6B03A 100%);
}

.page-contact__form-section {
  padding: 60px 0;
  background-color: #111111;
}

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

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #3A2A12;
  border-radius: 6px;
  background-color: #111111;
  color: #FFF6D6;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: rgba(255, 246, 214, 0.6);
}

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

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

.page-contact__form-submit-button {
  display: block;
  width: 100%;
  padding: 15px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__form-submit-button:hover {
  transform: translateY(-3px);
  background: linear-gradient(180deg, #FFE082 0%, #E6B03A 100%);
}

.page-contact__faq-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

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

.page-contact__faq-item.active {
  background-color: #1a1a1a;
  border-color: #F2C14E;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.15rem;
  color: #FFF6D6;
  transition: color 0.3s ease;
}

.page-contact__faq-question:hover {
  color: #F2C14E;
}

.page-contact__faq-question h3 {
  margin: 0;
  font-size: inherit;
  color: inherit;
}

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

.page-contact__faq-item.active .page-contact__faq-toggle {
  transform: rotate(45deg);
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: rgba(255, 246, 214, 0.8);
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 1000px !important; /* Use !important to ensure override */
  padding: 15px 25px 20px;
}

.page-contact__faq-answer p {
  margin: 0;
  font-size: 1rem;
}

.page-contact__faq-cta {
  text-align: center;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-contact__faq-button {
  display: inline-block;
  padding: 12px 25px;
  background: #111111;
  color: #F2C14E;
  text-decoration: none;
  border: 2px solid #F2C14E;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s ease, color 0.3s ease;
}

.page-contact__faq-button:hover {
  background: #F2C14E;
  color: #111111;
}

.page-contact__cta-section {
  padding: 60px 0;
  background-color: #111111;
  text-align: center;
}

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

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-contact__cta-button--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
}

.page-contact__cta-button--primary:hover {
  transform: translateY(-3px);
  background: linear-gradient(180deg, #FFE082 0%, #E6B03A 100%);
}

.page-contact__cta-button--secondary {
  background: transparent;
  color: #F2C14E;
  border: 2px solid #F2C14E;
}

.page-contact__cta-button--secondary:hover {
  transform: translateY(-3px);
  background: #F2C14E;
  color: #111111;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-contact__hero-description {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  }

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

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    min-height: 350px;
  }

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

  .page-contact__hero-description {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
  }

  .page-contact__container {
    padding: 15px;
  }

  .page-contact__section-title {
    font-size: clamp(1.8rem, 5vw, 2.2rem);
  }

  .page-contact__section-description {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
  }

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

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

  .page-contact__form-label {
    font-size: 1rem;
  }

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

  .page-contact__form-submit-button {
    font-size: 1.1rem;
    padding: 12px;
  }

  .page-contact__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

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

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

  /* Images responsive */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons responsive */
  .page-contact__hero-button,
  .page-contact__method-button,
  .page-contact__form-submit-button,
  .page-contact__faq-button,
  .page-contact__cta-button,
  .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__cta-buttons,
  .page-contact__button-group,
  .page-contact__btn-container,
  .page-contact__faq-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-section {
    min-height: 300px;
  }

  .page-contact__hero-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }

  .page-contact__hero-description {
    font-size: clamp(0.85rem, 3vw, 0.95rem);
  }

  .page-contact__hero-button {
    padding: 12px 25px;
    font-size: 1rem;
  }

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

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

  .page-contact__method-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .page-contact__contact-form {
    padding: 25px 15px;
  }

  .page-contact__form-submit-button {
    font-size: 1rem;
  }

  .page-contact__faq-question {
    font-size: 0.95rem;
    padding: 12px 15px;
  }

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

  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 8px 15px 12px;
  }

  .page-contact__faq-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}