/* style/contact.css */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF;
}

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

.page-contact__hero-section {
  position: relative;
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 500px;
}

.page-contact__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Overlay for readability */
  z-index: 1;
}

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

.page-contact__hero-section .page-contact__container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-contact__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

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

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

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

.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

/* Why Contact Us Section */
.page-contact__why-contact-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.page-contact__benefit-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 800px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-contact__benefit-item {
  background-color: #FFFFFF;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  font-size: 1.1em;
  color: #333333;
  border-left: 5px solid #26A9E0;
}

/* Direct Contact Methods Section */
.page-contact__direct-methods-section {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-contact__direct-methods-section .page-contact__section-title,
.page-contact__direct-methods-section .page-contact__section-description {
  color: #FFFFFF;
}

.page-contact__methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.page-contact__method-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.page-contact__method-card .page-contact__method-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-contact__method-card .page-contact__method-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #F0F0F0;
}

.page-contact__method-card .page-contact__method-contact-info a {
  color: #FFFFFF;
  text-decoration: underline;
}

.page-contact__method-card .page-contact__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border-color: #FFFFFF;
}

.page-contact__method-card .page-contact__btn-secondary:hover {
  background-color: #E0E0E0;
  color: #26A9E0;
}

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

/* Contact Form Section */
.page-contact__form-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 40px auto 0 auto;
  padding: 30px;
  background-color: #f0f8ff; /* Light blue tint */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 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 #cccccc;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
}

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

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

/* FAQ Section */
.page-contact__faq-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  position: relative;
  overflow: hidden;
}

.page-contact__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  position: relative;
  z-index: 1;
}

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

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: #EBF7FF;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

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

.page-contact__faq-item[open] > .page-contact__faq-question {
  background-color: #D6ECFF;
}

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

.page-contact__faq-answer {
  padding: 15px 25px;
  font-size: 1.1em;
  color: #555555;
  background-color: #FFFFFF;
  border-top: 1px solid #f0f0f0;
}

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

.page-contact__faq-item details > summary {
  list-style: none;
}

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

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

/* Social Media Section */
.page-contact__social-section {
  padding: 60px 0;
  background-color: #EBF7FF;
  position: relative;
  overflow: hidden;
}

.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.page-contact__social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #26A9E0;
  transition: background-color 0.3s ease;
}

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

.page-contact__social-icon img {
  
  
  filter: none; /* Ensure no filter applied */
}

.page-contact__btn-community {
  display: block;
  margin: 20px auto 0 auto;
  max-width: 300px;
  text-align: center;
}

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

/* Final CTA Section */
.page-contact__cta-final {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #FFFFFF;
  text-align: center;
}

.page-contact__cta-final .page-contact__section-title,
.page-contact__cta-final .page-contact__section-description {
  color: #FFFFFF;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.5em;
  }

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

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-contact__hero-section {
    min-height: 400px;
    padding: 60px 0;
  }

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

  .page-contact__hero-description {
    font-size: 1em;
  }

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

  .page-contact__section-description {
    font-size: 1em;
  }

  .page-contact__benefit-list,
  .page-contact__methods-grid {
    grid-template-columns: 1fr;
  }

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

  .page-contact__faq-answer {
    padding: 10px 20px;
    font-size: 1em;
  }

  .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-direction: column !important;
    gap: 10px;
  }

  .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-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  
  .page-contact__social-icon img {
    
    
  }

  .page-contact__social-icon {
    width: 50px;
    height: 50px;
  }

  /* Ensure content area images are not too small */
  .page-contact__methods-image,
  .page-contact__form-image,
  .page-contact__faq-image,
  .page-contact__social-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }
}

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

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

  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    padding: 12px 20px;
  }
}