/* style/contact.css */
/* Base styles for the contact page */
.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-text-color, #FFF3E6); /* Default to light text for dark background */
  background-color: var(--page-bg-color, #0D0E12); /* Default to dark background */
  padding-bottom: 40px; /* Add some padding at the bottom */
}

/* Ensure all images are responsive */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Section styling */
.page-contact__section-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  color: #FFB04D; /* Glow for titles */
}

.page-contact__section-description {
  font-size: 16px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #FFF3E6; /* Text Main */
}

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

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* As per strict instruction */
  background-color: #0D0E12; /* Background */
}

.page-contact__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-contact__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-contact__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-contact__main-title {
  font-size: 44px;
  font-weight: 700;
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-contact__intro-text {
  font-size: 18px;
  color: #FFF3E6; /* Text Main */
  max-width: 900px;
  margin: 0 auto 30px;
}

/* CTA Button */
.page-contact__cta-button,
.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

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

.page-contact__cta-button:hover,
.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%); /* Slightly lighter hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__btn-secondary {
  background: #17191F; /* Card BG */
  color: #FFA53A; /* Auxiliary color */
  border: 2px solid #A84F0C; /* Border */
  margin-left: 15px;
}

.page-contact__btn-secondary:hover {
  background: #2a2d34; /* Darker hover */
  color: #FFB04D; /* Glow */
  border-color: #FF8C1A; /* Main color */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Contact Info Section */
.page-contact__info-section {
  padding: 80px 0;
  background-color: #0D0E12; /* Background */
  color: #FFF3E6; /* Text Main */
}

.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: #17191F; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #A84F0C; /* Border */
  color: #FFF3E6; /* Ensure card text is light */
}

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

.page-contact__method-title {
  font-size: 24px;
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
}

.page-contact__method-description {
  font-size: 15px;
  color: #FFF3E6; /* Text Main */
  margin-bottom: 20px;
}

.page-contact__email-address a,
.page-contact__phone-number a {
  color: #FFA53A; /* Auxiliary color */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-contact__email-address a:hover,
.page-contact__phone-number a:hover {
  color: #FFB04D; /* Glow */
  text-decoration: underline;
}

/* Contact Form Section */
.page-contact__form-section {
  padding: 80px 0;
  background-color: #17191F; /* Card BG */
  color: #FFF3E6; /* Text Main */
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 40px auto 0;
  background-color: #0D0E12; /* Background */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  border: 1px solid #A84F0C; /* Border */
}

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

.page-contact__form-label {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: bold;
  color: #FFF3E6; /* Text Main */
}

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

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  outline: none;
  border-color: #FFB04D; /* Glow */
  box-shadow: 0 0 0 3px rgba(255, 176, 77, 0.3);
}

.page-contact__form-submit {
  width: 100%;
  margin-top: 20px;
  padding: 15px;
  font-size: 18px;
  border-radius: 8px;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 80px 0;
  background-color: #0D0E12; /* Background */
  color: #FFF3E6; /* Text Main */
}

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

details.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #A84F0C; /* Border */
  overflow: hidden;
  background: #17191F; /* Card BG */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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: #2a2d34; /* Slightly darker */
}

.page-contact__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFB04D; /* Glow */
}

.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFA53A; /* Auxiliary color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
  transition: transform 0.3s ease;
}

details.page-contact__faq-item[open] .page-contact__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'X' effect */
}

details.page-contact__faq-item .page-contact__faq-answer {
  padding: 0 25px 20px;
  background: #0D0E12; /* Background */
  border-radius: 0 0 10px 10px;
  color: #FFF3E6; /* Text Main */
  font-size: 15px;
}

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

.page-contact__faq-answer a {
  color: #FFA53A; /* Auxiliary color */
  text-decoration: underline;
}

.page-contact__faq-answer a:hover {
  color: #FFB04D; /* Glow */
}


/* Support Philosophy Section */
.page-contact__support-philosophy {
  padding: 80px 0;
  background-color: #17191F; /* Card BG */
  color: #FFF3E6; /* Text Main */
}

.page-contact__philosophy-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0;
  max-width: 900px;
}

.page-contact__philosophy-item {
  background-color: #0D0E12; /* Background */
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid #A84F0C; /* Border */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-contact__philosophy-item-title {
  font-size: 22px;
  color: #FFB04D; /* Glow */
  margin-bottom: 10px;
}

.page-contact__philosophy-item-description {
  font-size: 15px;
  color: #FFF3E6; /* Text Main */
}

.page-contact__conclusion-text {
  font-size: 16px;
  text-align: center;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF3E6; /* Text Main */
}

.page-contact__conclusion-text a {
  color: #FFA53A; /* Auxiliary color */
  text-decoration: underline;
}

