/* style/contact.css */

/* Base styles */
.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--background-color, #ffffff); /* Ensure body background is respected */
}

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

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

.page-contact__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
}

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

.page-contact__btn-primary:hover {
  background-color: #005f2c;
  border-color: #005f2c;
}

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

.page-contact__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2c;
  border-color: #005f2c;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  padding: 100px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  text-align: center;
  background: linear-gradient(rgba(1, 116, 57, 0.8), rgba(1, 116, 57, 0.8)), url('[GALLERY:hero:1920x1080:contact_hero,i88_casino,support_center,green_theme]') center/cover no-repeat;
  color: #ffffff;
}

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

.page-contact__hero-description {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-contact__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Methods Section */
.page-contact__methods-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-contact__method-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-contact__method-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-contact__method-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 15px;
}

.page-contact__method-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
}

.page-contact__method-button {
  width: auto;
  min-width: 180px;
  padding: 12px 25px;
  font-size: 0.95em;
}

.page-contact__email-link,
.page-contact__phone-link {
  color: #017439;
  text-decoration: underline;
}

.page-contact__email-link:hover,
.page-contact__phone-link:hover {
  color: #005f2c;
}

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

.page-contact__social-icon-link img {
  
  
  transition: transform 0.3s ease;
}

.page-contact__social-icon-link img:hover {
  transform: scale(1.1);
}

/* Form Section */
.page-contact__form-section {
  padding: 80px 0;
  background-color: #017439;
  color: #ffffff;
}

.page-contact__form-section .page-contact__section-title,
.page-contact__form-section .page-contact__section-intro {
  color: #ffffff;
}

.page-contact__form {
  max-width: 700px;
  margin: 40px auto 0 auto;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.page-contact__form-label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 1.1em;
  color: #ffffff;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #FFFF00;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 0, 0.3);
}

.page-contact__form-textarea {
  resize: vertical;
  min-height: 120px;
}

.page-contact__form-submit-btn {
  width: 100%;
  padding: 18px;
  font-size: 1.2em;
  background-color: #FFFF00; /* Custom color for submit button */
  color: #017439; /* Custom font color */
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-contact__form-submit-btn:hover {
  background-color: #e6e600;
}

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

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

.page-contact__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.page-contact__faq-toggle {
  font-size: 1.5em;
  color: #017439;
  margin-left: 15px;
}

.page-contact__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #555555;
}

.page-contact__faq-answer p {
  margin-top: 0;
}

.page-contact__faq-link {
  color: #017439;
  text-decoration: underline;
}

.page-contact__faq-link:hover {
  color: #005f2c;
}

/* Commitment Section */
.page-contact__commitment-section {
  padding: 80px 0;
  background-color: #005f2c; /* A slightly darker green for contrast */
  color: #ffffff;
}

.page-contact__commitment-section .page-contact__section-title,
.page-contact__commitment-section .page-contact__section-intro {
  color: #ffffff;
}

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

.page-contact__commitment-item {
  text-align: center;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__commitment-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-contact__commitment-title {
  font-size: 1.8em;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-contact__commitment-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* Bottom CTA Section */
.page-contact__cta-bottom-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-contact__cta-bottom-section .page-contact__section-title {
  color: #017439;
}

.page-contact__cta-bottom-section .page-contact__section-intro {
  color: #555555;
}

.page-contact__register-btn {
  background-color: #C30808; /* Custom color for register button */
  color: #FFFF00; /* Custom font color */
  border-color: #C30808;
}

.page-contact__register-btn:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-contact__login-btn {
  background-color: #C30808; /* Custom color for login button */
  color: #FFFF00; /* Custom font color */
  border-color: #C30808;
}

.page-contact__login-btn:hover {
  background-color: #a30606;
  border-color: #a30606;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 3em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
}

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

  .page-contact__hero-section {
    padding: 80px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Important for mobile */
  }

  .page-contact__hero-title {
    font-size: 2.5em;
  }

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

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

  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    width: 100% !important;
    max-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__section-title {
    font-size: 1.8em;
  }

  .page-contact__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-contact__methods-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__commitment-section,
  .page-contact__cta-bottom-section {
    padding: 60px 0;
  }

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

  .page-contact__method-card,
  .page-contact__commitment-item {
    padding: 25px;
  }

  .page-contact__form {
    padding: 30px;
  }

  .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__method-card,
  .page-contact__commitment-item,
  .page-contact__form,
  .page-contact__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

/* Ensure no image filter for all images */
.page-contact img {
  filter: none;
}