/* style/contact.css */
.page-contact {
  color: #ffffff; /* Body background is dark (#1a1a2e), so text should be light */
}

.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  background-color: #1a1a2e;
  overflow: hidden;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-contact__hero-content {
  width: 100%;
  max-width: 900px;
  text-align: center;
  margin-top: 30px;
  position: relative; /* Ensure content is in normal flow below image */
  z-index: 1;
}

.page-contact__main-title {
  font-size: clamp(2em, 3.5vw, 3em);
  font-weight: 700;
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.page-contact__description {
  font-size: 1.1em;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 30px;
}

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

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

.page-contact__section {
  padding: 80px 20px;
  background-color: #1a1a2e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-contact__intro-text {
  padding-top: 40px;
}

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

.page-contact__section-title {
  font-size: clamp(1.8em, 2.8vw, 2.5em);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-contact__paragraph {
  font-size: 1.05em;
  line-height: 1.7;
  color: #f0f0f0;
  margin-bottom: 20px;
  text-align: justify;
}

.page-contact__contact-channels {
  background-color: #0d0d1a;
}

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

.page-contact__channel-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
  height: 100%;
}

.page-contact__channel-icon {
  width: 200px; /* Min width/height 200px */
  height: 200px; /* Min width/height 200px */
  margin-bottom: 20px;
  object-fit: contain;
}

.page-contact__channel-title {
  font-size: 1.6em;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-contact__channel-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-contact__btn-secondary {
  display: inline-block;
  background: #ffffff;
  color: #26A9E0;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #26A9E0;
  cursor: pointer;
}

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

.page-contact__contact-info {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 10px;
}

.page-contact__link {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-contact__link:hover {
  color: #1e87b9;
  text-decoration: underline;
}

.page-contact__social-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.page-contact__social-link {
  color: #FFFFFF;
  font-size: 1.1em;
  text-decoration: none;
  padding: 8px 15px;
  border: 1px solid #26A9E0;
  border-radius: 5px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-contact__social-link:hover {
  background-color: #26A9E0;
  border-color: #1e87b9;
}

.page-contact__contact-form-section {
  background-color: #1a1a2e;
}

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

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

.page-contact__form-label {
  display: block;
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 8px;
  font-weight: 500;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  background-color: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #26A9E0;
  outline: none;
  box-shadow: 0 0 0 3px rgba(38, 169, 224, 0.3);
}

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

.page-contact__form-submit-btn {
  width: 100%;
  padding: 15px;
  font-size: 1.1em;
}

.page-contact__faq-section {
  background-color: #0d0d1a;
}

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

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

.page-contact__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  font-size: 1.1em;
  font-weight: 600;
  color: #26A9E0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-contact__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-contact__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-contact__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #ffffff;
}

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

.page-contact__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  line-height: 1.7;
  color: #cccccc;
  padding-top: 10px;
}

.page-contact__cta-section {
  text-align: center;
  padding-bottom: 80px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-contact__channels-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-contact__hero-content {
    margin-top: 20px;
  }

  .page-contact__main-title {
    font-size: 2em;
  }

  .page-contact__description {
    font-size: 1em;
  }

  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    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__section,
  .page-contact__container,
  .page-contact__form,
  .page-contact__channels-grid,
  .page-contact__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact__section-title {
    font-size: 1.8em;
  }

  .page-contact__paragraph {
    font-size: 0.95em;
  }

  .page-contact__channels-grid {
    grid-template-columns: 1fr;
  }

  .page-contact__channel-icon {
    width: 100% !important; /* Must be 100% */
    height: auto !important;
    min-width: 200px !important; /* Keep min size */
    min-height: 200px !important; /* Keep min size */
  }

  .page-contact__social-list {
    flex-direction: column;
    gap: 10px;
  }

  .page-contact__social-link {
    width: 100%;
    box-sizing: border-box;
  }

  .page-contact__faq-item summary {
    font-size: 1em;
    padding: 15px;
  }

  .page-contact__faq-answer {
    padding: 0 15px 15px 15px;
  }

  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

@media (max-width: 480px) {
  .page-contact__main-title {
    font-size: 1.8em;
  }

  .page-contact__section-title {
    font-size: 1.6em;
  }

  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    padding: 12px 20px;
    font-size: 0.95em;
  }
}