/* style/contact.css */
.page-contact {
  background-color: var(--site-bg, #0A0A0A);
  color: #FFF6D6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-contact__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #F2C14E, #FFD36B);
}

.page-contact__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
  padding: 0 15px;
}

.page-contact__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-contact__hero-content {
  z-index: 1;
  padding: 20px;
  background-color: rgba(17, 17, 17, 0.85); /* Card BG: #111111 with slight transparency */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-top: -80px; /* Overlap slightly with image for design effect, but text is below */
  position: relative;
  width: 100%;
  max-width: 800px;
  box-sizing: border-box;
}

.page-contact__hero-title {
  font-size: clamp(2em, 4vw, 3.2em);
  color: #FFD36B; /* Glow color */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

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

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

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

.page-contact__section {
  padding: 60px 0;
}

.page-contact__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: #F2C14E;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

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

.page-contact__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #FFF6D6;
}

.page-contact__btn-primary,
.page-contact__btn-secondary,
.page-contact a[class*="btn"] {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #ffffff;
  border: none;
}

.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
}

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

.page-contact__btn-secondary:hover {
  background-color: #F2C14E;
  color: #111111;
}

/* Contact Methods Grid */
.page-contact__methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-contact__method-card {
  text-align: center;
}

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

.page-contact__method-title {
  font-size: 1.4em;
  color: #FFD36B;
  margin-bottom: 15px;
}

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

/* Contact Form Section */
.page-contact__contact-form-section {
  background-color: #0A0A0A;
}

.page-contact__form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.page-contact__form-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

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

.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 {
  outline: none;
  border-color: #F2C14E;
  box-shadow: 0 0 0 3px rgba(242, 193, 78, 0.3);
}

/* FAQ Section */
.page-contact__faq-list {
  margin-top: 40px;
}

.page-contact__faq-item {
  margin-bottom: 15px;
  overflow: hidden;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  background-color: #1a1a1a; /* Slightly lighter than card BG */
  border-bottom: 1px solid #3A2A12;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

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

.page-contact__faq-title {
  font-size: 1.1em;
  color: #FFD36B;
  margin: 0;
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #F2C14E;
  transition: transform 0.3s ease;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  transform: rotate(45deg);
  content: '−'; /* Change to minus sign */
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #111111;
  border-radius: 0 0 8px 8px;
}

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

.page-contact__faq-answer p {
  color: #FFF6D6;
  font-size: 0.95em;
  margin: 0;
}

/* Office Location Section */
.page-contact__office-location {
  background-color: #0A0A0A;
}

.page-contact__office-details {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.page-contact__office-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__address-info {
  text-align: center;
}

.page-contact__address-title {
  font-size: 1.2em;
  color: #F2C14E;
  margin-bottom: 5px;
}

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

/* Why Choose Us Section */
.page-contact__why-choose-us {
  text-align: center;
}

.page-contact__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile Responsive Styles */
@media (max-width: 992px) {
  .page-contact__hero-content {
    margin-top: -50px;
  }
  .page-contact__form-wrapper {
    flex-direction: column;
  }
  .page-contact__office-details {
    flex-direction: column;
  }
}

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

  .page-contact__hero-title {
    font-size: 2em;
  }

  .page-contact__section {
    padding: 40px 0;
  }

  .page-contact__section-title {
    font-size: 1.8em;
  }

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

  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }

  .page-contact__methods-grid {
    grid-template-columns: 1fr;
  }

  .page-contact__form-wrapper {
    padding: 20px;
  }
  .page-contact__office-details {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }

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

  .page-contact__section-title {
    font-size: 1.5em;
  }

  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .page-contact a[class*="button"],
  .page-contact a[class*="btn"] {
    padding: 10px 15px;
  }
}