/* Base styles for the contact page */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
}

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

.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 50px;
  overflow: hidden;
}

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

.page-contact__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-contact__main-title {
  font-size: 3.2em;
  font-weight: 700;
  color: #F3C54D; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF1E8; /* Text Main */
}

.page-contact__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button */
  color: #FFF1E8; /* Text Main */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(243, 197, 77, 0.4);
}

.page-contact__cta-button--secondary {
  background: #2A1212; /* Card B G */
  border: 1px solid #6A1E1E; /* Border */
  color: #FFF1E8;
  margin-left: 20px;
}

.page-contact__cta-button--secondary:hover {
  background: #3a1a1a;
  box-shadow: 0 5px 15px rgba(106, 30, 30, 0.4);
}

.page-contact__form-section, .page-contact__methods-section, .page-contact__why-contact-section, .page-contact__faq-section, .page-contact__cta-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background */
}

.page-contact__section-title {
  font-size: 2.5em;
  color: #F3C54D; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-contact__section-description {
  font-size: 1.05em;
  color: #FFF1E8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-contact__contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: #2A1212; /* Card B G */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #6A1E1E; /* Border */
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 5px;
  background-color: #140C0C; /* Background */
  color: #FFF1E8; /* Text Main */
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #F3C54D; /* Gold */
  outline: none;
}

.page-contact__submit-button {
  display: block;
  width: 100%;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button */
  color: #FFF1E8; /* Text Main */
  padding: 15px 25px;
  border-radius: 8px;
  border: none;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(243, 197, 77, 0.3);
}

.page-contact__method-item {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  background-color: #2A1212; /* Card B G */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #6A1E1E; /* Border */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__method-item:last-of-type {
  margin-bottom: 0;
}

.page-contact__method-item--reverse {
  flex-direction: row-reverse;
}

.page-contact__method-content {
  flex: 1;
}

.page-contact__method-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 50%;
}

.page-contact__method-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.page-contact__method-title {
  font-size: 2em;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-contact__method-text {
  font-size: 1em;
  color: #FFF1E8;
  margin-bottom: 20px;
}

.page-contact__method-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button */
  color: #FFF1E8; /* Text Main */
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__method-button:hover {
  transform: translateY(-2px);
}

.page-contact__hotline-number {
  font-size: 1.5em;
  color: #F3C54D; /* Gold */
  font-weight: bold;
}

.page-contact__hotline-number span {
  color: #FFF1E8; /* Text Main */
}

.page-contact__social-links {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.page-contact__social-icon {
  display: inline-flex;
  width: 50px;
  height: 50px;
  background-color: #6A1E1E; /* Border */
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  color: #FFF1E8; /* Text Main */
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.page-contact__social-icon:hover {
  background-color: #E53030; /* Auxiliary Color */
}

/* Placeholder icons for social media */
.page-contact__social-icon--facebook::before {
  content: "\f09a"; /* FontAwesome Facebook icon */
  font-family: 'Font Awesome 5 Brands';
}

.page-contact__social-icon--telegram::before {
  content: "\f2c6"; /* FontAwesome Telegram icon */
  font-family: 'Font Awesome 5 Brands';
}

.page-contact__social-icon--twitter::before {
  content: "\f099"; /* FontAwesome Twitter icon */
  font-family: 'Font Awesome 5 Brands';
}

/* Include FontAwesome for social icons (or use SVG/CSS icons) */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

.page-contact__why-contact-section {
  background-color: #140C0C; /* Background */
}

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

.page-contact__benefit-card {
  background-color: #2A1212; /* Card B G */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #6A1E1E; /* Border */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__benefit-card:nth-child(even) {
  background-color: #2a1a1a; /* Slightly different shade for variation */
}

.page-contact__benefit-title {
  font-size: 1.5em;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-contact__benefit-text {
  font-size: 0.95em;
  color: #FFF1E8;
}

.page-contact__benefit-image-wrapper {
  grid-column: span 2; /* Span across two columns for larger image */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #2A1212;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #6A1E1E;
}

.page-contact__benefit-image {
  width: 100%;
  height: auto;
  display: block;
}

/* FAQ Section */
.page-contact__faq-section {
  background-color: #140C0C; /* Background */
}

details.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card B G */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

details.page-contact__faq-item summary.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-contact__faq-item summary.page-contact__faq-question:hover {
  background: #200f0f;
}

.page-contact__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3C54D; /* Gold */
}

.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFF1E8; /* Text Main */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-contact__faq-item .page-contact__faq-answer {
  padding: 0 20px 20px;
  background: #1a0d0d; /* Slightly darker for answer */
  border-radius: 0 0 5px 5px;
  color: #FFF1E8;
}

/* CTA Section */
.page-contact__cta-section {
  text-align: center;
  padding-bottom: 80px;
}

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

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

  .page-contact__method-item {
    flex-direction: column;
  }

  .page-contact__method-item--reverse {
    flex-direction: column;
  }

  .page-contact__method-image-wrapper {
    max-width: 100%;
    margin-top: 30px;
  }

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

  .page-contact__benefit-image-wrapper {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    min-height: 400px;
    padding-bottom: 30px;
  }

  .page-contact__hero-content {
    padding: 15px;
  }

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

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

  .page-contact__cta-button {
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-contact__cta-button--secondary {
    margin-left: 0;
    margin-top: 15px;
  }

  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-contact__form-section, .page-contact__methods-section, .page-contact__why-contact-section, .page-contact__faq-section, .page-contact__cta-section {
    padding: 40px 0;
  }

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

  .page-contact__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-contact__contact-form {
    padding: 30px 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact__method-item {
    padding: 20px;
    margin-bottom: 40px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact__method-title {
    font-size: 1.6em;
  }

  .page-contact__method-text {
    font-size: 0.9em;
  }

  .page-contact__hotline-number {
    font-size: 1.2em;
  }

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

  .page-contact__social-icon {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
  }

  .page-contact__benefits-grid {
    gap: 20px;
    padding: 0 15px;
  }

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

  .page-contact__benefit-title {
    font-size: 1.3em;
  }

  .page-contact__benefit-text {
    font-size: 0.9em;
  }

  details.page-contact__faq-item summary.page-contact__faq-question {
    padding: 15px;
  }

  .page-contact__faq-qtext {
    font-size: 1em;
  }

  .page-contact__faq-toggle {
    font-size: 20px;
    width: 24px;
  }

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

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

  .page-contact__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* No specific tables for this page, but general rule for tables if they appear */
  .page-contact table {
    width: 100%;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
}