/* Base styles for the support page content */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main color, ensuring contrast with body background #B71C1C */
  background-color: transparent; /* Body background is handled by shared.css #B71C1C */
}

/* Container for consistent padding and max-width */
.page-support__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section titles */
.page-support__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #FFF5E1; /* Text Main color */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-support__section-title--light {
  color: #FFF5E1; /* Ensure light text on dark background */
}

/* Primary Button */
.page-support__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Custom Button Color */
  color: #7A0E0E; /* Deep Red for contrast on gold button */
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box; /* For mobile responsiveness */
  white-space: normal; /* For mobile responsiveness */
  word-wrap: break-word; /* For mobile responsiveness */
}

.page-support__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Secondary Button */
.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  background: #D32F2F; /* Card BG color */
  color: #FFF5E1; /* Text Main color */
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  border: 2px solid #F2B544; /* Border color */
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box; /* For mobile responsiveness */
  white-space: normal; /* For mobile responsiveness */
  word-wrap: break-word; /* For mobile responsiveness */
}

.page-support__btn-secondary:hover {
  background: #7A0E0E; /* Deep Red */
  border-color: #FFCC66; /* Glow */
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  overflow: hidden;
  padding-bottom: 40px; /* Adjust for spacing below image */
  padding-top: 10px; /* Small top padding */
}

.page-support__hero-image-wrapper {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  position: relative;
  overflow: hidden;
  border-radius: 0 0 15px 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-support__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 40px auto 0;
  padding: 0 20px;
}

.page-support__main-title {
  font-size: 48px;
  color: #FFCC66; /* Glow color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.page-support__hero-description {
  font-size: 18px;
  color: #FFF5E1; /* Text Main color */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__hero-cta {
  margin-top: 20px;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 60px 0;
  background-color: #7A0E0E; /* Deep Red for section background */
}

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

details.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #F2B544; /* Border color */
  overflow: hidden;
  background: #D32F2F; /* Card BG color */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
details.page-support__faq-item summary.page-support__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;
  color: #FFF5E1; /* Text Main color */
  font-size: 18px;
  font-weight: 600;
}
details.page-support__faq-item summary.page-support__faq-question::-webkit-details-marker {
  display: none;
}
details.page-support__faq-item summary.page-support__faq-question:hover {
  background: #C91F17; /* Primary color on hover */
}
.page-support__faq-qtext {
  flex: 1;
  text-align: left;
  line-height: 1.5;
}
.page-support__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFCC66; /* Glow color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-support__faq-item .page-support__faq-answer {
  padding: 0 25px 20px;
  background: #7A0E0E; /* Deep Red for answer background */
  border-radius: 0 0 10px 10px;
  color: #FFF5E1; /* Text Main color */
  font-size: 16px;
  line-height: 1.7;
}

/* Contact Methods Section */
.page-support__contact-methods-section {
  padding: 60px 0;
  background: #B71C1C; /* Background color */
  text-align: center;
}

.page-support__methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-support__method-card {
  background: #D32F2F; /* Card BG color */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid #F2B544; /* Border color */
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFF5E1; /* Text Main color */
}

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

.page-support__method-icon {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  border: 2px solid #FFCC66; /* Glow color */
  display: block; /* Ensure it respects width/height */
}

.page-support__method-title {
  font-size: 24px;
  font-weight: bold;
  color: #FFCC66; /* Glow color */
  margin-bottom: 15px;
}

.page-support__method-description {
  font-size: 16px;
  margin-bottom: 25px;
  flex-grow: 1; /* Push button to bottom */
}

.page-support__method-cta {
  margin-top: auto; /* Push button to bottom */
}

/* Contact Form Section */
.page-support__contact-form-section {
  padding: 60px 0;
  background-color: #7A0E0E; /* Deep Red for section background */
}

.page-support__form-description {
  text-align: center;
  font-size: 18px;
  color: #FFF5E1; /* Text Main color */
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: #D32F2F; /* Card BG color */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #F2B544; /* Border color */
}

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

.page-support__form-label {
  display: block;
  font-size: 18px;
  color: #FFCC66; /* Glow color */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-support__form-input,
.page-support__form-textarea {
  width: 100%;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #F2B544; /* Border color */
  background: #7A0E0E; /* Deep Red for input background */
  color: #FFF5E1; /* Text Main color */
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-support__form-input::placeholder,
.page-support__form-textarea::placeholder {
  color: rgba(255, 245, 225, 0.7); /* Lighter Text Main for placeholder */
}

.page-support__form-input:focus,
.page-support__form-textarea:focus {
  border-color: #FFCC66; /* Glow color on focus */
  box-shadow: 0 0 0 3px rgba(255, 204, 102, 0.3);
  outline: none;
}

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

.page-support__form-submit {
  width: 100%;
  padding: 18px;
  font-size: 20px;
  margin-top: 20px;
}

/* --- Mobile Responsiveness (max-width: 1024px) --- */
@media (max-width: 1024px) {
  .page-support__section-title {
    font-size: 32px;
  }
  .page-support__main-title {
    font-size: 40px;
  }
  .page-support__hero-description {
    font-size: 17px;
  }
  .page-support__methods-grid {
    grid-template-columns: repeat(2, 1fr); /* Two columns on larger tablets */
    gap: 25px;
  }
  .page-support__method-icon {
    height: 180px;
  }
  .page-support__contact-form {
    padding: 35px;
  }
  .page-support__form-input,
  .page-support__form-textarea {
    padding: 14px;
  }
  .page-support__form-submit {
    padding: 16px;
    font-size: 19px;
  }
}

/* --- Mobile Responsiveness (max-width: 768px) --- */
@media (max-width: 768px) {
  /* General mobile adjustments */
  .page-support__container {
    padding: 0 15px; /* Smaller padding */
  }

  .page-support__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-support p,
  .page-support li {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Buttons */
  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support a[class*="button"],
  .page-support a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  /* Button containers */
  .page-support__hero-content,
  .page-support__contact-methods-section .page-support__container,
  .page-support__contact-form-section .page-support__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__methods-grid {
    flex-direction: column; /* Stack method cards */
    gap: 20px;
    grid-template-columns: 1fr; /* Override 1024px to single column */
  }
  .page-support__method-card {
    padding: 20px;
  }
  .page-support__method-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important; /* Ensure image responsiveness */
  }
  .page-support__method-title {
    font-size: 20px;
  }
  .page-support__method-description {
    font-size: 15px;
  }
  .page-support__contact-form {
    padding: 30px 20px;
  }
  .page-support__form-label {
    font-size: 16px;
  }
  .page-support__form-input,
  .page-support__form-textarea {
    padding: 12px;
    font-size: 15px;
  }
  .page-support__form-submit {
    padding: 15px;
    font-size: 18px;
  }

  /* Hero Section */
  .page-support__hero-section {
    padding-bottom: 30px;
    padding-top: 10px !important; /* Fixed small top padding for mobile */
  }

  .page-support__hero-content {
    margin-top: 30px;
  }

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

  .page-support__hero-description {
    font-size: 16px;
  }

  /* FAQ Section */
  .page-support__faq-section {
    padding: 40px 0;
  }

  details.page-support__faq-item summary.page-support__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }
  .page-support__faq-qtext {
    font-size: 16px;
  }
  .page-support__faq-toggle {
    font-size: 24px;
    width: 24px;
  }
  details.page-support__faq-item .page-support__faq-answer {
    padding: 0 20px 15px;
    font-size: 15px;
  }

  /* Image responsiveness for all img tags */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}