.page-support {
  font-family: Arial, sans-serif;
  color: #333333; /* Text Main */
  background: #F5F7FA; /* Background */
  line-height: 1.6;
}

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  overflow: hidden;
  padding-bottom: 50px; /* Adjust as needed */
  background-color: #E53935; /* Main color as fallback */
  padding-top: 10px; /* Small top padding */
}

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

.page-support__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-support__hero-content {
  text-align: center;
  margin-top: 30px;
  color: #ffffff;
}

.page-support__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive H1 font size */
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-support__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* Buttons */
.page-support__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

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

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

.page-support__btn-small {
  padding: 8px 15px;
  font-size: 0.9em;
  border-radius: 5px;
}

.page-support__btn-text-link {
  color: #E53935;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 10px;
}

.page-support__btn-text-link:hover {
  text-decoration: underline;
}

/* General Section Styling */
.page-support__section {
  padding: 60px 0;
}

.page-support__section-title {
  font-size: 2.5em;
  color: #E53935;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

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

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

.page-support__card {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #E0E0E0; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__card-image {
  width: 100%;
  max-width: 350px; /* Constrain card image width */
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure no extra space below */
}

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

.page-support__card-text {
  font-size: 1em;
  color: #333333;
  margin-bottom: 20px;
  flex-grow: 1; /* Push button to bottom */
}

/* Common Issues Info Block */
.page-support__info-block {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.page-support__info-title {
  font-size: 1.4em;
  color: #E53935;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-support__info-text {
  font-size: 1em;
  color: #333333;
}

/* Guides Section */
.page-support__guide-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.page-support__guide-item {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-support__guide-title {
  font-size: 1.6em;
  color: #E53935;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-support__guide-item p {
  margin-bottom: 15px;
  color: #333333;
}

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

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

.page-support__faq-item {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #fcfcfc;
  transition: background-color 0.3s ease;
  list-style: none; /* Hide default marker for details */
}

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

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

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

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #E53935;
  transition: transform 0.3s ease;
}

.page-support__faq-item[open] .page-support__faq-toggle {
  transform: rotate(45deg); /* Change + to X or similar */
}

.page-support__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #555555;
}

.page-support__faq-item[open] .page-support__faq-answer {
  padding-top: 10px;
}

.page-support__faq-image {
  width: 100%;
  max-width: 800px;
  height: 450px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* Contact Form Section */
.page-support__contact-form-section {
  background: #F5F7FA;
}

.page-support__contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.page-support__contact-form {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.page-support__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333333;
}

.page-support__form-input,
.page-support__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #E0E0E0;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
  color: #333333;
  background-color: #fcfcfc;
}

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

.page-support__contact-image-wrap {
  text-align: center;
}

.page-support__contact-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* Commitment Section */
.page-support__commitment-section {
  text-align: center;
  padding-bottom: 80px;
}

/* General image styling for content area */
.page-support img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-support__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

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

  .page-support__grid-2-columns {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
  
  .page-support__contact-grid {
    grid-template-columns: 1fr; /* Stack form and image */
  }

  .page-support__contact-image-wrap {
    order: -1; /* Move image above form on smaller screens */
  }
}

@media (max-width: 768px) {
  /* 1. Top section (hero) */
  .page-support__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 30px;
  }

  .page-support__hero-image-wrap {
    height: 250px; /* Adjust hero image height for mobile */
  }

  .page-support__main-title {
    font-size: 2em !important;
    margin-bottom: 15px;
  }

  .page-support__description {
    font-size: 1em;
    margin-bottom: 20px;
    padding: 0 15px;
  }

  .page-support__hero-cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    padding: 0 15px;
  }

  .page-support__btn {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 2. Single column content containers */
  .page-support__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-support__section {
    padding: 40px 0;
  }

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

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

  .page-support__grid-3-columns,
  .page-support__grid-2-columns,
  .page-support__guide-items {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
  }

  /* Info Card/Block */
  .page-support__card,
  .page-support__info-block,
  .page-support__guide-item,
  .page-support__contact-form {
    padding: 25px 20px;
  }

  .page-support__card-image,
  .page-support__info-image,
  .page-support__guide-image {
    height: 180px; /* Smaller fixed height for mobile */
    max-width: 100% !important;
    width: 100% !important;
  }

  /* 3. Generic images */
  .page-support img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Ensure all image containers are responsive */
  .page-support__hero-image-wrap,
  .page-support__card-image,
  .page-support__info-image,
  .page-support__guide-image,
  .page-support__faq-image,
  .page-support__contact-image-wrap,
  .page-support__contact-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 4. Buttons and Button Containers */
  .page-support__hero-cta-buttons,
  .page-support__button-group,
  .page-support__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Ensure vertical stacking for groups */
  }

  /* 5. FAQ section */
  .page-support__faq-list {
    margin-top: 30px;
  }

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

  .page-support__faq-answer {
    padding: 0 20px 15px 20px;
  }

  .page-support__faq-image {
    height: 250px; /* Adjust height for mobile */
  }
  
  /* Contact Form */
  .page-support__contact-form {
    padding: 30px 20px;
  }

  .page-support__form-input,
  .page-support__form-textarea {
    padding: 10px 12px;
  }

  .page-support__contact-image {
    height: 250px; /* Adjust height for mobile */
  }
}