/* Payment Header Styles */
.payment-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.payment-header .svg-c {
  width: 35px;
  height: 35px;
  background-color: #865ba6;
  border-radius: 8px;
  display: grid;
  place-content: center;
  cursor: pointer;
}

.payment-header .svg-c i.fas,
.payment-header .svg-c i.fab {
  color: white;
  font-size: 16px;
}

.payment-header span {
  font-size: 1.2rem !important;
  color: #000;
  font-weight: 400;
}

.payment-header .span-border {
  color: #865ba6;
  font-size: 1.2rem !important;
  font-weight: 400;
}

/* ===== MOBILE VERSION STYLES (below 500px) ===== */
@media (max-width: 500px) {
  body {
    background-color: #ffff !important;
  }

  #pageContainer {
    display: none;
  }

  footer {
    display: none !important;
  }

  #desktopFaqContainer {
    display: none !important;
  }

  /* FAQ Intro Section */
  .faq-intro {
    max-width: 95%;
    margin: 20px auto 30px;
  }

  .faq-main-title {
    color: #000;
    font-size: 2rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 10px;
  }

  .faq-subtitle {
    color: #865BA6;
    font-size: 0.85rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0;
  }

  /* FAQ Section */
  .faq-section {
    max-width: 95%;
    margin: 25px auto;
  }

  .faq-container {
    border-radius: 15px;
    background: #FFF;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25), 0 4px 4px 0 rgba(0, 0, 0, 0.25) inset;
    padding: 20px 15px;
    margin-top: 15px;
  }

  .section-title {
    color: #865BA6;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0 0 15px 0;
  }

  /* Question Box */
  .question-box {
    width: calc(100% + 8px);
    margin-left: -4px;
    margin-bottom: 15px;
    background: #FFF;
    box-shadow: 0 4px 4px 0 #865BA6 inset;
    filter: drop-shadow(0 4px 4px #865BA6);
    padding: 15px;
    border-radius: 10px;
  }

  .question-box:last-child {
    margin-bottom: 0;
  }

  .question {
    color: #865BA6;
    font-size: 0.85rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin: 0;
  }

  .answer {
    color: #000;
    font-family: Inter, sans-serif;
    font-size: 0.85rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.6;
    margin: 10px 0 20px 0;
  }

  /* Second Header */
  #secondHeader {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 15px;
  }

  #secondHeader .svg-c {
    width: 40px;
    height: 40px;
    display: grid;
    place-content: center;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
  }

  #secondHeader span {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 400;
  }
}

