.page-contact {
  background-color: var(--background-color, #08160F); /* Fallback to dark green if var not set */
  color: #F2FFF6; /* Main text color for dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-contact a {
  color: #2AD16F; /* Green for links */
  text-decoration: none;
}

.page-contact a:hover {
  text-decoration: underline;
  color: #57E38D; /* Lighter green on hover */
}

.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Default to column for mobile first */
  align-items: center;
  justify-content: center;
  padding: 60px 20px 40px; /* Adjust padding, small top padding */
  text-align: center;
  overflow: hidden; /* Ensure content doesn't overflow */
}

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

.page-contact__hero-content {
  max-width: 900px;
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
  z-index: 1; /* Ensure text is above any potential background layers */
}

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

.page-contact__tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  width: 100%;
  max-width: 600px;
  box-sizing: border-box;
}

.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons are responsive */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Main text color for button */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-contact__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Green for secondary button text */
  border: 2px solid #2AD16F; /* Green border */
}

.page-contact__btn-secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  transform: translateY(-2px);
}

.page-contact__emoji {
  display: inline-block;
  margin-left: 10px;
  font-size: 1em; /* Adjust relative to parent font size */
}

.page-contact__section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px 15px;
  box-sizing: border-box;
}

.page-contact__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #F2C14E; /* Gold color for section titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__section-description {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: #A7D9B8; /* Secondary text color */
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__card {
  background-color: #11271B; /* Card BG color */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #2E7A4E; /* Border color */
}

.page-contact__card-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Gold for card titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__card-text {
  color: #F2FFF6; /* Main text color */
  margin-bottom: 20px;
  flex-grow: 1; /* Allow text to grow */
}

.page-contact__link-email,
.page-contact__link-phone {
  color: #2AD16F;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 10px;
  display: block; /* Ensure full clickable area */
}

.page-contact__card-note {
  font-size: 0.9rem;
  color: #A7D9B8;
  margin-top: 10px;
}

.page-contact__contact-form-section {
  text-align: center;
}

.page-contact__form-container {
  display: flex;
  flex-direction: column; /* Default to column */
  gap: 30px;
  margin-top: 30px;
  align-items: center;
}

.page-contact__form-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.page-contact__contact-form {
  background-color: #11271B; /* Card BG color */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 600px;
  text-align: left;
  border: 1px solid #2E7A4E;
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 5px;
  background-color: #0A4B2C; /* Deep Green for input background */
  color: #F2FFF6; /* Main text color */
  font-size: 1rem;
  box-sizing: border-box;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  outline: none;
  border-color: #2AD16F; /* Green on focus */
  box-shadow: 0 0 0 3px rgba(42, 209, 111, 0.3);
}

.page-contact__form-textarea {
  resize: vertical;
}

.page-contact__faq-section {
  text-align: center;
}

.page-contact__faq-list {
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__faq-item summary {
  list-style: none; /* Remove default marker */
  cursor: pointer;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: bold;
  color: #F2FFF6; /* Main text color */
  transition: background-color 0.3s ease;
}

.page-contact__faq-item summary::-webkit-details-marker {
  display: none; /* Hide Chrome's default marker */
}

.page-contact__faq-item summary:hover {
  background-color: rgba(42, 209, 111, 0.1); /* Light green hover for summary */
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-contact__faq-qtext {
  flex-grow: 1;
  color: #F2FFF6;
}

.page-contact__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2AD16F; /* Green for toggle icon */
  margin-left: 15px;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
  content: "−"; /* Change to minus when open */
}

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

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

.page-contact__faq-answer a {
  color: #2AD16F;
  text-decoration: underline;
}

.page-contact__why-contact-us {
  text-align: center;
}

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

.page-contact__feature-card {
  padding: 25px;
}

.page-contact__cta-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 50px;
}

.page-contact__support-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.page-contact__office-info {
  text-align: center;
}

.page-contact__office-details {
  background-color: #11271B; /* Card BG color */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  margin: 30px auto;
  border: 1px solid #2E7A4E;
}

.page-contact__detail-item {
  font-size: 1.1rem;
  color: #F2FFF6; /* Main text color */
  margin-bottom: 10px;
}

.page-contact__detail-item strong {
  color: #F2C14E; /* Gold for strong text */
}

.page-contact__office-map-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-top: 20px;
  object-fit: cover;
}

/* Responsive styles */
@media (min-width: 768px) {
  .page-contact__hero-section {
    flex-direction: row-reverse; /* Image on right, text on left */
    text-align: left;
    padding: 80px 40px;
    gap: 40px;
  }

  .page-contact__hero-content {
    text-align: left;
  }

  .page-contact__hero-image {
    margin-top: 0;
    max-width: 50%;
  }

  .page-contact__main-title {
    text-align: left;
  }

  .page-contact__tagline {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }

  .page-contact__cta-buttons {
    justify-content: flex-start;
    max-width: none; /* Allow full width for buttons */
  }

  .page-contact__form-container {
    flex-direction: row; /* Image on left, form on right */
    align-items: flex-start;
  }

  .page-contact__form-image {
    max-width: 50%;
  }

  .page-contact__contact-form {
    max-width: 50%;
  }
}

/* Mobile responsive images/videos/buttons */
@media (max-width: 768px) {
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__form-container,
  .page-contact__contact-form,
  .page-contact__method-grid,
  .page-contact__feature-grid,
  .page-contact__cta-buttons,
  .page-contact__hero-content,
  .page-contact__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  .page-contact__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 20px !important;
    flex-direction: column;
  }
  
  .page-contact__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    padding: 0 15px; /* Adjust padding for buttons */
  }

  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    width: 100% !important; /* Full width for buttons */
    max-width: 100% !important;
    padding-left: 10px;
    padding-right: 10px;
  }

  .page-contact__hero-image,
  .page-contact__form-image,
  .page-contact__support-image,
  .page-contact__office-map-image {
    border-radius: 5px; /* Slightly smaller border-radius for mobile */
  }

  /* Content area images minimum size check */
  .page-contact__form-image,
  .page-contact__support-image,
  .page-contact__office-map-image {
    min-width: 200px;
    min-height: 200px;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    font-size: 0.95rem;
    padding: 10px;
  }
}