/* style/contact.css */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--black-color); /* Assuming --black-color is dark */
}

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

.page-contact__hero-section {
  position: relative;
  padding: 100px 20px 60px; /* Adjusted padding for content and image */
  padding-top: var(--header-offset, 120px); /* Ensures content clears fixed header */
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

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

.page-contact__hero-title {
  font-size: 3.5em;
  color: #FFFFFF;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
}

.page-contact__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

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

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

/* Info Section */
.page-contact__info-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  color: #333333;
  position: relative;
  overflow: hidden;
}

.page-contact__info-section .page-contact__section-title {
  color: #26A9E0;
}

.page-contact__info-section .page-contact__section-description {
  color: #555555;
}

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

.page-contact__method-card {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-contact__card-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-contact__email-link, .page-contact__phone-link {
  color: #26A9E0;
  text-decoration: underline;
}

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

.page-contact__social-icon {
  display: inline-block;
  padding: 8px 15px;
  background-color: #26A9E0;
  color: #FFFFFF;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

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

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

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

.page-contact__form-section .page-contact__section-description {
  color: #f0f0f0;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 40px auto 0;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

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

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

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  outline: none;
  border-color: #FFFFFF;
}

.page-contact__form-submit {
  width: auto;
  padding: 12px 30px;
  font-size: 1.1em;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  background-color: #EA7C07; /* Login color for primary action */
  color: #FFFFFF;
  transition: background-color 0.3s ease;
}

.page-contact__form-submit:hover {
  background-color: #d16b06;
}

/* Why Contact Section */
.page-contact__why-contact-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-contact__why-contact-section .page-contact__section-title {
  color: #26A9E0;
}

.page-contact__why-contact-section .page-contact__section-description {
  color: #555555;
}

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

.page-contact__benefit-card {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-contact__benefit-card .page-contact__card-title {
  color: #26A9E0;
}

.page-contact__benefit-card .page-contact__card-text {
  color: #555555;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 80px 0;
  background-color: var(--black-color);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

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

.page-contact__faq-section .page-contact__section-description {
  color: #f0f0f0;
}

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

.page-contact__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

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

.page-contact__faq-heading {
  margin: 0;
  font-size: 1.2em;
  color: #FFFFFF;
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  transform: rotate(45deg);
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px 25px;
}

.page-contact__faq-answer p {
  margin-bottom: 0;
  color: #f0f0f0;
}

/* Commitment Section */
.page-contact__commitment-section {
    padding: 80px 0;
    background-color: #FFFFFF;
    color: #333333;
    position: relative;
    overflow: hidden;
}

.page-contact__commitment-section .page-contact__section-title {
    color: #26A9E0;
}

.page-contact__commitment-section .page-contact__section-description {
    color: #555555;
}

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

.page-contact__commitment-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.page-contact__commitment-card .page-contact__card-title {
    color: #26A9E0;
}

.page-contact__commitment-card .page-contact__card-text {
    color: #555555;
}

/* CTA Banner */
.page-contact__cta-banner {
  padding: 80px 0;
  background-color: #26A9E0;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

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

.page-contact__cta-content {
  position: relative;
  z-index: 1;
}

.page-contact__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.page-contact__cta-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

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

/* General Button Styles */
.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

/* Image styles */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-contact__hero-section {
    padding: 80px 15px 40px;
    padding-top: var(--header-offset, 120px) !important;
  }
  
  .page-contact__hero-title {
    font-size: 2.5em;
  }
  
  .page-contact__hero-description {
    font-size: 1em;
  }
  
  .page-contact__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  
  .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;
    flex-direction: column;
  }

  .page-contact__section-title {
    font-size: 2em;
  }
  
  .page-contact__section-description {
    font-size: 0.95em;
  }
  
  .page-contact__contact-methods,
  .page-contact__benefits-grid,
  .page-contact__commitment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .page-contact__method-card,
  .page-contact__benefit-card,
  .page-contact__commitment-card {
    padding: 20px;
  }

  .page-contact__contact-form {
    padding: 20px;
  }
  
  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 10px 12px;
  }

  .page-contact__faq-question {
    padding: 15px 20px;
  }

  .page-contact__faq-heading {
    font-size: 1.1em;
  }

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

  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 10px 20px;
  }

  .page-contact__cta-banner {
    padding: 60px 0;
  }
  
  .page-contact__cta-title {
    font-size: 1.8em;
  }
  
  .page-contact__cta-description {
    font-size: 0.95em;
  }

  /* Mobile image and container responsiveness */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-contact__container,
  .page-contact__hero-section,
  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__why-contact-section,
  .page-contact__faq-section,
  .page-contact__commitment-section,
  .page-contact__cta-banner,
  .page-contact__contact-methods,
  .page-contact__benefits-grid,
  .page-contact__commitment-grid,
  .page-contact__faq-list,
  .page-contact__contact-form {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
  
  .page-contact__hero-image,
  .page-contact__content-image,
  .page-contact__cta-image {
    width: 100% !important;
    height: auto !important;
    position: relative !important; /* Adjust positioning for mobile if needed */
    opacity: 1; /* Make background images fully visible if desired on mobile */
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 2em;
  }
  .page-contact__cta-title {
    font-size: 1.5em;
  }
  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    font-size: 1em;
    padding: 12px 20px;
  }
  .page-contact__faq-heading {
    font-size: 1em;
  }
}

/* General card styles for contrast */
.page-contact__card {
  background: #ffffff; /* Default white background for cards */
  color: #333333; /* Dark text for white background */
  border: 1px solid #e0e0e0;
}

/* Dark background sections for contrast */
.page-contact__dark-bg {
  background-color: var(--black-color);
  color: #ffffff;
}

.page-contact__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-contact__dark-bg .page-contact__section-title,
.page-contact__dark-bg .page-contact__hero-title,
.page-contact__dark-bg .page-contact__cta-title {
  color: #FFFFFF;
}

.page-contact__dark-bg .page-contact__section-description,
.page-contact__dark-bg .page-contact__hero-description,
.page-contact__dark-bg .page-contact__cta-description {
  color: #f0f0f0;
}

.page-contact__dark-bg .page-contact__card-text {
  color: #f0f0f0;
}

.page-contact__dark-bg .page-contact__card {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-contact__dark-bg .page-contact__form-label {
  color: #FFFFFF;
}

.page-contact__dark-bg .page-contact__form-input,
.page-contact__dark-bg .page-contact__form-textarea {
  border-color: rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
}

.page-contact__dark-bg .page-contact__form-input::placeholder,
.page-contact__dark-bg .page-contact__form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

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

.page-contact__dark-bg .page-contact__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-contact__dark-bg .page-contact__faq-heading {
  color: #FFFFFF;
}

.page-contact__dark-bg .page-contact__faq-answer p {
  color: #f0f0f0;
}