/* style/support.css */

/* Base styles for the support page content */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main from custom colors */
  background-color: #0A0A0A; /* Background from custom colors */
}

.page-support a {
  color: #F2C14E; /* Main color for links */
  text-decoration: none;
}

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

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

.page-support__section {
  padding: 60px 0;
  text-align: center;
}

.page-support__dark-section {
  background-color: #0A0A0A;
  color: #FFF6D6;
}

.page-support__light-bg {
  background-color: #111111; /* Card BG from custom colors */
  color: #FFF6D6;
}

.page-support__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #F2C14E; /* Main color */
  font-weight: bold;
  line-height: 1.2;
}

.page-support__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body already has padding-top */
  overflow: hidden;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px;
  object-fit: cover;
  display: block;
  margin-bottom: 40px;
}

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

.page-support__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: #FFD36B; /* Glow color */
  margin-bottom: 15px;
  line-height: 1.1;
  font-weight: 700;
}

.page-support__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text for bright button */
  border: 2px solid transparent;
}

.page-support__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  transform: translateY(-2px);
}

.page-support__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E;
}

.page-support__btn-secondary:hover {
  background: #F2C14E;
  color: #111111; /* Dark text for bright button */
  transform: translateY(-2px);
}

/* Card Layouts */
.page-support__grid-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.page-support__grid-three-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.page-support__card {
  background-color: #111111; /* Card BG from custom colors */
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid #3A2A12; /* Border color */
  box-sizing: border-box;
}

.page-support__card-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-support__card-title {
  font-size: 1.5em;
  color: #FFD36B; /* Glow color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__card p {
  font-size: 1em;
  color: #FFF6D6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-support__sub-title {
  font-size: 1.8em;
  color: #F2C14E;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
}

.page-support__text-block {
  max-width: 800px;
  margin: 60px auto 0 auto;
  text-align: left;
}

.page-support__text-block p {
  margin-bottom: 15px;
  color: #FFF6D6;
}

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

.page-support__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #1a1a1a;
  transition: background-color 0.3s ease;
}

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

.page-support__faq-title {
  font-size: 1.2em;
  color: #FFD36B; /* Glow color */
  margin: 0;
  flex-grow: 1;
  text-align: left;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  color: #F2C14E;
  font-weight: bold;
  margin-left: 20px;
  transition: transform 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-toggle {
  transform: rotate(45deg);
}

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  text-align: left;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 20px 25px;
}

.page-support__faq-answer p {
  margin: 0;
  color: #FFF6D6;
}

/* App Download Section */
.page-support__app-download-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-support__app-image {
  max-width: 400px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  display: block;
}

.page-support__app-text {
  max-width: 500px;
  text-align: left;
}

.page-support__app-text .page-support__sub-title {
  text-align: left;
}

/* Social Links */
.page-support__social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-support__social-icon {
  display: inline-block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #F2C14E;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.page-support__social-icon:hover {
  background-color: #FFD36B;
}

.page-support__social-icon img {
  
  
  object-fit: contain;
  display: block; /* Ensure no extra space below img */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-support__grid-three-col {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .page-support__section {
    padding: 40px 0;
  }

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

  .page-support__intro-text,
  .page-support__section-description {
    font-size: 1em;
  }

  .page-support__main-title {
    font-size: clamp(2em, 8vw, 2.5em);
  }

  .page-support__grid-two-col,
  .page-support__grid-three-col {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }
  
  .page-support__container,
  .page-support__card,
  .page-support__text-block,
  .page-support__app-download-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__hero-section {
    padding-top: 10px !important; /* Adhering to the 10px rule for first section */
    padding-bottom: 40px;
  }

  .page-support__hero-image,
  .page-support__card-image,
  .page-support__app-image,
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
    display: block;
  }
  
  .page-support__app-download-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-support__app-text {
    text-align: center;
  }

  .page-support__app-text .page-support__sub-title {
    text-align: center;
  }

  .page-support__social-icon img {
    
    
  }
  .page-support__social-icon {
    width: 40px;
    height: 40px;
  }
}

/* Ensure images are not smaller than 200px where not explicitly allowed */
.page-support__card-image,
.page-support__hero-image,
.page-support__app-image {
  min-width: 200px;
  min-height: 200px;
}

/* Social icons are an explicit exception to the 200x200 rule */
.page-support__social-icon img {
  min-width: unset;
  min-height: unset;
}

/* Color contrast fixes */
.page-support h1, .page-support h2, .page-support h3, .page-support h4, .page-support h5, .page-support h6 {
    color: #FFD36B; /* Ensure headings are bright on dark background */
}

.page-support p, .page-support li {
    color: #FFF6D6; /* Ensure body text is readable */
}

.page-support__card {
    background-color: #111111; /* Darker card background */
    color: #FFF6D6; /* Light text for card */
}

.page-support__btn-primary {
    color: #111111; /* Dark text on bright gradient button */
}

.page-support__btn-secondary {
    color: #F2C14E; /* Brand color text on transparent button */
}

.page-support__faq-question {
    background-color: #1a1a1a; /* Slightly lighter than card for distinction */
}

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

.page-support__faq-answer p {
    color: #FFF6D6;
}

.page-support__hero-content a {
    color: #F2C14E; /* Ensure links in hero are visible */
}