.page-contact {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
  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;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 60px; /* Space below content */
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #08160F;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px;
  border-radius: 8px;
}

.page-contact__hero-content-wrapper {
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Adjust to overlap image slightly for visual effect */
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 1;
  position: relative;
}

.page-contact__hero-title {
  font-size: 2.8em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-contact__hero-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  max-width: 800px;
  margin: 0 auto;
}

.page-contact__section-title {
  font-size: 2.2em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 25px;
  margin-top: 60px;
  line-height: 1.3;
}

.page-contact__section-description {
  font-size: 1.05em;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__methods-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-contact__method-card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-contact__method-icon-wrapper {
  margin-bottom: 20px;
  width: 200px; /* Ensure icon wrapper is large enough */
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-contact__method-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 200px;
  max-height: 150px;
}

.page-contact__method-title {
  font-size: 1.6em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__method-text {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-contact__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-contact__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  background-color: transparent;
  border: 2px solid #2E7A4E; /* Border */
  color: #57E38D; /* Glow */
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-contact__btn-secondary:hover {
  background-color: #2E7A4E; /* Border */
  color: #F2FFF6; /* Text Main */
  transform: translateY(-2px);
}

.page-contact__form-section {
  padding: 60px 0;
  background-color: #08160F;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #11271B; /* Card BG */
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-contact__form-label {
  display: block;
  font-size: 1.1em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 8px;
  font-weight: bold;
}

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

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  outline: none;
  border-color: #57E38D; /* Glow */
  box-shadow: 0 0 0 3px rgba(87, 227, 141, 0.3);
}

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

.page-contact__form-submit-btn {
  width: auto;
  min-width: 200px;
  margin-top: 10px;
}

.page-contact__faq-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

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

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  background-color: #1E3A2A; /* Divider */
  border-bottom: 1px solid transparent; /* default */
  transition: background-color 0.3s ease;
}

.page-contact__faq-item[open] .page-contact__faq-question {
  background-color: #0A4B2C; /* Deep Green */
  border-bottom-color: #2E7A4E;
}

.page-contact__faq-question:hover {
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-contact__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

.page-contact__faq-answer {
  padding: 20px 25px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
  line-height: 1.7;
}

.page-contact__social-section {
  padding: 60px 0;
  background-color: #08160F;
  text-align: center;
}

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

.page-contact__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
  font-size: 1.5em;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
  overflow: hidden;
  text-indent: -9999px; /* Hide text, use background for icon */
  position: relative;
}

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

.page-contact__social-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="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-facebook"%3e%3cpath d="M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z"%3e%3c/path%3e%3c/svg%3e');
}

.page-contact__social-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="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-twitter"%3e%3cpath d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c11 3 21-1 21-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"%3e%3c/path%3e%3c/svg%3e');
}

.page-contact__social-telegram::before {
  background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-send"%3e%3cline x1="22" y1="2" x2="11" y2="13"%3e%3c/line%3e%3cpolygon points="22 2 15 22 11 13 2 9 22 2"%3e%3c/polygon%3e%3c/svg%3e');
}

.page-contact__social-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="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-youtube"%3e%3cpath d="M22.54 6.42a2.78 2.78 0 0 0-1.94-1.94C18.82 4 12 4 12 4s-6.82 0-8.6.48a2.78 2.78 0 0 0-1.94 1.94C2 8.18 2 12 2 12s0 3.82.46 5.58a2.78 2.78 0 0 0 1.94 1.94C5.18 20 12 20 12 20s6.82 0 8.6-.48a2.78 2.78 0 0 0 1.94-1.94C22 15.82 22 12 22 12s0-3.82-.46-5.58z"%3e%3c/path%3e%3cpolygon points="10 15 15 12 10 9 10 15"%3e%3c/polygon%3e%3c/svg%3e');
}

.page-contact__social-link:hover {
  background-color: #57E38D; /* Glow */
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.6);
}

@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.2em;
  }
  .page-contact__hero-content-wrapper {
    margin-top: -80px;
    padding: 30px;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__methods-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__hero-content-wrapper {
    margin-top: -60px;
    padding: 25px 15px;
  }
  .page-contact__section-title {
    font-size: 1.6em;
    margin-top: 40px;
  }
  .page-contact__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-contact__methods-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__method-card {
    padding: 25px;
  }
  .page-contact__method-title {
    font-size: 1.4em;
  }
  .page-contact__method-text {
    font-size: 0.95em;
  }
  .page-contact__contact-form {
    padding: 30px 20px;
  }
  .page-contact__form-label {
    font-size: 1em;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 10px 12px;
    font-size: 0.95em;
  }
  .page-contact__form-submit-btn {
    width: 100% !important;
  }
  .page-contact__faq-question {
    font-size: 1.05em;
    padding: 18px 20px;
  }
  .page-contact__faq-answer {
    font-size: 0.95em;
    padding: 15px 20px;
  }
  .page-contact__social-links {
    gap: 15px;
  }
  .page-contact__social-link {
    width: 45px;
    height: 45px;
    font-size: 1.3em;
  }

  /* Mobile specific responsive rules (MUST be present) */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__hero-section,
  .page-contact__methods-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__social-section {
    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;
  }

  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .page-contact a[class*="button"],
  .page-contact a[class*="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;
  }

  .page-contact__cta-buttons,
  .page-contact__button-group,
  .page-contact__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-contact__methods-grid {
    padding-left: 0;
    padding-right: 0;
  }
  .page-contact__faq-list {
    padding-left: 0;
    padding-right: 0;
  }
}