/** @format */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  color: #180a0e;
  background-color: #fcf7f9;
}

html,
body {
  overflow-x: hidden;
}

.u-margin-bottom-big {
  margin-bottom: 8rem !important;
}

h2 {
  color: #a22243 !important;
}

@media (max-width: 56.25em) {
  .u-margin-bottom-big {
    margin-bottom: 5rem !important;
  }
}

.u-margin-bottom-mid {
  margin-bottom: 4rem !important;
}

@media (max-width: 56.25em) {
  .u-margin-bottom-mid {
    margin-bottom: 3rem !important;
  }
}

.u-margin-bottom-small {
  margin-bottom: 1.5rem !important;
}

.u-margin-top-huge {
  margin-top: 10rem !important;
}

.u-margin-top-big {
  margin-top: 8rem !important;
}

.u-margin-top-mid {
  margin-top: 4rem !important;
}

.u-margin-top-small {
  margin-top: 1.5rem !important;
}

.heading {
  font-size: 2rem;
  color: #180a0e;
  font-weight: 700;
  text-align: center;
}

.heading2 {
  font-size: 1.9rem;
  font-weight: 600;
  text-align: center;
}

.heading-tertiary {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
}
#other {
  border-bottom: 0.1px solid black;
  background-color: #fcfcf8;
  color: #180a0e;
  position: relative;
  z-index: 1;
}

#modalBtn {
  z-index: 0;
  position: absolute;
  top: -25rem;
  /* Chose value from styles.css */
}

.force-bg-transparent {
  background-color: transparent !important;
}

nav:not(:last-child) {
  background-color: #e0c2ce;
}

.navbar li a:hover,
.navbar li button:hover {
  color: #a22243;
}
#dropdownNavbarLink:hover svg path {
  stroke: #a22243; /* Change to your desired color */
}
#dropdownNavbarLink2:hover svg path {
  stroke: #a22243; /* Change to your desired color */
}
#dropdownNavbarLink3:hover svg path {
  stroke: #a22243; /* Change to your desired color */
}
.navbar li a:hover svg path {
  stroke: url(#gradientStroke);
}

#dropdownNavbar ul li a,
#dropdownNavbar2 ul li a,
#dropdownNavbar3 ul li a {
  color: black;
}

#modalBtn {
  position: absolute;
  margin-top: -5rem;
  z-index: 0;
}

.carousel-container {
  display: flex;
  max-width: 100%;
  padding: 0rem 2rem;
  height: 75vh;
  align-items: center;
  gap: 2rem;
}

