:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --bg-color: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* --- Base Styles --- */
.page-contact {
  color: var(--text-main); /* Light text on dark background */
  background-color: var(--bg-color); /* Deep green background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-contact__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--text-main); /* Main text color */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-contact__section-description {
  font-size: 1.1rem;
  color: var(--text-secondary); /* Secondary text color */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__link {
  color: var(--gold); /* Gold for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-contact__link:hover {
  color: var(--glow); /* Lighter green on hover */
  text-decoration: underline;
}

/* --- Buttons --- */
.page-contact__cta-button,
.page-contact__btn-primary,
.page-contact__btn-submit {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  background: var(--button-gradient); /* Gradient button background */
  color: var(--text-main); /* Light text on button */
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__cta-button:hover,
.page-contact__btn-primary:hover,
.page-contact__btn-submit:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__cta-button--large {
  padding: 15px 35px;
  font-size: 1.2rem;
  border-radius: 10px;
}

/* --- Hero Section --- */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding */
  overflow: hidden;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px; /* Space between image and content */
}

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

.page-contact__main-title {
  font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  color: var(--text-main); /* Main text color */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary); /* Secondary text color */
  margin-bottom: 30px;
}

/* --- Info Section --- */
.page-contact__info-section {
  padding: 80px 0;
  background-color: var(--bg-color); /* Dark background */
}

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

.page-contact__card {
  background-color: var(--card-bg); /* Dark card background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color); /* Border for cards */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Distribute content */
  align-items: center;
}

.page-contact__card-image {
  width: 100%;
  max-width: 400px; /* Max width for card images */
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-contact__card-title {
  font-size: 1.7rem;
  font-weight: bold;
  color: var(--text-main); /* Main text color */
  margin-bottom: 15px;
}

.page-contact__card-text {
  font-size: 1rem;
  color: var(--text-secondary); /* Secondary text color */
  margin-bottom: 20px;
  flex-grow: 1; /* Allow text to grow */
}

.page-contact__contact-detail {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 15px;
}

/* --- Form Section --- */
.page-contact__form-section {
  padding: 80px 0;
  background-color: var(--bg-color); /* Dark background */
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--card-bg); /* Dark form background */
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color); /* Border for form */
}

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

.page-contact__form-label {
  display: block;
  font-size: 1rem;
  color: var(--text-main); /* Main text color */
  margin-bottom: 8px;
  font-weight: bold;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color); /* Border color */
  border-radius: 8px;
  background-color: #1a3025; /* Slightly lighter dark for input fields */
  color: var(--text-main); /* Light text for input */
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: var(--glow); /* Glow color on focus */
  outline: none;
  box-shadow: 0 0 0 3px rgba(87, 227, 141, 0.3); /* Glow effect */
}

.page-contact__form-textarea {
  resize: vertical;
  min-height: 120px;
}

.page-contact__btn-submit {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
}

/* --- FAQ Section --- */
.page-contact__faq-section {
  padding: 80px 0;
  background-color: var(--bg-color); /* Dark background */
}

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

.page-contact__faq-item {
  background-color: var(--card-bg); /* Dark card background */
  border: 1px solid var(--border-color); /* Border for FAQ item */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--text-main); /* Main text color */
  background-color: #1a3025; /* Slightly lighter dark for question header */
  transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
  background-color: #223a2d; /* Slightly lighter on hover */
}

.page-contact__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow); /* Glow color for toggle icon */
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
  color: var(--gold); /* Gold color when open */
}

.page-contact__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: var(--text-secondary); /* Secondary text color */
  line-height: 1.7;
}

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

/* --- CTA Banner --- */
.page-contact__cta-banner {
  padding: 80px 0;
  text-align: center;
  background-image: linear-gradient(135deg, var(--deep-green), var(--primary-color)); /* Gradient background */
  box-shadow: inset 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__cta-container {
  max-width: 900px;
}

.page-contact__cta-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--text-main); /* Light text */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-contact__cta-description {
  font-size: 1.2rem;
  color: var(--text-secondary); /* Secondary text */
  margin-bottom: 40px;
}

/* --- Responsive Styles --- */
@media (max-width: 992px) {
  .page-contact__section-title {
    font-size: 2rem;
  }
  .page-contact__hero-description,
  .page-contact__section-description,
  .page-contact__cta-description {
    font-size: 1rem;
  }
  .page-contact__card-title {
    font-size: 1.5rem;
  }
  .page-contact__card-image {
    height: 200px;
  }
  .page-contact__cta-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  /* Ensure all content sections have padding */
  .page-contact__hero-section,
  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__cta-banner {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  /* All containers for images and content */
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__hero-image-wrapper,
  .page-contact__contact-cards,
  .page-contact__faq-list,
  .page-contact__contact-form,
  .page-contact__cta-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent content overflow */
  }

  /* Buttons responsiveness */
  .page-contact__cta-button,
  .page-contact__btn-primary,
  .page-contact__btn-submit {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px; /* Add internal padding */
    padding-right: 15px; /* Add internal padding */
  }

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

  .page-contact__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-contact__hero-description {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__cta-banner {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .page-contact__section-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .page-contact__section-description {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  .page-contact__contact-cards {
    grid-template-columns: 1fr; /* Stack cards vertically */
  }

  .page-contact__card {
    padding: 25px;
  }

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

  .page-contact__card-title {
    font-size: 1.3rem;
  }

  .page-contact__contact-form {
    padding: 30px;
  }

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

  .page-contact__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-contact__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.9rem;
  }

  .page-contact__cta-title {
    font-size: 1.8rem;
  }

  .page-contact__cta-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .page-contact__main-title {
    font-size: clamp(1.5rem, 9vw, 2.2rem);
  }
  .page-contact__cta-button--large {
    padding: 12px 25px;
    font-size: 1rem;
  }
}