/* style/contact.css */
.page-contact {
  background-color: #08160F;
  color: #F2FFF6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0;
  text-align: center;
  background-color: #08160F;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-contact__hero-content-wrapper {
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -80px; /* Pull content up slightly over the image */
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 10;
  border: 1px solid #2E7A4E;
}

.page-contact__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: bold;
  color: #F2FFF6;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 1.1rem;
  color: #A7D9B8;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
}

.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-contact__btn-secondary {
  background: transparent;
  color: #2AD16F;
  border: 2px solid #2AD16F;
}

.page-contact__btn-secondary:hover {
  background: #2AD16F;
  color: #F2FFF6;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.2);
}

.page-contact__info-section,
.page-contact__form-section,
.page-contact__faq-section,
.page-contact__social-section {
  padding: 80px 0;
  background-color: #08160F;
}

.page-contact__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__section-description {
  font-size: 1rem;
  color: #A7D9B8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.page-contact__contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-contact__card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F2FFF6;
}

.page-contact__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-contact__card-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__card-title {
  font-size: 1.4rem;
  color: #2AD16F;
  margin-bottom: 15px;
}

.page-contact__card-text {
  font-size: 0.95rem;
  color: #A7D9B8;
  margin-bottom: 20px;
}

.page-contact__card-link {
  display: inline-block;
  color: #F2C14E; /* Gold */
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #F2C14E;
  padding-bottom: 5px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-contact__card-link:hover {
  color: #57E38D; /* Glow */
  border-color: #57E38D;
}

.page-contact__working-hours {
  text-align: center;
  margin-top: 40px;
  padding: 30px;
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 10px;
  border: 1px solid #2E7A4E;
}

.page-contact__sub-title {
  font-size: 1.6rem;
  color: #F2FFF6;
  margin-bottom: 15px;
}

.page-contact__text {
  font-size: 1.05rem;
  color: #A7D9B8;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #11271B; /* Card BG */
  padding: 40px;
  border-radius: 10px;
  border: 1px solid #2E7A4E;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #2E7A4E;
  border-radius: 6px;
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
  font-size: 1rem;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #A7D9B8;
  opacity: 0.7;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #2AD16F;
  outline: none;
  box-shadow: 0 0 0 3px rgba(42, 209, 111, 0.3);
}

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

.page-contact__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-contact__faq-item details {
  width: 100%;
}

.page-contact__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: bold;
  color: #F2FFF6;
  list-style: none;
}

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

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

.page-contact__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: #2AD16F;
  margin-left: 20px;
  transition: transform 0.3s ease;
}

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

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

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

.page-contact__faq-answer .page-contact__faq-link {
  display: inline-block;
  margin-right: 15px;
  color: #F2C14E; /* Gold */
  text-decoration: none;
  font-weight: bold;
  border-bottom: 1px solid #F2C14E;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-contact__faq-answer .page-contact__faq-link:hover {
  color: #57E38D; /* Glow */
  border-color: #57E38D;
}

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

.page-contact__social-icon-link {
  display: block;
  width: 50px;
  height: 50px;
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 1px solid #2E7A4E;
  position: relative;
}

.page-contact__social-icon-link::before {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: invert(1) brightness(1.5); /* For icon visibility on dark bg */
}

.page-contact__social-icon-link--facebook::before {
  background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23F2FFF6"%3e%3cpath d="M22 12c0-5.52-4.48-10-10-10S2 6.48 2 12c0 4.84 3.44 8.87 8 9.8V15H8v-3h2V9.5C10 7.57 11.57 6 13.5 6H16v3h-2c-.55 0-1 .45-1 1v2h3v3h-3v6.95c5.05-.5 9-4.76 9-9.95z"/%3e%3c/svg%3e');
}

.page-contact__social-icon-link--telegram::before {
  background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23F2FFF6"%3e%3cpath d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm4.3 8.3L9.6 13.7c-.5.2-1.1-.1-1.2-.6-.1-.5.3-1.1.8-1.2l6.7-2.7c.5-.2 1.1.1 1.2.6.1.5-.3 1.1-.8 1.2zM12 18c-.3 0-.5-.1-.7-.3l-2-2c-.3-.3-.3-.8 0-1.1s.8-.3 1.1 0l1.4 1.4 3.7-3.7c.3-.3.8-.3 1.1 0s.3.8 0 1.1l-4 4c-.2.2-.4.3-.6.3z"/%3e%3c/svg%3e');
}

