/* style/contact.css */

:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Deep Red */
  --text-dark: #212121;
  --text-light: #ffffff;
  --background-light: #f9f9f9;
  --background-white: #ffffff;
  --border-color: #e0e0e0;
}

.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-white);
}

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

.page-contact .main-heading {
  font-size: 3.2em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
  line-height: 1.2;
}

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

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

.page-contact .introduction-section {
  padding: 60px 0;
  background-color: var(--background-light);
  border-bottom: 5px solid var(--primary-color);
}

.page-contact .cta-button {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
  padding: 15px 35px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-contact .cta-button:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-contact .secondary-cta {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-contact .secondary-cta:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-contact .contact-methods-section {
  padding: 80px 0;
  background-color: var(--background-white);
}

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

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

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

.page-contact .card-image {
  width: 100%;
  max-width: 250px; /* Ensure images are not too small */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-contact .card-title {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

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

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

.page-contact .email-link:hover {
  color: var(--primary-color);
}

.page-contact .card-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.95em;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-contact .card-button:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-contact .contact-form-section {
  padding: 80px 0;
  background-color: var(--background-light);
}

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

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

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

.page-contact .form-input,
.page-contact .form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1em;
  color: var(--text-dark);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.page-contact .form-input:focus,
.page-contact .form-textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

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

.page-contact .submit-button {
  display: block;
  width: 100%;
  padding: 15px 20px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-contact .submit-button:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-contact .faq-section {
  padding: 80px 0;
  background-color: var(--background-white);
}

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

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

.page-contact .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--background-white);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-contact .faq-question:hover {
  background: var(--background-light);
}

.page-contact .faq-question h3 {
  font-size: 1.2em;
  color: var(--text-dark);
  margin: 0;
  flex-grow: 1;
  text-align: left;
}

.page-contact .faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  margin-left: 15px;
}

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

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

.page-contact .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to show content */
  padding: 25px;
  border-top: 1px solid var(--border-color);
}

.page-contact .faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.7;
}

.page-contact .commitment-section {
  padding: 80px 0;
  background-color: var(--background-light);
  border-top: 5px solid var(--primary-color);
}

.page-contact .commitment-list {
  max-width: 900px;
  margin: 40px auto;
  list-style: none;
  padding: 0;
  text-align: left;
}

.page-contact .commitment-list li {
  background-color: var(--background-white);
  padding: 20px 30px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.05em;
  color: var(--text-dark);
  border-left: 5px solid var(--primary-color);
  transition: transform 0.2s ease;
}

.page-contact .commitment-list li:hover {
  transform: translateX(5px);
}

.page-contact .commitment-list li strong {
  color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact .main-heading {
    font-size: 2.8em;
  }

  .page-contact .section-heading {
    font-size: 2.2em;
  }

  .page-contact .method-cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-contact .main-heading {
    font-size: 2.2em;
  }

  .page-contact .section-heading {
    font-size: 1.8em;
  }

  .page-contact .intro-paragraph,
  .page-contact .section-description {
    font-size: 1em;
  }

  .page-contact .cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }

  .page-contact .card {
    padding: 25px;
  }

  .page-contact .card-title {
    font-size: 1.4em;
  }

  .page-contact .card-button {
    font-size: 0.9em;
    padding: 8px 15px;
  }

  .page-contact .contact-form {
    padding: 30px;
  }

  .page-contact .form-label {
    font-size: 1em;
  }

  .page-contact .form-input,
  .page-contact .form-textarea {
    padding: 10px 12px;
    font-size: 0.95em;
  }

  .page-contact .submit-button {
    font-size: 1.1em;
    padding: 12px 15px;
  }

  .page-contact .faq-question {
    padding: 15px 20px;
  }

  .page-contact .faq-question h3 {
    font-size: 1.1em;
  }

  .page-contact .faq-toggle {
    font-size: 1.5em;
  }

  .page-contact .faq-answer {
    padding: 0 20px;
  }

  .page-contact .faq-item.active .faq-answer {
    padding: 20px;
  }

  .page-contact .commitment-list li {
    padding: 15px 20px;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-contact .main-heading {
    font-size: 1.8em;
  }

  .page-contact .section-heading {
    font-size: 1.6em;
  }

  .page-contact .cta-button {
    font-size: 1em;
    padding: 10px 20px;
  }

  .page-contact .method-cards {
    grid-template-columns: 1fr;
  }

  .page-contact .contact-form {
    padding: 20px;
  }

  .page-contact .faq-question h3 {
    font-size: 1em;
  }

  .page-contact .faq-toggle {
    font-size: 1.3em;
  }
}