.page-contact {
  color: #ffffff; /* Body background is #0a0a0a (dark), so use light text */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 0; /* Assuming shared.css handles body padding-top for header offset */
}

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

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

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

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 0; /* Assumed shared.css handles body padding-top */
  margin-top: 0;
  padding-bottom: 60px; /* Add some padding below content */
}

.page-contact__hero-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.page-contact__hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-width: 100%;
  min-height: 200px; /* Ensure minimum size */
}

.page-contact__hero-content {
  text-align: center;
  padding: 0 20px;
  max-width: 900px;
}

.page-contact__hero-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

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

/* Contact Info Section */
.page-contact__info-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark background */
}

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

.page-contact__channel-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__channel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.page-contact__channel-card img {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
  object-fit: contain;
}

.page-contact__channel-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-contact__channel-text {
  color: #cccccc;
  margin-bottom: 25px;
}

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-contact__btn-primary {
  background-color: #FFD700;
  color: #1a1a1a; /* Dark text on gold button for contrast */
  border: 2px solid #FFD700;
}

.page-contact__btn-primary:hover {
  background-color: #e0b800;
  border-color: #e0b800;
}

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

.page-contact__btn-secondary:hover {
  background-color: #FFD700;
  color: #1a1a1a; /* Dark text on gold button for contrast */
}

/* Contact Form Section */
.page-contact__form-section {
  padding: 60px 0;
  background-color: #0a0a0a;
}

.page-contact__form {
  max-width: 700px;
  margin: 40px auto 0;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #1E90FF;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #FFD700;
  outline: none;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

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

.page-contact__form-submit-btn {
  width: auto;
  min-width: 180px;
  font-size: 1.1em;
  padding: 15px 30px;
  cursor: pointer;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-contact__faq-list {
  margin-top: 40px;
}

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

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(30, 144, 255, 0.5);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

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

.page-contact__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  color: #FFD700;
  pointer-events: none;
}

.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #1E90FF;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  color: #FFD700;
  transform: rotate(45deg); /* Change to minus sign visually */
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  color: #cccccc;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 5px 5px;
}

/* Social Section */
.page-contact__social-section {
  padding: 60px 0 80px;
  background-color: #0a0a0a;
}

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

.page-contact__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #1E90FF;
  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.3);
  text-indent: -9999px; /* Hide text, show only background/icon */
  overflow: hidden;
  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: invert(1);
}

.page-contact__social-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 0C5.373 0 0 5.373 0 12c0 6.016 4.388 11.006 10.125 11.854V14.25H7.5V11.25H10.125V8.75c0-2.645 1.579-4.105 3.993-4.105 1.15 0 2.136.086 2.42.124V7.5H14.7c-1.295 0-1.548.618-1.548 1.523V11.25h3.078l-.4 3H13.15V24C19.333 23.18 24 18.26 24 12 24 5.373 18.627 0 12 0z"/></svg>');
}

.page-contact__social-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="M24 4.557c-.883.392-1.832.656-2.828.775 1.017-.609 1.798-1.574 2.165-2.724-.951.564-2.005.974-3.127 1.195-.897-.957-2.178-1.555-3.594-1.555-3.407 0-6.17 2.763-6.17 6.169 0 .484.055.955.162 1.404-5.132-.258-9.66-2.724-12.7-6.442-.53.91-.837 1.97-.837 3.102 0 2.145 1.09 4.043 2.743 5.147-.803-.025-1.562-.246-2.229-.616v.077c0 2.993 2.13 5.488 4.965 6.069-.516.14-1.065.215-1.623.215-.398 0-.78-.038-1.15-.11 0 2.457 1.956 4.502 4.595 4.502-2.044 1.604-4.636 2.56-7.447 2.56-.484 0-.961-.028-1.427-.083 2.52 1.614 5.533 2.556 8.777 2.556 10.528 0 16.297-8.72 16.297-16.297 0-.248-.006-.496-.016-.743.916-.662 1.705-1.493 2.323-2.433z"/></svg>');
}

.page-contact__social-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 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zm5.178 7.382l-2.761 10.875c-.139.547-.406.685-.75.328l-3.525-3.238-1.704 1.642c-.187.18-.32.28-.58.28l.248-3.592 6.46-5.875c.28-.255-.06-.39-.44-.13L7.75 12.35l-3.48-1.08c-.48-.15-.49-.46-.09-.75l12.72-4.9c.4-.16.76-.04.66.27z"/></svg>');
}

.page-contact__social-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 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zm6.5 16.5c-.322.257-1.103.626-2.5.626-1.397 0-2.178-.369-2.5-.626-.322-.257-.5-.626-.5-1.126v-5.748c0-.5.178-.869.5-1.126.322-.257 1.103-.626 2.5-.626 1.397 0 2.178.369 2.5.626.322.257.5.626.5 1.126v5.748c0 .5-.178.869-.5 1.126zM12 16.5c-.322.257-1.103.626-2.5.626-1.397 0-2.178-.369-2.5-.626-.322-.257-.5-.626-.5-1.126v-5.748c0-.5.178-.869.5-1.126.322-.257 1.103-.626 2.5-.626 1.397 0 2.178.369 2.5.626.322.257.5.626.5 1.126v5.748c0 .5-.178.869-.5 1.126z"/></svg>');
}

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

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

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-contact__hero-section {
    padding-top: 0 !important; /* Ensure no double padding */
    padding-bottom: 40px;
  }
  .page-contact__hero-title {
    font-size: 2em;
  }
  .page-contact__hero-description {
    font-size: 0.95em;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__section-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__social-section {
    padding: 40px 0;
  }
  .page-contact__channels-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-contact__channel-card {
    padding: 20px;
  }
  .page-contact__channel-card img {
    max-width: 200px;
    min-width: 200px !important;
    min-height: 200px !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-contact__form {
    padding: 25px;
  }
  .page-contact__form-submit-btn {
    width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
  }
  .page-contact__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-contact__faq-question h3 {
    font-size: 1em;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-contact__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-contact__faq-answer {
    padding: 0 15px;
  }
  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 15px !important;
  }
  .page-contact__social-links {
    gap: 15px;
  }
  
  /* General image and button responsiveness for mobile */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__form,
  .page-contact__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact__cta-button,
  .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 !important;
    padding-right: 15px !important;
  }
  .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 !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-contact__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}