.page-contact__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
}

.page-contact__hero-image-wrapper {
  width: 100%;
  height: auto;
  max-height: 80vh;
  overflow: hidden;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-contact__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up slightly over image for visual appeal, but not overlapping text */
  background: rgba(255, 255, 255, 0.95); /* Semi-transparent white background for text readability */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 10;
  position: relative;
}

.page-contact__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 1.1rem;
  color: #333333;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-contact__hero-cta {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

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

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

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

.page-contact__section-title--light {
  color: #FFFFFF;
}

.page-contact__section-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333333;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px auto;
}

.page-contact__section-text--light {
  color: #f0f0f0;
}

.page-contact__intro-section {
  background: #FFFFFF;
}

.page-contact__contact-methods {
  background: #26A9E0;
}

.page-contact__method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.page-contact__method-card {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

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

.page-contact__method-description {
  font-size: 1rem;
  color: #555555;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.page-contact__social-link {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #26A9E0;
  color: #26A9E0;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-weight: 600;
}

.page-contact__social-link:hover {
  background: #26A9E0;
  color: #FFFFFF;
}

.page-contact__contact-form-section {
  background: #f8f8f8;
}

.page-contact__form {
  max-width: 700px;
  margin: 40px auto 0 auto;
  background: #FFFFFF;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 1rem;
  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;
  min-height: 120px;
}

.page-contact__form-submit {
  width: 100%;
  padding: 15px 20px;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-contact__office-info {
  background: #FFFFFF;
}

.page-contact__flex-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

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

.page-contact__map-placeholder {
  flex: 1;
  min-height: 450px;
  background: #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__office-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-contact__address-details {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.8;
  color: #555555;
  margin-top: 30px;
  text-align: left;
}

.page-contact__address-details strong {
  color: #333333;
}

.page-contact__faq-section {
  background: #f8f8f8;
}

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

details.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-contact__faq-item summary.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-contact__faq-item summary.page-contact__faq-question::-webkit-details-marker {
  display: none;
}
details.page-contact__faq-item summary.page-contact__faq-question:hover {
  background: #f5f5f5;
}
.page-contact__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-contact__faq-item .page-contact__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

.page-contact__why-choose-sowin {
  background: #26A9E0;
}

.page-contact__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary {
  background: #EA7C07; /* Login color for primary CTA */
  color: #FFFFFF;
  border: 2px solid transparent;
}

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

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

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

/* General button styling for form submit */
.page-contact__form-submit {
  background: #26A9E0;
  color: #FFFFFF;
}

.page-contact__form-submit:hover {
  background: #1e87b9;
  transform: translateY(-2px);
}

/* Global image responsiveness */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
  .page-contact__hero-content {
    margin-top: -80px;
    padding: 30px 20px;
  }
  .page-contact__section-padding {
    padding: 60px 0;
  }
  .page-contact__section-title {
    font-size: 2rem;
  }
  .page-contact__method-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .page-contact__flex-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .page-contact__map-placeholder {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding-top: 10px !important;
  }
  .page-contact__hero-image-wrapper {
    max-height: 60vh;
  }
  .page-contact__hero-image {
    object-fit: contain !important; /* Specific for banner, as per prompt */
  }
  .page-contact__hero-content {
    margin-top: -60px;
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-contact__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-contact__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-contact__hero-cta {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .page-contact__section-padding {
    padding: 40px 0;
  }
  .page-contact__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-contact__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-contact__section-text {
    font-size: 0.95rem;
  }

  .page-contact__method-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-contact__method-card {
    padding: 20px;
  }
  .page-contact__method-icon {
    width: 80px;
    height: 80px;
  }
  .page-contact__method-title {
    font-size: 1.3rem;
  }
  .page-contact__method-description {
    font-size: 0.9rem;
  }
  .page-contact__social-link {
    padding: 8px 15px;
    font-size: 0.9rem;
  }

  .page-contact__form {
    padding: 25px;
  }
  .page-contact__form-label,
  .page-contact__form-input,
  .page-contact__form-textarea,
  .page-contact__form-submit {
    font-size: 0.95rem;
  }
  .page-contact__form-submit {
    padding: 12px 15px;
  }

  .page-contact__flex-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .page-contact__map-placeholder {
    min-height: 250px;
  }
  .page-contact__address-details {
    font-size: 0.95rem;
  }

  details.page-contact__faq-item summary.page-contact__faq-question { padding: 15px; }
  .page-contact__faq-qtext { font-size: 15px; }
  details.page-contact__faq-item .page-contact__faq-answer {
    padding: 0 15px 15px;
  }

  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    font-size: 1rem !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* General image responsiveness for mobile */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Placeholder for other required mobile media queries, even if not directly applicable to contact.html */
  /* Banner __hero-section already handled with object-fit: contain */
  /* Three-link buttons __access-links (not present on contact.html) */
  /* Five-entry __category-lobby (not present on contact.html) */
  /* Blog slider __blog-slider (not present on contact.html) */
}

/* Placeholder for __access-links mobile styling (not applicable to contact.html but required to be present) */
@media (max-width: 768px) {
  .page-contact__access-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Placeholder for __category-lobby mobile styling (not applicable to contact.html but required to be present) */
@media (max-width: 768px) {
  .page-contact__category-lobby__grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px;
  }
  .page-contact__category-card-link img {
    aspect-ratio: 1/1 !important;
    width: 100% !important;
    object-fit: contain !important;
    border: none !important;
    box-shadow: none !important;
  }
}

/* Placeholder for __blog-slider mobile styling (not applicable to contact.html but required to be present) */
@media (max-width: 768px) {
  .page-contact__blog-slider-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
  }
  .page-contact__blog-slider-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }
  .page-contact__blog-slider-track {
    display: flex;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 10px;
  }
  .page-contact__post-item {
    flex: 0 0 calc(100% - 30px); /* Show one card with some padding */
    scroll-snap-align: start;
  }
  .page-contact__blog-slider-nav {
    display: flex; /* Ensure arrows are visible if they exist */
    justify-content: space-between;
    margin-top: 20px;
  }
  .page-contact__blog-slider-prev, .page-contact__blog-slider-next {
    font-size: 1.5rem;
    padding: 10px;
    background: rgba(0,0,0,0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
  }
}