/* style/contact.css */
/* Base styles */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
}

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

.page-contact__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #FFB04D; /* Glow */
  text-shadow: 0 0 10px rgba(255, 176, 77, 0.5);
}

.page-contact__section-description {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.1rem;
  color: #FFF3E6;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding as required */
  background-color: #0D0E12;
}

.page-contact__hero-content-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* Image on top, text below */
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
  border: 1px solid #A84F0C; /* Border */
}

.page-contact__hero-text-block {
  text-align: center;
  max-width: 900px;
}

.page-contact__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #FFB04D; /* Glow */
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw + 1rem, 3.5rem); /* Example clamp for responsive H1 */
}

.page-contact__subtitle {
  font-size: 1.15rem;
  color: #FFF3E6;
  margin-bottom: 30px;
}

/* Buttons */
.page-contact__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #FFF3E6; /* Text Main */
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 176, 77, 0.4);
}

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

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

.page-contact__contact-card {
  background-color: #17191F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #A84F0C; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #FFF3E6;
}

.page-contact__card-title {
  font-size: 1.6rem;
  font-weight: bold;
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
}

.page-contact__card-text {
  font-size: 1rem;
  color: #FFF3E6;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Form Section */
.page-contact__form-section {
  padding: 60px 0;
  background-color: #0D0E12; /* Background */
}

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

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

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

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

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  outline: none;
  border-color: #FFA53A; /* Auxiliary */
  box-shadow: 0 0 0 3px rgba(255, 165, 58, 0.3);
}

.page-contact__form-submit-btn {
  width: 100%;
  padding: 15px;
  font-size: 1.2rem;
  margin-top: 15px;
}

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

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

.page-contact__faq-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  color: #FFF3E6;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #FFB04D; /* Glow */
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-contact__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

.page-contact__faq-question:hover {
  background-color: rgba(255, 176, 77, 0.1); /* Subtle hover effect */
}

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

.page-contact__faq-item[open] .page-contact__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to form an 'x' or similar */
}

.page-contact__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #FFF3E6;
  line-height: 1.7;
}

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

/* Link styling in FAQ */
.page-contact__faq-answer a {
  color: #FFA53A; /* Auxiliary color for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-contact__section-title {
    font-size: 2rem;
  }
  .page-contact__main-title {
    font-size: clamp(1.8rem, 5vw + 1rem, 3rem);
  }
}

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

  .page-contact__hero-section,
  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__faq-section {
    padding: 40px 0;
  }
  
  .page-contact__hero-content-wrapper {
      padding: 0 15px;
  }

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

  .page-contact__subtitle {
    font-size: 1rem;
  }

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

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

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

  .page-contact__faq-question {
    font-size: 1.1rem;
    padding: 18px 20px;
  }

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

  /* Mobile image responsiveness */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-contact__hero-image {
    width: 100% !important;
    height: auto !important;
  }

  /* Mobile button responsiveness */
  .page-contact__btn-primary,
  .page-contact__form-submit-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; /* Ensure padding inside button */
  }
  
  /* Mobile container/section responsiveness */
  .page-contact__hero-section,
  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__container,
  .page-contact__contact-grid,
  .page-contact__contact-card,
  .page-contact__contact-form,
  .page-contact__faq-list,
  .page-contact__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-contact__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}

/* Ensure no filter on images */
.page-contact img {
  filter: none !important;
}

/* Content area images CSS size lower bound */
/* This rule targets any img within .page-contact and ensures its display size is not less than 200px */
.page-contact img:not(.shared-logo):not(.shared-icon) {
  min-width: 200px;
  min-height: 200px;
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .page-contact img:not(.shared-logo):not(.shared-icon) {
    min-width: unset; /* Allow smaller on mobile if max-width:100% makes it smaller */
    min-height: unset;
  }
}