.image-carousel,
.text-carousel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.image-carousel img {
  max-width: 100%;
  width: 75%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.text-carousel {
  text-align: center;
  padding: 1rem;
}

.carousel-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.carousel-description {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.carousel-button {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  background-color: #a22243;
  /* background-color: rgba(0, 0, 0, 0.7); Semi-transparent background */
  transition: all 0.1s ease;
}

.carousel-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(162, 34, 66, 0.489);
}

.carousel-button.secondary {
  color: #180a0e;
  background-color: #f3d6de;
  transition: all 0.1s ease;
}

.carousel-button.secondary:hover {
  transform: translateY(-5px);
  background-color: #f3d6de;
}

.whatsapp-icon {
  padding-left: 5px;
  width: 2.5rem;
}
/* Our Offering */

.section-features {
  padding: 4rem 2rem;
  background-image: linear-gradient(to right bottom, #faf8e6),
    url(../img/nat-4.jpg);
  background-size: cover;
}

#aboutImg {
  width: 250px;
  height: 250px;
}

@media (max-width: 56.25em) {
  .section-features {
    padding: 10rem 0;
  }
}
.feature-box {
  background-color: #f7ecef;
  font-size: 1rem;
  padding: 2.5rem;
  text-align: center;
  border-radius: 4px;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

@media (max-width: 56.25em) {
  .feature-box {
    padding: 2rem;
  }
}

.feature-box__icon {
  font-size: 3rem;
  margin-bottom: 0.25rem;
  display: inline-block;
  color: #a22243;
}

@media (max-width: 56.25em) {
  .feature-box__icon {
    margin-bottom: 0rem;
  }
}

.feature-box:hover {
  transform: translateY(-1.5rem) scale(1.03);
}

.position-img {
  height: 75%;
}

.position-text {
  height: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Our Stratergy */

/* Container for all cards */
.cards {
  width: 90%;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* Two columns for cards */
  gap: 30px;
  /* Space between card columns */
}

.card-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  /* Ensure card containers have equal height */
}

.card {
  width: 100%;
  height: 15rem;
  /* Card takes full height of container */
  position: sticky;
  top: 0;
  margin-bottom: 2rem;
}

.card__inner {
  background-color: #f8ecf0;
  border-radius: 14px;
  display: flex;
  flex-direction: row;
  /* Default: Image on the right, text on the left */
  height: 100%;
  /* Ensure consistent card height */
  text-align: left;
  box-shadow: 0 25px 50px -12px hsla(265.3, 20%, 10%, 35%);
  transition: background-color 0.21s linear;
}

.card__inner:hover {
  background-color: #eacdd4;
}

.card__image-container {
  width: 30%;
  /* Increase image width for better size */
}

.card__image {
  width: 25rem;
  height: 100%;
  border-radius: 14px 0 0 14px;
  object-fit: cover;
  aspect-ratio: 1;
  /* Square aspect ratio */
}

.card__content {
  width: 70%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
}

.card__title {
  margin: 0;
  font-size: 1.8rem;
  text-align: center;
  font-weight: 600;
}

.card__description {
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 0.5rem;
}

/* 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;
}

.whatsapp-btn .connect2 {
  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;
}

.socialMediaNav {
  position: fixed;
  width: 50px;
  margin-top: 50px;
  transition: all 0.3s linear;
  box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.4);
  bottom: 4rem;
  z-index: 1000000;
}
.socialMediaNav li {
  height: 60px;
  position: relative;
}
.socialMediaNav li a {
  color: white;
  display: block;
  height: 100%;
  width: 100%;
  line-height: 60px;
  padding-left: 15%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
  transition: all 0.3s linear;
}
.socialMediaNav li:nth-child(2) a {
  background: #2867b2;
}
.socialMediaNav li:nth-child(1) a {
  background: #0866ff;
}

.socialMediaNav li a i {
  position: absolute;
  top: 17px;
  font-size: 27px;
}
.socialMediaNav ul li a span {
  display: none;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.socialMediaNav li:hover {
  z-index: 100000 !important;
}

.socialMediaNav a:hover {
  z-index: 100000 !important;
  width: 200px;
}
.socialMediaNav ul li:hover a span {
  padding-left: 30%;
  display: block;
}

.portfolioForecast{
  margin: 1% 22.5%;
}

/* Adjustments for screens below 768px */
@media (max-width: 882px) {
  .card {
    height: 25rem;
  }

  .card__inner {
    flex-direction: column;
    /* Stack image and text vertically */
    height: 100%;
    /* Ensure the card height remains consistent */
  }

  .card__image-container {
    width: 100%;
    /* Full width for the image */
    height: 50%;
    /* Set height to prevent it from getting too big */
  }

  .card__image {
    aspect-ratio: 3 / 2;
    /* Aspect ratio adjusted for smaller screens */
  }

  .card__content {
    padding: 10px;
    height: 50%;
    /* Ensures text takes up half of the card */
  }

  .card__title {
    font-size: 1.5rem;
    /* Smaller title */
  }

  .card__description {
    font-size: 0.875rem;
    /* Smaller text */
  }
}

/* Stack card containers below 425px */
@media (max-width: 496px) {
  .cards {
    grid-template-columns: 1fr;
    /* Cards stack vertically */
    width: 80%;
  }

  .card {
    margin-bottom: 1%;
  }

  .card__inner {
    height: auto;
    /* Allow cards to take full available height */
  }

  .card__image-container {
    height: 80%;
  }

  .card__image {
    width: 100%;
    height: 10rem;
  }

  .card__content {
    width: 100%;
  }
}
.space {
  height: 10vh;
}

.space--small {
  height: 10vh;
}

.our-team .team-content {
  width: 100%;
  height: auto;
  background: #323232;
  padding: 27px 0;
  border-left: 5px solid #3cb5d3;
  border-right: 5px solid #3cb5d3;
  box-shadow: 0 15px 25px 0 rgba(3, 7, 15, 0.1);
  position: absolute;
  bottom: 0;
  right: 0;
  transition: all 0.5s ease 0s;
}

.team-members-box {
  padding: 30px 0px;
}

.aboutStatement {
  margin-top: 2rem;
}

.galleryImg {
  height: 300px;
  width: 300px;
}

.flexGallery {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  margin: 2rem 0;
}

.flexGallery img {
  height: 200px;
  width: 300px;
}

.formWidth {
  width: 55rem;
}

.formDiv {
  margin-left: 15%;
}

.mobileWidth {
  width: 50%;
}

#outputTbl {
  margin: 1rem 3rem;
}

.formPoint {
  margin: 2rem 0 0 8%;
}

.buttonPush {
  margin-top: 1.75rem;
}

.dropdownSearch {
  width: 400%;
}

#tooltip {
  position: relative;
  cursor: pointer;
}

