/* count down style start */
.banner {
  width: 100%;
  background: linear-gradient(90deg, #d7efff 60%, #f5f6fa 100%);
}

.banner-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 15px;
}

.icon .rocket {
  width: 25px;
}

.icon .star {
  width: 40px;
}

.banner-header .glow {
  filter: drop-shadow(0 0 7px #ffe066);
}

.banner-header .banner-title {
  font-size: 20px;
  font-weight: 600;
}

.countdown {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.label {
  font-size: 10px;
  color: #008cde;
  font-weight: 500;
}

.sep {
  color: #008cde;
  opacity: 0.86;
  font-weight: 600;
  margin-top: 5px;
}

/* Flip number styling */
.flip {
  position: relative;
  width: 35px;
  height: 35px;
  perspective: 190px;
  margin-bottom: 4px;
  background: none;
}

.flip .front,
.flip .back {
  position: absolute;
  width: 100%;
  height: 100%;
  color: #fff;
  background: #008cde;
  border-radius: 8px;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
  box-shadow: 0 4px 20px rgba(24, 145, 210, 0.05);
}

.flip .back {
  transform: rotateX(180deg);
}

.flip.flip-animate .front {
  animation: flipFront 0.6s;
}

.flip.flip-animate .back {
  animation: flipBack 0.6s;
}

@keyframes flipFront {
  0% {
    transform: rotateX(0deg);
  }

  100% {
    transform: rotateX(180deg);
  }
}

@keyframes flipBack {
  0% {
    transform: rotateX(180deg);
  }

  100% {
    transform: rotateX(360deg);
  }
}

/* count down style end */

.p-top-70 {
  padding-top: 70px !important;
}

.p-1rem {
  padding-bottom: 1rem !important;
}

.text-justify {
  text-align: justify;
}

.medium-text-size {
  font-size: 14px;
}

.bookdemo {
  z-index: 655;
  position: relative;
  border: 1px solid #008cde;
}

.primary-button {
  color: #ffffff;
  background-color: #008cde;
}



.heading {
  font-weight: 600;
  line-height: 0.5;
}

.financial-planner-desc {
  font-weight: 400;
  font-size: 14px;
  line-height: 25px;
  letter-spacing: 0;
  color: #6a6a6a;
  margin-top: 15px;
}

.financialpartner {
  padding: 0 135px;
  background: linear-gradient(180deg, #e9f8ff 0%, #ffffff 100%);
}

.space-between {
  justify-content: space-between !important;
}

.p-35 {
  padding: 35px;
}

.wealthrightcard {
  padding: 30px 60px;
  box-shadow: 0px 15px 25px 0px #d1eeff26;
}

.wealthrightcard img {
  width: 65px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wealthrightcard p {
  font-size: 14px;
}

.neo-digital-bridge-desc {
  width: 65% !important;
  text-align: center;
}

.heading4 {
  font-size: 16px;
  line-height: 1.4;
}

.read-more-btn {
  background-color: #008cde;
  width: 200px;
  display: flex !important;
  justify-content: center;
}

/* distributors */
.partners-bg {
  background: #ebf8ff;
}

.partners-container {
  margin: 0 auto;
  padding: 60px 120px;
}

.title {
  text-align: center;
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 40px !important;
}

.highlight {
  color: #008cde;
}

.partner-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 28px 35px;
  margin-bottom: 25px;
  background: white;
  padding: 15px;
}

.justify-content-start {
  justify-content: flex-start;
}

.partner-row:last-child {
  margin-bottom: 0;
}

.logo-block {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  max-width: 240px;
  max-height: 40px;
  object-fit: contain;
}

.partner-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #032b5b;
  font-weight: 600;
  justify-content: center;
}

.partner-text .big-text {
  font-size: 25px;
}

.partner-text .small-text {
  font-size: 15px;
  font-weight: 500;
  line-height: 0.5;
}

/* Responsive styles */
@media (max-width: 768px) {
  .partner-row {
    gap: 16px 20px;
  }

  .logo-block {
    min-width: 90px;
    min-height: 40px;
  }

  .logo-img {
    max-width: 90px;
    max-height: 32px;
  }
}

/* what we offer style */
.offer-bar-center-parent {
  display: flex;
  justify-content: center;
  background: transparent;
  padding: 2rem 0;
  position: absolute;
  top: 568px;
  left: 10%;
  width: 1218px;
  height: 130px;
}

.offer-bar-wrapper {
  border: 1px solid #d7f0ff;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 3px 18px #eceffe1a;
  display: flex;
  align-items: stretch;
  max-width: 1265px;
  position: relative;
  width: 100%;
  overflow: hidden;
  justify-content: space-evenly;
}

.offer-label-sticky {
  flex: none;
  min-width: 230px;
  background: #fff;
  z-index: 2;
  font-weight: 600;
  font-size: 14px;
  color: #008cde;
  padding-left: 20px;
  border-radius: 10px 0 0 10px;
  display: flex;
  align-items: center;
  position: sticky;
  left: 0;
  top: 0;
  box-shadow: 0 0 10px #eceffe0d;
}

/* Card list scrolls, label stays in place */
.offer-cards-list-scroll {
  display: flex;
  flex-direction: row;
  gap: 40px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding: 10px;
  flex: 1;
}

.offer-cards-list-scroll::-webkit-scrollbar {
  height: 4px;
}

.offer-card {
  background: #f6fcff;
  border-radius: 8px;
  box-shadow: 0 2px 12px #94959526;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 10px 15px;
  font-weight: 500;
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  outline: none;
  /* Remove min-width! */
  min-width: unset;
  width: auto;
  flex: 0 0 auto;
  color: #008cde;
}

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

.offer-card.active,
.offer-card:hover {
  background: #dfeeff;
  box-shadow: 0 6px 20px #94959526;
}

/* new */
.card-scroll-snap {
  overflow-y: auto;
  height: 62px;
  /* set exactly to one .card-row's computed height */
  scroll-snap-type: y mandatory;
  /* Optional: hide scrollbar for a cleaner look */
  scrollbar-width: none;
}

.card-scroll-snap::-webkit-scrollbar {
  display: none;
}

.card-row {
  display: flex;
  gap: 28px;
  align-items: center;
  height: 62px;
  /* match this to your actual content row height! */
  scroll-snap-align: start;
  width: 100%;
  padding: 0 15px;
  justify-content: space-between;
  /* No margin/padding top/bottom on row! */
}

/* one plateform section style */
/* CSS Styling */
.platform-container {
  margin: 0 auto;
  padding: 70px 15px 70px 170px;
}

.platform-header {
  width: 340px;
}

.platform-header h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 600;
}

.platform-header h1 span {
  color: #008cde;
  display: inline;
}

.platform-header .description {
  margin-top: 18px;
  font-size: 13px;
}

.options-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 32px;
  /* justify-content: end; */
}

