/** @format */

/* Global Styles */
* {
  box-sizing: border-box;
  scroll-behavior: smooth;
  line-height: normal !important;
}

html {
  overflow-y: scroll;
  scroll-behavior: smooth;
}

body {
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  background-color: #f1edfd;
  color: #08031c; /* Chose color from styles.css */
}

/* Headings */
.heading {
  font-size: 2rem;
  margin: 1rem 0;
  font-family: "Rubik", sans-serif;
  line-height: normal;
}
.heading2 {
  font-size: 1.9rem;
  font-weight: 800;
  text-align: center;
}

/* Navigation */
nav {
  z-index: 2;
}

.bg-customColor {
  background-color: #f1edfd;
}

/* Whatsapp Button */
.whatsapp-btn {
  color: #25d366;
  background-color: white;

  position: fixed;
  bottom: 1.5rem;
  right: 0.5rem;
  z-index: 3000;
  text-align: center;
  border-radius: 5px;
  cursor: pointer;

  display: flex;
  align-items: center;
}

@media (max-width: 426px) {
  .whatsapp-btn {
    bottom: 1rem;
    right: 0.5rem;
  }
}

.whatsapp-btn .connect {
  font-size: 1.5rem;
  font-weight: 700;
  padding-right: 10px;
  background-color: white;
  opacity: 1;
}
.whatsapp-icon {
  width: 3.25rem;
  fill: #25d366;
  background-color: white;
}

/* Hero Section */
#heropage {
  height: 92vh;
  background-color: #dedcff;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
}

