/* style/support.css */

/* Base styles for the page-support scope */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Main text color on dark background */
  background-color: #B71C1C; /* Main page background */
}

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

.page-support__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFD86A; /* Gold color for titles */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-support__text-block {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-support__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom */
  background: linear-gradient(180deg, #7A0E0E 0%, #B71C1C 100%);
  position: relative;
  overflow: hidden;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px; /* Space between image and content */
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-support__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.page-support__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
  font-weight: 900;
  color: #FFCC66; /* Glow gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 204, 102, 0.5);
}

.page-support__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF5E1;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-support__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Gold gradient */
  color: #7A0E0E; /* Deep red text on gold */
  border: none;
}

.page-support__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-support__btn-secondary {
  background: #D32F2F; /* Card BG red */
  color: #FFF5E1; /* Main text color */
  border: 2px solid #F2B544; /* Gold border */
}

.page-support__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: #C91F17; /* Main red */
}

/* Introduction Section */
.page-support__introduction-section {
  padding: 60px 0;
  background-color: #B71C1C;
}

/* Sections Grid */
.page-support__sections-grid {
  padding: 60px 0;
  background-color: #7A0E0E; /* Deep Red background */
}

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

.page-support__card {
  background-color: #D32F2F; /* Card BG red */
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF5E1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-support__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-support__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  border-bottom: 3px solid #F2B544;
}

.page-support__card-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-support__card-title a {
  color: #FFD86A; /* Gold color for card titles */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-support__card-title a:hover {
  color: #FFCC66;
}

.page-support__card-description {
  font-size: 1em;
  line-height: 1.5;
  margin-bottom: 20px;
  padding: 0 20px;
  flex-grow: 1;
}

.page-support__card-link {
  display: inline-block;
  background: #C91F17; /* Main red for card link button */
  color: #FFF5E1;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
  border: 1px solid #E53935;
}

.page-support__card-link:hover {
  background: #E53935; /* Accent red on hover */
  transform: translateY(-2px);
}

/* FAQ Section */
.page-support__faq-section {
  padding: 60px 0;
  background-color: #B71C1C;
}

.page-support__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__faq-item {
  background-color: #D32F2F; /* Card BG red */
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  color: #FFF5E1;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #C91F17; /* Main red */
  border-bottom: 1px solid #E53935;
  color: #FFF5E1;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-support__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for details/summary */
}

.page-support__faq-question:hover {
  background-color: #E53935;
}

.page-support__faq-qtext {
  flex-grow: 1;
  text-align: left;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-support__faq-answer {
  padding: 20px;
  font-size: 1em;
  line-height: 1.6;
  text-align: left;
  background-color: #D32F2F;
  color: #FFF5E1;
}

/* For div-based FAQ (if used) */
.page-support__faq-item:not(.active) .page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 2000px; /* Large enough to show all content */
  transition: max-height 0.3s ease-in;
}

/* Contact CTA Section */
.page-support__contact-cta-section {
  padding: 60px 0;
  background: linear-gradient(180deg, #B71C1C 0%, #7A0E0E 100%);
}

.page-support__contact-cta-section .page-support__container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px;
  background-color: #D32F2F; /* Card BG red */
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-support__contact-cta-content {
  flex: 1;
  text-align: left;
}

.page-support__contact-cta-content .page-support__section-title {
  text-align: left;
  color: #FFD86A;
  margin-bottom: 20px;
}

.page-support__contact-cta-content .page-support__text-block {
  text-align: left;
  margin-bottom: 30px;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.page-support__contact-cta-image-wrapper {
  flex: 1;
  text-align: right;
}

.page-support__contact-cta-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__section-title {
    font-size: 2em;
  }
  .page-support__hero-description {
    font-size: 1.1em;
  }
  .page-support__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-support__contact-cta-section .page-support__container {
    flex-direction: column;
    text-align: center;
  }
  .page-support__contact-cta-content, .page-support__contact-cta-image-wrapper {
    text-align: center;
  }
  .page-support__contact-cta-content .page-support__section-title,
  .page-support__contact-cta-content .page-support__text-block {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-support__container {
    padding: 0 15px !important;
  }

  .page-support__hero-section {
    padding-left: 0;
    padding-right: 0;
    padding-top: 10px !important;
  }
  
  .page-support__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-support__hero-image,
  .page-support__card-image,
  .page-support__contact-cta-image,
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__hero-section,
  .page-support__introduction-section,
  .page-support__sections-grid,
  .page-support__faq-section,
  .page-support__contact-cta-section,
  .page-support__contact-cta-section .page-support__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }

  .page-support__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-support__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .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: 1em;
  }

  .page-support__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-support__text-block {
    font-size: 0.95em;
  }

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

  .page-support__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-support__faq-answer {
    padding: 15px;
    font-size: 0.95em;
  }
  
  .page-support__contact-cta-section .page-support__container {
    padding: 20px !important;
  }
}

@media (max-width: 480px) {
  .page-support__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }
  .page-support__section-title {
    font-size: 1.6em;
  }
  .page-support__hero-description {
    font-size: 0.9em;
  }
  .page-support__cta-buttons {
    gap: 10px;
  }
  .page-support__btn-primary,
  .page-support__btn-secondary {
    font-size: 0.9em;
    padding: 10px 15px;
  }
  .page-support__faq-question {
    font-size: 1em;
  }
}