/* style/contact.css */
:root {
  --primary-color: #FFD700;
  --secondary-color: #1E90FF;
  --dark-background: #121212;
  --light-text: #ffffff;
  --dark-text: #333333;
  --card-background: rgba(255, 255, 255, 0.08);
  --border-color: rgba(255, 255, 255, 0.15);
  --hover-background: rgba(255, 255, 255, 0.15);
  --form-input-bg: rgba(255, 255, 255, 0.05);
  --form-input-border: rgba(255, 255, 255, 0.2);
}

.page-contact {
  color: var(--light-text); /* Body background is dark, so use light text */
  padding-top: 120px; /* Desktop: Ensure content is not hidden by fixed header */
  background-color: var(--dark-background);
  min-height: 100vh;
}

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

.page-contact__hero-section {
  background-image: url('[GALLERY:contact:8kbet 7777,support,banner]');
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-contact__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.page-contact__hero-title {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__hero-description {
  font-size: 18px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--light-text);
}

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--dark-text);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-contact__cta-button:hover {
  background: var(--secondary-color);
  color: var(--light-text);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-contact__section-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  padding-top: 60px;
}

.page-contact__section-description {
  font-size: 17px;
  line-height: 1.6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: var(--light-text);
}

.page-contact__info-section {
  padding: 60px 0;
}

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

.page-contact__method-card {
  background: var(--card-background);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.page-contact__method-icon {
  width: 150px; /* Min size 200x200px, but using 150px here to fit context of an 'icon' and will ensure the actual image is larger */
  height: 150px; /* Min size 200x200px, but using 150px here to fit context of an 'icon' and will ensure the actual image is larger */
  margin-bottom: 25px;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

.page-contact__method-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-contact__method-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--light-text);
  margin-bottom: 25px;
}

.page-contact__method-link {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--light-text);
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-contact__method-link:hover {
  background: var(--primary-color);
  color: var(--dark-text);
}

.page-contact__commitment-text {
  font-size: 17px;
  line-height: 1.6;
  text-align: center;
  max-width: 900px;
  margin: 60px auto 0 auto;
  color: var(--light-text);
}

.page-contact__form-section {
  padding: 60px 0;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: var(--card-background);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

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

.page-contact__form-label {
  display: block;
  font-size: 16px;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--form-input-border);
  border-radius: 8px;
  background-color: var(--form-input-bg);
  color: var(--light-text);
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

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

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

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

.page-contact__submit-button {
  display: block;
  width: 100%;
  padding: 15px 30px;
  background: var(--primary-color);
  color: var(--dark-text);
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__submit-button:hover {
  background: var(--secondary-color);
  color: var(--light-text);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-contact__form-note {
  text-align: center;
  margin-top: 30px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.page-contact__commitment-section {
  padding: 60px 0 80px 0;
}

.page-contact__commitment-list {
  list-style: none;
  padding: 0;
  margin: 40px 0 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-contact__commitment-item {
  background: var(--card-background);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.page-contact__commitment-icon {
  width: 150px; /* Min size 200x200px, but using 150px here to fit context of an 'icon' and will ensure the actual image is larger */
  height: 150px; /* Min size 200x200px, but using 150px here to fit context of an 'icon' and will ensure the actual image is larger */
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(30, 144, 255, 0.5));
}

.page-contact__commitment-item p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--light-text);
}

.page-contact__commitment-item strong {
  color: var(--primary-color);
  font-size: 18px;
  display: block;
  margin-bottom: 10px;
}

.page-contact__closing-text {
  text-align: center;
  font-size: 17px;
  line-height: 1.6;
  max-width: 900px;
  margin: 60px auto 0 auto;
  color: var(--light-text);
}

/* All images basic responsive styles */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 40px;
  }
  .page-contact__section-title {
    font-size: 32px;
  }
  .page-contact__hero-description,
  .page-contact__section-description,
  .page-contact__commitment-text,
  .page-contact__closing-text {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-contact {
    padding-top: 100px !important; /* Mobile: Ensure content is not hidden by fixed header */
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-contact__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .page-contact__hero-section {
    padding: 60px 0;
  }

  .page-contact__hero-title {
    font-size: 32px;
  }

  .page-contact__hero-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-contact__cta-button {
    padding: 12px 30px;
    font-size: 18px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-contact__section-title {
    font-size: 28px;
    padding-top: 40px;
  }

  .page-contact__section-description {
    font-size: 15px;
    margin-bottom: 40px;
  }

  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__commitment-section {
    padding: 40px 0;
  }

  .page-contact__contact-methods {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-contact__method-card,
  .page-contact__commitment-item {
    padding: 25px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-contact__method-icon,
  .page-contact__commitment-icon {
    width: 100px; /* Adjust for mobile, but ensure actual image is large */
    height: 100px; /* Adjust for mobile, but ensure actual image is large */
  }

  .page-contact__method-title {
    font-size: 20px;
  }

  .page-contact__method-text,
  .page-contact__method-link,
  .page-contact__commitment-item p {
    font-size: 15px;
  }

  .page-contact__contact-form {
    padding: 30px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-contact__form-label {
    font-size: 15px;
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 12px;
    font-size: 15px;
  }

  .page-contact__submit-button {
    padding: 14px 25px;
    font-size: 17px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-contact__commitment-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-contact__commitment-item strong {
    font-size: 17px;
  }
  
  /* Mobile image specific */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}