* {
  padding: 0;
  margin: 0;
}
body {
  font-family: "Inter", sans-serif;
}

/* header {
  width: 100%;
  padding-block: 12px;
}
nav {
  padding-inline: 60px;
}
a {
  color: #40196d !important;
}
.navLinks {
  width: 70%;
  display: flex;
  justify-content: space-around;
}
.navRight .navButtons {
  display: flex;
  gap: 28px;
}
.navButtons {
  width: max-content;
}
.navButtons button {
  padding-block: 14.5px;
  padding-inline: 31px;
} */

header {
  width: 100%;
  padding-block: 12px;
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  position: relative;
}

nav {
  padding-inline: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.navLeft {
  display: flex;
  align-items: center;
  gap: 60px;
}

.navLeft-item {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 30px;
}

.navLeft-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #40196d !important;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  transition: opacity 0.2s;
}

.navLeft-item a:hover {
  opacity: 0.75;
}

.navRight {
  display: flex;
  align-items: center;
  gap: 28px;
}

.navRight-signIn {
  font-size: 14px;
  color: #40196d;
  font-weight: bold;
  text-decoration: none;
  transition: opacity 0.2s;
}

.navRight-signIn:hover {
  opacity: 0.75;
}

.openAccountBtn {
  padding-block: 15.4px;
  padding-inline: 31.3px;
  border-radius: 10px;
  background-color: #40196d;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background-color 0.2s;
  white-space: nowrap;
}

.openAccountBtn:hover {
  transform: translateY(-1px);
  background-color: #2f0f52;
}

.navRightImg {
  padding: 5px;
  display: flex;
  align-items: center;
}

.navRightImg img {
  object-fit: cover;
  display: block;
  width: auto;
  height: auto;
}

.navLeft-item img {
  display: inline-block;
}

.menu-toggle {
  display: none;
}
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  z-index: 200;
  position: relative;
}

.hamburger span {
  display: block;
  height: 2.5px;
  width: 100%;
  background-color: #40196d;
  border-radius: 3px;
  transition: all 0.25s ease;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background-color: white;
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: left 0.3s ease;
  padding: 80px 24px 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow-y: auto;
}

.menu-toggle:checked ~ .mobile-menu-overlay {
  left: 0;
}

.menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s;
}
.x-toggle {
  visibility: hidden;
}
.x {
  font-weight: bold;
  color: tomato;
  text-align: right;
  cursor: pointer;
  font-size: 24px;
}

