/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
  background-color: #08160F; /* Background color */
  color: #F2FFF6; /* Main text color */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* Ensure space above footer */
}

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

.page-contact__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Gold color for main titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-contact__text-block {
  font-size: 1.1em;
  color: #A7D9B8; /* Secondary text color */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.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, body handles header offset */
  overflow: hidden;
  background-color: #0A4B2C; /* Deep Green for hero background */
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.page-contact__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-contact__description {
  font-size: 1.2em;
  color: #F2FFF6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-contact__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(42, 209, 111, 0.4);
}

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

.page-contact__btn-secondary:hover {
  background: #2AD16F;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(42, 209, 111, 0.2);
}

/* Contact Info Section */
.page-contact__info-section {
  padding: 80px 0;
  background-color: #08160F;
}

.page-contact__contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-contact__card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #F2FFF6; /* Main text color for cards */
}

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

.page-contact__card-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__card-title {
  font-size: 1.8em;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-contact__card-text {
  font-size: 1em;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 20px;
}

.page-contact__card-email,
.page-contact__card-phone {
  font-size: 1.2em;
  font-weight: bold;
  color: #57E38D; /* Glow color for contact details */
  margin-bottom: 20px;
}

.page-contact__card-button {
  width: 100%;
}

/* Contact Form Section */
.page-contact__form-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #11271B; /* Card BG */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px 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: #F2FFF6;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 6px;
  background-color: #08160F;
  color: #F2FFF6;
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  outline: none;
  border-color: #57E38D;
  box-shadow: 0 0 0 3px rgba(87, 227, 141, 0.3);
}

.page-contact__form-submit {
  width: auto;
  padding: 15px 40px;
  font-size: 1.2em;
  cursor: pointer;
  border: none;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.page-contact__form-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(42, 209, 111, 0.4);
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 80px 0;
  background-color: #08160F;
}

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

.page-contact__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6;
  cursor: pointer;
  background-color: #11271B;
  user-select: none;
  list-style: none; /* For details/summary */
}

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

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #57E38D; /* Glow color */
}

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

.page-contact__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #A7D9B8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 2000px; /* Sufficiently large to show content */
  transition: max-height 0.5s ease-in;
}

.page-contact__faq-answer p {
  margin-bottom: 15px;
}

.page-contact__faq-link {
  color: #57E38D;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-contact__faq-link:hover {
  color: #2AD16F;
}

/* Social Media Section */
.page-contact__social-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.page-contact__social-icon {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.page-contact__social-icon:hover {
  transform: translateY(-5px) scale(1.05);
  opacity: 0.8;
}

.page-contact__social-icon img {
   /* Ensure social icons are not tiny */
  
  min- /* Enforce min size */
  min- /* Enforce min size */
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  display: block;
}

/* Location Section */
.page-contact__location-section {
  padding: 80px 0;
  background-color: #08160F;
}

.page-contact__map-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__map-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-contact__address-text {
  text-align: center;
  font-size: 1.1em;
  color: #A7D9B8;
  margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__card-title {
    font-size: 1.5em;
  }
}

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

  .page-contact__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact__hero-section,
  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__social-section,
  .page-contact__location-section {
    padding: 40px 0;
  }

  .page-contact__hero-section {
    padding-top: 10px !important; /* body handles header offset */
  }

  .page-contact__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }

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

  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-contact__card-image {
    max-height: 180px;
  }

  .page-contact__form-section .page-contact__contact-form {
    padding: 25px;
  }

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

  .page-contact__social-links {
    gap: 20px;
  }

  /* Ensure all images are responsive */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact__hero-image-wrapper,
  .page-contact__contact-cards,
  .page-contact__card,
  .page-contact__form-section .page-contact__contact-form,
  .page-contact__faq-list,
  .page-contact__faq-item,
  .page-contact__map-container,
  .page-contact__social-section .page-contact__container,
  .page-contact__location-section .page-contact__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  /* Specific for social icons to override min-width if needed for smaller screens */
  .page-contact__social-icon img {
    
    
    min-
    min-
  }
}

@media (max-width: 480px) {
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__main-title {
    font-size: clamp(1.5em, 10vw, 2em);
  }
  .page-contact__contact-form {
    padding: 20px;
  }
  .page-contact__faq-question {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-contact__faq-answer {
    padding: 0 15px 12px;
  }
}

/* Color Contrast Fixes (if needed, based on initial assessment, these are safe defaults) */
.page-contact__dark-bg {
  background-color: #0A4B2C;
  color: #F2FFF6;
}
.page-contact__background-color {
  background-color: #08160F;
  color: #F2FFF6;
}
.page-contact__card-bg {
  background-color: #11271B;
  color: #F2FFF6;
}
.page-contact__btn-primary {
  color: #ffffff;
}
.page-contact__btn-secondary {
  color: #2AD16F;
}