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

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

.page-contact section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-contact section:nth-of-type(odd) {
  background-color: #ffffff;
}

.page-contact section:nth-of-type(even) {
  background-color: #f9f9f9;
}

.page-contact .section-title {
  font-size: 36px;
  color: #8B0000;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
}

.page-contact .section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-contact .hero-section {
  background: linear-gradient(135deg, #8B0000 0%, #FFD700 100%);
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

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

.page-contact .hero-title {
  font-size: 48px;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact .hero-description {
  font-size: 18px;
  max-width: 900px;
  margin: 0 auto 30px;
  color: #f0f0f0;
}

.page-contact .hero-description a {
  color: #FFD700;
  text-decoration: underline;
}

.page-contact .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background-color: #FFD700;
  color: #8B0000;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
}

.page-contact .cta-button:hover {
  background-color: #e0b800;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-contact .reason-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-contact .reason-title {
  font-size: 24px;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-contact .reason-text {
  color: #555;
}

.page-contact .reason-text a {
  color: #8B0000;
  text-decoration: none;
  font-weight: bold;
}

.page-contact .reason-text a:hover {
  text-decoration: underline;
}

.page-contact .section-contact-methods .method-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0 auto 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

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

.page-contact .method-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-contact .method-title {
  font-size: 22px;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-contact .method-description {
  color: #555;
  margin-bottom: 20px;
}

.page-contact .contact-detail {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.page-contact .contact-detail a {
  color: #8B0000;
  text-decoration: none;
}

.page-contact .contact-detail a:hover {
  text-decoration: underline;
}

.page-contact .btn-small {
  display: inline-block;
  padding: 10px 25px;
  background-color: #FFD700;
  color: #8B0000;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-contact .btn-small:hover {
  background-color: #e0b800;
  transform: translateY(-2px);
}

.page-contact .section-common-issues .issue-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

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

.page-contact .issue-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-contact .issue-title {
  font-size: 22px;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-contact .issue-text {
  color: #555;
}

.page-contact .issue-text a {
  color: #8B0000;
  text-decoration: none;
  font-weight: bold;
}

.page-contact .issue-text a:hover {
  text-decoration: underline;
}

.page-contact .section-faq .faq-image {
  width: 100%;
  max-width: 700px;
  height: auto;
  display: block;
  margin: 0 auto 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* FAQ default state - answer hidden */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 15px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

/* FAQ expanded state */
.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-top: none;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

/* Question style */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 10px;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  font-size: 18px;
  color: #333;
  margin: 0;
}

/* Toggle icon */
.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-list .faq-item:last-child .faq-question {
  margin-bottom: 0;
}

.page-contact .commitment-text {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #555;
}

.page-contact .commitment-text a {
  color: #8B0000;
  text-decoration: none;
  font-weight: bold;
}

.page-contact .commitment-text a:hover {
  text-decoration: underline;
}

.page-contact .section-contact-form {
  background-color: #f0f2f5;
}

.page-contact .form-description {
  text-align: center;
  margin-bottom: 30px;
  font-size: 16px;
  color: #555;
}

.page-contact .contact-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

.page-contact .form-input,
.page-contact .form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  color: #333;
  transition: border-color 0.3s ease;
}

.page-contact .form-input:focus,
.page-contact .form-textarea:focus {
  border-color: #FFD700;
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.3);
}

.page-contact .form-textarea {
  resize: vertical;
}

.page-contact .submit-button {
  display: block;
  width: 100%;
  padding: 15px;
  background-color: #8B0000;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact .submit-button:hover {
  background-color: #a00000;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-contact .hero-title {
    font-size: 40px;
  }

  .page-contact .section-title {
    font-size: 30px;
  }

  .page-contact .methods-grid, .page-contact .issues-list, .page-contact .reasons-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-contact section {
    padding: 40px 0;
  }

  .page-contact .hero-title {
    font-size: 32px;
  }

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

  .page-contact .cta-button {
    padding: 12px 30px;
    font-size: 18px;
  }

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

  .faq-question {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
  }
  
  .faq-question h3 {
    margin-bottom: 8px;
    font-size: 16px;
  }
  
  .faq-toggle {
    align-self: flex-end;
    margin-top: -30px; /* Adjust as needed */
    font-size: 20px;
  }

  .page-contact .form-input, .page-contact .form-textarea, .page-contact .submit-button {
    font-size: 14px;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .page-contact .hero-title {
    font-size: 28px;
  }

  .page-contact .hero-image {
    border-radius: 8px;
  }

  .page-contact .section-title {
    font-size: 24px;
  }

  .page-contact .cta-button {
    font-size: 16px;
    padding: 10px 25px;
  }

  .page-contact .reason-title, .page-contact .method-title, .page-contact .issue-title {
    font-size: 20px;
  }

  .page-contact .reason-item, .page-contact .method-item, .page-contact .issue-item, .page-contact .contact-form {
    padding: 20px;
  }

  .faq-question h3 {
    font-size: 15px;
  }
}