html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Arial", sans-serif;
  background-color: #cacad1;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  /* optional spacing */
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Arial", sans-serif;
  background-color: #cacad1;
}

.faq-container {
  max-width: 1200px;
  margin: 40px auto;
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.faq-container h2 {
  text-align: center;
  color: #101828;
  margin-bottom: 30px;
  font-family: sans-serif;
  font-size: 36px;
  font-weight: 700;
}

.faq-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f3f4f6;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background 0.3s ease;

  /* 👇 NEW for link styling */
  text-decoration: none;
  color: inherit;
}

.faq-item:hover {
  background-color: #e5e7eb;
}

.arrow {
  font-size: 18px;
}

.promo-box {
  background-color: #eaf6ff;
  padding: 15px 20px;
  border-radius: 8px;
  color: #0369a1;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.faq-item span {
  font-weight: 700;
}

.promo-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-box span {
  font-size: 18px;
  font-weight: 700;
  color: #2f6c87;
}

.back_arrow {
  cursor: pointer;
}

.back_arrow a {
  text-decoration: none;
}

.back_arrow a {
  background-color: #b3b3b340;
  height: 48px;
  width: 48px;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
}

.arrow_wrp {
  display: flex;
  align-items: center;
  gap: 250px;
}

footer {
  background-color: #000;
  color: #fff;
  padding: 20px;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  margin-top: auto;
}

#pagination {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  margin-bottom: 40px;
}

#pagination a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  /* Makes the link wrap tightly around the div */
}

.hidden {
  visibility: hidden;
}

.pagination-button {
  background-color: #e5e7eb;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.pagination-button:hover {
  background-color: #d1d5db;
}

@media (max-width: 1199px) {
  .arrow_wrp {
    gap: 140px;
  }

  .faq-container {
    max-width: 920px;
  }
}

@media (max-width: 991px) {
  .arrow_wrp {
    gap: 30px;
  }

  .faq-container {
    max-width: 720px;
  }
}

@media (max-width: 775px) {
  .arrow_wrp {
    gap: 0px;
    flex-direction: column;
  }

  .faq-container {
    max-width: 580px;
  }
}

@media (max-width: 600px) {
  .faq-container {
    margin: 20px;
    padding: 15px;
  }

  .faq-item,
  .promo-box {
    font-size: 14px;
    padding: 12px 16px;
  }
}

@media (max-width: 575px) {
  .faq-container h2 {
    font-size: 24px;
    font-weight: 700;
  }
}

@media (max-width: 469px) {
  .back_arrow a button {
    height: 15px;
    width: 15px;
    padding: 22px;
    font-size: 17px;
  }

  .faq-container h2 {
    font-size: 24px;
    font-weight: 700;
    line-height: 31px;
  }

  .promo-box span {
    font-size: 16px;
    font-weight: 700;
    color: #2f6c87;
    text-align: center;
    flex-direction: column;
    display: flex;
    align-items: center;
    gap: 10px;
  }
}