/* style/contact.css */
.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color on light background */
  background-color: #FFFFFF; /* Body background is white */
}

.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, header offset handled by body */
  background: linear-gradient(180deg, #f0f0f0, #ffffff);
  overflow: hidden;
}

.page-contact__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-contact__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-contact__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #017439;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__hero-description {
  font-size: clamp(16px, 1.8vw, 20px);
  color: #555555;
  max-width: 800px;
  margin: 0 auto 30px auto;
  line-height: 1.5;
}

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-contact__btn-primary:hover {
  background: #005f2e;
  border-color: #005f2e;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

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

.page-contact__btn-secondary:hover {
  background: #f0f0f0;
  color: #005f2e;
  border-color: #005f2e;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* General Section Styling */
.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-contact__section-title {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-contact__section-intro {
  font-size: clamp(15px, 1.6vw, 18px);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #444444;
}

.page-contact__why-contact-section {
  padding: 80px 0;
}

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

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

.page-contact__benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-contact__benefit-title {
  font-size: clamp(20px, 2.2vw, 24px);
  color: #017439;
  margin-bottom: 15px;
}

.page-contact__benefit-item p {
  font-size: clamp(15px, 1.6vw, 17px);
  color: #555555;
}

.page-contact__methods-section {
  padding: 80px 0;
  color: #ffffff; /* Text on dark background */
  background-color: #017439; /* Primary brand color */
}

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

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

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

.page-contact__method-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
}

.page-contact__method-card img {
  width: 100%;
  
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-contact__method-title {
  font-size: clamp(20px, 2.2vw, 24px);
  color: #ffffff;
  margin-bottom: 15px;
}

.page-contact__method-card p {
  font-size: clamp(15px, 1.6vw, 17px);
  color: #f0f0f0;
  margin-bottom: 25px;
}

.page-contact__method-button {
  display: inline-block;
  padding: 10px 25px;
  font-size: 16px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__method-card a {
  color: #ffffff;
}

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

.page-contact__social-icon {
    background: #ffffff;
    color: #017439;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.page-contact__social-icon:hover {
    background: #f0f0f0;
    color: #005f2e;
}

.page-contact__form-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

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

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

.page-contact__form-label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 8px;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  font-size: 16px;
  color: #333333;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #017439;
  box-shadow: 0 0 0 3px rgba(1, 116, 57, 0.2);
  outline: none;
}

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

.page-contact__submit-button {
  width: 100%;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__submit-button.page-contact__btn-primary {
  background: #017439;
  color: #ffffff;
}

.page-contact__submit-button.page-contact__btn-primary:hover {
  background: #005f2e;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__responsible-gambling-security-section {
  padding: 80px 0;
  background-color: #017439;
  color: #ffffff;
  text-align: center;
}

.page-contact__responsible-gambling-security-section .page-contact__section-title,
.page-contact__responsible-gambling-security-section .page-contact__section-intro {
  color: #ffffff;
}

.page-contact__responsible-gambling-security-section p {
  font-size: clamp(15px, 1.6vw, 17px);
  max-width: 900px;
  margin: 0 auto 25px auto;
  color: #f0f0f0;
}

.page-contact__faq-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

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

details.page-contact__faq-item summary.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 600;
  color: #333333;
}

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

details.page-contact__faq-item summary.page-contact__faq-question:hover {
  background: #f0f0f0;
}

.page-contact__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
}

.page-contact__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #017439;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-contact__faq-item .page-contact__faq-answer {
  padding: 10px 25px 25px;
  background: #ffffff;
  border-top: 1px solid #e9e9e9;
  border-radius: 0 0 10px 10px;
  font-size: clamp(15px, 1.6vw, 17px);
  color: #555555;
}

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

.highlight {
  color: #017439;
  font-weight: 600;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-contact__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-contact__hero-image {
    border-radius: 8px;
    margin-bottom: 20px;
  }

  .page-contact__main-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-contact__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-contact__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    width: 100% !important;
  }

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

  .page-contact__section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

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

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

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

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

  .page-contact__method-card img {
    
  }

  .page-contact__method-button {
    width: 100% !important;
    font-size: 15px;
    padding: 10px 20px;
  }

  .page-contact__social-links {
      flex-wrap: wrap;
      justify-content: center;
  }

  .page-contact__social-icon {
      flex-grow: 1;
      text-align: center;
      max-width: calc(50% - 7.5px);
  }

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

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

  .page-contact__submit-button {
    padding: 12px 20px;
    font-size: 16px;
    width: 100% !important;
  }

  .page-contact__responsible-gambling-security-section p {
    font-size: 15px;
  }

  details.page-contact__faq-item summary.page-contact__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }

  .page-contact__faq-toggle {
    font-size: 24px;
    width: 25px;
  }

  details.page-contact__faq-item .page-contact__faq-answer {
    padding: 10px 20px 20px;
    font-size: 15px;
  }
  
  /* Mobile image and button responsive rules */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__hero-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-contact__cta-button,
  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .page-contact a[class*="button"],
  .page-contact a[class*="btn"],
  .page-contact__submit-button {
    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,
  .page-contact__button-group,
  .page-contact__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-contact__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}