/* Base styles for the page-support scope */
.page-support {
  font-family: 'Arial', sans-serif;
  color: #FFF3E6; /* Text Main color for dark body background */
  background: #0D0E12; /* Body background color */
  line-height: 1.6;
  padding-bottom: 50px; /* Some padding at the bottom */
}

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

/* Section titles and descriptions */
.page-support__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #FF8C1A; /* Main brand color for titles */
  line-height: 1.3;
}

.page-support__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #FFF3E6; /* Text Main */
}

/* Buttons styles */
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Base responsive */
  box-sizing: border-box; /* Base responsive */
  white-space: normal; /* Base responsive */
  word-wrap: break-word; /* Base responsive */
}

.page-support__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: none;
}

.page-support__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-support__btn-secondary {
  background: transparent;
  color: #FF8C1A;
  border: 2px solid #FF8C1A;
}

.page-support__btn-secondary:hover {
  background: #FF8C1A;
  color: #ffffff;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, shared.css handles body padding */
  margin-bottom: 60px;
  overflow: hidden;
}

.page-support__hero-image {
  width: 100%;
  height: 500px; /* Fixed height for desktop */
  position: relative;
  overflow: hidden;
}

.page-support__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover for desktop */
  display: block;
}

.page-support__hero-content {
  position: relative; /* Ensure content is in normal flow below image */
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-support__main-title {
  font-size: clamp(32px, 4vw, 48px); /* H1 font size with clamp */
  font-weight: 800;
  color: #FF8C1A;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* FAQ Section */
.page-support__faq-section {
  padding: 60px 0;
  margin-bottom: 60px;
  background: #17191F; /* Card BG color for dark section */
}

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

details.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #A84F0C; /* Border color */
  overflow: hidden;
  background: #0D0E12; /* Background for FAQ item */
}

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: #FFF3E6; /* Text Main color */
}

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: rgba(255, 255, 255, 0.05); /* Slight hover effect */
}

.page-support__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF3E6;
}

.page-support__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FF8C1A; /* Main brand 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: rgba(255, 255, 255, 0.03); /* Lighter background for answer */
  border-radius: 0 0 8px 8px;
  color: #FFF3E6;
}

.page-support__faq-answer p {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 16px;
}
.page-support__faq-answer p:last-child {
  margin-bottom: 0;
}
.page-support__faq-answer a {
  color: #FFA53A; /* Auxiliary color for links */
  text-decoration: underline;
}
.page-support__faq-answer a:hover {
  color: #FFB04D; /* Glow color on hover */
}


/* Guides Section */
.page-support__guides-section {
  padding: 60px 0;
  margin-bottom: 60px;
}

.page-support__guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-support__guide-card {
  display: flex;
  flex-direction: column;
  background: #17191F; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #FFF3E6;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__guide-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-support__guide-image-wrapper {
  width: 100%;
  height: 200px; /* Fixed height for card image */
  overflow: hidden;
}

.page-support__guide-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-support__guide-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 20px 20px 10px;
  color: #FF8C1A;
  line-height: 1.4;
}

.page-support__guide-card p {
  font-size: 15px;
  margin: 0 20px 15px;
  flex-grow: 1;
  color: #FFF3E6;
}

.page-support__read-more {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 20px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #FFA53A;
}

