/* style/contact.css */
.page-contact {
  background-color: #0D0E12;
  color: #FFF3E6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-contact__section-title {
  font-size: 2.5rem;
  color: #FF8C1A;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

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

/* Hero Section */
.page-contact__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Assuming body padding-top handles header offset */
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-contact__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content slightly over image for visual appeal, but not overlapping text */
  position: relative;
  z-index: 1;
  background: rgba(13, 14, 18, 0.8); /* Semi-transparent background for text */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid #A84F0C;
}

.page-contact__hero-title {
  font-size: 3rem;
  color: #FFB04D; /* Glow color for title */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-contact__hero-description {
  font-size: 1.2rem;
  color: #FFF3E6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
  transform: translateY(-2px);
}

.page-contact__btn-secondary {
  background: transparent;
  color: #FF8C1A;
  border: 2px solid #FF8C1A;
  box-shadow: 0 4px 10px rgba(255, 140, 26, 0.2);
}

.page-contact__btn-secondary:hover {
  background: #FF8C1A;
  color: #FFF3E6;
  box-shadow: 0 6px 15px rgba(255, 140, 26, 0.4);
  transform: translateY(-2px);
}

/* Info Section */
.page-contact__info-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

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

.page-contact__contact-item {
  background-color: #17191F;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #A84F0C;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__item-title {
  font-size: 1.5rem;
  color: #FFB04D;
  margin-bottom: 10px;
}

.page-contact__item-text {
  font-size: 1.1rem;
  color: #FFF3E6;
  margin-bottom: 5px;
}

.page-contact__item-note {
  font-size: 0.9rem;
  color: #A84F0C;
}

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

.page-contact__contact-form {
  background-color: #17191F;
  padding: 40px;
  border-radius: 10px;
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid #A84F0C;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 5px;
  border: 1px solid #A84F0C;
  background-color: rgba(255, 255, 255, 0.05);
  color: #FFF3E6;
  font-size: 1rem;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: rgba(255, 243, 230, 0.6);
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  outline: none;
  border-color: #FFA53A;
  box-shadow: 0 0 0 3px rgba(255, 165, 58, 0.3);
}

.page-contact__form-submit-btn {
  width: 100%;
  padding: 15px;
  font-size: 1.2rem;
  cursor: pointer;
  margin-top: 10px;
}

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

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

.page-contact__social-icon {
  display: block;
  width: 60px;
  height: 60px;
  background-color: #FF8C1A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #FFF3E6;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.page-contact__social-icon--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.432 10.99 10.24 11.852V15.46H7.284V12h2.956V9.332c0-2.924 1.789-4.526 4.394-4.526 1.246 0 2.324.222 2.646.321v2.87h-1.706c-1.34 0-1.604.638-1.604 1.57V12h3.193l-.517 3.46h-2.676v6.39c5.808-.862 10.24-5.836 10.24-11.852C24 5.373 18.627 0 12 0z"/></svg>');
}

.page-contact__social-icon--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 0zm6.657 7.73l-2.657 11.37c-.19.805-.694.99-.997.498l-3.037-2.235-1.464 1.423c-.156.15-.286.27-.597.27l.458-3.045 5.518-4.993c.24-.216-.054-.336-.364-.12L8.27 13.06l-2.99-1.02c-.8-.25-.78-.82-.165-1.07l14.49-5.59c.65-.25.86-.06.45.26z"/></svg>');
}

.page-contact__social-icon--zalo::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 0zm-1.852 16.59c-.203.21-.497.31-.806.31-.309 0-.603-.1-.806-.31L6.75 14.28c-.203-.21-.31-.497-.31-.806s.107-.596.31-.806l.75-.75c.21-.203.497-.31.806-.31.309 0 .603.1.806.31l1.63 1.63c.21.203.31.497.31.806s-.1.603-.31.806l-.75.75zM17.25 10.25c-.21-.203-.497-.31-.806-.31-.309 0-.603.1-.806.31l-1.63 1.63c-.21.203-.31.497-.31.806s.1.603.31.806l.75.75c.203.21.497.31.806.31.309 0 .603-.1.806-.31l1.63-1.63c.21-.203.31-.497.31-.806s-.1-.596-.31-.806l-.75-.75zM12 6c-3.314 0-6 2.686-6 6s2.686 6 6 6 6-2.686 6-6-2.686-6-6-6zm0 10.5c-2.485 0-4.5-2.015-4.5-4.5s2.015-4.5 4.5-4.5 4.5 2.015 4.5 4.5-2.015 4.5-4.5 4.5z"/></svg>');
}

