/* style/contact-us.css */

/* --- General Page Styling --- */
.page-contact-us {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color, adjusted by contrast logic */
  background: var(--bg); /* Page background from custom colors */
}

/* Ensure main content is not covered by fixed header */
/* body padding-top is handled by shared.css */
.page-contact-us__hero-section,
.page-contact-us__contact-info-section,
.page-contact-us__form-section,
.page-contact-us__faq-section,
.page-contact-us__commitment-section {
  padding: 60px 20px;
  box-sizing: border-box;
  max-width: 100%;
  width: 100%;
}

/* Small top padding for the first section if needed, not var(--header-offset) */
.page-contact-us__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden; /* Ensure content doesn't overflow */
}

/* Hero Image Wrapper - must be above content */
.page-contact-us__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative; /* For responsive image */
  margin-bottom: 20px; /* Space between image and text */
}

.page-contact-us__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-contact-us__hero-content {
  position: relative; /* Ensure text is in normal flow below image */\  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background: var(--card-bg); /* Use custom card background */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  color: var(--text-main); /* Ensure text is readable on card background */
}

/* --- Titles and Descriptions --- */
.page-contact-us__main-title {
  font-size: clamp(2em, 4vw, 3em); /* Responsive H1 font size */
  color: var(--text-main); /* Use custom main text color */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-contact-us__hero-description,
.page-contact-us__section-description {
  font-size: 1.1em;
  color: var(--text-secondary); /* Use custom secondary text color */
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact-us__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: var(--text-main); /* Use custom main text color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

/* --- Buttons --- */
.page-contact-us__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  margin: 10px;
  cursor: pointer;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-contact-us__cta-button--primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button gradient */
  color: #ffffff; /* White text for primary button */
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-contact-us__cta-button--primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-contact-us__cta-button--secondary {
  background: transparent;
  color: var(--main-color); /* Brand main color for secondary text */
  border: 2px solid var(--border-color); /* Custom border color */
  box-shadow: none;
}

.page-contact-us__cta-button--secondary:hover {
  background: rgba(var(--main-color-rgb), 0.1);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(var(--main-color-rgb), 0.2);
}

/* --- Contact Info Section --- */
.page-contact-us__contact-info-section {
  text-align: center;
  background: var(--bg); /* Use custom background color */
}

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

.page-contact-us__info-card {
  background: var(--card-bg); /* Custom card background */
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--text-main); /* Ensure text is readable on card background */
}

.page-contact-us__info-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-contact-us__info-card-title {
  font-size: 1.5em;
  color: var(--text-main); /* Custom main text color */
  margin-bottom: 10px;
}

.page-contact-us__info-card-text {
  font-size: 1em;
  color: var(--text-secondary); /* Custom secondary text color */
  margin-bottom: 20px;
}

.page-contact-us__info-link {
  color: var(--main-color); /* Use main brand color for links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-contact-us__info-link:hover {
  color: var(--glow-color); /* Use glow color on hover */
  text-decoration: underline;
}

.page-contact-us__social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.page-contact-us__social-icon-link img {
  
  
  transition: transform 0.3s ease;
}

.page-contact-us__social-icon-link img:hover {
  transform: scale(1.1);
}

/* --- Contact Form Section --- */
.page-contact-us__form-section {
  background: var(--bg); /* Custom background color */
  color: var(--text-main);
}

.page-contact-us__contact-form {
  max-width: 700px;
  margin: 40px auto;
  padding: 30px;
  background: var(--card-bg); /* Custom card background */
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-contact-us__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--text-main); /* Custom main text color */
}

.page-contact-us__form-input,
.page-contact-us__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color); /* Custom border color */
  border-radius: 8px;
  background-color: var(--deep-green); /* Use deep green for input background */
  color: var(--text-main); /* Custom main text color */
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.page-contact-us__form-input::placeholder,
.page-contact-us__form-textarea::placeholder {
  color: var(--text-secondary); /* Custom secondary text color for placeholders */
  opacity: 0.7;
}

.page-contact-us__form-input:focus,
.page-contact-us__form-textarea:focus {
  border-color: var(--main-color); /* Highlight with main color on focus */
  outline: none;
}

