/* style/contact.css */
.page-contact {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

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

/* Hero Section */
.page-contact__hero {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FFFFFF;
  overflow: hidden;
}

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

.page-contact__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 51, 102, 0.75); /* #003366 with transparency */
  z-index: 2;
}

.page-contact__hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 20px;
}

.page-contact__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFCC00; /* Gold for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 700;
}

.page-contact__hero-description {
  font-size: 1.2em;
  line-height: 1.8;
}

/* General Section Styling */
.page-contact__section-title {
  font-size: 2.5em;
  color: #003366;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 60px;
  font-weight: 700;
}

.page-contact__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555555;
}

/* Contact Methods Section */
.page-contact__methods {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-contact__method-card {
  background-color: #003366;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__method-icon {
  font-size: 3.5em;
  margin-bottom: 15px;
}

.page-contact__method-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #FFCC00;
  font-weight: 600;
}

.page-contact__method-text {
  font-size: 1em;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-contact__btn {
  display: inline-block;
  background-color: #FFCC00;
  color: #003366;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

.page-contact__btn:hover {
  background-color: #e6b800;
  transform: translateY(-2px);
}

/* Contact Form Section */
.page-contact__form-section {
  padding: 60px 0;
  background-color: #f0f4f7;
}

.page-contact__form-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

.page-contact__form-image-container {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  text-align: center;
}

.page-contact__form-illustration {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__form {
  flex: 2;
  min-width: 300px;
  max-width: 600px;
  background-color: #FFFFFF;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-contact__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #003366;
  font-size: 1em;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
  color: #333333;
  background-color: #ffffff;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #999999;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #FFCC00;
  outline: none;
  box-shadow: 0 0 5px rgba(255, 204, 0, 0.5);
}

.page-contact__submit-btn {
  width: 100%;
  background-color: #003366;
  color: #FFFFFF;
  padding: 15px;
  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__submit-btn:hover {
  background-color: #002244;
  transform: translateY(-2px);
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-contact__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-contact__faq-question {
  font-size: 1.3em;
  color: #003366;
  padding: 20px;
  cursor: pointer;
  position: relative;
  padding-right: 50px; /* Space for icon */
  font-weight: 600;
  background-color: #e6eef5; /* Lighter blue for question background */
  transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
  background-color: #d9e3ed;
}

.page-contact__faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FFCC00;
  transition: transform 0.3s ease;
}

.page-contact__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(0deg); /* No rotation for minus */
}

.page-contact__faq-answer {
  font-size: 1em;
  color: #555555;
  max-height: 0; /* Hidden by default */
  opacity: 0;
  padding: 0 20px; /* Initial padding 0 */
  margin-top: 0;
  border-top: 0px solid transparent;
  transition: max-height 0.4s ease-out, opacity 0.4s ease-out, padding 0.4s ease-out, margin-top 0.4s ease-out, border-top 0.4s ease-out;
}

.page-contact__faq-answer.active {
  max-height: 500px; /* Sufficiently large to cover content */
  opacity: 1;
  padding: 20px;
  margin-top: 10px;
  border-top: 1px solid #eeeeee;
}

.page-contact__faq-more {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: #555555;
}

.page-contact__text-link {
  color: #003366;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-contact__text-link:hover {
  color: #FFCC00;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-contact__hero-title {
    font-size: 3em;
  }
  .page-contact__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-contact__hero {
    height: 350px;
  }
  .page-contact__hero-title {
    font-size: 2.5em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__method-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__form-wrapper {
    flex-direction: column;
  }
  .page-contact__form-image-container, .page-contact__form {
    max-width: 100%;
  }
  .page-contact__form {
    padding: 30px;
  }
  .page-contact__faq-question {
    font-size: 1.2em;
  }
}

@media (max-width: 480px) {
  .page-contact__hero {
    height: 300px;
  }
  .page-contact__hero-title {
    font-size: 2em;
  }
  .page-contact__hero-description {
    font-size: 0.9em;
  }
  .page-contact__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-contact__form {
    padding: 20px;
  }
  .page-contact__form-label {
    font-size: 0.95em;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 10px;
  }
  .page-contact__submit-btn {
    font-size: 1em;
  }
  .page-contact__faq-question {
    font-size: 1.1em;
  }
  .page-contact__faq-answer {
    padding: 15px;
  }
}