.page-contact {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-contact__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #0A246A; /* Primary color background */
  color: #ffffff;
  text-align: center;
  padding-bottom: 60px;
  overflow: hidden;
}

.page-contact__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-contact__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #F3C70E; /* Auxiliary color for emphasis */
  line-height: 1.2;
  font-weight: bold;
}

.page-contact__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
  font-size: 1em;
}

.page-contact__button--primary {
  background-color: #F3C70E; /* Auxiliary color */
  color: #0A246A; /* Primary color for text */
  border: 2px solid #F3C70E;
}

.page-contact__button--primary:hover {
  background-color: #e0b40a;
  transform: translateY(-2px);
}

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

.page-contact__button--secondary:hover {
  background-color: rgba(243, 199, 14, 0.1);
  transform: translateY(-2px);
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3; /* Subtle background image */
}

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

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

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

.page-contact__methods-section {
  background-color: #f9f9f9;
  padding: 60px 0;
}

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

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

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

.page-contact__method-icon {
  width: 250px; /* Enforce min size 200px */
  height: 180px; /* Enforce min size 200px */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-contact__method-title {
  font-size: 1.5em;
  color: #0A246A;
  margin-bottom: 15px;
}

.page-contact__method-text {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 25px;
}

.page-contact__button--card {
  background-color: #0A246A;
  color: #F3C70E;
  border: none;
  padding: 10px 20px;
}

.page-contact__button--card:hover {
  background-color: #081e55;
}

.page-contact__form-section {
  padding: 60px 0;
  background-color: #eef2f7;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 40px auto 0 auto;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

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

.page-contact__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #0A246A;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 1em;
  color: #333333;
  box-sizing: border-box;
}

.page-contact__form-textarea {
  resize: vertical;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #999999;
}

.page-contact__button--submit {
  background-color: #F3C70E;
  color: #0A246A;
  border: none;
  width: 100%;
  padding: 15px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-contact__button--submit:hover {
  background-color: #e0b40a;
  transform: translateY(-2px);
}

.page-contact__responsible-gaming-section,
.page-contact__security-assurance-section {
  padding: 60px 0;
  text-align: center;
}

.page-contact__responsible-gaming-section {
  background-color: #0A246A;
  color: #ffffff;
}

.page-contact__responsible-gaming-section .page-contact__section-title {
  color: #F3C70E;
}

.page-contact__responsible-gaming-section .page-contact__section-description {
  color: #e0e0e0;
}

.page-contact__responsible-gaming-section .page-contact__button--primary {
  background-color: #F3C70E;
  color: #0A246A;
  margin-top: 30px;
}

.page-contact__responsible-gaming-section .page-contact__button--primary:hover {
  background-color: #e0b40a;
}

.page-contact__social-media-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  text-align: center;
}

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

.page-contact__social-icon-link {
  display: inline-block;
  transition: transform 0.2s ease;
}

.page-contact__social-icon-link:hover {
  transform: translateY(-5px);
}

.page-contact__social-icon-link img {
  width: 200px; /* Enforce min size */
  height: 200px; /* Enforce min size */
  object-fit: contain;
}

.page-contact__social-note {
  font-size: 0.9em;
  color: #777777;
  max-width: 600px;
  margin: 20px auto 0 auto;
}

.page-contact__faq-preview-section {
  padding: 60px 0;
  background-color: #eef2f7;
}

.page-contact__faq-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
}

.page-contact__faq-item {
  background-color: #ffffff;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.page-contact__faq-item:hover {
  transform: translateX(5px);
}

.page-contact__faq-item a {
  text-decoration: none;
  color: #0A246A;
  font-weight: bold;
  display: block;
  font-size: 1.1em;
}

.page-contact__faq-item a:hover {
  color: #F3C70E;
}

.page-contact__security-assurance-section .page-contact__button--secondary {
  margin-top: 30px;
  margin-right: 15px;
}

.page-contact__security-assurance-section .page-contact__button--secondary:last-child {
  margin-right: 0;
}

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

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

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

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding-top: var(--header-offset, 80px);
    padding-bottom: 40px;
  }

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

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

  .page-contact__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__button {
    width: 100%;
    max-width: 300px; /* Constrain button width on small screens */
  }

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

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

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

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

  .page-contact__form-input,
  .page-contact__form-textarea {
    width: 100%;
  }

  .page-contact__social-links {
    gap: 20px;
  }
  
  /* IMPORTANT: Mobile content area images must be responsive */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
  .page-contact__method-icon {
    width: 250px; /* Keep minimum width, but allow shrinking */
    height: auto; /* Maintain aspect ratio */
    max-width: 100%;
  }
  .page-contact__social-icon-link img {
    width: 200px; /* Keep minimum width, but allow shrinking */
    height: auto; /* Maintain aspect ratio */
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .page-contact__main-title {
    font-size: 1.8em;
  }

  .page-contact__method-card {
    padding: 20px;
  }

  .page-contact__contact-form {
    padding: 20px;
  }

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