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

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

.page-contact__hero-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  color: #ffffff;
  background-size: cover;
  background-position: center;
  padding-top: var(--header-offset, 120px);
}

.page-contact__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.page-contact__hero-section .page-contact__container {
  position: relative;
  z-index: 1;
}

.page-contact__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

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

.page-contact__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

.page-contact__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  margin: 10px;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-contact__btn-primary:hover {
  background-color: #1a7fb0;
  border-color: #1a7fb0;
}

.page-contact__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-contact__btn-secondary:hover {
  background-color: #e0f2f7;
}

.page-contact__btn-full-width {
  width: 100%;
  margin: 10px 0;
}

.page-contact__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-contact__dark-bg .page-contact__section-title {
  color: #ffffff;
}

.page-contact__dark-bg .page-contact__text-block {
  color: #f0f0f0;
}

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

.page-contact__light-bg .page-contact__section-title {
  color: #26A9E0;
}

.page-contact__light-bg .page-contact__text-block {
  color: #333333;
}

/* Contact Info Section */
.page-contact__info-section {
  padding: 80px 0;
}

.page-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-contact__grid--reverse {
  grid-template-areas: "image content";
}

.page-contact__grid--reverse .page-contact__image-wrapper {
  grid-area: image;
}

.page-contact__grid--reverse .page-contact__form-container {
  grid-area: content;
}

.page-contact__info-block {
  text-align: left;
}

.page-contact__contact-details {
  margin-top: 30px;
  margin-bottom: 30px;
  padding-left: 20px;
}

.page-contact__detail-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-contact__detail-item a {
  color: #26A9E0;
  text-decoration: none;
}

.page-contact__detail-item a:hover {
  text-decoration: underline;
}

.page-contact__image-wrapper {
  text-align: center;
}

.page-contact__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

.page-contact__image--small-margin {
    margin-top: 20px;
}

/* Contact Form Section */
.page-contact__form-section {
  padding: 80px 0;
}

.page-contact__form-container {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  text-align: left;
}

.page-contact__form-container .page-contact__section-title {
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
}

.page-contact__form-container .page-contact__text-block {
  color: #333333;
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-contact__privacy-note {
  font-size: 0.9em;
  color: #555555;
  margin-top: 20px;
  text-align: center;
}

.page-contact__privacy-note a {
  color: #26A9E0;
  text-decoration: none;
}

.page-contact__privacy-note a:hover {
  text-decoration: underline;
}

/* Video Section */
.page-contact__video-section {
  padding: 80px 0;
  text-align: center;
}

.page-contact__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 40px auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-contact__video-link-wrapper {
    display: block;
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    cursor: pointer;
}

.page-contact__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-contact__video-overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.page-contact__video-link-wrapper:hover .page-contact__video-overlay-text {
    opacity: 0.8;
}

.page-contact__video-play-icon {
    font-size: 4em;
    margin-bottom: 10px;
}

.page-contact__video-cta-text {
    font-size: 1.5em;
    font-weight: bold;
}

.page-contact__video-caption {
  font-style: italic;
  color: #666666;
  margin-top: 20px;
}

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

.page-contact__cta-buttons--center {
  justify-content: center;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 80px 0;
}

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

.page-contact__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  color: #333333;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

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

.page-contact__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #26A9E0;
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

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

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

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 20px;
}

.page-contact__faq-answer p {
  margin-bottom: 10px;
  color: #555555;
}

.page-contact__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
}

.page-contact__faq-answer a:hover {
  text-decoration: underline;
}

/* CTA Banner */
.page-contact__cta-banner {
  padding: 60px 0;
  text-align: center;
}

.page-contact__cta-content {
  background-color: #f5f5f5;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.page-contact__cta-title {
  font-size: 2.2em;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-contact__cta-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #555555;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-contact__grid {
    grid-template-columns: 1fr;
  }
  .page-contact__grid--reverse {
    grid-template-areas: none;
  }
  .page-contact__grid--reverse .page-contact__image-wrapper,
  .page-contact__grid--reverse .page-contact__form-container {
    grid-area: auto;
  }
  .page-contact__hero-title {
    font-size: 2.5em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__cta-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 60px 0;
    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__text-block {
    font-size: 1em;
  }
  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__video-section,
  .page-contact__faq-section,
  .page-contact__cta-banner {
    padding: 40px 0;
  }
  .page-contact__container {
    padding: 0 15px;
  }

  /* Images and Videos */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact__image-wrapper,
  .page-contact__video-wrapper,
  .page-contact__video-link-wrapper,
  .page-contact__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-contact__video-wrapper {
    margin: 20px auto;
  }

  /* Buttons */
  .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;
    margin: 5px 0 !important;
  }
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-contact__form-container {
    padding: 25px;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    width: 100%;
  }
  .page-contact__faq-question {
    padding: 15px;
  }
  .page-contact__faq-title {
    font-size: 1.1em;
  }
  .page-contact__faq-answer {
    padding: 15px;
  }
}