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

.page-contact-us .contact-hero-section {
  position: relative;
  width: 100%;
  height: 450px; /* Adjusted height for contact page */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
  padding: 20px;
}

.page-contact-us .contact-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-contact-us .contact-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 123, 255, 0.7), rgba(255, 193, 7, 0.7)); /* Primary and secondary colors */
  z-index: 2;
}

.page-contact-us .contact-hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
}

.page-contact-us .contact-hero-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact-us .contact-hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #eee;
}

.page-contact-us .contact-hero-button {
  display: inline-block;
  padding: 15px 35px;
  background-color: var(--secondary-color); /* #ffc107 */
  color: #000; /* Ensure high contrast */
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact-us .contact-hero-button:hover {
  background-color: #e0a800; /* Darker secondary */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-contact-us .contact-methods-section,
.page-contact-us .contact-form-section,
.page-contact-us .faq-section,
.page-contact-us .call-to-action-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-contact-us .contact-methods-section {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-top: -80px;
  position: relative;
  z-index: 4;
}

.page-contact-us .contact-methods-title,
.page-contact-us .contact-form-title,
.page-contact-us .faq-main-title,
.page-contact-us .cta-title {
  text-align: center;
  font-size: 2.2em;
  margin-bottom: 20px;
  color: var(--primary-color); /* #007bff */
  font-weight: bold;
}

.page-contact-us .contact-methods-intro,
.page-contact-us .contact-form-description,
.page-contact-us .faq-intro-text,
.page-contact-us .cta-description {
  text-align: center;
  font-size: 1.1em;
  color: #555;
  margin-bottom: 40px;
}

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

.page-contact-us .contact-method-card {
  background-color: #fefefe;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact-us .contact-method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-contact-us .contact-method-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-contact-us .contact-method-name {
  font-size: 1.6em;
  color: var(--primary-color); /* #007bff */
  margin-bottom: 15px;
}

.page-contact-us .contact-method-description {
  font-size: 1em;
  color: #666;
  margin-bottom: 20px;
}

.page-contact-us .contact-method-info {
  font-size: 1.1em;
  font-weight: bold;
  color: #444;
  margin-bottom: 10px;
}

.page-contact-us .contact-method-info a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-contact-us .contact-method-info a:hover {
  text-decoration: underline;
}

.page-contact-us .contact-method-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--secondary-color); /* #ffc107 */
  color: #000; /* Ensure high contrast */
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1em;
  margin-top: 15px;
  transition: all 0.3s ease;
}

.page-contact-us .contact-method-button:hover {
  background-color: #e0a800;
  transform: scale(1.05);
}

.page-contact-us .social-links {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.page-contact-us .social-links li {
  display: inline-block;
  margin: 0 10px;
}

.page-contact-us .social-links li a {
  color: var(--primary-color);
  font-size: 1.1em;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-contact-us .social-links li a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-contact-us .contact-form-section {
  background-color: #f0f5fa;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-contact-us .contact-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 30px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

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

.page-contact-us .form-group input,
.page-contact-us .form-group textarea {
  width: calc(100% - 20px);
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  color: #555;
  transition: border-color 0.3s ease;
}

.page-contact-us .form-group input:focus,
.page-contact-us .form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

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

.page-contact-us .submit-button {
  display: block;
  width: 100%;
  padding: 15px;
  background-color: var(--primary-color); /* #007bff */
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact-us .submit-button:hover {
  background-color: #0056b3; /* Darker primary */
  transform: translateY(-2px);
}

.page-contact-us .faq-section {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-contact-us .faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

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

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

.page-contact-us .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #333;
}

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

.page-contact-us .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  background: #f9f9f9;
  color: #555;
}

.page-contact-us .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px;
  border-top: 1px solid #eee;
}

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

.page-contact-us .faq-answer p {
  margin-bottom: 10px;
}

.page-contact-us .faq-answer .faq-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--secondary-color);
  color: #000; /* Ensure high contrast */
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.95em;
  font-weight: bold;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.page-contact-us .faq-answer .faq-button:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.page-contact-us .call-to-action-section {
  background: linear-gradient(135deg, var(--primary-color), #0056b3);
  color: #fff;
  padding: 80px 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  margin-bottom: 40px;
}

.page-contact-us .call-to-action-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.page-contact-us .cta-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-contact-us .cta-content {
  text-align: center;
}

.page-contact-us .cta-title {
  color: #fff;
  font-size: 2.5em;
  margin-bottom: 15px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-contact-us .cta-description {
  color: #e0e0e0;
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-contact-us .cta-button {
  display: inline-block;
  padding: 18px 45px;
  background-color: var(--secondary-color); /* #ffc107 */
  color: #000; /* Ensure high contrast */
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.3em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-contact-us .cta-button:hover {
  background-color: #e0a800;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-contact-us .contact-hero-title {
    font-size: 2.2em;
  }
  .page-contact-us .contact-hero-description {
    font-size: 1.1em;
  }
  .page-contact-us .contact-hero-section {
    height: 400px;
  }
  .page-contact-us .contact-methods-title,
  .page-contact-us .contact-form-title,
  .page-contact-us .faq-main-title,
  .page-contact-us .cta-title {
    font-size: 2em;
  }
  .page-contact-us .cta-button {
    padding: 15px 35px;
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-contact-us .contact-hero-section {
    height: 350px;
    padding: 15px;
  }
  .page-contact-us .contact-hero-title {
    font-size: 1.8em;
  }
  .page-contact-us .contact-hero-description {
    font-size: 1em;
  }
  .page-contact-us .contact-hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-contact-us .contact-methods-section,
  .page-contact-us .contact-form-section,
  .page-contact-us .faq-section,
  .page-contact-us .call-to-action-section {
    padding: 40px 15px;
  }
  .page-contact-us .contact-method-grid {
    grid-template-columns: 1fr;
  }
  .page-contact-us .contact-method-card {
    padding: 25px;
  }
  .page-contact-us .contact-form {
    padding: 20px;
  }
  .page-contact-us .form-group input,
  .page-contact-us .form-group textarea {
    width: calc(100% - 24px); /* Adjust for padding */
  }
  .page-contact-us .faq-question h3 {
    font-size: 1.1em;
  }
  .page-contact-us .faq-toggle {
    font-size: 20px;
  }
  .page-contact-us .faq-answer {
    padding: 0 15px;
  }
  .page-contact-us .faq-item.active .faq-answer {
    padding: 15px;
  }
  .page-contact-us .cta-title {
    font-size: 2em;
  }
  .page-contact-us .cta-description {
    font-size: 1em;
  }
  .page-contact-us .call-to-action-section {
    padding: 60px 15px;
  }
  .page-contact-us .call-to-action-container {
    flex-direction: column;
  }
  .page-contact-us .cta-image {
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .page-contact-us .contact-hero-section {
    height: 300px;
  }
  .page-contact-us .contact-hero-title {
    font-size: 1.5em;
  }
  .page-contact-us .contact-hero-description {
    font-size: 0.9em;
  }
  .page-contact-us .contact-methods-title,
  .page-contact-us .contact-form-title,
  .page-contact-us .faq-main-title,
  .page-contact-us .cta-title {
    font-size: 1.8em;
  }
  .page-contact-us .contact-method-name {
    font-size: 1.4em;
  }
  .page-contact-us .faq-question h3 {
    font-size: 1em;
  }
  .page-contact-us .cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}