.page-contact {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
}

.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 40px 0; /* Small top padding, more bottom padding */
  text-align: center;
  overflow: hidden;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px; /* Limit hero image height */
}

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  max-width: 900px;
  margin-top: -100px; /* Adjust to slightly overlap with image for visual flow */
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__main-title {
  color: var(--text-main);
  font-size: clamp(2em, 5vw, 3.5em);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
}

.page-contact__hero-description {
  color: var(--text-secondary);
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-contact__section {
  padding: 60px 0;
  background-color: var(--bg-color);
}

.page-contact__section:nth-of-type(even) {
  background-color: var(--deep-green); /* Alternate background for sections */
}

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

.page-contact__section-title {
  color: var(--text-main);
  font-size: clamp(1.8em, 4vw, 2.8em);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-contact__text {
  color: var(--text-secondary);
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 15px;
}

.page-contact__text a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-contact__text a:hover {
  color: var(--glow);
  text-decoration: underline;
}

.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.page-contact__btn-secondary {
  background: var(--card-bg);
  color: var(--glow);
  border: 1px solid var(--glow);
}

.page-contact__btn-secondary:hover {
  background: var(--glow);
  color: var(--card-bg);
  transform: translateY(-2px);
}

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

.page-contact__channel-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-contact__channel-icon {
  width: 100%;
  height: auto;
  max-width: 250px; /* Limit icon size */
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-contact__card-title {
  color: var(--text-main);
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__social-list {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.page-contact__social-list li {
  margin-bottom: 10px;
}

.page-contact__social-list a {
  color: var(--glow);
  text-decoration: none;
  font-size: 1.1em;
}

.page-contact__social-list a:hover {
  text-decoration: underline;
  color: var(--gold);
}

.page-contact__faq-list {
  margin-top: 40px;
}

.page-contact__faq-item {
  background: var(--card-bg);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: var(--text-main);
  font-weight: bold;
  font-size: 1.1em;
  background: var(--card-bg);
  border-bottom: 1px solid var(--divider);
  list-style: none;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

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

.page-contact__faq-question:hover {
  background: rgba(var(--glow-rgb), 0.1);
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--glow);
  transition: transform 0.3s ease;
}

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

.page-contact__faq-answer {
  padding: 15px 25px 20px;
  color: var(--text-secondary);
  font-size: 0.95em;
  line-height: 1.6;
  border-top: 1px solid var(--divider);
}

.page-contact__commitment-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-contact__commitment-list li {
  background: var(--card-bg);
  border-left: 5px solid var(--glow);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  color: var(--text-secondary);
  font-size: 1em;
  line-height: 1.5;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.page-contact__commitment-list li strong {
  color: var(--text-main);
  display: block;
  margin-bottom: 5px;
}

/* Variables for colors */
: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;
  --glow-rgb: 87, 227, 141;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-contact__hero-content {
    margin-top: -80px;
  }

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

  .page-contact__section-title {
    font-size: clamp(1.6em, 4vw, 2.5em);
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }
  
  .page-contact__hero-content {
    margin-top: -60px;
    padding: 15px;
    max-width: 90%;
  }

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

  .page-contact__hero-description {
    font-size: 1em;
  }

  .page-contact__section {
    padding: 40px 0;
  }

  .page-contact__container {
    padding: 0 15px;
  }

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

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

  .page-contact__channel-card {
    padding: 20px;
  }

  .page-contact__channel-icon {
    max-width: 200px;
  }

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

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

  /* Ensure all images are responsive */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure all image containers are responsive */
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__hero-section,
  .page-contact__channel-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-content {
    margin-top: -40px;
  }

  .page-contact__main-title {
    font-size: clamp(1.2em, 7vw, 2em);
  }

  .page-contact__section-title {
    font-size: clamp(1.4em, 6vw, 2em);
  }

  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    font-size: 0.9em;
  }
}