/* style/contact.css */

/* General styles for .page-contact */
.page-contact {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light body background */
  line-height: 1.6;
  background-color: #f8f8f8; /* A very light grey background for sections */
}

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

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #26A9E0; /* Brand color background for hero */
  padding-bottom: 40px; /* Space for content below image */
  padding-top: 10px; /* Minimal top padding */
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit hero image height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-contact__hero-content {
  text-align: center;
  padding: 20px;
  color: #FFFFFF; /* White text on brand color background */
  max-width: 900px;
  margin: 0 auto;
}

.page-contact__main-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-contact__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #FFFFFF;
}

/* Section Titles and Descriptions */
.page-contact__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for section titles */
}

.page-contact__section-description {
  font-size: 17px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #333333;
}

/* Contact Channels Section */
.page-contact__channels-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* White background for this section */
}

.page-contact__contact-methods {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-contact__form-wrapper {
  flex: 2;
  background: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-contact__form-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-contact__contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-contact__form-group {
  display: flex;
  flex-direction: column;
}

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  font-size: 16px;
  color: #333333;
  box-sizing: border-box;
}

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

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

.page-contact__btn-submit {
  background: #26A9E0;
  color: #FFFFFF;
  padding: 14px 25px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-contact__other-channels {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-contact__channel-card {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

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

.page-contact__channel-text {
  font-size: 16px;
  margin-bottom: 25px;
  color: #555555;
}

.page-contact__btn-primary {
  display: inline-block;
  background: #26A9E0;
  color: #FFFFFF;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.page-contact__social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #26A9E0;
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 18px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.page-contact__social-icon-link:hover {
  background-color: #1e87c0;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 60px 0;
  background-color: #f0f0f0; /* Light grey background for FAQ */
}

.page-contact__faq-list {
  margin-top: 40px;
  margin-bottom: 40px;
}

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;
}

.page-contact__faq-answer p {
  margin: 0;
  color: #555555;
}
.page-contact__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
}
.page-contact__faq-answer a:hover {
  text-decoration: underline;
}

.page-contact__faq-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin-top: 40px;
}

/* Info Section */
.page-contact__info-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* White background */
}

.page-contact__info-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-contact__info-links li {
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease;
}

.page-contact__info-links li:hover {
  transform: translateY(-5px);
}

.page-contact__info-links a {
  display: block;
  padding: 20px 30px;
  font-size: 17px;
  font-weight: 600;
  color: #26A9E0; /* Brand color for links */
  text-decoration: none;
  white-space: nowrap;
}

.page-contact__info-links a:hover {
  color: #1e87c0;
}

/* CTA Section */
.page-contact__cta-section {
  padding: 60px 0;
  background-color: #f0f0f0;
}

.page-contact__cta-section .page-contact__container {
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: #26A9E0; /* Brand color background for CTA */
  border-radius: 15px;
  padding: 40px;
  color: #FFFFFF;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-contact__cta-image {
  flex: 1;
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-contact__cta-content {
  flex: 1;
  text-align: left;
}

.page-contact__cta-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-contact__cta-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-contact__btn-large {
  padding: 15px 35px;
  font-size: 18px;
  background-color: #EA7C07; /* Specific color for login/register like CTA */
}

.page-contact__btn-large:hover {
  background-color: #c96806;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-contact__main-title {
    font-size: 38px;
  }
  .page-contact__hero-description {
    font-size: 17px;
  }
  .page-contact__section-title {
    font-size: 32px;
  }
  .page-contact__section-description {
    font-size: 16px;
  }
  .page-contact__contact-methods {
    flex-direction: column;
  }
  .page-contact__form-wrapper,
  .page-contact__other-channels {
    flex: none;
    width: 100%;
  }
  .page-contact__cta-section .page-contact__container {
    flex-direction: column;
    text-align: center;
  }
  .page-contact__cta-content {
    text-align: center;
  }
  .page-contact__cta-image {
    max-width: 80%; /* Smaller on tablet */
  }
}

@media (max-width: 768px) {
  /* General container and images */
  .page-contact__container,
  .page-contact__hero-section,
  .page-contact__channels-section,
  .page-contact__faq-section,
  .page-contact__info-section,
  .page-contact__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  /* Buttons and button containers */
  .page-contact__btn-submit,
  .page-contact__btn-primary,
  .page-contact__btn-large,
  .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__social-links {
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-contact__social-links a {
    flex-basis: calc(50% - 10px); /* Adjust for smaller screens */
  }

  /* Hero Section */
  .page-contact__hero-section {
    padding-top: 10px !important; /* Minimal top padding */
    padding-bottom: 30px;
  }
  .page-contact__hero-image-wrapper {
    max-height: 300px; /* Adjust hero image height for mobile */
  }
  .page-contact__main-title {
    font-size: 28px;
    margin-bottom: 10px;
  }
  .page-contact__hero-description {
    font-size: 15px;
    margin-bottom: 20px;
  }

  /* Section Titles and Descriptions */
  .page-contact__section-title {
    font-size: 26px;
    margin-bottom: 15px;
  }
  .page-contact__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  /* Contact Channels Section */
  .page-contact__channels-section {
    padding: 40px 0;
  }
  .page-contact__form-wrapper {
    padding: 20px;
  }
  .page-contact__form-label {
    font-size: 14px;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 10px 12px;
    font-size: 15px;
  }
  .page-contact__btn-submit {
    padding: 12px 20px;
    font-size: 16px;
  }
  .page-contact__other-channels {
    gap: 20px;
  }
  .page-contact__channel-card {
    padding: 20px;
  }
  .page-contact__channel-title {
    font-size: 20px;
  }
  .page-contact__channel-text {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .page-contact__btn-primary {
    padding: 10px 20px;
    font-size: 15px;
  }
  .page-contact__social-icon-link {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  /* FAQ Section */
  .page-contact__faq-section {
    padding: 40px 0;
  }
  details.page-contact__faq-item summary.page-contact__faq-question { padding: 15px; }
  .page-contact__faq-qtext {
    font-size: 15px;
    width: calc(100% - 40px); /* Adjust width for text */
  }
  .page-contact__faq-toggle { font-size: 20px; width: 24px; margin-left: 10px; }
  details.page-contact__faq-item .page-contact__faq-answer { padding: 0 15px 15px; }
  .page-contact__faq-image { margin-top: 30px; }

  /* Info Section */
  .page-contact__info-section {
    padding: 40px 0;
  }
  .page-contact__info-links {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__info-links li {
    width: 100%;
  }
  .page-contact__info-links a {
    padding: 15px 20px;
    font-size: 16px;
    text-align: center;
  }

  /* CTA Section */
  .page-contact__cta-section .page-contact__container {
    padding: 30px;
    border-radius: 10px;
  }
  .page-contact__cta-image {
    max-width: 100%; /* Image full width on mobile */
    margin-bottom: 20px;
  }
  .page-contact__cta-title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .page-contact__cta-description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-contact__btn-large {
    padding: 12px 25px;
    font-size: 16px;
    width: 100%; /* Button full width on mobile */
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
}