.page-contact__hero-section {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.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, 0, 0, 0.5);
  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;
  line-height: 1.2;
  color: #ffffff;
}

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-contact__btn-primary {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

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

.page-contact__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #26A9E0;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #26A9E0;
  cursor: pointer;
  font-size: 1em;
  margin-left: 15px;
}

.page-contact__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

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

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

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

.page-contact__section-description {
  font-size: 1.1em;
  color: #333333;
  text-align: center;
  margin-bottom: 50px;
  line-height: 1.6;
}

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

.page-contact__why-contact-section {
  background-color: #ffffff;
  color: #333333;
}

.page-contact__grid-container {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-contact__text-block {
  flex: 1;
}

.page-contact__text-block p {
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 1.05em;
}

.page-contact__reasons-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-contact__reasons-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%2326A9E0" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  line-height: 1.5;
  font-size: 1.05em;
}

.page-contact__reasons-list li strong {
  color: #26A9E0;
}

.page-contact__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-contact__image-responsive {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-contact__form-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-contact__form-container {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.page-contact__contact-form {
  flex: 1;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px 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: #333333;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #26A9E0;
  outline: none;
}

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

.page-contact__form-submit-btn {
  width: auto;
  padding: 15px 40px;
  font-size: 1.1em;
  background-color: #EA7C07; /* Login button color */
}

.page-contact__form-submit-btn:hover {
  background-color: #d16e06;
}

.page-contact__form-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-contact__info-section {
  background-color: #f8f8f8;
  color: #333333;
}

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

.page-contact__method-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-contact__method-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-contact__method-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
}

.page-contact__method-link {
  display: inline-block;
  color: #EA7C07; /* Login button color for links */
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-contact__method-link:hover {
  color: #d16e06;
}

.page-contact__method-address {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  font-style: italic;
}

.page-contact__operating-hours {
  margin-top: 60px;
  text-align: center;
  padding: 30px;
  background-color: #eaf7fd;
  border-radius: 12px;
}

.page-contact__operating-hours-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-contact__operating-hours-text {
  font-size: 1.1em;
  line-height: 1.6;
  color: #555555;
}

.page-contact__social-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.page-contact__social-icon-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.page-contact__social-icon-link:hover {
  transform: translateY(-5px);
}

.page-contact__social-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-contact__social-text {
  font-size: 1.1em;
  font-weight: bold;
}

.page-contact__video-section {
  background-color: #f8f8f8;
  padding: 60px 20px;
  text-align: center;
}

.page-contact__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 40px auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-contact__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  cursor: pointer;
}

.page-contact__video-cta {
  font-size: 1.1em;
  color: #555555;
  margin-top: 30px;
  line-height: 1.6;
}

.page-contact__faq-section {
  background-color: #ffffff;
  color: #333333;
}

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

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

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #f5f5f5;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

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

.page-contact__faq-toggle {
  font-size: 1.8em;
  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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #ffffff;
  color: #555555;
}

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

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

.page-contact__text-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-contact__text-link:hover {
  color: #1e87c0;
}

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

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 3em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__grid-container,
  .page-contact__form-container {
    flex-direction: column;
    gap: 30px;
  }
  .page-contact__text-block,
  .page-contact__image-block,
  .page-contact__contact-form,
  .page-contact__form-image-wrapper {
    flex: none;
    width: 100%;
  }
  .page-contact__method-card {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    min-height: 400px;
  }
  .page-contact__hero-title {
    font-size: 2.2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__content-area {
    padding: 40px 15px;
  }
  .page-contact__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-contact__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    padding: 12px 25px;
    font-size: 0.95em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-contact__btn-secondary {
    margin-left: 0;
    margin-top: 15px;
  }
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 10px 12px;
    font-size: 0.9em;
  }
  .page-contact__form-submit-btn {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-contact__contact-methods {
    grid-template-columns: 1fr;
  }
  .page-contact__social-links {
    gap: 20px;
  }
  .page-contact__social-icon {
    width: 50px;
    height: 50px;
  }
  .page-contact__social-text {
    font-size: 1em;
  }
  .page-contact__video-wrapper {
    margin: 20px auto;
  }
  .page-contact__faq-question {
    padding: 15px 20px;
  }
  .page-contact__faq-title {
    font-size: 1.1em;
  }
  .page-contact__faq-toggle {
    font-size: 1.5em;
  }
  .page-contact__faq-answer {
    padding: 15px 20px;
  }
  /* Mobile specific image and video responsive rules */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__hero-section,
  .page-contact__why-contact-section,
  .page-contact__form-section,
  .page-contact__info-section,
  .page-contact__social-section,
  .page-contact__video-section,
  .page-contact__faq-section,
  .page-contact__cta-section,
  .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; /* Ensure no overflow */
  }
  .page-contact video,
  .page-contact__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Apply offset to video section if it's the first element */
  }
  .page-contact__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__hero-description {
    font-size: 0.9em;
  }
  .page-contact__section-title {
    font-size: 1.5em;
  }
  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    font-size: 0.9em;
    padding: 10px 20px;
  }
  .page-contact__faq-title {
    font-size: 1em;
  }
  .page-contact__faq-question {
    padding: 12px 15px;
  }
  .page-contact__faq-answer {
    padding: 12px 15px;
  }
}