/* ===== TABLET VERSION (500px - 768px) ===== */
@media (min-width: 500px) and (max-width: 768px) {
  .mobile-container {
    display: none !important;
  }

  #body {
    background-color: #fff;
    min-height: 100vh;
  }

  #desktopFaqContainer {
    display: block !important;
    max-width: 700px;
    margin: 0 auto;
    padding: 120px 30px 60px;
  }

  .desktop-page-title {
    position: relative;
    height: 250px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
    display: flex;
    align-items: flex-end;
    padding: 35px;
    background: linear-gradient(135deg, #865ba6 0%, #6d4985 100%);
  }

  .desktop-page-title h2 {
    color: #fff !important;
    font-size: 3.5rem !important;
    font-weight: 500 !important;
    margin: 0 !important;
  }

  .faq-intro {
    max-width: 95%;
    margin: 0 auto 40px;
  }

  .faq-main-title {
    color: #000;
    font-size: 2rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 10px;
  }

  .faq-subtitle {
    color: #865BA6;
    font-size: 0.85rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }

  .faq-section {
    max-width: 95%;
    margin: 30px auto;
  }

  .faq-container {
    border-radius: 20px;
    background: #FFF;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25), 0 4px 4px 0 rgba(0, 0, 0, 0.25) inset;
    padding: 30px 25px;
    margin-top: 20px;
  }

  .section-title {
    color: #865BA6;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0 0 20px 0;
  }

  .question-box {
    width: calc(100% + 8px);
    margin-left: -4px;
    margin-bottom: 15px;
    background: #FFF;
    box-shadow: 0 4px 4px 0 #865BA6 inset;
    filter: drop-shadow(0 4px 4px #865BA6);
    padding: 20px;
    border-radius: 12px;
  }

  .question-box:last-child {
    margin-bottom: 0;
  }

  .question {
    color: #865BA6;
    font-size: 0.85rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin: 0;
  }

  .answer {
    color: #000;
    font-family: Inter, sans-serif;
    font-size: 0.85rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.7;
    margin: 12px 0 25px 0;
  }
}

/* ===== DESKTOP VERSION STYLES (768px and above) ===== */
@media (min-width: 768px) {
  .mobile-container {
    display: none !important;
  }

  #body {
    background-color: #fff;
    min-height: 100vh;
  }

  #desktopFaqContainer {
    display: block !important;
    max-width: 1800px;
    width: 95%;
    margin: 0 auto;
    padding: 120px 20px 60px;
  }

  .desktop-page-title {
    position: relative;
    height: 350px;
    width: 100%;
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 50px;
    display: flex;
    align-items: flex-end;
    padding: 50px;
    background: linear-gradient(135deg, #865ba6 0%, #6d4985 100%);
    box-shadow: 0 8px 30px rgba(134, 91, 166, 0.3);
  }

  .desktop-page-title h2 {
    color: #fff !important;
    font-size: 3.5rem !important;
    font-weight: 500 !important;
    margin: 0 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  }

  /* FAQ Intro */
  .faq-intro {
    text-align: center;
    margin-bottom: 50px;
  }

  .faq-main-title {
    color: #000;
    font-size: 2rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 15px;
  }

  .faq-subtitle {
    color: #865BA6;
    font-size: 1.15rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }

  /* FAQ Section */
  .faq-section {
    margin-bottom: 50px;
  }

  .desktop-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    align-items: flex-start;
  }

  .desktop-faq-grid .faq-section {
    margin-bottom: 0;
    height: 100%;
  }

  .section-title {
    color: #865BA6;
    font-size: 2rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 25px;
  }

  .faq-container {
    border-radius: 25px;
    background: #FFF;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25), 0 4px 4px 0 rgba(0, 0, 0, 0.25) inset;
    padding: 40px 35px;
  }

  /* Question Box */
  .question-box {
    width: calc(100% + 8px);
    margin-left: -4px;
    margin-bottom: 30px;
    background: #FFF;
    box-shadow: 0 4px 4px 0 #865BA6 inset;
    filter: drop-shadow(0 4px 4px #865BA6);
    padding: 25px 30px;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .question-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 6px 0 #865BA6 inset;
    filter: drop-shadow(0 6px 6px #865BA6);
  }

  .question-box:last-child {
    margin-bottom: 0;
  }

  .question {
    color: #865BA6;
    font-size: 1.05rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin: 0;
  }

  .answer {
    color: #000;
    font-family: Inter, sans-serif;
    font-size: 1.05rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.8;
    margin: 15px 0 30px 0;
  }
}

/* ===== LARGE DESKTOP (1200px and above) ===== */
@media (min-width: 1200px) {
  #desktopFaqContainer {
    padding: 140px 20px 80px;
  }

  .desktop-page-title {
    height: 400px;
    padding: 60px;
    margin-bottom: 60px;
  }

  .desktop-page-title h2 {
    font-size: 4rem !important;
  }

  .faq-main-title {
    font-size: 2rem;
  }

  .faq-subtitle {
    font-size: 1.15rem;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .faq-container {
    padding: 50px 45px;
  }

  .desktop-faq-grid {
    gap: 50px;
  }

  .question-box {
    padding: 30px 35px;
    margin-bottom: 20px;
  }

  .question {
    font-size: 1.05rem;
    margin: 0;
  }

  .answer {
    font-size: 1.05rem;
    margin: 15px 0 35px 0;
  }
}

/* ===== EXTRA LARGE DESKTOP (1600px and above) ===== */
@media (min-width: 1600px) {
  .faq-section {
    margin-bottom: 60px;
  }

  .desktop-faq-grid {
    gap: 60px;
  }

  .section-title {
    font-size: 2rem;
  }

  .question {
    font-size: 1.05rem;
    margin: 0;
  }

  .answer {
    font-size: 1.05rem;
    margin: 18px 0 40px 0;
  }
}
