/* style/contact.css */

/* General styles for .page-contact */
.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  overflow: hidden;
  background-color: #0A4B2C; /* Deep Green for hero section background */
}

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

.page-contact__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Slightly dimmed to make text readable */
}

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
  border-radius: 10px;
}

.page-contact__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

/* CTA Button */
.page-contact__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
}

.page-contact__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Section general styles */
.page-contact__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 25px;
  font-weight: 600;
}

.page-contact__section-description {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Channels Section */
.page-contact__channels-section {
  padding: 80px 20px;
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
}

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

.page-contact__channel-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, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
}

.page-contact__channel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__channel-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__channel-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-contact__channel-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-contact__channel-link,
.page-contact__email-address,
.page-contact__phone-number {
  color: #57E38D; /* Glow */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-contact__channel-link:hover,
.page-contact__email-address:hover,
.page-contact__phone-number:hover {
  color: #2AD16F;
}

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

.page-contact__form-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

.page-contact__form-image {
  flex: 1 1 400px;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-contact__contact-form {
  flex: 1 1 400px;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.page-contact__form-label {
  margin-bottom: 8px;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
}

.page-contact__form-input,
.page-contact__form-textarea,
.page-contact__form-select {
  padding: 12px;
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 6px;
  background-color: rgba(17, 39, 27, 0.7); /* Slightly lighter Card BG */
  color: #F2FFF6; /* Text Main */
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #A7D9B8; /* Text Secondary */
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus,
.page-contact__form-select:focus {
  border-color: #57E38D; /* Glow */
  outline: none;
}

.page-contact__submit-button {
  align-self: flex-start;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 80px 20px;
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
}

.page-contact__faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-contact__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  border: 1px solid #2E7A4E; /* Border */
  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: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: #F2C14E; /* Gold */
  background-color: #11271B; /* Card BG */
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-contact__faq-question:hover {
  background-color: #1E3A2A; /* Divider */
}

.page-contact__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #57E38D; /* Glow */
}

.page-contact__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-contact__faq-answer a {
  color: #57E38D; /* Glow */
  text-decoration: none;
  font-weight: bold;
}

.page-contact__faq-answer a:hover {
  text-decoration: underline;
}

/* Reassurance Section */
.page-contact__reassurance-section {
  padding: 80px 20px;
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-contact__reassurance-content {
  flex: 1 1 450px;
  max-width: 50%;
  text-align: left;
}

.page-contact__reassurance-image-wrapper {
  flex: 1 1 450px;
  max-width: 50%;
}

.page-contact__reassurance-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__form-image,
  .page-contact__contact-form,
  .page-contact__reassurance-content,
  .page-contact__reassurance-image-wrapper {
    max-width: 100%;
    flex: 1 1 100%;
  }
  .page-contact__reassurance-content {
    text-align: center;
  }
  .page-contact__submit-button {
    align-self: center;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section,
  .page-contact__channels-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__reassurance-section {
    padding: 40px 15px !important;
  }

  .page-contact__main-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .page-contact__section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-contact__hero-description,
  .page-contact__section-description,
  .page-contact__channel-description,
  .page-contact__faq-answer p {
    font-size: 0.9rem;
  }

  .page-contact__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Image responsiveness for all images */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Container responsiveness */
  .page-contact__hero-section,
  .page-contact__channels-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__reassurance-section,
  .page-contact__form-container,
  .page-contact__channels-grid,
  .page-contact__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-contact__form-container {
    flex-direction: column;
    padding: 20px !important;
  }

  .page-contact__form-image,
  .page-contact__contact-form {
    max-width: 100% !important;
  }

  .page-contact__submit-button {
    align-self: stretch !important;
    width: 100% !important;
  }

  .page-contact__reassurance-section {
    flex-direction: column-reverse; /* Image below text on mobile */
  }
  .page-contact__reassurance-content {
    text-align: center;
  }
}