/* style/contact.css */
.page-contact {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

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

.page-contact__hero-content {
  position: relative; /* Ensure content is above image but not overlapping */
  text-align: center;
  padding: 40px 20px;
  max-width: 800px;
  margin-top: -80px; /* Adjust to move content slightly up without overlapping image */
  background-color: rgba(17, 39, 27, 0.9); /* Card BG with transparency */
  border-radius: 10px;
  z-index: 10;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-contact__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-contact__intro-text {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

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

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

.page-contact__cta-button--small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.page-contact__cta-button--secondary {
  background: transparent;
  border: 2px solid #2E7A4E; /* Border */
  color: #F2FFF6; /* Text Main */
}

.page-contact__cta-button--secondary:hover {
  background: rgba(46, 122, 78, 0.2); /* Border color with transparency */
}

/* General Section Styling */
.page-contact__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-contact__sub-title {
  font-size: 1.5rem;
  color: #F2FFF6; /* Text Main */
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: center;
}

.page-contact__text-content {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  text-align: center;
}

/* Methods Section */
.page-contact__methods-section {
  padding: 60px 0;
}

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

.page-contact__card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
}

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

.page-contact__card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-contact__card-title {
  font-size: 1.4rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-contact__card-text {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-contact__card-text strong {
  color: #F2FFF6;
}

.page-contact__card-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s ease;
  border: none;
}

.page-contact__card-button:hover {
  opacity: 0.9;
}

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

.page-contact__social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #2E7A4E; /* Border */
  color: #F2FFF6; /* Text Main */
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.2rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-contact__social-icon:hover {
  background-color: #13994A; /* Darker green from button gradient */
  transform: translateY(-3px);
}

/* Why Us Section */
.page-contact__why-us-section {
  padding: 60px 0;
  background-color: #11271B; /* Card BG */
}

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

.page-contact__feature-item {
  background-color: #08160F; /* Background */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #2E7A4E; /* Border */
}

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

.page-contact__feature-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 60px 0;
}

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

.page-contact__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.1rem;
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #2E7A4E; /* Border */
}

.page-contact__faq-item[open] .page-contact__faq-question {
  border-bottom: 1px solid #2E7A4E; /* Border */
}

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

.page-contact__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #57E38D; /* Glow */
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

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

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

.page-contact__faq-button {
  display: inline-block;
  padding: 8px 15px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 0.9rem;
  transition: opacity 0.3s ease;
}

.page-contact__faq-button:hover {
  opacity: 0.9;
}

/* Responsible Gaming & Feedback Sections */
.page-contact__responsible-gaming-section,
.page-contact__feedback-section,
.page-contact__conclusion-section {
  padding: 50px 0;
  text-align: center;
}

.page-contact__responsible-gaming-section {
  background-color: #0A4B2C; /* Deep Green */
}

.page-contact__conclusion-section {
  background-color: #11271B; /* Card BG */
}

.page-contact__cta-buttons-final {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-content {
    margin-top: -60px;
    padding: 30px 15px;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    margin-bottom: 20px;
  }

  .page-contact__hero-content {
    margin-top: -40px;
    padding: 25px 10px;
  }

  .page-contact__main-title {
    font-size: 2rem;
  }

  .page-contact__intro-text {
    font-size: 1rem;
  }

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

  .page-contact__section-description {
    margin-bottom: 30px;
  }

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

  .page-contact__card {
    padding: 20px;
  }

  .page-contact__card-image {
    max-width: 300px;
  }

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

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

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

  .page-contact__social-links {
    flex-wrap: wrap;
  }

  .page-contact__cta-buttons-final {
    flex-direction: column;
    gap: 15px;
  }

  /* Mobile responsive images */
  .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__hero-section,
  .page-contact__methods-section,
  .page-contact__why-us-section,
  .page-contact__faq-section,
  .page-contact__responsible-gaming-section,
  .page-contact__feedback-section,
  .page-contact__conclusion-section,
  .page-contact__social-media,
  .page-contact__feature-item,
  .page-contact__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact__hero-section {
    padding-top: 10px !important;
  }

  /* Mobile responsive buttons */
  .page-contact__cta-button,
  .page-contact__card-button,
  .page-contact__faq-button,
  .page-contact__social-icon,
  .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;
    padding-right: 15px;
  }

  .page-contact__cta-buttons-final {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

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

  .page-contact__main-title {
    font-size: 1.6rem;
  }

  .page-contact__section-title {
    font-size: 1.5rem;
  }

  .page-contact__cta-button {
    padding: 12px 20px;
  }

  .page-contact__social-icon {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
}