.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333;
  background: #F5F7FA;
}

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

.page-contact__section {
  padding: 60px 0;
  text-align: center;
}

.page-contact__section-title {
  font-size: 36px;
  color: #E53935;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__section-description {
  font-size: 18px;
  color: #555555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
}

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

.page-contact__hero-image-wrapper {
  width: 100%;
  margin-bottom: 30px;
}

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

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

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

.page-contact__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__cta-button:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Contact Methods */
.page-contact__contact-methods {
  background: #ffffff;
  padding: 80px 0;
}

.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: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-contact__method-icon {
  width: 100%; /* Ensure full width */
  max-width: 200px;
  height: auto;
  margin: 0 auto 20px;
  display: block;
  object-fit: contain;
}

.page-contact__method-title {
  font-size: 24px;
  color: #333333;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__method-text {
  font-size: 16px;
  color: #555555;
  margin-bottom: 25px;
}

.page-contact__method-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__method-button:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  transform: translateY(-1px);
}

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

.page-contact__social-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.page-contact__social-icon:hover {
  transform: scale(1.1);
}

.page-contact__social-icon--facebook {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%233b5998" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-facebook"><path d="M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z"></path></svg>');
  background-color: #f0f0f0;
}

.page-contact__social-icon--telegram {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%230088cc" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-telegram"><path d="M22 2L11 13M22 2L15 22L11 13L2 9L22 2Z"/></svg>');
  background-color: #f0f0f0;
}

.page-contact__social-icon--zalo {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%230068ff"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm2.93 15.07c-.47.47-1.24.47-1.71 0l-1.7-1.7c-.47-.47-.47-1.24 0-1.71l.7-.7c.47-.47 1.24-.47 1.71 0l1.7 1.7c.47.47.47 1.24 0 1.71l-.7.7zM9.5 14.5c-.47.47-1.24.47-1.71 0l-.7-.7c-.47-.47-.47-1.24 0-1.71l1.7-1.7c.47-.47 1.24-.47 1.71 0l.7.7c.47.47.47 1.24 0 1.71l-1.7 1.7zM14.5 9.5c-.47.47-1.24.47-1.71 0l-.7-.7c-.47-.47-.47-1.24 0-1.71l1.7-1.7c.47-.47 1.24-.47 1.71 0l.7.7c.47.47.47 1.24 0 1.71l-1.7 1.7zM10.5 18.5c-.47.47-1.24.47-1.71 0l-.7-.7c-.47-.47-.47-1.24 0-1.71l1.7-1.7c.47-.47 1.24-.47 1.71 0l.7.7c.47.47.47 1.24 0 1.71l-1.7 1.7z"/></svg>');
  background-color: #f0f0f0;
}

/* Contact Form */
.page-contact__contact-form-section {
  background: #F5F7FA;
  padding: 80px 0;
}

.page-contact__form {
  max-width: 700px;
  margin: 0 auto;
  background: #FFFFFF;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #E0E0E0;
  border-radius: 5px;
  font-size: 16px;
  color: #333333;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

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

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

.page-contact__submit-button {
  display: block;
  width: 100%;
  padding: 15px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__submit-button:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-contact__faq-section {
  background: #F5F7FA;
  padding: 80px 0;
}

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

details.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #E0E0E0;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

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: #f8f8f8;
  color: #E53935;
}

.page-contact__faq-qtext {
  flex: 1;
  font-size: 17px;
  line-height: 1.5;
  text-align: left;
  color: inherit;
}

.page-contact__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

details.page-contact__faq-item[open] summary.page-contact__faq-question {
  background: #E53935;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

details.page-contact__faq-item[open] .page-contact__faq-qtext {
  color: #ffffff;
}

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

details.page-contact__faq-item .page-contact__faq-answer {
  padding: 15px 25px 25px;
  background: #fcfcfc;
  border-top: 1px solid #E0E0E0;
  border-radius: 0 0 8px 8px;
  font-size: 16px;
  color: #555555;
  line-height: 1.7;
}

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

.page-contact__support-image-wrapper {
  margin-top: 50px;
  text-align: center;
}

.page-contact__support-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Why Contact Section */
.page-contact__why-contact {
  background: #ffffff;
  padding: 80px 0;
}

.page-contact__advantages-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 700px;
  text-align: left;
}

.page-contact__advantages-list li {
  background: #fcfcfc;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  font-size: 17px;
  color: #333333;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-contact__advantages-list li::before {
  content: '✔';
  color: #E53935;
  font-weight: bold;
  font-size: 20px;
  line-height: 1;
}

.page-contact__cta-button--bottom {
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-contact__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact__main-title {
    font-size: 28px;
  }

  .page-contact__hero-description {
    font-size: 16px;
  }

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

  .page-contact__section-title {
    font-size: 28px;
  }

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

  .page-contact__methods-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .page-contact__method-card {
    padding: 25px;
  }

  .page-contact__method-title {
    font-size: 20px;
  }

  .page-contact__method-text {
    font-size: 15px;
  }

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

  .page-contact__form {
    padding: 30px 20px;
    margin: 0 15px;
  }

  .page-contact__form-label,
  .page-contact__form-input,
  .page-contact__form-textarea {
    font-size: 15px;
  }

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

  .page-contact__faq-list {
    margin: 30px 15px;
  }

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

  .page-contact__faq-qtext {
    font-size: 16px;
  }

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

  details.page-contact__faq-item .page-contact__faq-answer {
    padding: 10px 20px 20px;
    font-size: 15px;
  }

  .page-contact__advantages-list {
    margin: 30px 15px;
  }

  .page-contact__advantages-list li {
    font-size: 16px;
    padding: 12px 15px;
  }

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

  .page-contact__hero-image,
  .page-contact__method-icon,
  .page-contact__support-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-contact__hero-image-wrapper,
  .page-contact__support-image-wrapper,
  .page-contact__container,
  .page-contact__section,
  .page-contact__method-card,
  .page-contact__form {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact__contact-methods, .page-contact__contact-form-section, .page-contact__faq-section, .page-contact__why-contact {
    padding: 40px 0;
  }
}

/* Ensure all images adhere to min-size and max-width on mobile */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* General button styling for responsiveness */
.page-contact__cta-button,
.page-contact__method-button,
.page-contact__submit-button {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* Ensure all image containers are responsive */
.page-contact__hero-image-wrapper,
.page-contact__method-card,
.page-contact__support-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}