/* style/contact.css */
:root {
  --primary-color: #FFD700; /* Vàng */
  --secondary-color: #B22222; /* Đỏ sẫm */
  --dark-background: #1a1a1a; /* Nền tối */
  --light-text: #f0f0f0; /* Chữ sáng */
  --dark-text: #333333; /* Chữ tối */
  --border-color: #444444;
  --card-background: #282828;
}

.page-contact {
  font-family: 'Arial', sans-serif;
  color: var(--light-text);
  background-color: var(--dark-background);
  line-height: 1.6;
}

.page-contact .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-contact h1, .page-contact h2, .page-contact h3 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-contact h1 {
  font-size: 2.8em;
  margin-top: 40px;
  line-height: 1.2;
}

.page-contact h2 {
  font-size: 2.2em;
  margin-top: 50px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--secondary-color);
}

.page-contact h3 {
  font-size: 1.6em;
  color: var(--light-text);
}

.page-contact p {
  margin-bottom: 15px;
  text-align: center;
  font-size: 1.1em;
}

.page-contact a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-contact a:hover {
  color: var(--secondary-color);
}

.page-contact .cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  margin-top: 30px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact .cta-button:hover {
  background-color: var(--primary-color);
  color: var(--dark-text);
  transform: translateY(-3px);
}

/* Hero Section */
.page-contact .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--dark-background) 0%, #333 100%);
}

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

.page-contact .hero-image {
  width: 100%;
  max-width: 800px; /* Adjusted for contact page context */
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-contact .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 900px;
}

.page-contact .hero-content p {
  font-size: 1.2em;
  color: var(--light-text);
  margin-bottom: 25px;
}

/* Why Contact Section */
.page-contact .why-contact-section {
  padding: 60px 0;
  background-color: var(--card-background);
}

.page-contact .why-contact-section p {
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

.page-contact .benefit-item {
  background-color: var(--dark-background);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-contact .benefit-item h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.4em;
}

.page-contact .benefit-item p {
  color: var(--light-text);
  font-size: 1em;
  text-align: left;
}

/* Contact Methods Section */
.page-contact .contact-methods-section {
  padding: 60px 0;
  background-color: var(--dark-background);
}

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

.page-contact .method-item {
  background-color: var(--card-background);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-contact .method-item .method-icon {
  width: 120px; /* Larger icons for content display */
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-contact .method-item h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.4em;
}

.page-contact .method-item p {
  color: var(--light-text);
  font-size: 1em;
  margin-bottom: 15px;
}

.page-contact .method-item .method-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1em;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.page-contact .method-item .method-button:hover {
  background-color: var(--primary-color);
  color: var(--dark-text);
}

.page-contact .social-links a {
  display: inline-block;
  background-color: #555;
  color: #fff;
  padding: 8px 15px;
  border-radius: 5px;
  margin: 5px;
  font-size: 0.9em;
}

.page-contact .social-links a:hover {
  background-color: var(--primary-color);
  color: var(--dark-text);
}

/* Contact Form Section */
.page-contact .contact-form-section {
  padding: 60px 0;
  background-color: var(--card-background);
}

.page-contact .contact-form {
  max-width: 700px;
  margin: 40px auto 0 auto;
  padding: 30px;
  background-color: var(--dark-background);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-contact .form-group {
  margin-bottom: 20px;
  text-align: left;
}

.page-contact .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--primary-color);
}

.page-contact .form-group input[type="text"],
.page-contact .form-group input[type="email"],
.page-contact .form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background-color: #333333;
  color: var(--light-text);
  font-size: 1em;
  box-sizing: border-box;
}

.page-contact .form-group input::placeholder,
.page-contact .form-group textarea::placeholder {
  color: #999;
}

.page-contact .form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.page-contact .submit-button {
  display: block;
  width: 100%;
  background-color: var(--secondary-color);
  color: #ffffff;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact .submit-button:hover {
  background-color: var(--primary-color);
  color: var(--dark-text);
  transform: translateY(-2px);
}

/* FAQ Section */
.page-contact .faq-section {
  padding: 60px 0;
  background-color: var(--dark-background);
}

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

.page-contact .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--card-background);
}

.page-contact .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--dark-background);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-contact .faq-question:hover {
  background: #3a3a3a;
}

.page-contact .faq-question h3 {
  margin: 0;
  font-size: 1.3em;
  color: var(--light-text);
  text-align: left;
}

.page-contact .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.page-contact .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-color);
}

.page-contact .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background-color: var(--card-background);
}

.page-contact .faq-item.active .faq-answer {
  max-height: 500px; /* Enough height to contain content */
  padding: 20px 25px;
  border-top: 1px solid var(--border-color);
}

.page-contact .faq-answer p {
  margin: 0;
  color: var(--light-text);
  text-align: left;
  font-size: 1em;
}

/* Commitment Section */
.page-contact .commitment-section {
  padding: 60px 0 80px 0;
  background-color: var(--card-background);
  text-align: center;
}

.page-contact .commitment-section p {
  max-width: 900px;
  margin: 0 auto 30px auto;
  font-size: 1.1em;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-contact h1 {
    font-size: 2.4em;
  }
  .page-contact h2 {
    font-size: 1.8em;
  }
  .page-contact h3 {
    font-size: 1.3em;
  }
  .page-contact .hero-content p {
    font-size: 1.1em;
  }
  .page-contact .benefits-grid, .page-contact .methods-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-contact h1 {
    font-size: 2em;
  }
  .page-contact h2 {
    font-size: 1.6em;
  }
  .page-contact h3 {
    font-size: 1.2em;
  }
  .page-contact p {
    font-size: 1em;
  }
  .page-contact .hero-section, .page-contact .why-contact-section, .page-contact .contact-methods-section, .page-contact .contact-form-section, .page-contact .faq-section, .page-contact .commitment-section {
    padding: 40px 15px;
  }
  .page-contact .hero-image {
    max-width: 100%;
  }
  .page-contact .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-contact .method-item .method-icon {
    width: 90px;
    height: 90px;
  }
  .page-contact .form-group label {
    font-size: 0.95em;
  }
  .page-contact .form-group input, .page-contact .form-group textarea {
    padding: 10px;
    font-size: 0.9em;
  }
  .page-contact .submit-button {
    padding: 12px 15px;
    font-size: 1em;
  }
  .page-contact .faq-question {
    padding: 15px 20px;
  }
  .page-contact .faq-question h3 {
    font-size: 1.1em;
  }
  .page-contact .faq-toggle {
    font-size: 20px;
  }
  .page-contact .faq-answer {
    padding: 0 20px;
  }
  .page-contact .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-contact h1 {
    font-size: 1.8em;
  }
  .page-contact h2 {
    font-size: 1.4em;
  }
  .page-contact h3 {
    font-size: 1.1em;
  }
  .page-contact .hero-content p {
    font-size: 0.95em;
  }
  .page-contact .benefits-grid, .page-contact .methods-grid {
    grid-template-columns: 1fr;
  }
  .page-contact .social-links a {
    padding: 6px 10px;
    font-size: 0.85em;
  }
}