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

.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

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

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

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

.page-contact__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  color: #FFB04D; /* Glow color for emphasis */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

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

.page-contact__cta-button, .page-contact__channel-button, .page-contact__form-submit-button, .page-contact__view-all-faq-button, .page-contact__final-cta-button {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Custom Button Gradient */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.05em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__cta-button:hover, .page-contact__channel-button:hover, .page-contact__form-submit-button:hover, .page-contact__view-all-faq-button:hover, .page-contact__final-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-contact__channels-section, .page-contact__form-section, .page-contact__faq-section, .page-contact__social-media-section, .page-contact__commitment-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 20px;
  background-color: #17191F; /* Custom Card BG */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid #A84F0C; /* Custom Border */
  box-sizing: border-box;
}

.page-contact__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: #FFA53A; /* Auxiliary color */
  text-align: center;
  margin-bottom: 25px;
  font-weight: 600;
  line-height: 1.3;
}

.page-contact__section-description {
  font-size: 1.05em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF3E6;
}

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

.page-contact__channel-card {
  background-color: #0D0E12; /* Custom Background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid #D96800; /* Deep Orange border */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-contact__channel-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin: 0 auto 20px;
  display: block;
  border-radius: 8px;
}

.page-contact__channel-title {
  font-size: 1.5em;
  color: #FFB04D; /* Glow color */
  margin-bottom: 15px;
  font-weight: 600;
}

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

.page-contact__form-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: center;
}

.page-contact__form-image {
  flex: 1 1 400px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-contact__contact-form {
  flex: 1 1 450px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: #0D0E12; /* Custom Background */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #A84F0C;
}

.page-contact__form-group {
  display: flex;
  flex-direction: column;
}

.page-contact__form-label {
  font-size: 1em;
  margin-bottom: 8px;
  color: #FFA53A; /* Auxiliary color */
  font-weight: 500;
}

.page-contact__form-input, .page-contact__form-textarea {
  padding: 12px 15px;
  border: 1px solid #D96800; /* Deep Orange */
  border-radius: 5px;
  background-color: #212529;
  color: #FFF3E6;
  font-size: 1em;
  transition: border-color 0.3s ease;
}

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

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

.page-contact__faq-list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-contact__faq-item {
  background-color: #0D0E12; /* Custom Background */
  border: 1px solid #A84F0C; /* Custom Border */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #212529;
  color: #FFA53A; /* Auxiliary color */
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-contact__faq-question::-webkit-details-marker {
  display: none;
}

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

.page-contact__faq-qtext {
  flex-grow: 1;
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #FFB04D; /* Glow color */
}

.page-contact__faq-answer {
  padding: 15px 25px 20px;
  background-color: #0D0E12; /* Custom Background */
  color: #FFF3E6;
  font-size: 0.95em;
}

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

.page-contact__button-wrapper {
  text-align: center;
  margin-top: 30px;
}

.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
}

.page-contact__social-icon-link {
  display: inline-block;
  transition: transform 0.3s ease;
}

.page-contact__social-icon-link:hover {
  transform: translateY(-5px) scale(1.1);
}

.page-contact__social-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border: 2px solid #D96800; /* Deep Orange */
}

.page-contact__commitment-section .page-contact__section-description {
  margin-bottom: 20px;
}

.page-contact__final-cta-button {
  margin-top: 30px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-contact__hero-section {
    padding-bottom: 40px;
  }

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

  .page-contact__form-image {
    flex: 1 1 100%;
    max-width: 600px;
    margin: 0 auto 20px;
  }

  .page-contact__contact-form {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-contact__main-title {
    font-size: 2.5em;
  }

  .page-contact__description {
    font-size: 1em;
  }

  .page-contact__cta-button, .page-contact__channel-button, .page-contact__form-submit-button, .page-contact__view-all-faq-button, .page-contact__final-cta-button {
    font-size: 1em;
    padding: 12px 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: auto;
    margin-right: auto;
  }

  .page-contact__channels-section, .page-contact__form-section, .page-contact__faq-section, .page-contact__social-media-section, .page-contact__commitment-section {
    padding: 30px 15px;
    margin: 30px auto;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-contact__section-description {
    font-size: 0.95em;
  }

  .page-contact__channels-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-contact__channel-icon {
    max-width: 200px;
  }

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

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

  .page-contact__social-links {
    gap: 15px;
    flex-wrap: wrap;
  }

  .page-contact__social-icon {
    width: 50px;
    height: 50px;
  }

  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-contact__hero-image-wrapper,
  .page-contact__form-container,
  .page-contact__contact-form,
  .page-contact__button-wrapper,
  .page-contact__social-links {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-contact__social-links {
    justify-content: space-around;
  }

  .page-contact__social-icon-link {
    margin: 0 5px;
  }

  .page-contact__form-input, .page-contact__form-textarea {
    font-size: 0.95em;
  }
}