.page-contact__conclusion-text a:hover {
  color: #FFB04D; /* Glow */
}


/* CTA Banner */
.page-contact__cta-banner {
  padding: 60px 0;
  background-color: #0D0E12; /* Background */
  text-align: center;
  color: #FFF3E6; /* Text Main */
  border-top: 1px solid #A84F0C; /* Border */
}

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

.page-contact__cta-title {
  font-size: 36px;
  font-weight: bold;
  color: #FFB04D; /* Glow */
  margin-bottom: 20px;
}

.page-contact__cta-description {
  font-size: 18px;
  color: #FFF3E6; /* Text Main */
  margin-bottom: 30px;
}

.page-contact__cta-description a {
  color: #FFA53A; /* Auxiliary color */
  text-decoration: underline;
}

.page-contact__cta-description a:hover {
  color: #FFB04D; /* Glow */
}

.page-contact__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping for responsiveness */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-contact__main-title {
    font-size: 38px;
  }
  .page-contact__section-title {
    font-size: 28px;
  }
  .page-contact__cta-title {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-contact__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact__hero-image img {
    border-radius: 4px;
  }
  .page-contact__hero-content {
    padding: 0 10px;
  }
  .page-contact__main-title {
    font-size: 32px;
    max-width: 100%;
  }
  .page-contact__intro-text {
    font-size: 16px;
  }
  .page-contact__cta-button,
  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
    margin-top: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-contact__btn-secondary {
    margin-left: 0; /* Remove margin for stacked buttons */
  }

  .page-contact__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact__section-title {
    font-size: 24px;
    padding: 0 10px;
  }
  .page-contact__section-description {
    font-size: 15px;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .page-contact__contact-methods {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  .page-contact__method-card {
    padding: 25px;
  }
  .page-contact__method-title {
    font-size: 20px;
  }
  .page-contact__method-description {
    font-size: 14px;
  }

  .page-contact__contact-form {
    padding: 25px;
    margin-top: 30px;
    margin-left: 15px;
    margin-right: 15px;
  }
  .page-contact__form-label {
    font-size: 14px;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    font-size: 14px;
    padding: 10px 12px;
  }
  .page-contact__form-submit {
    padding: 12px;
    font-size: 16px;
  }

  .page-contact__faq-list {
    margin-top: 30px;
    padding: 0 15px;
  }
  details.page-contact__faq-item summary.page-contact__faq-question {
    padding: 15px 20px;
  }
  .page-contact__faq-qtext {
    font-size: 16px;
  }
  details.page-contact__faq-item .page-contact__faq-answer {
    padding: 0 20px 15px;
    font-size: 14px;
  }

  .page-contact__philosophy-list {
    margin-top: 30px;
    padding: 0 15px;
  }
  .page-contact__philosophy-item {
    padding: 25px;
  }
  .page-contact__philosophy-item-title {
    font-size: 20px;
  }
  .page-contact__philosophy-item-description {
    font-size: 14px;
  }
  .page-contact__conclusion-text {
    font-size: 15px;
    padding: 0 15px;
  }

  .page-contact__cta-banner {
    padding: 40px 15px;
  }
  .page-contact__cta-title {
    font-size: 26px;
  }
  .page-contact__cta-description {
    font-size: 16px;
    padding: 0 10px;
  }
  .page-contact__cta-buttons {
    gap: 10px;
  }

  /* Responsive image rules for content area */
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__contact-form,
  .page-contact__faq-list,
  .page-contact__philosophy-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}

/* Ensure link colors have enough contrast */
.page-contact a {
  color: #FFA53A; /* Auxiliary color */
  text-decoration: none;
}

.page-contact a:hover {
  color: #FFB04D; /* Glow */
  text-decoration: underline;
}

.page-contact__intro-text a,
.page-contact__section-description a,
.page-contact__faq-answer a,
.page-contact__conclusion-text a,
.page-contact__cta-description a {
  color: #FFA53A; /* Auxiliary color for links within text */
  text-decoration: underline;
}

.page-contact__intro-text a:hover,
.page-contact__section-description a:hover,
.page-contact__faq-answer a:hover,
.page-contact__conclusion-text a:hover,
.page-contact__cta-description a:hover {
  color: #FFB04D; /* Glow on hover */
}

/* Contrast specific overrides based on dark background */
.page-contact {
  color: #FFF3E6; /* Text Main */
}
.page-contact__light-bg {
  background-color: #17191F; /* Card BG, which is dark */
  color: #FFF3E6; /* Text Main */
}
.page-contact__dark-bg {
  background-color: #0D0E12; /* Background, which is darker */
  color: #FFF3E6; /* Text Main */
}
.page-contact__method-card {
  color: #FFF3E6; /* Ensure card text is light */
}