.page-contact__social-icon-link--twitter::before {
  background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23F2FFF6"%3e%3cpath d="M22.46 6c-.77.34-1.6.56-2.46.66.88-.53 1.56-1.37 1.88-2.37-.83.49-1.75.84-2.71 1.03-1.6-1.7-4.32-1.69-5.92.01-1.12 1.16-1.6 2.7-1.39 4.2-.6-.05-1.18-.17-1.72-.36C6.71 8.5 4.85 5.5 2.72 2.74c-.6.98-.94 2.1-1 3.27.32.17.65.34.97.5-.7-.48-1.2-1.04-1.5-1.7-.3.53-.4 1.08-.3 1.63-.03 2.13 1.25 4.07 3.2 5.17-.65-.03-1.27-.2-1.83-.5.01.01.01.01.01.02.0 1.57 1.12 2.88 2.6 3.19-.27.07-.55.11-.83.11-.2 0-.39-.02-.58-.06.41 1.3 1.6 2.25 3.02 2.27-1.1 1-2.5 1.6-4.03 1.6-.26 0-.52-.02-.78-.05C3.25 20.3 5.06 21 7 21c8.1 0 12.56-6.7 12.56-12.56 0-.19-.01-.37-.01-.56.86-.62 1.6-1.38 2.18-2.26z"/%3e%3c/svg%3e');
}

.page-contact__social-icon-link--youtube::before {
  background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23F2FFF6"%3e%3cpath d="M10 15l5.19-3L10 9v6zm11.56-7.83c.1-.25.16-.52.16-.85 0-1.05-.85-1.9-1.9-1.9-.32 0-.64.09-.9.23C18.7 4.18 17.06 4 12 4s-6.7.18-8.22.65c-.26-.14-.58-.23-.9-.23-1.05 0-1.9.85-1.9 1.9 0 .33.06.6.16.85C2.86 9.15 2 10.5 2 12s.86 2.85 2.05 4.83c-.1.25-.16.52-.16.85 0 1.05.85 1.9 1.9 1.9.32 0 .64-.09.9-.23 1.52.47 3.16.65 8.22.65s6.7-.18 8.22-.65c.26.14.58.23.9.23 1.05 0 1.9-.85 1.9-1.9 0-.33-.06-.6-.16-.85 1.19-1.98 2.05-3.33 2.05-4.83s-.86-2.85-2.05-4.83z"/%3e%3c/svg%3e');
}

.page-contact__social-icon-link:hover {
  background-color: #2AD16F; /* Button color */
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-contact__hero-content-wrapper {
    margin-top: -60px;
    padding: 30px 20px;
  }

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

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-contact__hero-content-wrapper {
    margin-top: -40px;
    padding: 25px 15px;
  }

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

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

  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__social-section {
    padding: 60px 0;
  }

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

  .page-contact__section-description {
    margin-bottom: 30px;
  }

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

  .page-contact__card {
    padding: 25px;
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 10px 12px;
    font-size: 0.95rem;
  }

  .page-contact__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-contact__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95rem;
  }

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

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

  /* Image and Container Responsive Adaptations */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-contact__hero-image-wrapper,
  .page-contact__contact-cards,
  .page-contact__card,
  .page-contact__contact-form,
  .page-contact__faq-list,
  .page-contact__faq-item,
  .page-contact__social-links,
  .page-contact__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-contact__hero-section {
    padding-top: 10px !important; 
  }
}

@media (max-width: 480px) {
  .page-contact__hero-content-wrapper {
    margin-top: -30px;
    padding: 20px 10px;
  }

  .page-contact__main-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .page-contact__cta-buttons {
    gap: 10px;
  }

  .page-contact__section-title {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
  }

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

  .page-contact__faq-item summary {
    font-size: 0.95rem;
    padding: 12px 15px;
  }

  .page-contact__faq-toggle {
    font-size: 1.5rem;
  }

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