/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css var(--neon-dark-bg) */
}

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

.page-contact__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-contact__hero-title {
  font-size: 3.5em;
  color: #FFFFFF;
  margin-bottom: 20px;
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.8;
}

.page-contact__hero-image-wrapper {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}

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

/* Buttons */
.page-contact__btn-primary {
  display: inline-block;
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure button fits in container */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary:hover {
  background-color: #1a7fb2;
  transform: translateY(-2px);
}

.page-contact__btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Info Section */
.page-contact__info-section {
  padding: 60px 0;
}

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

.page-contact__info-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-contact__info-card:hover {
  transform: translateY(-5px);
}

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

.page-contact__info-card-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__info-card-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-contact__info-link {
  display: inline-block;
  color: #FFFFFF;
  background-color: #EA7C07; /* Login color for action */
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__info-link:hover {
  background-color: #c96706;
}

.page-contact__address-block {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  margin-top: 50px;
  text-align: center;
  color: #ffffff;
}

.page-contact__address-title {
  font-size: 2em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-contact__address-text {
  font-size: 1.1em;
  color: #f0f0f0;
}

/* Contact Form Section */
.page-contact__form-section {
  padding: 60px 0;
  text-align: center;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 40px auto;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #444;
  border-radius: 8px;
  background-color: #333;
  color: #FFFFFF;
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #26A9E0;
  outline: none;
}

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

.page-contact__form-image-wrapper {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

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

/* FAQ Section */
.page-contact__faq-section {
  padding: 60px 0;
}

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

.page-contact__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-contact__faq-question-title {
  font-size: 1.2em;
  color: #FFFFFF;
  margin: 0;
  font-weight: bold;
}

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

.page-contact__faq-item.active .page-contact__faq-toggle {
  transform: rotate(45deg);
}

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

.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-bottom: 1em;
  font-size: 1em;
}

.page-contact__faq-image-wrapper {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.page-contact__faq-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Social Section */
.page-contact__social-section {
  padding: 60px 0;
  text-align: center;
}

.page-contact__social-links {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.page-contact__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #26A9E0;
  color: #FFFFFF;
  font-size: 1.5em;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  text-indent: -9999px; /* Hide text, use icon */
  position: relative;
}

.page-contact__social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 60%;
  background-repeat: no-repeat;
  background-position: center;
  filter: invert(100%); /* Make icons white */
}

.page-contact__social-facebook::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zm3 8h-2c-.552 0-1 .448-1 1v2h3l-.6 3H12v7H9v-7H7v-3h2V8c0-1.657 1.343-3 3-3h3v3z" fill="%23FFFFFF"/></svg>');
}

.page-contact__social-telegram::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zm7.111 7.222l-2.444 11.556c-.111.556-.444.667-.889.333l-3.556-2.667-1.778 1.778c-.222.222-.444.444-.889.444l.333-3.667 6.667-6c.333-.333-.111-.556-.556-.222L7.111 15.111l-3.556-1.111c-.556-.111-.556-.444.111-.667l15.111-5.556c.444-.111.889.111.667.556z" fill="%23FFFFFF"/></svg>');
}

.page-contact__social-twitter::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M24 4.557c-.883.392-1.832.656-2.828.775 1.017-.609 1.795-1.576 2.165-2.724-.951.564-2.005.974-3.127 1.195-.897-.957-2.178-1.555-3.594-1.555-3.593 0-6.492 2.901-6.492 6.492 0 .509.058 1.001.166 1.477-5.39-2.705-10.159-5.717-13.398-9.49-1.07.009-1.93.547-2.475 1.325-.213.71-.064 1.472.456 2.072-.888-.027-1.72-.27-2.44-.675v.08c0 2.908 2.067 5.334 4.814 5.9-.47.129-.964.198-1.473.198-.36 0-.71-.035-1.05-.101.766 2.396 2.985 4.144 5.61 4.183-2.054 1.609-4.654 2.562-7.49 2.562-.483 0-.958-.029-1.424-.083 2.642 1.706 5.77 2.693 9.148 2.693 10.916 0 16.892-9.079 16.892-16.892 0-.258-.007-.516-.018-.773.974-.704 1.815-1.583 2.486-2.58z" fill="%23FFFFFF"/></svg>');
}

.page-contact__social-youtube::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zm6.5 8.167c-.222-.889-.889-1.556-1.778-1.778C15.889 6 12 6 12 6s-3.889 0-4.722.389c-.889.222-1.556.889-1.778 1.778C5 9.111 5 12 5 12s0 2.889.389 3.722c.222.889.889 1.556 1.778 1.778C8.111 18 12 18 12 18s3.889 0 4.722-.389c.889-.222 1.556-.889 1.778-1.778C19 14.889 19 12 19 12s0-2.889-.389-3.722zM10 14.5l4-2.5-4-2.5v5z" fill="%23FFFFFF"/></svg>');
}

.page-contact__social-link:hover {
  background-color: #1a7fb2;
  transform: translateY(-3px) scale(1.05);
}

.page-contact__social-image-wrapper {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.page-contact__social-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Why Contact Section */
.page-contact__why-contact-section {
  padding: 60px 0;
  text-align: center;
}

.page-contact__why-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-contact__why-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-contact__why-item-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__why-item p {
  font-size: 1em;
  color: #f0f0f0;
}

.page-contact__closing-statement {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-top: 50px;
  margin-bottom: 30px;
  font-weight: bold;
}

/* Background colors for sections based on context */
.page-contact__dark-bg {
  background-color: var(--neon-dark-bg); /* Inherited from shared.css */
  color: #ffffff;
}

.page-contact__light-bg {
  background-color: #1a1a1a; /* A slightly lighter dark background for contrast */
  color: #ffffff;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is not hidden by fixed header */
  }

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

  .page-contact__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

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

  .page-contact__btn-primary,
  .page-contact__info-link {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px !important;
    font-size: 1em !important;
  }

  .page-contact__hero-section .page-contact__btn-primary {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-contact__info-card,
  .page-contact__address-block,
  .page-contact__contact-form,
  .page-contact__faq-item,
  .page-contact__why-item {
    padding: 20px;
  }

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

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

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

  .page-contact__social-links {
    gap: 10px;
  }

  .page-contact__social-link {
    width: 50px;
    height: 50px;
    font-size: 1.2em;
  }

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

  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__hero-section,
  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__social-section,
  .page-contact__why-contact-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  
  .page-contact__contact-form {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact__hero-image,
  .page-contact__form-image,
  .page-contact__faq-image,
  .page-contact__social-image {
    border-radius: 8px;
  }
}

/* Color Contrast Fixes for specific elements if needed on light-bg sections */
.page-contact__light-bg .page-contact__section-title {
  color: #26A9E0; /* Brand color */
}

.page-contact__light-bg .page-contact__section-intro {
  color: #f0f0f0;
}

.page-contact__light-bg .page-contact__why-item-title {
  color: #26A9E0;
}

.page-contact__light-bg .page-contact__why-item p {
  color: #f0f0f0;
}

.page-contact__light-bg .page-contact__closing-statement {
  color: #f0f0f0;
}