/* style/contact.css */
.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #f8f9fa;
}

.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-contact__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 550px;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

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

.page-contact__hero-section .page-contact__container {
  position: relative;
  z-index: 1;
  padding: 40px 15px;
}

.page-contact__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

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

.page-contact__info-section,
.page-contact__form-section,
.page-contact__faq-section,
.page-contact__map-section,
.page-contact__cta-section {
  padding: 60px 0;
}

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

.page-contact__info-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-contact__info-card:hover {
  transform: translateY(-5px);
}

.page-contact__info-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-contact__info-heading {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-contact__info-text {
  font-size: 1em;
  color: #666666;
  margin-bottom: 5px;
}

.page-contact__info-link {
  color: #ffc107;
  text-decoration: none;
  font-weight: bold;
}

.page-contact__info-link:hover {
  text-decoration: underline;
}

.page-contact__form-section {
  background-color: #007bff;
  color: #ffffff;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 0;
}

.page-contact__form-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.page-contact__form-section .page-contact__section-title {
  color: #ffffff;
}

.page-contact__form-section .page-contact__section-description {
  color: #f0f0f0;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 40px auto 0;
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #0056b3;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.9);
  color: #333333;
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-contact__form-textarea {
  resize: vertical;
}

.page-contact__btn-primary {
  display: inline-block;
  background-color: #ffc107;
  color: #000000;
  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.3s ease;
  text-decoration: none;
  text-align: center;
}

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

.page-contact__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #007bff;
  padding: 12px 25px;
  border: 2px solid #007bff;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  text-align: center;
  margin-left: 15px;
}

.page-contact__btn-secondary:hover {
  background-color: #007bff;
  color: #ffffff;
  transform: translateY(-2px);
}

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

.page-contact__faq-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #f9f9f9;
  transition: background-color 0.3s ease;
}

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

.page-contact__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  transition: transform 0.3s ease;
  color: #007bff;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  transform: rotate(45deg);
  color: #ffc107;
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px;
}

.page-contact__faq-answer p {
  margin: 0;
}

.page-contact__map-embed {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #e0e0e0;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__map-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.page-contact__cta-section {
  background-color: #007bff;
  color: #ffffff;
  text-align: center;
}

.page-contact__cta-section .page-contact__section-title {
  color: #ffffff;
}

.page-contact__cta-section .page-contact__section-description {
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-contact__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* Color contrast classes */
.page-contact__dark-bg {
  background-color: #007bff;
  color: #ffffff;
}

.page-contact__light-bg {
  background-color: #f8f9fa;
  color: #333333;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-contact__hero-title {
    font-size: 2.5em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__info-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__btn-secondary {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-contact__hero-title {
    font-size: 2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__section-description {
    font-size: 0.95em;
  }
  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__map-section,
  .page-contact__cta-section {
    padding: 40px 0;
  }
  .page-contact__contact-form {
    margin-top: 20px;
    padding: 20px;
  }
  .page-contact__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-contact__faq-answer {
    padding: 0 20px;
  }
  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 10px 20px 20px;
  }
  
  /* Image responsive rules */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact__section,
  .page-contact__card,
  .page-contact__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Button responsive rules */
  .page-contact__cta-button,
  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .page-contact a[class*="button"],
  .page-contact a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact__cta-buttons,
  .page-contact__button-group,
  .page-contact__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column !important;
  }

  /* Video responsive rules */
  .page-contact video,
  .page-contact__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact__video-section,
  .page-contact__video-container,
  .page-contact__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}