/* style/support.css */

:root {
  --primary-color: #113B7A;
  --secondary-color: #1D5FD1;
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --card-bg: #10233F;
  --text-main: #F3F8FF;
  --text-secondary: #AFC4E8;
  --border-color: #244D84;
  --glow-color: #4FA8FF;
  --gold-color: #F2C14E;
  --divider-color: #1B3357;
  --deep-navy: #08162B;
}

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

.page-support__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background-color: var(--deep-navy);
  color: var(--text-main);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-support__hero-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 1;
}

.page-support__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-support__hero-text-block {
  max-width: 800px;
  margin: 0 auto;
}

.page-support__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--gold-color);
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-support__subtitle {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

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

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-support__btn-secondary {
  background: var(--text-main);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-support__btn-secondary:hover {
  transform: translateY(-2px);
  background: var(--primary-color);
  color: var(--text-main);
}

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

.page-support__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.page-support__dark-section .page-support__section-title {
  color: var(--gold-color);
}

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

.page-support__dark-section .page-support__section-description {
  color: var(--text-secondary);
}

.page-support__contact-methods {
  background-color: #f8f8f8;
  padding: 60px 0;
}

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

.page-support__method-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  color: #333333;
}

.page-support__method-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 10px;
}

.page-support__method-title {
  font-size: 1.5em;
  font-weight: 600;
  color: var(--primary-color);
}

.page-support__method-text {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support__faq-section {
  background-color: var(--deep-navy);
  color: var(--text-main);
  padding: 60px 0;
}

.page-support__faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-support__faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  color: var(--text-main);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.15em;
  color: var(--text-main);
  background-color: var(--primary-color);
  user-select: none;
  list-style: none;
}

.page-support__faq-question::-webkit-details-marker {
  display: none;
}

.page-support__faq-item[open] .page-support__faq-question {
  background-color: var(--secondary-color);
}

.page-support__faq-item[open] .page-support__faq-toggle {
  content: "-";
  transform: rotate(180deg);
}

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-support__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: var(--text-secondary);
}

.page-support__faq-answer p {
  margin-bottom: 10px;
}

.page-support__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-support__faq-answer a {
  color: var(--gold-color);
  text-decoration: none;
}

.page-support__faq-answer a:hover {
  text-decoration: underline;
}

.page-support__view-all-faq {
  text-align: center;
  margin-top: 40px;
}

.page-support__guide-section {
  background-color: #f8f8f8;
  padding: 60px 0;
}

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

.page-support__guide-card-link {
  text-decoration: none;
  color: inherit;
}

.page-support__guide-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-support__guide-card:hover {
  transform: translateY(-5px);
}

.page-support__guide-card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.page-support__guide-card-title {
  font-size: 1.3em;
  font-weight: 600;
  padding: 15px 20px 5px;
  color: var(--primary-color);
}

.page-support__guide-card-text {
  font-size: 0.95em;
  padding: 0 20px 20px;
  color: #555;
  flex-grow: 1;
}

.page-support__view-all-guides {
  text-align: center;
  margin-top: 40px;
}

/* General image and button responsiveness */
.page-support img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-support__cta-buttons,
.page-support__method-grid,
.page-support__guide-grid-cards {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-support__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-support__hero-content-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .page-support__hero-image {
    border-radius: 0;
  }

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

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

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

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

  .page-support__method-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__faq-list {
    gap: 10px;
  }

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

  .page-support__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.95em;
  }

  .page-support__guide-grid-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Mandatory responsive rules for elements that might not be on this page, as per instruction */
  /* Top Carousel (if present on homepage) */
  .page-support__hero-carousel-section {
    /* Placeholder for top carousel if it were here */
    padding-top: 10px !important; 
  }
  /* Guide Box + Five Team Vertical Cards (if present on homepage) */
  .page-support__guide-box {
    /* Placeholder for guide box if it were here */
    padding: 10px;
  }
  .page-support__guide-grid {
    /* Placeholder for guide grid if it were here */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .page-support__guide-card--pos-1, .page-support__guide-card--pos-2, .page-support__guide-card--pos-3, .page-support__guide-card--pos-4, .page-support__guide-card--pos-5 {
    /* Placeholder for guide cards if they were here */
    width: 48% !important;
    max-width: 48% !important;
    padding-top: 0 !important; 
  }
  .page-support__guide-card img {
    /* Placeholder for guide card images if they were here */
    aspect-ratio: 250/350;
    object-fit: contain;
  }
  /* Home Content Box (if present on homepage) */
  .page-support__home-content-box {
    /* Placeholder for home content box if it were here */
    max-width: 100%;
    height: auto;
    box-shadow: none;
    border: none;
    padding: 0;
  }
  .page-support__home-content-inner {
    /* Placeholder for home content inner if it were here */
    height: auto;
    overflow: visible;
  }
  /* Blog Card Section (if present on homepage) */
  .page-support__blog-grid {
    /* Placeholder for blog grid if it were here */
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /* Ensure all images are responsive */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__method-card,
  .page-support__guide-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}