.page-contact {
  color: #ffffff; /* Dark body background #0a0a0a requires light text */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.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;
  padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
  text-align: center;
  background: linear-gradient(135deg, #26A9E0 0%, #007bff 100%); /* Brand color gradient */
  color: #ffffff;
  overflow: hidden;
}

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

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

.page-contact__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-contact__intro-text {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #EA7C07; /* Login button color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-contact__cta-button:hover {
  background-color: #d16e00;
  transform: translateY(-2px);
}

.page-contact__form-section, .page-contact__social-section, .page-contact__video-section {
  background-color: #FFFFFF; /* Light background */
  color: #333333; /* Dark text for contrast */
  padding: 80px 0;
}

.page-contact__dark-section {
  background-color: #0d0d0d; /* Slightly lighter than body background for subtle contrast */
  color: #ffffff;
  padding: 80px 0;
}

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

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

.page-contact__subsection-title {
  font-size: 1.8em;
  text-align: center;
  margin-bottom: 30px;
  color: #333333;
}

.page-contact__dark-section .page-contact__subsection-title {
  color: #f0f0f0;
}

.page-contact__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

/* Form Styles */
.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: #f8f8f8;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

.page-contact__form-input, .page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  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 {
  width: 100%;
  padding: 15px;
  font-size: 1.2em;
  border-radius: 5px;
}

/* Direct Contact Methods */
.page-contact__contact-methods {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.page-contact__method-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  flex: 1 1 280px;
  max-width: 350px;
  box-sizing: border-box;
  transition: transform 0.3s ease;
}

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

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

.page-contact__method-text {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-contact__method-description {
  font-size: 0.95em;
  color: #cccccc;
}

/* Social Links */
.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.page-contact__social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333333;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.3s ease, transform 0.3s ease;
}

.page-contact__social-link:hover {
  color: #26A9E0;
  transform: translateY(-5px);
}

.page-contact__social-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 10px;
  border-radius: 50%; /* Make social icons round */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* FAQ Section */
.page-contact__faq-list {
  max-width: 900px;
  margin: 0 auto;
  margin-top: 50px;
}

.page-contact__faq-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
}

.page-contact__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

.page-contact__faq-qtext {
  flex-grow: 1;
  color: #ffffff;
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  margin-left: 15px;
  color: #26A9E0;
}

.page-contact__faq-item[open] .page-contact__faq-question {
  border-bottom: none;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
  content: '−';
}

.page-contact__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1.05em;
  color: #e0e0e0;
}

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

/* Remove default details marker */
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}

/* Video Section */
.page-contact__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 50px auto 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

.page-contact__video-cta-text {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #333333;
}

.page-contact__video-cta-button {
  margin-top: 20px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-contact__main-title {
    font-size: 2.8em;
  }
  .page-contact__intro-text {
    font-size: 1.2em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__subsection-title {
    font-size: 1.6em;
  }
  .page-contact__contact-form {
    padding: 30px;
  }
  .page-contact__method-item {
    flex: 1 1 250px;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header spacing */
  }
  .page-contact__main-title {
    font-size: 2.2em;
  }
  .page-contact__intro-text {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-contact__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-contact__form-section, .page-contact__social-section, .page-contact__video-section, .page-contact__dark-section {
    padding: 60px 0;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__subsection-title {
    font-size: 1.4em;
  }
  .page-contact__section-description {
    font-size: 1em;
    margin-bottom: 40px;
  }

  .page-contact__contact-form {
    padding: 20px;
  }

  .page-contact__contact-methods {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .page-contact__method-item {
    max-width: 100%;
    width: 100%;
    flex: none;
  }

  .page-contact__social-links {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .page-contact__social-link {
    width: 100%;
    max-width: 250px;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
    padding: 10px 0;
    background: rgba(0,0,0,0.05);
    border-radius: 8px;
  }

  .page-contact__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-contact__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95em;
  }

  /* 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;
  }
  .page-contact__hero-image {
    position: relative;
    height: auto;
    margin-top: 30px;
    opacity: 1;
  }

  /* 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;
  }
  .page-contact__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-contact__video-wrapper {
    padding-bottom: 75%; /* Adjust for mobile aspect ratio if needed, or keep 16:9 */
  }

  /* 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;
  }
  .page-contact__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-contact__main-title {
    font-size: 1.8em;
  }
  .page-contact__section-title {
    font-size: 1.6em;
  }
  .page-contact__subsection-title {
    font-size: 1.2em;
  }
  .page-contact__hero-section {
    padding: 60px 0;
  }
  .page-contact__form-section, .page-contact__social-section, .page-contact__video-section, .page-contact__dark-section {
    padding: 40px 0;
  }
  .page-contact__contact-form {
    padding: 15px;
  }
  .page-contact__faq-question {
    font-size: 1em;
  }
}