.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* body background from shared.css */
}

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

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  padding: 120px 0 80px; /* Adjusted padding to account for header offset */
  background: url('[GALLERY:hero_contact:1920x1080:contact,support_team,da_ga,online_betting,professional]') center/cover no-repeat;
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-contact__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-contact__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FF4500;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* General Section Styling */
.page-contact__section-title {
  font-size: 2.5em;
  color: #FF4500;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 60px;
}

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

/* Methods Section */
.page-contact__methods-section {
  padding: 60px 0;
  background-color: rgba(30, 144, 255, 0.1); /* Subtle blue tint */
}

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

.page-contact__method-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  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 rgba(255, 255, 255, 0.1);
}

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

.page-contact__method-icon {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-contact__method-text {
  color: #cccccc;
  margin-bottom: 25px;
}

/* Call to Action Buttons */
.page-contact__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 10px;
  box-sizing: border-box;
}

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

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

.page-contact__btn-secondary {
  background-color: transparent;
  color: #1E90FF;
  border: 2px solid #1E90FF;
}

.page-contact__btn-secondary:hover {
  background-color: #1E90FF;
  color: #ffffff;
  transform: translateY(-2px);
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 60px 0;
  background-color: rgba(255, 69, 0, 0.1); /* Subtle orange tint */
}

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

.page-contact__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-contact__faq-question h3 {
  font-size: 1.2em;
  color: #FF4500;
  margin: 0;
}

.page-contact__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #1E90FF;
  transition: transform 0.3s ease;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  transform: rotate(0deg); /* No rotation for '-' */
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #cccccc;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 25px;
}

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

/* CTA Section */
.page-contact__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: rgba(30, 144, 255, 0.15);
}

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

/* Responsive Design */
@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: 100px 0 60px; /* Adjusted for smaller screens */
    min-height: 400px;
  }

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

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

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

  .page-contact__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

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

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

  .page-contact__method-icon {
    width: 200px;
    height: auto;
  }

  .page-contact__method-title {
    font-size: 1.5em;
  }

  .page-contact__faq-question h3 {
    font-size: 1.1em;
  }

  .page-contact__faq-question, .page-contact__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile responsive images */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important; /* Ensure images scale down */
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile responsive containers for images/content */
  .page-contact__hero-section,
  .page-contact__methods-section,
  .page-contact__faq-section,
  .page-contact__cta-section,
  .page-contact__container,
  .page-contact__methods-grid,
  .page-contact__method-card,
  .page-contact__faq-list,
  .page-contact__faq-item,
  .page-contact__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
  
  /* Mobile responsive buttons */
  .page-contact__cta-button,
  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .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;
    margin: 10px 0 !important; /* Stack buttons vertically */
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  /* Fixed header offset for mobile, applied to the main content area if needed */
  .page-contact__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for first section */
  }
}

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

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

  .page-contact__section-title {
    font-size: 1.5em;
  }
  
  .page-contact__method-icon {
    width: 150px;
  }
}

/* Color Contrast Adjustments (using dark body background assumption) */
.page-contact h1, .page-contact h2, .page-contact h3, .page-contact h4, .page-contact h5, .page-contact h6 {
  color: #FF4500; /* Primary brand color for headings */
}

.page-contact p, .page-contact li, .page-contact span {
  color: #cccccc; /* Lighter text for readability on dark backgrounds */
}

.page-contact__hero-title, .page-contact__hero-description {
  color: #ffffff; /* White text on hero overlay */
}

.page-contact__method-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter card background */
}

.page-contact__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter FAQ background */
}

.page-contact__faq-question {
  background-color: rgba(255, 255, 255, 0.12); /* Even lighter for clickable area */
}

.page-contact__btn-primary {
  background-color: #FF4500;
  color: #ffffff;
}

.page-contact__btn-secondary {
  background-color: transparent;
  color: #1E90FF;
  border-color: #1E90FF;
}

.page-contact__btn-secondary:hover {
  background-color: #1E90FF;
  color: #ffffff;
}