.page-support__read-more span {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.page-support__guide-card:hover .page-support__read-more span {
  transform: translateX(5px);
}

.page-support__button-container {
    text-align: center;
    margin-top: 40px;
}

.page-support__btn-full-width {
    min-width: 250px; /* Ensure button has a decent width */
}


/* Contact Section */
.page-support__contact-section {
  padding: 60px 0;
  margin-bottom: 60px;
  background: #17191F; /* Card BG color for dark section */
}

.page-support__contact-options {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.page-support__contact-card {
  background: #0D0E12; /* Background for contact cards */
  border: 1px solid #A84F0C;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  max-width: 380px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__contact-card img {
   /* Larger image for content, not icon */
  
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
}

.page-support__contact-card h3 {
  font-size: 24px;
  color: #FF8C1A;
  margin-bottom: 15px;
}

.page-support__contact-card p {
  font-size: 16px;
  color: #FFF3E6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-support__contact-info {
    text-align: center;
    font-size: 16px;
    margin-top: 40px;
    color: #FFF3E6;
}

.page-support__contact-info a {
    color: #FFA53A;
    text-decoration: underline;
}
.page-support__contact-info a:hover {
    color: #FFB04D;
}


/* Policies Section */
.page-support__policies-section {
  padding: 60px 0;
  margin-bottom: 60px;
}

.page-support__policy-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-support__policy-link {
  background: #17191F; /* Card BG */
  border: 1px solid #A84F0C;
  border-radius: 8px;
  padding: 15px 30px;
  text-decoration: none;
  color: #FFF3E6;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  flex-grow: 1;
  text-align: center;
  max-width: 280px; /* Limit max width for individual links */
}

.page-support__policy-link:hover {
  background: #FF8C1A;
  color: #ffffff;
  border-color: #FF8C1A;
}


/* Why Choose Us Section */
.page-support__why-choose-us-section {
  padding: 60px 0;
  background: #17191F; /* Card BG color for dark section */
}

.page-support__why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Adjust for larger images */
  gap: 40px 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-support__why-list li {
  display: flex;
  align-items: flex-start; /* Align image and text at the top */
  gap: 20px;
  color: #FFF3E6;
}

.page-support__why-list li img {
   /* Display size for these content images */
  
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  border-radius: 8px; /* Slightly rounded corners */
  background: rgba(255, 255, 255, 0.05); /* Light background for the image itself */
  padding: 10px;
}

.page-support__why-text {
    flex-grow: 1;
}

.page-support__why-list li strong {
  color: #FF8C1A;
  font-size: 18px;
  display: block;
  margin-bottom: 5px;
}

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

/* --- Responsive Styles (Mobile First / Desktop Override) --- */

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

  .page-support__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-support__section-description {
    font-size: 16px;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  /* Buttons mobile adaptation */
  .page-support__btn-primary,
  .page-support__btn-secondary {
    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: 15px;
  }

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .page-support__button-container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-support__btn-full-width {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* HERO Section mobile */
  .page-support__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
    margin-bottom: 40px;
  }
  .page-support__hero-image {
    height: 300px; /* Adjust height for mobile */
  }
  .page-support__hero-image img {
    object-fit: cover;
  }
  .page-support__hero-content {
    padding: 30px 15px;
  }
  .page-support__main-title {
    font-size: clamp(28px, 8vw, 36px);
    margin-bottom: 10px;
  }
  .page-support__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  /* FAQ Section mobile */
  .page-support__faq-section {
    padding: 40px 0;
    margin-bottom: 40px;
  }
  details.page-support__faq-item summary.page-support__faq-question {
    padding: 15px 20px;
  }
  .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;
  }
  .page-support__faq-answer p {
    font-size: 15px;
  }

  /* Guides Section mobile */
  .page-support__guides-section {
    padding: 40px 0;
    margin-bottom: 40px;
  }
  .page-support__guides-grid {
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 25px;
    padding: 0 15px; /* Ensure content padding */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-support__guide-card {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  }
  .page-support__guide-image-wrapper {
    height: 180px;
  }
  .page-support__guide-card h3 {
    font-size: 18px;
    margin: 15px 15px 8px;
  }
  .page-support__guide-card p {
    font-size: 14px;
    margin: 0 15px 12px;
  }
  .page-support__read-more {
    padding: 0 15px 15px;
  }

  /* Contact Section mobile */
  .page-support__contact-section {
    padding: 40px 0;
    margin-bottom: 40px;
  }
  .page-support__contact-options {
    flex-direction: column;
    gap: 25px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-support__contact-card {
    max-width: 100%;
    padding: 25px;
  }
  .page-support__contact-card img {
    
    
  }
  .page-support__contact-card h3 {
    font-size: 22px;
  }
  .page-support__contact-card p {
    font-size: 15px;
  }
  .page-support__contact-info {
    margin-top: 30px;
    padding: 0 15px;
  }

  /* Policies Section mobile */
  .page-support__policies-section {
    padding: 40px 0;
    margin-bottom: 40px;
  }
  .page-support__policy-links {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-support__policy-link {
    max-width: 100%;
    padding: 12px 20px;
    font-size: 15px;
  }

  /* Why Choose Us Section mobile */
  .page-support__why-choose-us-section {
    padding: 40px 0;
  }
  .page-support__why-list {
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 30px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-support__why-list li {
    flex-direction: column; /* Stack image and text */
    align-items: center;
    text-align: center;
    gap: 15px;
  }
  .page-support__why-list li img {
     /* Smaller display size for mobile */
    
  }
  .page-support__why-list li strong {
    font-size: 17px;
  }
  .page-support__why-text {
      font-size: 15px;
  }

  /* Universal image responsive rule for content images */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover; /* Default cover for most content images */
  }
}

/* Specific hero image object-fit for smaller viewports where full width is preferred without cropping too much vertically */
@media (max-width: 849px) { 
  .page-support__hero-image img {
    object-fit: contain !important; 
    aspect-ratio: unset !important; 
    height: auto !important; /* Allow height to adjust based on aspect ratio */
    max-height: 300px; /* Max height to prevent excessively tall images */
  } 
}

/* @media (max-width: 1024px) for tablet adjustments */
@media (max-width: 1024px) {
  .page-support__container {
    padding: 0 30px;
  }
  .page-support__section-title {
    font-size: 32px;
  }
  .page-support__section-description {
    font-size: 17px;
  }
  .page-support__hero-image {
    height: 400px;
  }
  .page-support__main-title {
    font-size: clamp(30px, 4.5vw, 42px);
  }
  .page-support__hero-description {
    font-size: 18px;
  }
  .page-support__guides-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    gap: 25px;
  }
  .page-support__contact-options {
    gap: 25px;
  }
  .page-support__why-list {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    gap: 30px;
  }
}