.innerhero {
  height: 94%;
  width: 90%;
  background-color: #2f27ce;
  box-shadow: 0 0 30px 30px rgba(47, 39, 206, 0.49);
  border-radius: 10px;
  transform: translateY(-10px);
}
.ol {
  list-style-type: 1;
}
.herodata {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.herodata h1 {
  font-size: 2.5rem;
}

.herodata p {
  width: 100%;
}

.heroimage {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.w-11\/12 {
  width: 95.66667%;
}

/* microplan */
.microplan__section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.microplan {
  display: flex;
  justify-content: center;
}

.microplan__tile {
  width: 80%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  margin: 1.5%;
  border-radius: 25px;
  box-shadow: 0 12px 10px rgba(0, 0, 0, 0.1);
}

.microplan__pricing {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  width: 30%;
  height: 100%;
}
.microplan__data {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 65%;
  height: 100%;
}

.microplan__heading {
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
  margin: 0 auto;
}
.microplan__data__list {
  width: 80%;
}

/* Team Members Box */
.team-members-box {
  padding: 0rem 0px;
  top: -2.5rem;
  position: relative;
}

.team-members-box h1 {
  line-height: normal;
}

/* Cards */
.cards {
  width: 85%;
  height: 80%;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card {
  width: 100%;
  top: 0;
}

.card__inner {
  will-change: transform;
  background: white;
  border-radius: 14px;
  height: 100%;
  display: flex;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px hsla(265.3, 20%, 10%, 35%);
  transform-origin: center top;
}

.card__image-container {
  display: flex;
  width: 40%;
  flex-shrink: 0;
}

.card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1;
}

.card__content {
  padding: 0.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.card__title {
  padding: 0;
  margin: 0;
  font-size: 1.5rem;
  text-align: center;
  font-weight: 600;
  color: #000000;
}

.card__description {
  line-height: 1.4;
  font-size: 1rem;
  color: #000000;
}

/* Space Utilities */
.space {
  height: 10vh;
}

.space--medium {
  height: 6vh;
}

.space--small {
  height: 3vh;
}

/* Image Container */
.image-container {
  height: 30rem;
  overflow-y: scroll;
  position: relative;
}

.scrollable-image {
  max-height: none;
  object-fit: cover;
}

.image-container::-webkit-scrollbar {
  width: 8px;
}

.image-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.image-container::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 10px;
  border: 2px solid #f1f1f1;
}

.image-container::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

.auto-scroll {
  animation: scroll 20s linear infinite;
}

.image-container:nth-child(odd) .auto-scroll {
  animation-direction: normal;
}

.image-container:nth-child(even) .auto-scroll {
  animation-direction: reverse;
}

.justify-evenly {
  justify-content: space-evenly;
}

/* Marquee */
.marquee {
  display: flex;
  block-size: 150px;
  margin-block: var(--marquee-item-height);
  position: relative;
  overflow-x: hidden;
  mask-image: linear-gradient(
    to right,
    hsl(0 0% 0% / 0),
    hsl(0 0% 0% / 1) 20%,
    hsl(0 0% 0% / 1) 80%,
    hsl(0 0% 0% / 0)
  );
  align-items: center; /* Added from styles.css */
}

.marquee--8 {
  --marquee-item-width: 230px; /* Adjusted width + margin */
  --marquee-item-height: 10px;
  --marquee-duration: 36s;
  --marquee-items: 11;
}

.marquee--82 {
  --marquee-item-width: 230px; /* Final value from both files */
  --marquee-item-height: 10px;
  --marquee-duration: 36s;
  --marquee-items: 12; /* Updated total number of items */
}

.marquee--3 {
  --marquee-item-width: 150px;
  --marquee-item-height: 150px;
  --marquee-duration: 24s;
  --marquee-items: 12;
}

.marquee--6 {
  --marquee-item-width: 166px;
  --marquee-item-height: 100px;
  --marquee-duration: 32s;
  --marquee-items: 6;
}

/* .marquee__item {
  --marquee-item-offset: max(
    calc(var(--marquee-item-width) * var(--marquee-items)),
    calc(100% + var(--marquee-item-width))
  );
  --marquee-delay: calc(
    var(--marquee-duration) / var(--marquee-items) *
      (var(--marquee-items) - var(--marquee-item-index)) * -1
  );
  position: absolute;
  inset-inline-start: var(--marquee-item-offset);
  transform: translateX(-50%);
  animation: go linear var(--marquee-duration) var(--marquee-delay, 0s) infinite;
  padding: 0 0.5rem;
} */

.marquee__item {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 220px; /* Fixed container width */
  height: 120px; /* Fixed container height */
  background: white;
  border: 1px solid #e5e7eb; /* Tailwind gray-200 equivalent */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-radius: 8px; /* Rounded corners */
  overflow: hidden; /* Ensures logos do not spill out */
  --marquee-item-offset: max(
    calc(var(--marquee-item-width) * var(--marquee-items)),
    calc(100% + var(--marquee-item-width))
  );
  --marquee-delay: calc(
    var(--marquee-duration) / var(--marquee-items) *
      (var(--marquee-items) - var(--marquee-item-index)) * -1
  );
  position: absolute;
  inset-inline-start: var(--marquee-item-offset);
  transform: translateX(-50%);
  animation: go linear var(--marquee-duration) var(--marquee-delay, 0s) infinite;
  margin: 0 10px; /* Margin now works */
}

.marquee__item:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 2px solid #080465;
}

.marquee__item img {
  max-width: 80%; /* Adjust as needed to fit horizontally */
  max-height: 80%; /* Adjust as needed to fit vertically */
  object-fit: contain; /* Maintains aspect ratio within the box */
}

.marquee__item:nth-child(4n) {
  border-top-right-radius: 1rem;
}

.marquee__item:nth-child(4n + 1) {
  border-bottom-right-radius: 1rem;
}

.marquee__item:nth-child(4n + 2) {
  border-bottom-left-radius: 1rem;
}

.marquee__item:nth-child(4n + 3) {
  border-top-left-radius: 1rem;
}

.marquee--8 .marquee__item:nth-of-type(1) {
  --marquee-item-index: 1;
}

.marquee--8 .marquee__item:nth-of-type(2) {
  --marquee-item-index: 2;
}

.marquee--8 .marquee__item:nth-of-type(3) {
  --marquee-item-index: 3;
}

.marquee--8 .marquee__item:nth-of-type(4) {
  --marquee-item-index: 4;
}

.marquee--8 .marquee__item:nth-of-type(5) {
  --marquee-item-index: 5;
}

.marquee--8 .marquee__item:nth-of-type(6) {
  --marquee-item-index: 6;
}

.marquee--8 .marquee__item:nth-of-type(7) {
  --marquee-item-index: 7;
}

.marquee--8 .marquee__item:nth-of-type(8) {
  --marquee-item-index: 8;
}
.marquee--8 .marquee__item:nth-of-type(9) {
  --marquee-item-index: 9;
}
.marquee--8 .marquee__item:nth-of-type(10) {
  --marquee-item-index: 10;
}

.marquee--8 .marquee__item:nth-of-type(11) {
  --marquee-item-index: 11;
}
.marquee--8 .marquee__item:nth-of-type(12) {
  --marquee-item-index: 12;
}
.marquee--8 .marquee__item:nth-of-type(13) {
  --marquee-item-index: 13;
}
.marquee--8 .marquee__item:nth-of-type(14) {
  --marquee-item-index: 14;
}
.marquee--8 .marquee__item:nth-of-type(15) {
  --marquee-item-index: 15;
}

.marquee--8 .marquee__item:nth-of-type(16) {
  --marquee-item-index: 16;
}
.marquee--8 .marquee__item:nth-of-type(17) {
  --marquee-item-index: 17;
}
.marquee--8 .marquee__item:nth-of-type(18) {
  --marquee-item-index: 18;
}
.marquee--8 .marquee__item:nth-of-type(19) {
  --marquee-item-index: 19;
}

.marquee--82 .marquee__item:nth-of-type(1) {
  --marquee-item-index: 1;
}

.marquee--82 .marquee__item:nth-of-type(2) {
  --marquee-item-index: 2;
}

.marquee--82 .marquee__item:nth-of-type(3) {
  --marquee-item-index: 3;
}

.marquee--82 .marquee__item:nth-of-type(4) {
  --marquee-item-index: 4;
}

.marquee--82 .marquee__item:nth-of-type(5) {
  --marquee-item-index: 5;
}

.marquee--82 .marquee__item:nth-of-type(6) {
  --marquee-item-index: 6;
}

.marquee--82 .marquee__item:nth-of-type(7) {
  --marquee-item-index: 7;
}

.marquee--82 .marquee__item:nth-of-type(8) {
  --marquee-item-index: 8;
}
.marquee--82 .marquee__item:nth-of-type(9) {
  --marquee-item-index: 9;
}
.marquee--82 .marquee__item:nth-of-type(10) {
  --marquee-item-index: 10;
}

.marquee--82 .marquee__item:nth-of-type(11) {
  --marquee-item-index: 11;
}
.marquee--82 .marquee__item:nth-of-type(12) {
  --marquee-item-index: 12;
}

.marquee--3 .marquee__item:nth-of-type(1) {
  --marquee-item-index: 1;
}

.marquee--3 .marquee__item:nth-of-type(2) {
  --marquee-item-index: 2;
}

.marquee--3 .marquee__item:nth-of-type(3) {
  --marquee-item-index: 3;
}

.marquee--6 .marquee__item:nth-of-type(1) {
  --marquee-item-index: 1;
}

.marquee--6 .marquee__item:nth-of-type(2) {
  --marquee-item-index: 2;
}

.marquee--6 .marquee__item:nth-of-type(3) {
  --marquee-item-index: 3;
}

.marquee--6 .marquee__item:nth-of-type(4) {
  --marquee-item-index: 4;
}

.marquee--6 .marquee__item:nth-of-type(5) {
  --marquee-item-index: 5;
}

.marquee--6 .marquee__item:nth-of-type(6) {
  --marquee-item-index: 6;
}

@keyframes go {
  to {
    inset-inline-start: calc(var(--marquee-item-width) * -1);
  }
}

/* Animations */
@keyframes fadeIn {
  0% {
    opacity: 0;
    /* or scale: 0; */
  }
  100% {
    opacity: 1;
    /* or scale: 1; */
  }
}

.fade-in {
  animation: fadeIn 2s ease-in-out;
}

@keyframes slideInRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.slide-in-right {
  animation: slideInRight 2s ease-in-out forwards;
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.slide-in-left {
  animation: slideInLeft 2s ease-in-out forwards;
}

/* Positioning */
.position-image-right {
  justify-self: end;
}

.position-image-left {
  justify-self: start;
}

/* Rows */
.row {
  display: flex;
  flex-direction: row; /* Added from styles.css */
  justify-content: space-evenly;
  align-items: center; /* Added from styles.css */
  margin-bottom: 2rem; /* Added from styles.css */
}

/* Knowledge Partner */
#knowledgePartner {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  margin: 1.5rem;
}

#knowledgePartner div {
  margin: 0 4rem;
}

