.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark (#0a0a0a), so use light text */
  background-color: transparent; /* Main content background will be handled by sections */
}

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

.page-contact__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-contact__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: -1;
}

.page-contact__hero-content {
  z-index: 1;
  max-width: 800px;
  padding: 20px;
}

.page-contact__hero-title {
  font-size: 3.2em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

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

.page-contact__section-title--light {
  color: #ffffff;
}

.page-contact__section-intro {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__section-intro--light {
  color: #e0e0e0;
}

.page-contact__btn-primary {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-contact__btn-primary:hover {
  background-color: #1a7fb2;
}

.page-contact__form-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Dark background for the form section */
  color: #ffffff;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter card-like background */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #444;
  border-radius: 5px;
  background-color: #1a1a1a;
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

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

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

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

.page-contact__form-submit-btn {
  width: auto;
  padding: 15px 40px;
  font-size: 1.1em;
}

.page-contact__info-section {
  padding: 80px 0;
  background-color: #121212;
  color: #ffffff;
}

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

.page-contact__info-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-contact__info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-contact__info-card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-contact__info-card-text {
  color: #e0e0e0;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-contact__info-link,
.page-contact__info-card-address {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-contact__info-link:hover {
  color: #26A9E0;
}

.page-contact__faq-section {
  position: relative;
  padding: 80px 0;
  background-color: #0a0a0a; /* Fallback */
  color: #ffffff;
  overflow: hidden;
}

.page-contact__faq-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-contact__faq-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Darker overlay for text readability */
  z-index: -1;
}

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

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

.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: #ffffff;
  background-color: rgba(255, 255, 255, 0.03);
  transition: background-color 0.3s ease;
}

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

.page-contact__faq-heading {
  margin: 0;
  color: #ffffff;
}

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

.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-out, padding 0.3s ease-out;
  background-color: rgba(255, 255, 255, 0.05);
  color: #e0e0e0;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-contact__faq-text {
  margin: 0;
  color: #e0e0e0;
}

.page-contact__social-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
  text-align: center;
}

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

.page-contact__social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1.5em;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
  text-indent: -9999px; /* Hide text, use background image or icon font */
}

.page-contact__social-icon-link::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: 60%;
  background-repeat: no-repeat;
  background-position: center;
}

.page-contact__social-icon-link--facebook::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.477 2 2 6.477 2 12c0 5.016 3.655 9.18 8.444 9.876V14.606h-2.95v-3.32h2.95V9.06c0-2.924 1.783-4.52 4.38-4.52 1.246 0 2.313.09 2.628.134v3.04h-1.804c-1.42 0-1.696.674-1.696 1.66v2.162h3.385l-.547 3.32h-2.838v7.27c4.789-.696 8.444-4.86 8.444-9.876 0-5.523-4.477-10-10-10z"/></svg>');
}

.page-contact__social-icon-link--telegram::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm4.35 8.27l-2.872 7.002c-.225.55-.54.675-1.08.315-.45-.27-.72-.45-1.14-.72-.42-.27-.63-.45-1.05-.72-.42-.27-.63-.45-.84-.72-.21-.27-.315-.45-.315-.675V11.88l6.075-3.87c.405-.27.72-.18.45.18z"/></svg>');
}

.page-contact__social-icon-link--twitter::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M22 4.01c-.72.32-1.5.54-2.31.64.83-.49 1.46-1.27 1.76-2.2-.78.46-1.65.79-2.58.97-.74-.79-1.79-1.28-2.96-1.28-2.24 0-4.06 1.82-4.06 4.06 0 .32.04.63.11.92-3.37-.17-6.36-1.78-8.36-4.24-.35.6-.55 1.29-.55 2.03 0 1.4.71 2.64 1.79 3.36-.66-.02-1.28-.2-1.82-.5V9.4c0 1.96 1.39 3.59 3.24 3.96-.34.09-.7.14-1.08.14-.26 0-.52-.03-.77-.07.51 1.6 1.99 2.76 3.75 2.79-1.38 1.08-3.12 1.73-5.02 1.73-.33 0-.66-.02-.98-.06 1.79 1.15 3.92 1.82 6.2 1.82 7.45 0 11.53-6.17 11.53-11.53 0-.18-.01-.36-.01-.54.8-.58 1.49-1.3 2.04-2.13z"/></svg>');
}

.page-contact__social-icon-link--youtube::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm4.35 8.27l-2.872 7.002c-.225.55-.54.675-1.08.315-.45-.27-.72-.45-1.14-.72-.42-.27-.63-.45-1.05-.72-.42-.27-.63-.45-.84-.72-.21-.27-.315-.45-.315-.675V11.88l6.075-3.87c.405-.27.72-.18.45.18z"/></svg>');
}

.page-contact__social-icon-link:hover {
  background-color: #26A9E0;
  transform: translateY(-3px);
}

.page-contact__cta-section {
  padding: 80px 0;
  background-color: #26A9E0; /* Use brand primary color for CTA */
  color: #ffffff;
  text-align: center;
}

.page-contact__cta-button {
  font-size: 1.3em;
  padding: 18px 45px;
  background-color: #EA7C07; /* Login/Register color for strong CTA */
  border-radius: 10px;
}

.page-contact__cta-button:hover {
  background-color: #d16b06;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.8em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
}

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

  .page-contact__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

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

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

  .page-contact__btn-primary,
  .page-contact__cta-button,
  .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__contact-form,
  .page-contact__info-card,
  .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;
  }

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

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

  .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: 15px 20px;
  }

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

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

  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__hero-description {
    font-size: 0.9em;
  }
  .page-contact__section-title {
    font-size: 1.5em;
  }
  .page-contact__contact-form {
    padding: 25px;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 10px 12px;
  }
  .page-contact__btn-primary,
  .page-contact__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
}