/*all States PAGE START */
.allStatesBanner {
  position: relative;
  background: #f0faf9;
  width: 100%;
  /* max-height: 325px; */
  padding: 107px 0px 0px;
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 60px;
}
.allStatesBanner::before {
  content: '';
  position: absolute;
  background-image: url('../images/pawBefore.svg');
  width: 100%;
  height: 70px;
  left: 0;
  top: 271px;
  bottom: 61px;
  background-size: contain;
  background-repeat: no-repeat;
  /* rotate: 30deg; */
}
.allStatesBanner::after {
  content: '';
  position: absolute;
  background-image: url('../images/pawAfter.svg');
  width: 100%;
  height: 70px;
  right: 0;
  top: 161px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
  /* rotate: -30deg; */
}

.allStatesBanner .bannerHeading {
  margin: 25px auto -10px;
}
.allStatesBanner .bannerHeading h1 {
  font-size: 38px;
  font-weight: 400;
  line-height: 57px;
  text-align: center;
  color: #0e145f;
}

.allStatesBanner .bannerDesc {
  max-width: 742px;
  max-height: 202px;
  background: #ffffff;
  border: 2px dashed 52bab0;
  padding: 57px 48px 58px;
  border-radius: 16px;
  margin: 0px auto;
  bottom: -40px;
  position: relative;
  z-index: 1;
}
.allStatesBanner .bannerDesc p {
  font-size: 16px;
  font-weight: 400;
  line-height: 28.8px;
  text-align: center;
  color: #6b6e98;
}
.allStatesBanner .bannerDesc p a{
  color: #52bab0;
}
.allStatesBanner .bannerDesc p a:hover{
  text-decoration: underline;
}

/* States List Section */
.statesListSec {
  position: relative;
  background: #f0faf9;
  padding: 104px 0px 180px;
}
.statesListSec:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  background: white;
  z-index: 0;
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 200px),
    50% 100%,
    0 calc(100% - 200px)
  );
}
.statesWrapper {
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(125px, 1fr)
  ); /* Adjust size per column */
  grid-row-gap: 40px; /* Gap between states */
  grid-column-gap: 20px; /* Gap between states */
  max-width: 762px; /* Adjust width as needed */
  margin: 0 auto; /* Center align the grid */
  position: relative;
  z-index: 1;
}
.statesWrapper .state {
  /* padding: 10px; */
  text-align: center;
  /* border-radius: 4px; */
  transition: background-color 0.3s ease;
}

.statesWrapper .state a {
  color: #6b6e98;
  font-size: 16px;
  font-weight: 400;
  line-height: 28.8px;
  text-align: center;
  text-transform: capitalize;
}
.statesWrapper .state a:hover {
  color: #52bab0;
  text-decoration: underline;
  cursor: pointer;
}

/* statesCTASec */
.statesCTASec {
  padding: 60px 0px;
  background: #f0faf9;
  margin-bottom: 60px;
}
.statesCTASec .ctaContentWrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 50px;
  max-width: 762px;
  margin: 0 auto;
}
.statesCTASec .ctaContentWrapper p {
  font-size: 16px;
  font-weight: 400;
  line-height: 28.8px;
  color: #6b6e98;
  font-family: 'Lato';
}
.statesCTASec .ctaContentWrapper ul li {
  font-size: 16px;
  font-weight: 400;
  line-height: 28.8px;
  color: #6b6e98;
  margin-bottom: 10px;
}
.statesCTASec .ctaContentWrapper ul{
  margin-bottom: 20px;
  padding-left: 40px;
}

.cta-wrapper {
  max-width: 815px;
  width: 100%;
  margin: 0 auto;
  border: 2px dashed 52bab0;
  border-radius: 16px;
  background: linear-gradient(
    90.46deg,
    rgba(255, 91, 46, 0.35) 0.09%,
    rgba(245, 134, 62, 0.35) 34.6%,
    rgba(249, 153, 54, 0.35) 69.12%,
    rgba(254, 167, 47, 0.35) 100.82%
  );
  padding: 40px 74px 113px;
  text-align: center;
  position: relative;
}
.cta-shape {
  position: absolute;
  bottom: -2px;
  width: 302px;
  height: 77px;
  background: white;
  border-radius: 40px 40px 0 0;
  border-top: 2px dashed 52bab0;
  border-right: 2px dashed 52bab0;
  border-left: 2px dashed 52bab0;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
}
.cta-wrapper::before {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  border-bottom-right-radius: 50%;
  background: transparent;
  box-shadow: 4px 5px 0 #fff;
  border: 2px dashed 52bab0;
  left: 26.2%;
  border-top: none;
  border-left: none;
  transform: rotate(0deg);
  bottom: -1px;
  z-index: 1;
}
.cta-wrapper::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  border-bottom-left-radius: 50%;
  background: transparent;
  box-shadow: -4px 5px 0 #fff;
  border: 2px dashed 52bab0;
  right: 26.1%;
  border-top: none;
  border-right: none;
  transform: rotate(0deg);
  bottom: -2px;
  z-index: 1;
}

