/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

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

.page-contact__section {
  padding: 60px 0;
}

.page-contact__section:nth-of-type(even) {
  background-color: #e9ecef;
}

.page-contact__title,
.page-contact__section-title {
  color: #007bff; /* Primary color */
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.5em;
  font-weight: bold;
}

.page-contact__subtitle,
.page-contact__section-description {
  color: #555;
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1em;
}

/* Hero Section */
.page-contact__hero {
  background: linear-gradient(135deg, #007bff, #0056b3); /* Darker blue for depth */
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-contact__hero-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin-top: 40px;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Info Cards Section */
.page-contact__info-cards {
  background-color: #f8f9fa;
}

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

.page-contact__card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.page-contact__icon-wrapper {
  margin-bottom: 20px;
}

.page-contact__icon {
  width: 60px;
  height: 60px;
  filter: drop-shadow(2px 2px 3px rgba(0,0,0,0.2));
}

.page-contact__card-title {
  color: #007bff; /* Primary color */
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-contact__card-text {
  color: #666;
  margin-bottom: 15px;
}

.page-contact__link {
  color: #ffc107; /* Secondary color */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-contact__link:hover {
  color: #e0a800; /* Darker secondary on hover */
}

/* Form Section */
.page-contact__form-section {
  background-color: #fff;
}

.page-contact__form {
  max-width: 700px;
  margin: 0 auto;
  padding: 30px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

.page-contact__label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: bold;
}

.page-contact__input,
.page-contact__textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
}

.page-contact__textarea {
  resize: vertical;
}

.page-contact__input:focus,
.page-contact__textarea:focus {
  border-color: #007bff; /* Primary color on focus */
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.page-contact__button {
  display: inline-block;
  background-color: #007bff; /* Primary color */
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
}

.page-contact__button:hover {
  background-color: #0056b3; /* Darker primary on hover */
  transform: translateY(-2px);
}

/* Call to Action Section */
.page-contact__cta-section {
  background: linear-gradient(90deg, #007bff, #ffc107); /* Gradient background */
  color: #fff;
  padding: 80px 0;
}

.page-contact__cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-contact__cta-text {
  margin-bottom: 40px;
  max-width: 800px;
}

.page-contact__cta-text .page-contact__section-title {
  color: #fff;
}

.page-contact__cta-text .page-contact__section-description {
  color: #e9ecef;
}

.page-contact__button--primary {
  background-color: #ffc107; /* Secondary color for CTA button */
  color: #333;
  border: 2px solid #ffc107;
}

.page-contact__button--primary:hover {
  background-color: #e0a800; /* Darker secondary on hover */
  color: #333;
  border-color: #e0a800;
}

.page-contact__button--large {
  padding: 15px 35px;
  font-size: 1.2em;
}

.page-contact__cta-image-wrapper {
  width: 100%;
  max-width: 600px;
}

.page-contact__cta-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-contact__faq-section {
  background-color: #f8f9fa;
}

.page-contact__faq-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.page-contact__faq-question {
  color: #007bff; /* Primary color */
  font-size: 1.3em;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px; /* Space for arrow */
}

.page-contact__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffc107; /* Secondary color */
}

.page-contact__faq-question.active::after {
  content: '-';
}

.page-contact__faq-answer {
  color: #555;
  font-size: 1em;
  display: none; /* Hidden by default */
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 10px;
}

.page-contact__faq-answer.active {
  display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-contact__title,
  .page-contact__section-title {
    font-size: 2em;
  }

  .page-contact__hero-image {
    margin-top: 20px;
  }

  .page-contact__grid {
    grid-template-columns: 1fr;
  }

  .page-contact__cta-content {
    flex-direction: column;
  }

  .page-contact__cta-text {
    margin-bottom: 30px;
  }

  .page-contact__cta-image-wrapper {
    margin-top: 20px;
  }

  .page-contact__button--large {
    padding: 12px 25px;
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-contact__title,
  .page-contact__section-title {
    font-size: 1.8em;
  }

  .page-contact__section {
    padding: 40px 0;
  }

  .page-contact__form {
    padding: 20px;
  }

  .page-contact__button {
    width: 100%;
  }
}