.page-contact {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #343a40;
  --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 20px;
}

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

.page-contact section:nth-of-type(odd) {
  background-color: var(--bg-light);
}

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

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

.page-contact h2 {
  font-size: 2.2em;
  color: var(--primary-color);
}

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

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

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

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

.page-contact .cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--secondary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact .cta-button:hover {
  background: #e0a800; /* Darker secondary for hover */
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-contact .btn-small {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: 10px;
}

.page-contact .btn-small:hover {
  background: #0056b3; /* Darker primary for hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-contact .text-center {
  text-align: center;
}

/* 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: 80px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%); /* Darker blue gradient */
  color: var(--text-color-light);
}

.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%;
  margin-bottom: 30px;
}

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

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

.page-contact .hero-content h1 {
  color: var(--text-color-light);
  font-size: 3.5em;
  margin-bottom: 25px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-contact .hero-content p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: rgba(255, 255, 255, 0.9);
}

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

.page-contact .hero-content a:hover {
  color: var(--text-color-light);
}

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

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

.page-contact .method-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact .method-card .method-icon {
  width: 180px; /* Increased size */
  height: 180px; /* Increased size */
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 8px;
}

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

.page-contact .method-card h3 a {
  color: var(--primary-color);
}

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

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

/* When to Contact Section */
.page-contact .when-to-contact-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-contact .reason-item {
  background-color: var(--bg-light);
  border-left: 5px solid var(--primary-color);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  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.12);
}

.page-contact .reason-item h3 {
  font-size: 1.5em;
  color: var(--primary-color);
  text-align: left;
  margin-bottom: 10px;
}

.page-contact .reason-item p {
  font-size: 1em;
  color: var(--text-color-dark);
  text-align: justify;
}

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

.page-contact .commitment-section h2 {
  color: var(--secondary-color);
}

.page-contact .commitment-section p {
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

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

.page-contact .commitment-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.page-contact .commitment-item .commitment-icon {
  width: 150px; /* Increased size */
  height: 150px; /* Increased size */
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 8px;
}

.page-contact .commitment-item h3 {
  color: var(--secondary-color);
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-contact .commitment-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95em;
  text-align: center;
}

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

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

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

.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;
  font-size: 1.3em;
  color: var(--primary-color);
  text-align: left;
  flex-grow: 1;
}

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

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

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to accommodate content */
  padding: 20px 25px;
  background: #f9f9f9;
}

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

.faq-answer p {
  margin: 0;
  text-align: justify;
}

/* Community Section */
.page-contact .community-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-contact .community-section p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

.page-contact .channel-item {
  background-color: var(--bg-light);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact .channel-item .channel-icon {
  width: 150px; /* Increased size */
  height: 150px; /* Increased size */
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 8px;
}

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

.page-contact .channel-item p {
  font-size: 1em;
  color: var(--text-color-dark);
  margin-bottom: 20px;
}

.page-contact .final-call-to-action {
  font-size: 1.3em;
  font-weight: bold;
  margin-top: 60px;
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-contact h1 {
    font-size: 2.5em;
  }
  .page-contact h2 {
    font-size: 2em;
  }
  .page-contact .method-cards, .page-contact .contact-reasons, .page-contact .commitment-grid, .page-contact .community-channels {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-contact section {
    padding: 40px 0;
  }
  .page-contact h1 {
    font-size: 2em;
  }
  .page-contact h2 {
    font-size: 1.8em;
  }
  .page-contact h3 {
    font-size: 1.4em;
  }
  .page-contact .hero-content p {
    font-size: 1em;
  }
  .page-contact .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-contact .method-card, .page-contact .reason-item, .page-contact .commitment-item, .page-contact .channel-item {
    padding: 20px;
  }
  .page-contact .method-card .method-icon, .page-contact .commitment-item .commitment-icon, .page-contact .channel-item .channel-icon {
    width: 120px; /* Adjusted size for mobile */
    height: 120px; /* Adjusted size for mobile */
  }
  .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: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-contact .container {
    padding: 0 15px;
  }
  .page-contact h1 {
    font-size: 1.8em;
  }
  .page-contact h2 {
    font-size: 1.6em;
  }
  .page-contact h3 {
    font-size: 1.2em;
  }
  .page-contact .hero-image img {
    border-radius: 8px;
  }
  .page-contact .method-cards, .page-contact .contact-reasons, .page-contact .commitment-grid, .page-contact .community-channels {
    grid-template-columns: 1fr;
  }
  .page-contact .method-card .method-icon, .page-contact .commitment-item .commitment-icon, .page-contact .channel-item .channel-icon {
    width: 100px; /* Adjusted size for smaller mobile */
    height: 100px; /* Adjusted size for smaller mobile */
  }
}