#knowledgePartner img {
  width: 250px;
  height: 100px;
}

/* Planning Image */
.planningImg {
  height: 27rem;
  margin-left: -2rem;
  margin-top: -2rem;
}

/* Form Styles */
.labelMargin {
  margin-left: -10%;
}

.fiveLabelMargin {
  margin-left: -5%;
}

.formWidth {
  width: 55rem;
}

.formDiv {
  margin-left: 15%;
}

.mobileWidth {
  width: 50%;
}

#outputTbl {
  margin: 0.15rem 0.15rem;
}

.formPoint {
  margin: 2rem 0 0 8%;
}

.buttonPush {
  margin-top: 1.75rem;
}

.dropdownSearch {
  width: 400%;
}

/* Grid Mobile */
.gridMobile {
  margin: 0 5%;
}

/* Other Styles */
.aboutStatement {
  margin-top: 4rem;
}

.galleryImg {
  height: 300px;
  width: 300px;
}

.flexGallery {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  margin: 2rem 0;
}

.flexGallery img {
  height: 200px;
  width: 300px;
}

.position-img {
  height: 75%;
}

.position-text {
  height: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.padding {
  width: 30.5rem;
  height: 23rem;
  overflow-y: hidden;
}

.two {
  margin-left: 1.1rem;
}

.margin {
  margin-left: 2rem;
}

.row--one {
  display: flex;
  justify-content: center;
}

#modalBtn {
  z-index: 0;
  position: absolute;
  top: -5rem; /* Chose value from styles.css */
}