#tooltipText {
  position: absolute;
  left: 50%;
  top: -50px;
  transform: translateX(-50%);
  background-color: #000;
  color: #fff;
  white-space: nowrap;
  padding: 10px 15px;
  border-radius: 7px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 100;
}
#tooltipText::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 10px solid transparent;
  border-top-color: #000;
}

#tooltip:hover #tooltipText {
  visibility: visible;
  opacity: 1;
}

@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;
}

.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)
  );
}

.marquee--8 {
  --marquee-item-width: 100px;
  --marquee-item-height: 10px;
  --marquee-duration: 36s;
  --marquee-items: 8;
}

.marquee--3 {
  --marquee-item-width: 150px;
  --marquee-item-height: 150px;
  --marquee-duration: 24s;
  --marquee-items: 3;
}

.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;
}

.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--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);
  }
}

.position-image-right {
  justify-self: end;
}

.position-image-left {
  justify-self: start;
}

.row2 {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  margin-top: 3rem;
}
x

/* GRID */

.row {
  display: flex;
  justify-content: center;
  max-width: 114rem;
  margin: 0 auto;
}

@media (max-width: 1095px) {
  .row {
    flex-direction: column;
    align-items: center;
  }
}

.row:not(:last-child) {
  margin-bottom: 4rem;
}

@media (max-width: 1095px) {
  .row:not(:last-child) {
    margin-bottom: 3rem;
  }
}

@media (max-width: 1095px) {
  .row {
    max-width: 60rem;
    padding: 0 3rem;
  }
}

@media (max-width: 1095px) {
  .row [class^="col-"]:not(:last-child) {
    margin-right: 0;
    margin-bottom: 6rem;
  }
}

@media (max-width: 1095px) {
  .row [class^="col-"] {
    width: 100% !important;
  }
}

.row .col-1-of-4 {
  width: calc((100% - 2 * 6rem) / 4);
}

/* GRID Over */

#knowledgePartner {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  margin: 1.5rem;
}

#knowledgePartner div {
  margin: 0 4rem;
}

#knowledgePartner img {
  width: 250px;
  height: 100px;
}

.marquee--8 {
  --marquee-item-width: 200px;
}

.planningImg {
  height: 27rem;
  margin-left: -2rem;
  margin-top: -2rem;
}

/* For the Our Products in index.html */

