/* style/contact.css */
/* Body padding-top is handled by shared.css, no need to add var(--header-offset) here */

/* Base styles for the page content */
.page-contact {
  color: #F2FFF6; /* Text Main for light text on dark background */
  background-color: #08160F; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px; /* Add some padding at the bottom */
}

.page-contact a {
  color: #57E38D; /* Glow for links */
  text-decoration: none;
}

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

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding: 10px 20px 60px;
  box-sizing: border-box;
  background-color: #08160F; /* Ensure consistent background */
}

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

.page-contact__hero-content {
  max-width: 900px;
  text-align: center;
  z-index: 1;
}

.page-contact__main-title {
  font-size: clamp(2em, 5vw, 2.8em); /* Clamp for H1 font size */
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-contact__subtitle {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* General Section Styling */
.page-contact__section {
  padding: 60px 20px;
  background-color: #08160F; /* Background */
  box-sizing: border-box;
}

.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-contact__section-title {
  font-size: 2.2em;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__section-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-contact__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-contact__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #57E38D; /* Glow for text */
  border: 2px solid #2E7A4E; /* Border */
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.page-contact__btn-secondary:hover {
  background-color: #11A84E; /* Main Color */
  color: #F2FFF6; /* Text Main */
}

/* Channels Section */
.page-contact__channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-contact__channel-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.page-contact__channel-card:hover {
  transform: translateY(-5px);
}

.page-contact__channel-icon {
  width: 100%; /* Ensure image takes full width of card */
  max-width: 250px; /* Max width for consistency */
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-contact__card-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__card-text {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 25px;
  flex-grow: 1; /* Push button to bottom */
}

/* When to Contact Section */
.page-contact__issues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-contact__issue-item {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.page-contact__issue-item:hover {
  background-color: #1E3A2A; /* Divider for subtle hover */
}

.page-contact__issue-title {
  font-size: 1.3em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-contact__issue-text {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
}

.page-contact__cta-block {
    text-align: center;
    margin-top: 60px;
    padding: 30px;
    background-color: #0A4B2C; /* Deep Green */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__cta-text {
    font-size: 1.3em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 25px;
    font-weight: bold;
}

/* FAQ Section */
.page-contact__faq-section {
  padding-bottom: 80px;
}

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

.page-contact__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-contact__faq-item summary { /* For details tag */
  list-style: none; /* Remove default marker */
}

.page-contact__faq-item summary::-webkit-details-marker { /* For webkit browsers */
  display: none;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
  cursor: pointer;
  background-color: #11271B; /* Card BG */
  border-bottom: 1px solid #2E7A4E; /* Border */
  transition: background-color 0.3s ease;
}

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

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

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

.page-contact__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  background-color: #08160F; /* Background */
  border-top: 1px solid #2E7A4E; /* Border */
}

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

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

.page-contact__faq-link {
    color: #57E38D; /* Glow */
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
}

/* Conclusion Section */
.page-contact__conclusion-section {
  padding-top: 0;
  padding-bottom: 80px;
}

.page-contact__cta-final {
    text-align: center;
    margin-top: 40px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-contact__main-title {
    font-size: clamp(2em, 6vw, 2.5em);
  }

  .page-contact__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Images responsive */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers with images/videos/buttons responsive */
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__channels-grid,
  .page-contact__issues-grid,
  .page-contact__faq-list,
  .page-contact__hero-section,
  .page-contact__hero-content,
  .page-contact__cta-block,
  .page-contact__cta-final {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  /* Buttons responsive */
  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .page-contact a[class*="button"],
  .page-contact a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-bottom: 10px; /* Space between stacked buttons */
  }

  /* Button groups */
  .page-contact__cta-buttons,
  .page-contact__button-group,
  .page-contact__btn-container {
    display: flex !important;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow-x: hidden !important;
  }

  .page-contact__hero-section {
    padding: 10px 15px 40px; /* Adjust padding */
  }

  .page-contact__hero-image {
    margin-bottom: 20px;
  }

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

  .page-contact__subtitle {
    font-size: 1em;
  }

  .page-contact__section-title {
    font-size: 1.8em;
  }

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

  .page-contact__channels-grid,
  .page-contact__issues-grid {
    grid-template-columns: 1fr; /* Stack cards on mobile */
  }

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

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

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

  .page-contact__faq-answer {
    padding: 15px 20px;
  }
}

/* Ensure no filter on images */
.page-contact img {
  filter: none !important;
}