/* --- FAQ Section --- */
.page-contact-us__faq-section {
  background: var(--bg); /* Custom background color */
  color: var(--text-main);
}

.page-contact-us__faq-list {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.page-contact-us__faq-item {
  background: var(--card-bg); /* Custom card background */
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  color: var(--text-main); /* Ensure text is readable on card background */
}

.page-contact-us__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--text-main); /* Custom main text color */
  background: var(--card-bg); /* Custom card background */
  border-bottom: 1px solid var(--divider-color); /* Custom divider color */
  transition: background-color 0.3s ease;
}

.page-contact-us__faq-question:hover {
  background-color: rgba(var(--main-color-rgb), 0.05);
}

.page-contact-us__faq-item[open] .page-contact-us__faq-question {
  border-bottom: 1px solid var(--main-color); /* Highlight border when open */
}

.page-contact-us__faq-qtext {
  flex-grow: 1;
  color: var(--text-main);
}

.page-contact-us__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--main-color); /* Custom main color for toggle */
}

.page-contact-us__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: var(--text-secondary); /* Custom secondary text color */
}

.page-contact-us__faq-answer p {
  margin-top: 15px;
  margin-bottom: 0;
}

.page-contact-us__faq-answer a {
  color: var(--main-color);
  text-decoration: underline;
}

/* --- Commitment Section --- */
.page-contact-us__commitment-section {
  text-align: center;
  background: var(--deep-green); /* Use custom deep green background */
  color: var(--text-main); /* Ensure text is readable */
}

/* --- Color Contrast & Custom Colors --- */
:root {
  --main-color: #11A84E;
  --secondary-color: #22C768;
  --card-bg: #11271B; /* Custom Card BG */
  --bg: #08160F; /* Custom Background */
  --text-main: #F2FFF6; /* Custom Text Main */
  --text-secondary: #A7D9B8; /* Custom Text Secondary */
  --border-color: #2E7A4E; /* Custom Border */
  --glow-color: #57E38D; /* Custom Glow */
  --gold-color: #F2C14E; /* Custom Gold */
  --divider-color: #1E3A2A; /* Custom Divider */
  --deep-green: #0A4B2C; /* Custom Deep Green */

  /* RGB values for rgba usage */
  --main-color-rgb: 17, 168, 78;
  --secondary-color-rgb: 34, 199, 104;
}

/* Ensure text on custom card background is readable */
.page-contact-us__info-card,
.page-contact-us__contact-form,
.page-contact-us__faq-item {
  color: var(--text-main); /* Ensure main text is light on dark card background */
}
.page-contact-us__info-card-text,
.page-contact-us__faq-answer {
  color: var(--text-secondary); /* Secondary text is also light on dark card background */
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-contact-us__hero-content {
    padding: 15px;
  }
  .page-contact-us__info-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-contact-us__hero-section,
  .page-contact-us__contact-info-section,
  .page-contact-us__form-section,
  .page-contact-us__faq-section,
  .page-contact-us__commitment-section {
    padding: 30px 15px;
  }

  /* Mobile H1 font size adjustment */
  .page-contact-us__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-contact-us__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }

  .page-contact-us__hero-description,
  .page-contact-us__section-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-contact-us__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 8px 0 !important; /* Adjust margin for stacked buttons */
  }

  .page-contact-us__hero-content .page-contact-us__cta-button {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Image responsiveness */
  .page-contact-us img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact-us__hero-image-wrapper,
  .page-contact-us__info-card,
  .page-contact-us__contact-form,
  .page-contact-us__faq-item,
  .page-contact-us__info-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-contact-us__contact-form,
  .page-contact-us__faq-list {
    padding: 0 15px;
  }

  /* Video responsiveness (if any, though not explicitly in contact page for now) */
  .page-contact-us video,
  .page-contact-us__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact-us__video-section,
  .page-contact-us__video-container,
  .page-contact-us__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-contact-us__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  /* Ensure multiple buttons stack vertically */
  .page-contact-us__hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .page-contact-us__info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-contact-us__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }
  .page-contact-us__section-title {
    font-size: clamp(1.3em, 7vw, 1.8em);
  }
  .page-contact-us__cta-button {
    padding: 10px 20px;
  }
}