.page-contact {
  --primary-color: #007bff;
  --secondary-color: #dc3545;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f8f9fa;
  --background-dark: #212529;
  --border-color: #e0e0e0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
}

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

.page-contact .section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact .section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-color-dark);
}

.page-contact .link-text {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-contact .link-text:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

/* Hero Section */
.page-contact .hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
  color: var(--text-color-light);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-contact .hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-contact .hero-content {
  position: relative;
  z-index: 2;
  margin-bottom: 40px;
}

.page-contact .hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-color-light);
}

.page-contact .hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

.page-contact .cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--text-color-light);
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact .cta-button:hover {
  background-color: #bd2130;
  transform: translateY(-3px);
}

.page-contact .hero-image {
  width: 100%;
  max-width: 800px;
  margin-top: 40px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-contact .hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

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

.page-contact .method-card {
  background-color: var(--text-color-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-contact .method-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-contact .method-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  display: block;
  object-fit: contain;
}

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

.page-contact .method-text {
  font-size: 1.05em;
  color: var(--text-color-dark);
  margin-bottom: 20px;
}

.page-contact .method-info {
  font-size: 1.1em;
  font-weight: bold;
  color: var(--secondary-color);
  margin-top: 15px;
}

.page-contact .btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--text-color-light);
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: auto; /* Push button to bottom */
  transition: background-color 0.3s ease;
}

.page-contact .btn-primary:hover {
  background-color: #0056b3;
}

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

.page-contact .contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--background-light);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

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

.page-contact .form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
}

.page-contact .form-control:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

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

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

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

/* When to Contact Section */
.page-contact .when-to-contact-section {
  padding: 80px 0;
  background-color: var(--background-light);
}

.page-contact .contact-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}

.page-contact .list-item {
  background-color: var(--text-color-light);
  margin-bottom: 15px;
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  font-size: 1.1em;
  line-height: 1.8;
  border-left: 5px solid var(--primary-color);
}

.page-contact .list-item strong {
  color: var(--primary-color);
}

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

.page-contact .commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

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

.page-contact .commitment-item:hover {
  transform: translateY(-8px);
}

.page-contact .commitment-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-contact .commitment-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-contact .commitment-text {
  font-size: 1.05em;
  color: var(--text-color-dark);
}

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

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

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  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: var(--text-color-light);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--primary-color);
}

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background: #f9f9f9;
  padding: 0 25px;
  color: var(--text-color-dark);
}

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

.faq-answer p {
  margin: 0;
  padding-top: 10px;
  line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-contact .hero-title {
    font-size: 2.8em;
  }
  .page-contact .hero-description {
    font-size: 1.1em;
  }
  .page-contact .section-title {
    font-size: 2em;
  }
  .page-contact .section-description {
    font-size: 1em;
  }
  .page-contact .methods-grid, .page-contact .commitment-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-contact .list-item {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-contact .hero-section {
    padding: 60px 0;
  }
  .page-contact .hero-title {
    font-size: 2.2em;
  }
  .page-contact .hero-description {
    font-size: 1em;
  }
  .page-contact .cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }
  .page-contact .contact-methods-section, .page-contact .contact-form-section, .page-contact .when-to-contact-section, .page-contact .commitment-section, .page-contact .faq-section {
    padding: 60px 0;
  }
  .page-contact .section-title {
    font-size: 1.8em;
  }
  .page-contact .method-card, .page-contact .commitment-item {
    padding: 20px;
  }
  .page-contact .method-title, .page-contact .commitment-title {
    font-size: 1.5em;
  }
  .page-contact .form-group {
    margin-bottom: 20px;
  }
  .page-contact .form-label {
    font-size: 1em;
  }
  .page-contact .form-control, .page-contact .btn-submit {
    padding: 10px;
    font-size: 1em;
  }
  .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: 10px 20px 20px;
  }
}

@media (max-width: 480px) {
  .page-contact .hero-title {
    font-size: 1.8em;
  }
  .page-contact .hero-description {
    font-size: 0.9em;
  }
  .page-contact .cta-button {
    padding: 10px 25px;
    font-size: 1em;
  }
  .page-contact .section-title {
    font-size: 1.5em;
  }
  .page-contact .methods-grid, .page-contact .commitment-grid {
    grid-template-columns: 1fr;
  }
  .page-contact .method-icon, .page-contact .commitment-icon {
    width: 80px;
    height: 80px;
  }
  .page-contact .method-title, .page-contact .commitment-title {
    font-size: 1.3em;
  }
  .page-contact .list-item {
    padding: 15px;
    font-size: 0.95em;
  }
  .page-contact .contact-form {
    padding: 25px;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 18px;
  }
}