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

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

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

.page-contact h1,
.page-contact h2,
.page-contact h3,
.page-contact h4 {
  color: #000080; /* Deep Blue */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact h1 {
  font-size: 2.8em;
  text-align: center;
  color: #FFD700; /* Gold */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-contact h2 {
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 40px;
}

.page-contact h3 {
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-contact h4 {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-contact p {
  margin-bottom: 15px;
}

.page-contact .cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold */
  color: #000080; /* Deep Blue */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid #FFD700;
}

.page-contact .cta-button:hover {
  background-color: #000080; /* Deep Blue */
  color: #FFD700; /* Gold */
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border-color: #FFD700;
}

/* Hero Section */
.page-contact .hero-contact {
  background: linear-gradient(135deg, #000080 0%, #3a3a9a 100%); /* Deep Blue gradient */
  color: #ffffff;
  text-align: center;
  padding: 100px 0;
  border-bottom: 5px solid #FFD700;
}

.page-contact .hero-contact p {
  max-width: 800px;
  margin: 20px auto 40px auto;
  font-size: 1.1em;
  line-height: 1.8;
  color: #f0f0f0;
}

/* Contact Methods Section */
.page-contact .contact-methods-section {
  background-color: #ffffff;
  text-align: center;
}

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

.page-contact .method-card {
  background-color: #f9f9f9;
  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: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-contact .method-card h3 {
  color: #000080;
  margin-top: 0;
}

.page-contact .method-card p {
  font-size: 0.95em;
  color: #555;
  min-height: 120px; /* Ensure consistent height */
}

.page-contact .method-button {
  display: inline-block;
  background-color: #000080; /* Deep Blue */
  color: #FFD700; /* Gold */
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-contact .method-button:hover {
  background-color: #FFD700; /* Gold */
  color: #000080; /* Deep Blue */
}

.page-contact .method-card a {
  color: #000080;
  text-decoration: underline;
}

.page-contact .method-card a:hover {
  color: #FFD700;
}

/* When to Contact Section */
.page-contact .when-to-contact-section {
  background-color: #f0f0f0;
}

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

.page-contact .issue-item {
  background-color: #ffffff;
  border-left: 5px solid #FFD700; /* Gold accent */
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.page-contact .issue-item:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-contact .issue-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 15px;
}

.page-contact .issue-item h4 {
  color: #000080;
  margin-top: 0;
}

/* Contact Form Section */
.page-contact .contact-form-section {
  background-color: #ffffff;
  text-align: center;
}

.page-contact .contact-form {
  max-width: 700px;
  margin: 40px auto 0 auto;
  padding: 30px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background-color: #f9f9f9;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
}

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

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

.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 #ccc;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-contact .submit-button {
  width: auto;
  background-color: #000080; /* Deep Blue */
  color: #FFD700; /* Gold */
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-contact .submit-button:hover {
  background-color: #FFD700; /* Gold */
  color: #000080; /* Deep Blue */
}

/* FAQ Section */
.page-contact .faq-section {
  background-color: #f0f0f0;
}

.page-contact .faq-list {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.faq-question h3 {
  margin: 0;
  color: #000080;
  font-size: 1.2em;
}

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

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: #000080; /* Deep Blue */
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #fdfdfd;
  border-top: 1px solid #eee;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 25px;
}

.faq-answer p {
  margin: 0;
  color: #555;
}

.faq-answer a {
  color: #000080;
  text-decoration: underline;
}

.faq-answer a:hover {
  color: #FFD700;
}

/* Commitment Section */
.page-contact .commitment-section {
  background: linear-gradient(135deg, #FFD700 0%, #e6bf00 100%); /* Gold gradient */
  color: #000080;
  text-align: center;
  padding: 80px 0;
  border-top: 5px solid #000080;
}

.page-contact .commitment-section h2 {
  color: #000080;
  text-shadow: none;
}

.page-contact .commitment-section p {
  max-width: 800px;
  margin: 20px auto 40px auto;
  font-size: 1.1em;
  line-height: 1.8;
  color: #333;
}

.page-contact .commitment-section .cta-button {
  background-color: #000080; /* Deep Blue */
  color: #FFD700; /* Gold */
  border-color: #000080;
}

.page-contact .commitment-section .cta-button:hover {
  background-color: #FFD700; /* Gold */
  color: #000080; /* Deep Blue */
  border-color: #000080;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-contact h1 {
    font-size: 2.2em;
  }
  .page-contact h2 {
    font-size: 1.8em;
  }
  .page-contact .methods-grid, .page-contact .issues-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-contact section {
    padding: 40px 0;
  }
  .page-contact h1 {
    font-size: 1.8em;
  }
  .page-contact h2 {
    font-size: 1.6em;
  }
  .page-contact h3 {
    font-size: 1.4em;
  }
  .page-contact .hero-contact {
    padding: 60px 0;
  }
  .page-contact .hero-contact p {
    font-size: 1em;
  }
  .page-contact .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-contact .method-card p {
    min-height: auto;
  }
  .page-contact .contact-form {
    padding: 20px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 20px;
  }
  .page-contact .commitment-section {
    padding: 50px 0;
  }
}

@media (max-width: 480px) {
  .page-contact h1 {
    font-size: 1.5em;
  }
  .page-contact h2 {
    font-size: 1.4em;
  }
  .page-contact .methods-grid, .page-contact .issues-list {
    grid-template-columns: 1fr;
  }
  .page-contact .method-icon {
    width: 80px;
    height: 80px;
  }
  .page-contact .issue-icon {
    width: 50px;
    height: 50px;
  }
  .page-contact .form-group input,
  .page-contact .form-group textarea {
    font-size: 0.9em;
  }
  .page-contact .submit-button {
    font-size: 1em;
    padding: 10px 20px;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 18px;
  }
}