/* style/contact.css */

/* Base styles for the page content */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Inherited from body, but explicitly set for safety */
}

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

/* Header offset to prevent content from being hidden by fixed header */
.page-contact__hero-section {
  padding-top: var(--header-offset, 120px); /* Apply header offset to the first content section */
}

.page-contact__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0; /* Lighter text for description */
}

/* Hero Section */
.page-contact__hero-section {
  background: linear-gradient(rgba(1, 116, 57, 0.8), rgba(0, 0, 0, 0.8)), url('[GALLERY:contact_hero_bg:1920x1080:customer_support,online_betting,link_bong_88,green_theme,abstract_background]') no-repeat center center/cover;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-contact__hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 40px;
}

.page-contact__hero-content {
  max-width: 800px;
  text-align: center;
}

.page-contact__hero-title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-contact__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Ensure buttons wrap on small screens */
}

.page-contact__hero-image-wrapper {
  max-width: 800px;
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary,
.page-contact__btn-link,
.page-contact__social-btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons adapt to container width */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-contact__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-contact__btn-primary:hover {
  background-color: #005f2e;
  border-color: #005f2e;
  transform: translateY(-2px);
}

.page-contact__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-contact__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
  transform: translateY(-2px);
}

.page-contact__btn-link {
  background-color: transparent;
  color: #017439;
  border: 2px solid #017439;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-contact__btn-link:hover {
  background-color: #017439;
  color: #ffffff;
}

/* Color Contrast Safeguards */
.page-contact__dark-bg {
  background-color: #121212; /* Body background */
  color: #ffffff;
}

.page-contact__light-bg {
  background-color: #2a2a2a; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

/* Channels Section */
.page-contact__channels-section {
  padding: 80px 0;
}

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

.page-contact__channel-card {
  background-color: #1c1c1c; /* Dark card background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-contact__channel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-contact__channel-image {
  width: 100%; /* Make it fill the card width */
  max-width: 250px; /* Max width for the image within the card */
  height: auto;
  margin-bottom: 20px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-contact__channel-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__channel-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1; /* Push button to bottom */
}

.page-contact__channel-email,
.page-contact__channel-phone {
  font-size: 1.1em;
  color: #ffffff;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-contact__social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

.page-contact__social-btn {
    background-color: #017439;
    color: #ffffff;
    border: 1px solid #017439;
    padding: 8px 15px;
    font-size: 0.9em;
    border-radius: 5px;
}

.page-contact__social-btn:hover {
    background-color: #005f2e;
    border-color: #005f2e;
}


/* FAQ Section */
.page-contact__faq-section {
  padding: 80px 0;
  background-color: #121212; /* Ensure dark background */
}

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

.page-contact__faq-item {
  background-color: #1c1c1c; /* Dark card background */
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  background-color: #2a2a2a; /* Slightly lighter for question area */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-contact__faq-question:hover {
  background-color: #3a3a3a;
}

.page-contact__faq-title {
  font-size: 1.2em;
  color: #ffffff;
  margin: 0;
  font-weight: bold;
}

.page-contact__faq-toggle {
  font-size: 1.8em;
  color: #017439;
  font-weight: bold;
  transition: transform 0.3s ease;
}

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