.cta-wrapper p {
  font-weight: 500 !important;
  color: #0e145f !important;
}
.cta-btn {
  max-width: max-content;
  width: 100%;
  margin: -122px auto 0px;
  display: block;
  padding: 16px 20px 17px;
  font-size: 18px;
  font-weight: 700;
  line-height: 24.3px;
  text-align: center;
  background: #52bab0;
  color: #ffffff;
  border-radius: 100px;
  border-bottom: 5px solid #45a49b;
  box-shadow: 0px 6px 7.3px 2px #52bab040;
  position: relative;
  transition: all 0.5s ease;
}
.cta-btn:hover {
  box-shadow: 0px 3px 4px 1px #52bab040;
  transform: translateY(3px);
}
.statesWrapperHead{
  font-size: 30px;
  font-weight: 500;
  line-height: 36px;
  text-align: center;
  color: #0e145f;
  z-index: 1;
  position: relative;
  margin: 0 auto 40px;
  font-family: 'DM Serif Display';
}
.singleContentWrapper h2{
  font-size: 30px;
  font-weight: 500;
  line-height: 36px;
  text-align: center;
  color: #0e145f;
  z-index: 1;
  position: relative;
  margin: 0 auto 40px;
  font-family: 'DM Serif Display';
}
.singleContentWrapper p{
  margin-bottom: 10px;
}
.step-section{
  padding-top: 40px;
}
.card-head::before{
  content: counter(faqCounter) '/5';
}
@media (max-width: 886px) {
  .allStatesBanner .bannerHeading h1 {
    font-size: 32px;
    line-height: 38.39px;
  }

  .allStatesBanner .bannerDesc {
    max-width: 500px;
    max-height: 202px;
    background: #ffffff;
    border: 2px dashed 52bab0;
    padding: 37px 38px 38px;
    border-radius: 16px;
    margin: 0px auto;
    bottom: -40px;
    position: relative;
    z-index: 1;
  }
  .allStatesBanner .bannerDesc p {
    font-size: 15px;
  }
}
@media (max-width: 575px) {
  .statesListSec:after {
    width: 100%;
    /* height: 981px; */
    clip-path: polygon(
      0 0,
      100% 0,
      100% calc(100% - 70px),
      50% 100%,
      0 calc(100% - 70px)
    );
  }
  .allStatesBanner {
    padding: 95px 0px 0px;
  }
  .allStatesBanner::before,
  .allStatesBanner::after {
    display: none;
  }

  .allStatesBanner .bannerHeading {
    margin: 30px auto -10px;
  }
  .allStatesBanner .bannerHeading h1 {
    font-size: 28px;
    line-height: 42px;
  }
  .allStatesBanner .bannerDesc {
    top: 20px;
    padding: 20px 12px;
    margin: 20px 10px 0;
    max-height: unset;
  }
  .statesListSec {
    padding: 60px 0px 80px;
  }
  .statesWrapper {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    grid-row-gap: 27px;
    grid-column-gap: 30px;
  }
  .statesWrapper .state {
    text-align: center;
  }
  .statesWrapper .state a {
    font-size: 15px;
    line-height: 27px;
    text-wrap: nowrap;
  }
  .statesCTASec .ctaContentWrapper p {
    font-size: 14px;
    line-height: 25.5px;
  }
  .statesCTASec {
    padding: 30px 0px 60px;
  }
  .statesCTASec .ctaContentWrapper {
    gap: 50px;
  }
  .cta-wrapper {
    max-width: 360px;
    padding: 25px 25px 95px;
    border-radius: 40px;
  }
  .cta-wrapper::before {
    background: transparent;
    left: 5.5%;
    transform: rotate(2deg);
    border-bottom-right-radius: 10px;
    bottom: 0px;
  }
  .cta-shape {
    width: 256px;
    height: 76px;
  }
  .cta-wrapper p {
    font-size: 15px;
  }
  .cta-wrapper::after {
    background: transparent;
    right: 5.5%;
    transform: rotate(-3deg);
    border-bottom-left-radius: 10px;
    bottom: 2px;
  }
  .cta-btn {
    font-size: 16px;
    line-height: 21.6px;
    padding: 17px 14px;
    margin: -111px auto 0px;
  }
}