/* About.html */
#company {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 3% 0;
}

.logo {
  width: 11rem;
  border-radius: 15px;
}

.financepeople {
  width: 11rem;
}

.resourcepeople {
  width: 11rem;
  border: 1px solid black;
}

.data {
  width: 50%;
  text-align: justify;
}

#finTech {
  width: 33%;
}

#blogList {
  margin-left: 7%;
}

.portfolioForecast {
  margin: 1% 22.5%;
}

.widthDistributor {
  width: 40%;
}

/* Media Queries */

@media screen and (max-width: 1115px) {
  .card__title {
    font-size: 1.75rem;
  }

  .card__description {
    font-size: 0.85rem;
  }
}

@media screen and (max-width: 1093px) {
  .herodata h1 {
    font-size: 2rem;
  }
}

@media screen and (max-width: 1033px) {
  .card__title {
    font-size: 1.5rem;
  }

  .card__description {
    font-size: 0.85rem;
  }
}

@media screen and (max-width: 1023px) {
  .dropdownSearch {
    width: 120%;
  }
}

@media screen and (max-width: 999px) {
  .card__title {
    font-size: 1.2rem;
  }

  .card__description {
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 909px) {
  .card__title {
    font-size: 1rem;
  }

  .card__description {
    font-size: 0.75rem;
  }
}

@media screen and (max-width: 880px) {
  .formWidth {
    width: 50rem;
  }

  .buttonPush {
    margin-top: 1.25rem;
  }
  .microplan__tile {
    width: 90%;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .microplan__pricing {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    width: 100%;
    height: 100%;
    padding: 1rem 0;
  }
  .microplan__data {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .microplan__data__list {
    display: grid;
    justify-content: center; /* centers the entire list horizontally */
  }

  .microplan__data__list li {
    display: flex; /* use flexbox for aligning the SVG and text */
    align-items: center; /* vertically center the SVG and text */
    text-align: left; /* keep the text aligned to the left */
    gap: 10px; /* add spacing between the SVG and text */
  }

  .microplan__heading {
    font-size: 1.5rem;
    font-weight: 600;
  }
  #company {
    flex-direction: column;
  }
  .company__image {
    margin-bottom: 2rem;
  }
  #company .data {
    width: 90%;
  }
}

@media screen and (max-width: 852px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .card-container {
    flex-direction: column;
  }

  .card__inner {
    flex-direction: column;
  }

  .card__image-container {
    width: 100%;
  }

  .card__image {
    aspect-ratio: 16 / 9;
  }

  .card__title {
    font-size: 32px;
  }

  .card__description {
    font-size: 16px;
  }

  .card__content {
    padding: 30px 20px;
  }
}

@media screen and (max-width: 832px) {
  .row {
    flex-direction: column;
    align-items: center;
  }
  .row--one {
    flex-direction: column;
    align-items: center;
  }

  .two {
    margin-left: 0rem;
  }

  .margin {
    margin-left: 0rem;
  }
}

@media screen and (max-width: 833px) {
  .herodata h1 {
    font-size: 1.7rem;
  }

  .herodata p {
    font-size: 1rem;
  }
}

@media screen and (max-width: 800px) {
  .formWidth {
    width: 47rem;
  }
}

@media screen and (max-width: 769px) {
  #heropage {
    height: 100%;
    width: 100%;
  }
  .heroimage {
    display: none !important;
  }
  .innerhero {
    flex-direction: column;
    height: 95%;
  }
}