.explore-product {
  display: flex; /* Use Flexbox for alignment */
  align-items: center; /* Vertically center the items */
  text-decoration: none; /* Remove underline from the link */
  color: white;
  background-color: rgb(26, 86, 219);
  width: fit-content; /* Inherit color from parent element */
  padding: 10px; /* Add padding if needed */
  transition: all 1s ease;
  border-radius: 2px;
}

.explore-product:hover {
  background-color: white;
  color: rgb(26, 86, 219);
  border: 2px solid rgb(26, 86, 219);
  border-radius: 12px;
}

.material-symbols-outlined {
  margin-left: 5px; /* Add space between text and icon */
}

.color {
  background-image: linear-gradient(to bottom right, #1a68c7, #97bbe6);
  color: white;
  display: block;
  padding: 0.7rem;
  margin-right: 0.5rem;
  border-radius: 100%;
  font-size: 2.5rem !important;
}
.illustration {
  display: flex; /* Create a flex container */
  justify-content: space-between; /* Space out the columns evenly */
  margin: 2rem 1rem;
}

.illustration > div {
  flex-direction: row;
  flex-grow: 1;
  margin: 0 10px; /* Add some margin between columns */
}

.col-obj {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
}

.col-obj p {
  display: flex; /* Use flexbox to align items inside <p> */
  align-items: center; /* Center align items vertically */
  justify-content: center;
  text-align: center;
  margin: 1rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  width: 100%;
}

/* Financial Tools  */

.row {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin-bottom: 2rem;
}

/* Financial Planning as well as it copies the css */

.row--one {
  display: flex;
  justify-content: center;
}

.two {
  margin-left: 1.1rem;
}

.margin {
  margin-left: 2rem;
}

.padding {
  width: 30.5rem;
  height: 22.5rem;
  overflow-y: hidden;
}

@media (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 (max-width: 386px) {
  .padding {
    width: 20rem;
  }
}

@media screen and (max-width: 1023px) {
  .dropdownSearch {
    width: 120%;
  }
  .position-image {
    justify-self: center !important;
  }
}

@media screen and (max-width: 880px) {
  .formWidth {
    width: 50rem;
  }

  .buttonPush {
    margin-top: 1.25rem;
  }
}

@media screen and (max-width: 800px) {
  .formWidth {
    width: 47rem;
  }
}

@media screen and (max-width: 767px) {
  #other ul li button:hover {
    background-color: rgb(26, 86, 219);
  }
}

@media screen and (max-width: 768px) {
  .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 {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    margin: 1.5rem;
  }

  #knowledgePartner div {
    margin: 1rem auto;
  }

  #knowledgePartner img {
    width: 50%;
    height: 50%;
    margin: 0 auto;
  }

  .row div {
    margin: 1rem 0;
  }

  #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%;
  }

  .col-obj {
    justify-content: space-between !important;
    margin: 10px 0;
  }

  .col-obj p {
    justify-content: center;
    margin: 1rem 0;
    font-size: 0.6rem;
    font-weight: 700;
    width: 60%;
  }

  .illustration > div {
    flex-direction: row;
    flex-grow: 1;
    margin: 0 0px; /* Add some margin between columns */
  }

  .mobileContainer {
    margin: 0 1%;
  }

  #productImg {
    display: none;
  }

  #testimonial-carousel{
    margin: 0 5%;
  }

  .portfolioForecast{
    margin: 1% 1%;
  }

}
@media (min-width: 769px) {
  .md\:w-4\/5 {
    width: 80% !important;
  }
}
@media screen and (max-width: 668px) {
  .image-carousel {
    display: none;
  }
}
@media (max-width: 368px) {
  .illustration {
    flex-direction: column;
    margin: 0 10px; /* Add some margin between columns */
  }
  .col-obj p {
    font-size: 1rem;
    font-weight: 700;
    width: 100%;
  }
}

@media screen and (max-width: 336px) {
  .carousel-title {
    font-size: 1.75rem;
  }
}
