/* style/contact.css */

/* Base Styles for page-contact - ensures light text on dark background */
.page-contact {
  background-color: #0A0A0A; /* Matches specified background color */
  color: #FFF6D6; /* Matches specified text main color for contrast */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding for the first section, body handles --header-offset */
}

/* Section Styling */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image above text for desktop */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #0A0A0A; /* Consistent dark background */
  overflow: hidden; /* Ensure no overflow from image */
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-width: 100%; /* Ensure image wrapper does not overflow */
  margin-bottom: 30px; /* Space between image and content */
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-contact__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1; /* Ensure content is above any background elements */
  padding: 0 15px;
}

.page-contact__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  color: #F2C14E; /* Main brand color for emphasis */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-contact__hero-description {
  font-size: 1.1em;
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Specified button gradient */
  color: #111111; /* Dark text for contrast on light button */
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-contact__btn-primary:hover {
  transform: translateY(-3px);
  background: linear-gradient(180deg, #FFE699 0%, #E6B533 100%);
}

.page-contact__btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  background: #111111; /* Card BG for secondary button */
  color: #F2C14E; /* Main brand color for text */
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  border: 1px solid #3A2A12; /* Border color */
  transition: background 0.3s ease, color 0.3s ease;
}

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

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

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

.page-contact__contact-channels-section,
.page-contact__faq-section,
.page-contact__office-section,
.page-contact__social-media-section,
.page-contact__form-section,
.page-contact__why-choose-section {
  padding: 80px 20px;
  background-color: #0A0A0A; /* Consistent dark background */
  border-bottom: 1px solid #3A2A12; /* Border between sections */
}

.page-contact__contact-channels-section:last-of-type,
.page-contact__why-choose-section {
  border-bottom: none;
}

/* Contact Channels Grid */
.page-contact__channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-contact__channel-card {
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 350px; /* Ensure cards have similar height */
  border: 1px solid #3A2A12; /* Border color */
}

.page-contact__channel-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-contact__channel-title {
  font-size: 1.5em;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-contact__channel-text {
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1; /* Allows text to take available space */
}

.page-contact__link {
  color: #FFD36B; /* Glow color for links */
  text-decoration: underline;
  transition: color 0.2s ease;
}

.page-contact__link:hover {
  color: #F2C14E;
}

/* FAQ Section */
.page-contact__faq-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

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

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

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

.page-contact__faq-question h3 {
  margin: 0;
  color: inherit; /* Inherit color from parent */
  font-size: 1em; /* Keep h3 consistent with parent */
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD36B; /* Glow color for toggle */
}

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

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

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

/* Office Section */
.page-contact__office-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

.page-contact__office-content {
  flex: 1;
  padding: 0 15px;
}

.page-contact__address-block {
  font-style: normal;
  color: #FFF6D6;
  margin-top: 30px;
  margin-bottom: 30px;
  line-height: 1.8;
}

.page-contact__address-block strong {
  color: #F2C14E;
  display: block;
  margin-bottom: 5px;
}

.page-contact__office-image-wrapper {
  flex: 1;
  min-width: 300px;
  padding: 0 15px;
}

.page-contact__office-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

/* Social Media Section */
.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  padding: 0 15px;
}

.page-contact__social-icon-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #FFF6D6;
  font-size: 1em;
  transition: color 0.2s ease, transform 0.2s ease;
}

.page-contact__social-icon-link:hover {
  color: #F2C14E;
  transform: translateY(-5px);
}

.page-contact__social-icon {
  width: 60px; /* Specific size as per requirement */
  height: 60px; /* Specific size as per requirement */
  margin-bottom: 10px;
  object-fit: contain;
}

/* Contact Form Section */
.page-contact__form-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

.page-contact__form-content {
  flex: 1;
  padding: 0 15px;
}

.page-contact__contact-form {
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  margin-top: 30px;
  border: 1px solid #3A2A12; /* Border color */
}

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

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

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

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #777;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #FFD36B; /* Glow color on focus */
  outline: none;
}

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

.page-contact__form-image-wrapper {
  flex: 1;
  min-width: 300px;
  padding: 0 15px;
}

.page-contact__form-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

/* Why Choose Section */
.page-contact__why-choose-section {
  padding: 80px 20px;
  background-color: #0A0A0A;
}

.page-contact__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 15px;
}

.page-contact__feature-card {
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 280px; /* Ensure cards have similar height */
  border: 1px solid #3A2A12; /* Border color */
}

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

.page-contact__feature-text {
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-contact__cta-container {
  text-align: center;
  margin-top: 40px;
  padding: 0 15px;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .page-contact__office-section,
  .page-contact__form-section {
    flex-direction: column;
  }

  .page-contact__office-image-wrapper,
  .page-contact__form-image-wrapper {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
    padding-top: 10px !important; /* Ensure small top padding on mobile */
  }

  .page-contact__hero-section {
    padding: 40px 15px;
  }

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

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

  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    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-container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact__cta-container .page-contact__btn-primary {
    margin-bottom: 15px; /* Space between buttons if stacked */
  }

  .page-contact__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }

  .page-contact__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-contact__contact-channels-section,
  .page-contact__faq-section,
  .page-contact__office-section,
  .page-contact__social-media-section,
  .page-contact__form-section,
  .page-contact__why-choose-section {
    padding: 50px 15px;
  }

  .page-contact__channels-grid {
    gap: 20px;
    padding: 0;
  }

  .page-contact__channel-card {
    padding: 20px;
    min-height: unset; /* Allow height to adjust */
  }

  .page-contact__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .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 {
    gap: 20px;
    padding: 0;
  }

  .page-contact__form-content,
  .page-contact__office-content {
    padding: 0;
  }

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

  /* Image responsive rules */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-contact__hero-image-wrapper,
  .page-contact__office-image-wrapper,
  .page-contact__form-image-wrapper,
  .page-contact__channels-grid,
  .page-contact__features-grid,
  .page-contact__contact-channels-section,
  .page-contact__faq-section,
  .page-contact__office-section,
  .page-contact__social-media-section,
  .page-contact__form-section,
  .page-contact__why-choose-section,
  .page-contact__channel-card,
  .page-contact__feature-card,
  .page-contact__faq-item,
  .page-contact__contact-form {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Specific override for elements that might have padding:0 in desktop */
  .page-contact__channels-grid,
  .page-contact__features-grid,
  .page-contact__social-links {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Glow effect for certain elements */
.page-contact__glow-text {
  color: #FFD36B;
  text-shadow: 0 0 5px rgba(255, 211, 107, 0.5);
}

.page-contact__card-glow {
  box-shadow: 0 0 10px rgba(255, 211, 107, 0.3);
}

/* Ensure consistent padding and max-width for content areas */
.page-contact__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}