@media screen and (max-width: 768px) {
  .labelMargin {
    margin-left: 0 !important;
  }

  .fiveLabelMargin {
    margin: 0 !important;
  }

  .gridMobile {
    margin: 0 5%;
  }

  .flexMobile {
    display: flex;
    flex-direction: column !important;
    text-align: center;
    align-items: center;
  }

  .formDiv {
    margin-left: 0%;
  }

  .formWidth {
    width: 80%;
  }

  .formPoint {
    margin: 10%;
  }

  .mobile-top {
    margin-top: 0.5rem;
  }

  .flexMobile div {
    margin: 1rem 0;
  }

  .aboutStatement {
    text-align: center;
    align-items: center;
    margin-top: 2rem;
  }

  .flexGallery {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .flexGallery img {
    margin: 1rem 0;
  }

  .mobileService {
    margin-top: 2rem;
  }

  .mobileService h2 {
    text-align: center;
  }

  .mobileService p {
    text-align: center;
  }

  .mobileReverse {
    display: flex;
    flex-direction: column-reverse;
  }

  .position-image {
    justify-self: center !important;
  }

  .row {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .row iframe {
    margin: 1rem 0;
  }

  #knowledgePartner {
    flex-direction: column;
    justify-content: space-evenly;
    margin: 1.5rem;
  }

  #knowledgePartner div {
    margin: 1rem auto;
  }

  #knowledgePartner img {
    width: 50%;
    height: 50%;
    margin: 0 auto;
  }

  #mobileDown span {
    display: block;
    margin-top: 0.5rem;
    text-align: center;
  }

  #mobileDown > div {
    justify-content: center;
    align-items: center;
  }

  .planningImg {
    display: none;
  }

  .mobileDiv {
    display: block !important;
  }

  .mobileWidth {
    width: 100%;
  }

  .hide-on-small {
    display: none;
  }

  .form-full-width {
    grid-column: span 2 / span 2;
  }

  #mobileDownData {
    margin-top: 5%;
  }

  #finTech {
    width: 60%;
  }

  #blogList img {
    display: none;
  }

  #blogList {
    margin-left: 0 !important;
    width: 100% !important;
  }

  #blogList p {
    size: 1rem !important;
    text-wrap: wrap;
  }

  .portfolioForecast {
    margin: 1% 1%;
  }

  #researchSelectBtnPanel {
    flex-direction: column;
  }

  .widthDistributor {
    width: unset !important;
    margin: 0 1%;
  }
}

@media screen and (max-width: 386px) {
  .padding {
    width: 20rem;
  }
}