.page-contact__social-icon:hover {
  transform: translateY(-5px) scale(1.1);
  background-color: #FFA53A;
}

.page-contact__social-image {
  display: none; /* Hide the generic image, use SVG for icons */
}

.page-contact__social-cta {
  text-align: center;
  margin-top: 30px;
  font-size: 1.1rem;
  color: #FFF3E6;
}

/* Why Contact Section */
.page-contact__why-contact-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

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

.page-contact__benefit-card {
  background-color: #17191F;
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  border: 1px solid #A84F0C;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__card-title {
  font-size: 1.4rem;
  color: #FFB04D;
  margin-bottom: 10px;
}

.page-contact__card-text {
  font-size: 1rem;
  color: #FFF3E6;
}

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

/* FAQ Section */
.page-contact__faq-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

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

.page-contact__faq-item {
  background-color: #17191F;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #A84F0C;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  color: #FF8C1A;
  cursor: pointer;
  font-weight: bold;
  background-color: rgba(255, 140, 26, 0.05); /* Slight tint */
  list-style: none; /* Hide default marker for details */
}

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

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

.page-contact__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-contact__faq-answer {
  padding: 15px 25px 25px 25px;
  font-size: 1rem;
  color: #FFF3E6;
  border-top: 1px solid #A84F0C;
}

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

.page-contact__faq-answer a {
  color: #FFB04D;
  text-decoration: underline;
}

/* Final CTA Section */
.page-contact__cta-section {
  padding: 60px 0;
  background-color: #0D0E12;
  text-align: center;
}

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

/* General image styling for content area */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.5rem;
  }
  .page-contact__hero-description {
    font-size: 1.1rem;
  }
  .page-contact__section-title {
    font-size: 2rem;
  }
  .page-contact__contact-form {
    padding: 30px;
  }
  .page-contact__btn-primary, .page-contact__btn-secondary {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  /* HERO main image area */
  .page-contact__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-contact__hero-content {
    margin-top: -60px; /* Adjust for smaller screens */
    padding: 25px 15px;
  }
  .page-contact__hero-title {
    font-size: 2rem;
  }
  .page-contact__hero-description {
    font-size: 1rem;
  }

  /* General images and containers */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-contact__container,
  .page-contact__contact-form,
  .page-contact__contact-item,
  .page-contact__benefit-card,
  .page-contact__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons and button containers */
  .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-direction: column !important; /* Stack buttons vertically */
    gap: 15px;
  }

  /* Other content modules */
  .page-contact__section-title {
    font-size: 1.8rem;
  }
  .page-contact__section-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .page-contact__contact-grid, .page-contact__benefits-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__contact-item, .page-contact__benefit-card {
    padding: 20px;
  }
  .page-contact__item-title, .page-contact__card-title {
    font-size: 1.3rem;
  }
  .page-contact__form-input, .page-contact__form-textarea {
    padding: 10px;
    font-size: 0.95rem;
  }
  .page-contact__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-contact__faq-answer {
    padding: 10px 20px 20px 20px;
    font-size: 0.95rem;
  }
  .page-contact__social-links {
    gap: 15px;
  }
  .page-contact__social-icon {
    width: 50px;
    height: 50px;
  }
  .page-contact__social-icon::before {
    background-size: 50%;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.6rem;
  }
  .page-contact__hero-content {
    margin-top: -40px;
  }
  .page-contact__btn-primary, .page-contact__btn-secondary {
    padding: 12px 20px;
    font-size: 0.95rem;
  }
  .page-contact__section-title {
    font-size: 1.5rem;
  }
}