.menu-toggle:checked ~ .menu-backdrop {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-overlay .mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mobile-menu-overlay .mobile-nav-links a {
  font-size: 18px;
  font-weight: bold;
  color: #40196d;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #f0eef3;
}

.mobile-menu-overlay .mobile-nav-links a img {
  width: 14px;
  height: auto;
}

.mobile-onboarding {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e5dfed;
}

.mobile-onboarding .mobile-signin {
  font-size: 16px;
  font-weight: bold;
  color: #40196d;
  text-decoration: none;
}

.mobile-onboarding .mobile-join {
  background-color: #40196d;
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
}

.mobile-onboarding .mobile-flag {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-onboarding .mobile-flag img {
  width: 32px;
}
.section1 {
  margin-inline: 130px;
  position: relative;
}

/* hero section */
.heroDiv {
  margin-top: 70px;
  display: flex;
  justify-content: space-between;
}
.heroTextDiv {
  display: flex;
  gap: 20px;
  flex-direction: column;
  justify-content: center;
}
h1 {
  color: #40196d;
  font-size: 48px;
  font-weight: 900;
}
.heroImageDiv {
  display: flex;
  gap: 11px;
}
.heroFooter {
  color: #979797;
  display: flex;
  gap: 5px;
}
.heroFooter img {
  margin-top: 4px;
  height: 17px;
  width: 19px;
}

.cardWrapper {
  margin-top: 70px;
  position: relative;
}

.popUp {
  position: absolute;
  top: 470px;
  z-index: 999;
  /* bottom: -50px;
  right: 50%; */
  padding-block: 9.5px;
  padding-inline: 10.79px;
  border: 1px solid #979797;
  border-radius: 10px;
  background-color: #fff;
  transform: translate(50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.popup-cookie {
  font-size: 16px;
}
.dismiss-btn {
  background-color: #dfe3ff;
  color: #40196d;
  padding: 13px 15px;
  border-radius: 10px;
}

.card {
  padding-inline: 25px;
  padding-block: 22px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  cursor: pointer;
}

.card p {
  color: #40196d;
}

.section1div {
  margin-top: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10rem;
  width: 100%;
}

.sectionTextDiv {
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  font-weight: bold;
}

.sectionImgDiv {
  width: fit-content;
}

.sectionTextDiv h2 {
  color: #40196d;
  font-weight: bold;
  font-size: 36px;
}
.sectionTextDiv p {
  color: black;
  font-size: 16px;
}
.sectionTextDiv a {
  color: #40196d;
  font-weight: bold;
}

.section1divReverse {
  margin-top: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10rem;
}

.section1divReverse-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section1divReverse-text h2 {
  color: #40196d;
  font-weight: bold;
  font-size: 36px;
  margin-bottom: 20px;
}
.section1divReverse-text p {
  font-size: 1rem;
}
.block-card {
  width: 80%;
}

.testimonials {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
  text-align: center;
}

.testimonials h2 {
  color: #40196d;
  font-weight: bold;
  font-size: 36px;
  margin-bottom: 10px;
}

.testimonial-card-container {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 8px;
}

.testimonial-card-container::-webkit-scrollbar {
  display: none;
}

.testimonial-card-container {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.testimonial-card {
  background: white;
  padding: 16px 8px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  flex: 0 0 auto; /*kpai to flex wrapping*/
  width: 370px;
}

.testimonial-card p {
  font-size: 14px;
  color: black;
  margin-bottom: 20px;
  line-height: 1.6;
}

.testimonial-card span {
  font-weight: bold;
  font-size: 12.9px;
}

.user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-grouped-p {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.testimonial-grouped-p p {
  margin-bottom: 0;
}

.testimonial-card-container {
  cursor: grab;
  scroll-snap-type: x mandatory;
}

.testimonial-card {
  scroll-snap-align: start;
}

.testimonial-card-container {
  -webkit-overflow-scrolling: touch;
}

.logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logos img {
  height: 35px;
}

.our-partners {
  margin-top: 70px;
  margin-inline: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.our-partners h2 {
  font-size: 36px;
  color: #40196d;
  font-weight: bold;
  text-align: center;
}
.partner-img {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.choose-freedom {
  margin-inline: 130px;
  margin-top: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.choose-freedom h2 {
  font-size: 36px;
  color: #40196d;
  font-weight: bold;
  margin-bottom: 40px;
}

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  box-shadow: 5px 10px 8px #40196d12;
  border-radius: 8px;
  padding: 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

.table-cell-1 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.table-cell-2 img {
  display: inline;
  margin-right: 10px;
}
.table-cell-2 {
  align-items: start;
}

th {
  padding-top: 30px;
  padding-bottom: 20px;
  text-align: left;
}
th:nth-child(2) {
  color: #40196d;
  font-weight: bold;
  font-size: 20px;
}

tr {
  border: 1px solid #dcdce080;
}

tr:last-child {
  padding-top: 20px;
  padding-bottom: 30px;
}
td {
  padding-inline: 20px;
  padding-block: 10px;
  text-align: left;
}

.more-for-you-part {
  margin-top: 70px;
  margin-inline: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.more-for-you-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-direction: column;
}
.more-for-you-wrapper h2 {
  font-size: 36px;
  color: #40196d;
  font-weight: bold;
}
.more-for-you-cards {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.more-for-you-cards h3 {
  height: 24px;
  font-weight: bold;
  color: #40196d;
}
.more-for-you-card1,
.more-for-you-card2,
.more-for-you-card3 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px;
  gap: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.more-for-you-card-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.more-for-you-cards p {
  font-size: 16px;
  color: black;
  max-width: 600px;
}
.more-for-you-cards a {
  font-size: 16px;
  color: #40196d;
  max-width: 600px;
  font-weight: bold;
}
#card-part p,
#relaxing-girl-part p,
#its-your-money-part p,
#more-for-you-card-text p,
#save-money-part p,
#block-card-part p,
#get-help-part p,
#fees-part p,
#testimonial-part p,
#our-partners-part p,
#choose-freedom-part p,
#the-money-app-part p {
  color: black;
  font-size: 16px;
  font-weight: normal;
}

.money-app {
  margin-inline: 130px;
  margin-bottom: 70px;
  margin-top: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.money-app-wrapper {
  background-color: #eff1ff;
  box-shadow: 5px 10px 8px #40196d12;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 80px;
}
.money-app-wrapper-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.money-app-wrapper-left h2 {
  font-weight: bold;
  color: #40196d;
  font-size: 36px;
}
.money-app-wrapper-left a {
  margin-right: auto;
  background-color: #40196d;
  cursor: pointer;
  padding: 16px 39px;
  color: white;
  font-weight: bold;
  border-radius: 10px;
}

.footer {
  margin: 73px 130px 24px 130px;
}

.footer-group-1 h3 {
  font-size: 16px;
  color: #40196d;
  font-weight: bold;
  margin-bottom: 30px;
}

.footer-group-1 a {
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 30px;
  display: block;
}

/* use 
* @media screen and (min-width: 479px) and (max-width: 991px)
* fot tab specific screens
*/

@media screen and (max-width: 991px) {
  nav {
    padding-inline: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .hamburger {
    display: flex;
    order: 1;
  }

  .navLeft {
    order: 2;
    gap: 0;
    flex: 1;
    justify-content: flex-end;
  }

  .navLeft-item {
    display: none;
  }

  .navRight {
    display: none;
  }

  .navLeft {
    gap: 16px;
  }
  .navLogo img {
    max-height: 40px;
    width: auto;
  }
  .our-partners {
    padding-inline: 10px;
  }
  .our-partners h2 {
    text-align: left;
  }
  .partner-img {
    flex-direction: column;
  }
}

@media screen and (min-width: 991px) {
  .navLeft-item {
    display: flex !important;
  }
  .navRight {
    display: flex !important;
  }
  .hamburger,
  .mobile-menu-overlay,
  .menu-backdrop {
    display: none;
  }
  nav {
    flex-wrap: nowrap;
  }
  .navLeft {
    flex-wrap: nowrap;
  }
  .testimonial-card {
    width: 320px;
  }

  .choose-freedom {
    margin-inline: 40px;
  }

  .choose-freedom h2 {
    font-size: 28px;
    text-align: center;
  }

  th,
  td {
    font-size: 14px;
  }

  .table-wrapper {
    padding: 12px;
  }
}

@media screen and (max-width: 479px) {
  nav {
    padding-inline: 16px;
  }
  .mobile-menu-overlay {
    width: 85%;
    padding: 70px 20px 30px 20px;
  }
  .mobile-menu-overlay .mobile-nav-links a {
    font-size: 16px;
  }
  .mobile-onboarding .mobile-join {
    padding: 10px 16px;
  }
  .section1 {
    margin-inline: 30px;
  }
  .heroDiv {
    flex-direction: column;
  }
  .popUp {
    right: 0;
    transform: translate(0);
  }
  .section1div {
    flex-direction: column;
    gap: 4rem;
  }
  .sectionTextDiv {
    max-width: fit-content;
  }
  .sectionTextDiv h2,
  .section1divReverse-text h2,
  .testimonials h2,
  .our-partners h2,
  .choose-freedom h2,
  .more-for-you-wrapper h2 {
    font-size: 28px;
    text-align: center;
  }
  .popUp {
    display: none;
  }
  .section1divReverse {
    flex-direction: column;
    gap: 2rem;
  }

  .testimonial-card-container {
    gap: 16px;
    margin-bottom: 32px;
  }
  .testimonial-card {
    width: 270px;
    padding: 14px 8px;
  }
  .logos {
    flex-wrap: wrap;
    gap: 10px;
  }
  .our-partners {
    padding-inline: 10px;
  }
  /* .our-partners h2 {
    text-align: center;
  } */
  .partner-img {
    flex-direction: column;
  }

  .choose-freedom {
    margin-inline: 16px;
  }

  table {
    min-width: 600px;
  }

  th,
  td {
    font-size: 13px;
    padding-inline: 10px;
    padding-block: 8px;
  }

  .table-cell-1,
  .table-cell-2 {
    gap: 6px;
  }

  .table-cell-1 img,
  .table-cell-2 img {
    width: 14px;
  }

  .table-wrapper {
    padding: 10px;
  }

  .more-for-you-part,
  .our-partners {
    margin-inline: 30px;
  }
  .more-for-you-cards {
    flex-direction: column;
  }

  .money-app-wrapper {
    flex-direction: column;
    padding-block: 12px;
  }
  .money-app-wrapper-left a {
    margin-right: auto;
    background-color: #40196d;
    cursor: pointer;
    padding: 12px 20px;
    display: inline-flex;
    font-size: 14px;
  }
  .footer {
    margin: 30px;
  }
  .footer-group1-a {
    gap: 30px;
  }
}