.option-card {
  background: #fff;
  box-shadow: 0 2px 10px 0 #e3e8f0;
  border-radius: 5px;
  padding: 0;
  width: 160px;
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s;
  text-align: center;
  justify-content: center;
  font-size: 14px;
}

.option-card:hover {
  box-shadow: 0 6px 20px 0 #cfd8dc;
}

.option-card img {
  width: 70px;
  height: 70px;
  margin-bottom: 18px;
}

.our-services-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px !important;
  height: 70px !important;
}

.tecnical-expertise {
  align-items: flex-start;
  padding: 40px;
  height: 250px;
}

.cardsContainer {
  padding: 2rem;
  margin: 0 auto;
}

/* Responsive styles */
@media (max-width: 900px) {
  .options-grid {
    gap: 18px;
  }

  .option-card {
    width: 150px;
    padding: 22px 8px 14px 8px;
  }
}

@media (max-width: 650px) {
  .banner {
    background: linear-gradient(90deg, #d7efff 60%, #f5f6fa 100%);
  }

  .platform-header h1 {
    font-size: 1.4rem;
  }

  .options-grid {
    flex-direction: column;
    gap: 14px;
    align-items: center;
  }

  .option-card {
    width: 95vw;
    max-width: 320px;
  }

  .banner-title {
    font-size: 14px;
    font-weight: 600;
  }
}

.desktop-text {
  display: block;
}

@media (max-width: 600px) {
  .second-section-background {
    max-height: 900px;
    background: #edfffd;
  }

  .aboutus {
    font-size: 18px;
    font-weight: 600;
  }

  .count-down-mobile-view {
    display: flex;
    flex-direction: column !important;
    font-weight: 600;
    padding: 10px 20px;
    gap: 10px;
    font-size: 13px;

    .second-desc {
      display: flex;
      width: 100%;
      align-items: center;
      justify-content: space-between;
    }
  }

  .container {
    padding: 0 !important;
  }

  .banner-header {
    flex-direction: row;
    gap: 0;
    padding: 0;
  }

  .banner-title {
    text-align: center;
  }

  .icon .rocket,
  .icon .star {
    width: 30px;
  }

  .offer-bar-center-parent {
    display: none;
  }

  .card-container img {
    max-height: 100% !important;
  }

  .tecnical-expertise {
    padding: 21px;
    margin: 0;
    align-items: center;
    text-align: center;
  }

  .cardsContainer {
    padding: 20px;
  }

  .heading {
    line-height: 1;
  }

  .read-more-btn {
    margin-top: 10px;
    width: 100%;
    justify-content: center;
  }

  .wealthrightcard {
    padding: 10px;
    gap: 0;

    h3 {
      font-size: 18px;
    }

    p {
      font-size: 12px;
    }
  }

  .financialpartner {
    padding: 20px !important;
  }

  .platform-container {
    padding: 20px !important;
  }

  .faq-heading {
    margin: 0 !important;
    padding: 20px;
    line-height: 1.2;
  }

  .options-grid > div:first-child {
    grid-column: 1 / span 2;
    /* or grid-column: 1 / 3; */
  }

  .options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .option-card {
    width: 100%;
  }

  .ourServices {
    padding: 20px !important;
  }

  .our-services-heading {
    display: flex;
    margin-bottom: 20px !important;
    justify-content: center;
  }

  .our-services-cards {
    padding: 0 !important;
  }

  .p-20 {
    padding: 20px !important;
  }

  .distributorheading {
    margin: 0;
  }

  .swiper-card {
    padding: 0;
  }

  .card-container {
    max-width: 100% !important;
  }

  /* our distributor mobile view */
  .distributor-container,
  .issuer-container {
    max-width: 420px;
    margin: 0 auto;
    padding: 24px 12px;
    background: #fff;
  }

  .distributor-container {
    background: #fff;
  }

  .issuer-container {
    background-color: #edf9ff;
  }

  h2 {
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 4px;
  }

  .partners-title {
    color: #008cde;
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 18px;
  }

  .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 14px;
    margin-top: 20px;
  }

  .distributor-card {
    background-color: #edf9ff;
    text-align: center;
    font-weight: 500;
    font-size: 0.98rem;
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
  }

  .issuer-card {
    background-color: #ffffff;
    text-align: center;
    font-weight: 500;
    font-size: 0.98rem;
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
  }

  .logo-img {
    max-width: 100%;
    max-height: 100%;
  }

  .countdown {
    gap: 5px;
  }

  .flip {
    width: 25px;
    height: 25px;
  }

  .flip .front {
    font-size: 12px;
  }

  .paragraph2 {
    font-size: 14px;
    text-align: center;
  }

  .left,
  .right {
    gap: 10px !important;
  }

  .card {
    width: 100% !important;
  }

  .overlay-text {
    flex-direction: column;
    align-items: normal !important;
    justify-content: flex-start !important;
  }

  .bridgeinfo {
    padding: 25px;
  }

  /* mobile view css for footer start */
  .neo-digital-bridge-desc {
    font-size: 12px;
    width: 100% !important;
  }

  .display-block {
    display: block;
  }

  .team-desc-width,
  .managing-team-desc-width {
    width: 100% !important;
  }

  .mobile-app-info-container {
    padding: 20px;
  }

  .email-form-group {
    flex-direction: column;
  }

  .email-form-group input[type="email"],
  .email-form-group button {
    width: 100%;
    padding: 16px 24px;
  }

  .footer-padding {
    padding: 0px !important;
  }

  .office-address-alignment {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  /* mobile view css for footer end */
  .right {
    outline-offset: 10px !important;
  }

  .center {
    padding: 0 !important;
  }
}

@media (max-width: 767px) {
  .mobile-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .desktop-text {
    display: none;
  }
}

@media (min-width: 992px) {
  #aboutus,
  #ourServices,
  #ourteam {
    scroll-margin-top: 100px;
    /* Adjust this value to match your header's height */
  }

  .custom-col-5 {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

.meetourteam {
  background-color: #ebf8ff;
}

.team-desc-width {
  width: 760px;
}

.managing-team-desc-width {
  width: 780px;
}

.teamcard img {
  width: 160px;
  height: 160px;
}

/* second section */
.guide-container {
  position: relative;
  width: 100%;
  /* full width */
  max-width: 100vw;
}

.second-section-background {
  width: 100%;
  /* image covers container width */
  height: auto;
  /* height auto adjusts preserving aspect ratio */
  display: block;
  /* removes inline space */
  background: #edfffd;
}

.overlay-text {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  color: white;
  padding: 50px;
}

.left,
.right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}

.right {
  outline: 1px dashed #22b9ba;
  outline-offset: 25px;
  border-radius: 10px;
}

.card {
  display: flex;
  justify-content: center;
  
  background-color: #ffffff;
  border-radius: 6px;
  
  font-size: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.right .card {
  cursor: pointer;
  background: #22b9ba;
  border-radius: 4px;
  padding: 15px;
  font-size: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  width: 410px;
  color: #ffffff;

  p {
    margin: 0;
  }

  &:hover {
    text-decoration: underline;
  }
}

.center {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 25px;
  z-index: 1;
  cursor: pointer;
}

.circle {
  display: flex;
  align-items: center;
  justify-content: center;
}

.right .highlight {
  font-weight: bold;
  text-decoration: underline;
}

/* line between each card of left side container and right container  */
.line {
  position: absolute;
  height: 0;
  border-top: 1px dashed #22b9ba;
}

.line::after {
  content: "";
  position: absolute;
  right: 0;
  top: -7px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid #22b9ba;
}

/* .footer-padding {
      padding: 30px 100px;
    } */
#aboutus,
#ourServices,
#ourteam {
  scroll-margin-top: 100px;
  /* Adjust this value to match your header's height */
}

/* second section new style */

.card-box {
  border-radius: 10px;
  border: 1px solid rgba(59, 184, 184, 0.25);
  background: #fff;
  box-shadow: 0 9.885px 24.713px 0 rgba(118, 118, 118, 0.1);
  color: #101010;
  font-size: 14px;

  .inner-card-box {
    display: flex;
    gap: 10px;
    padding: 5px;
    align-items: center;
  }
}

p {
  margin: 0;
}

.first-box {
  position: absolute;
  top: 65px;
  left: 270px;
}

.second-box {
  position: absolute;
  top: 140px;
  left: 200px;
}

.third-box {
  position: absolute;
  top: 210px;
  left: 150px;
}

.right-first-box {
  position: absolute;
  top: 40px;
  right: 120px;
}

.right-second-box {
  position: absolute;
  top: 120px;
  right: 120px;
}

.right-third-box {
  position: absolute;
  top: 210px;
  right: 40px;
}

.card-button {
  color: #ffffff;
  font-size: 12px;
  border-radius: 4px;
  background: #00a4a4;
  padding: 6px 10px;
  border: none;
  font-weight: 600;
}

#ai-chat-bot-placeholder {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

#ai-chat-bot-placeholder .nfd-ai-btn {
  cursor: pointer;
  transition: box-shadow 0.2s;
}
