.header {
  width: 100%;
  transition: 0.3s ease-in-out;
}

.container {
  max-width: 1000px;
}

/*=============== NAV ===============*/
.nav {
  height: 3.5rem;
}
.nav__data {
  padding: 0 20px;
  height: 76.02px;
  min-height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav__logo {
  display: flex;
  align-items: center;
  column-gap: 0.25rem;
}

.nav__logo img {
  width: 100%;
  max-width: 100px;
  /* height: 19.79px; */
  object-fit: cover;
}
/* .nav__logo i {
  font-size: 1.25rem;
}
.nav__logo:hover {
  color: var(--first-color);
} */
.nav__toggle {
  position: relative;
  width: 32px;
  height: 32px;
}
.nav__toggle-menu,
.nav__toggle-close {
  font-size: 1.25rem;
  color: var(--title-color);
  position: absolute;
  display: grid;
  place-items: center;
  inset: 0;
  cursor: pointer;
  transition: opacity 0.1s, transform 0.4s;
  object-fit: contain;
  width: 32px;
  height: 32px;
}
.nav__toggle-close {
  display: none;
  object-fit: contain;
  width: 32px;
  height: 32px;
  /* opacity: 0; */
}

.cta-link-header {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
  /* max-width: 520px; */
}

.login-header {
  padding: 10px 20px 12px 20px;
  border-right: 1px solid rgba(2, 2, 2, 0.08);
  font-family: var(--regular-font-p);
  font-size: 15px;
  font-weight: 500;
  line-height: 19.2px;
  letter-spacing: 0.25px;
  text-align: center;
  color: rgba(15, 15, 15, 1);
  text-decoration: none;
}

.get-started-header {
  padding: 10px 20px 12px 20px;
  /* Same radius as .talk-to-us-button (v2/style.css); ripple hover in style.css */
  border-radius: 8.86px;
  background-color: rgba(237, 15, 132, 1);
  color: rgba(255, 255, 255, 1);
  text-decoration: none;
  font-family: var(--regular-font-p);
  font-size: 15px;
  font-weight: 500;
  line-height: 19.2px;
  letter-spacing: 0.25px;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.nav__link {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
  /* border-bottom: 0px; */
}
.nav__link:hover {
  background-color: var(--first-color-lighten);
}

/*=============== DROPDOWN BUTTON ===============*/
.dropdown__button {
  cursor: pointer;
  border-bottom: 0px;
}

@media screen and (max-width: 931px) {
  ul {
    list-style: none;
  }
  li {
    list-style: none;
  }
  .nav__list {
    list-style-type: none;
  }

  .nav__menu {
    background-color: var(--body-color);
    position: absolute;
    left: 0;
    top: 2.5rem;
    width: 100%;
    height: calc(100vh - 3.5rem);
    overflow: auto;
    padding-block: 1.5rem 4rem;
    pointer-events: none;
    display: block;
    opacity: 0;
    visibility: hidden;
    /* Longer fade-out when closing; visibility delays until opacity finishes */
    transition:
      opacity 0.72s cubic-bezier(0.33, 1, 0.68, 1),
      visibility 0s linear 0.72s,
      top 0.5s cubic-bezier(0.33, 1, 0.68, 1);
  }
  .nav__menu::-webkit-scrollbar {
    width: 0.5rem;
  }
  .nav__menu::-webkit-scrollbar-thumb {
    background-color: hsl(220, 12%, 70%);
  }

  .cta-link-header {
    margin-top: 1.5rem;
    margin-left: 0;
    padding-top: 1.25rem;
    padding-right: 1.5rem;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(208, 205, 205, 1);
    width: calc(100% - 3rem);
    max-width: 100%;
    justify-content: flex-start;
    gap: 1rem;
  }

  .login-header {
    border-right: none;
  }
  .nav__link {
    border-bottom: 0.5px solid rgba(208, 205, 205, 1);
    margin: 0 1.5rem;
    padding: 1.5rem 0;
    text-decoration: none;
    font-family: var(--regular-font-p-aeonik);
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
  }
  .dropdown__group {
    padding-left: 2rem;
  }

  .dropdown__container {
    margin-left: 20px;
    margin-right: 20px;
  }

  .dropdown__header__card {
    display: none;
  }
}

.dropdown__group a {
  text-decoration: none;
  /* display: flex;
  flex-direction: column;
  gap: 10px; */
}

/* Show menu */
.show-menu {
  display: block;
  opacity: 1;
  top: 3.5rem;
  pointer-events: initial;
  background-color: white;
  z-index: 100;
}

/* Snappier fade-in on open (mobile); must follow .show-menu for cascade */
@media screen and (max-width: 931px) {
  .nav__menu.show-menu {
    visibility: visible;
    transition:
      opacity 0.32s ease-out,
      visibility 0s,
      top 0.38s ease-out;
  }
}

/* Show icon */
.show-icon .nav__toggle-menu {
  display: none;
  opacity: 0;
  transform: rotate(90deg);
}

.show-icon .nav__toggle-close {
  display: block;
  opacity: 1;
  transform: rotate(90deg);
}

/*=============== DROPDOWN ===============*/
/* .dropdown__button {
  cursor: pointer;
  border-bottom: 0px;
} */
.dropdown__arrow {
  font-size: 1.5rem;
  font-weight: initial;
  transition: transform 0.4s;
}
.dropdown__content,
.dropdown__group,
.dropdown__list {
  display: grid;
}
.dropdown__container {
  background-color: white;
  height: 0;
  overflow: hidden;
  transition: height 0.4s;
  z-index: 1000;
}
.dropdown__content {
  row-gap: 1.75rem;
}
.dropdown__group {
  padding-left: 2.5rem;
  row-gap: 1.5rem;
}
.dropdown__group:first-child {
  margin-top: 1.25rem;
}
.dropdown__group:last-child {
  margin-bottom: 1.25rem;
}
.dropdown__icon i {
  font-size: 1.25rem;
  color: var(--first-color);
}
.dropdown__title {
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}
.dropdown__list {
  row-gap: 0.25rem;
}
.dropdown__link {
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
  color: var(--text-color);
  transition: color 0.3s;
}
.dropdown__link:hover {
  color: var(--title-color);
}

/* Rotate dropdown icon */
.show-dropdown .dropdown__arrow {
  transform: rotate(180deg);
}

.header-icon-list {
  display: flex;
  gap: 22px;
  align-items: center;
}

.header-icon-list img {
  max-width: 32px;
  width: 100%;
  height: 32px;
  object-fit: cover;
}

.header-icon-list img.midaOmni {
  max-width: 44px;
  width: 100%;
  height: 44px;
  object-fit: cover;
}

.company-about-us h2 {
  font-family: var(--regular-font-p-aeonik);
  font-size: 18px;
  font-weight: 400;
  line-height: 21.6px;
  text-align: left;
  color: rgba(18, 27, 40, 1);
  margin-bottom: 5px;
}

.company-about-us p {
  font-family: var(--font-light-aeonik);
  font-size: 15.43px;
  font-weight: 300;
  line-height: 20.83px;
  text-align: left;
  color: rgba(31, 33, 36, 1);
}
/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 300px) {
  .dropdown__group {
    padding-left: 1.5rem;
  }
}
/* For large devices */
@media screen and (min-width: 931px) {
  ul {
    text-decoration: none;
    list-style: none;
  }
  /* Nav */

  .nav {
    height: calc(3.5rem + 2rem);
    display: flex;
    justify-content: space-between;
  }
  .nav__toggle {
    display: none;
  }

  .nav__list {
    display: flex;
    column-gap: 2.2rem;
    height: 100%;
    list-style-type: none;
    align-items: center;
  }

  /* Space + vertical line before Log in / Get Started */
  .cta-link-header {
    margin-left: 0.5rem;
    padding-left: 1.75rem;
    border-left: 1px solid rgba(0, 0, 0, 0.12);
    align-self: center;
    flex-shrink: 0;
    height: auto;
    min-height: 2rem;
  }

  .show-menu {
    background-color: transparent;
  }
  .nav li {
    display: flex;
  }
  .nav__link {
    padding: 0;
    text-decoration: none;
    font-family: var(--regular-font-p);
    font-size: 15px;
    font-weight: 500;
    line-height: 19.2px;
    letter-spacing: 0.25px;
    text-align: left;
  }
  .nav__link:hover {
    background-color: initial;
  }
  /* Dropdown */
  .dropdown__button {
    column-gap: 0.25rem;
    pointer-events: none;
  }

  /* Dropdown hidden state */
  .dropdown__container {
    height: max-content;
    position: absolute;
    left: 0;
    right: 0;
    top: 6.5rem;
    background-color: white;
    box-shadow: 0 6px 8px hsla(220, 68%, 12%, 0.05);
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    z-index: 2;
    transform: translateY(-10px); /* Slide up slightly when hidden */
    transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s; /* Added delay */
  }

  /* Header background transition */
  .header-container {
    background-color: transparent;
    transition: background-color 0s ease; /* Smooth background change */
    z-index: 1;
  }

  .inner-hero-section .header-container:hover {
    background-color: transparent !important;
  }

  /* Hover or JS .dropdown--open: mega menu is full-width so pointer often leaves the <li> */
  .dropdown__item:hover > .dropdown__container,
  .dropdown__item.dropdown--open > .dropdown__container {
    top: 5.5rem;
    visibility: visible;
    opacity: 1;
    pointer-events: initial;
    cursor: initial;
    width: 100%;

    /* max-width: 1440px; */
    margin: 0 auto;
    transform: translateY(0);
    transition: opacity 0s ease, transform 0.4s ease; /* Removed delay from hover */
  }

  /* Optional: slightly delay the header background change if needed */
  .dropdown__item:hover ~ .header-container {
    background-color: white;
    transition: background-color 0s ease 0.4s; /* Slight delay for smoother effect */
  }

  .dropdown__content {
    grid-template-columns: repeat(3, max-content);
    column-gap: 3rem;
    max-width: 933px;
    margin-inline: auto;
  }
  .dropdown__group {
    padding: 4rem 0;
    align-content: baseline;
    row-gap: 2.25rem;
    max-width: 387px;
  }

  .dropdown__group a {
    max-width: 320px;
  }
  .dropdown__group:first-child,
  .dropdown__group:last-child {
    margin: 0;
  }
  .dropdown__list {
    row-gap: 0.75rem;
  }
  .dropdown__icon {
    width: 60px;
    height: 60px;
    background-color: var(--first-color-lighten);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
  }
  .dropdown__icon i {
    font-size: 2rem;
  }
  /* .dropdown__title {
    font-size: var(--normal-font-size);
  } */
  .dropdown__link {
    font-size: var(--small-font-size);
  }
  .dropdown__link:hover {
    color: var(--first-color);
  }
  .dropdown__item {
    cursor: pointer;
  }
  .dropdown__item:hover .dropdown__arrow,
  .dropdown__item.dropdown--open .dropdown__arrow {
    transform: rotate(180deg);
  }

  .dropdown__header__card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-radius: 0px 21.19px 0px 21.19px;
    background-color: rgba(255, 245, 247, 1);
    width: 100%;
    max-width: 399px;
    padding: 20px 20px 60px 25px;
  }

  .dropdown__header__card-title {
    font-family: var(--font-outfit);
    font-size: 23.18px;
    font-weight: 700;
    line-height: 29.2px;
    text-align: left;
    color: rgba(31, 33, 36, 1);
  }

  .dropdown__header__card-paragraph {
    font-family: var(--font-regular-satoshi);
    font-size: 16px;
    font-weight: 300;
    line-height: 21.6px;
    text-align: left;
    color: rgba(31, 33, 36, 1);
  }
  .dropdown-header-card-cta-link-header {
    display: flex;
    gap: 20px;
    /* max-width: 520px; */
  }

  .dropdown-header-card-get-started-header {
    padding: 10px;
    border-radius: 8px;
    background-color: rgba(237, 15, 132, 1);
    max-width: 320.6px;
    width: 100%;
    padding: 12.8px 24.8px;
    color: white;
    text-decoration: none;
    font-family: var(--font-meduim-aeonik);
    font-size: 15.13px;
    font-weight: 500;
    line-height: 22.4px;
    letter-spacing: -0.20000000298023224px;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
  }

  .dropdown-header-card-get-started-header::before {
    content: '';
    position: absolute;
    top: 0%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: rgba(0, 35, 67, 1);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    transition: transform 0.6s ease, opacity 0.6s ease;
    z-index: -1; /* Ensure ripple stays behind the text */
  }

  .dropdown-header-card-get-started-header:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  .dropdown-header-card-book-demo-header {
    max-width: 157.6px;
    width: 100%;
    padding: 12.8px;
    border-radius: 8px;
    border: 1px solid rgba(0, 35, 67, 1);
    color: rgba(15, 15, 15, 1);
    text-decoration: none;
    font-family: var(--font-meduim-aeonik);
    font-size: 15.13px;
    font-weight: 500;
    line-height: 22.4px;
    letter-spacing: -0.20000000298023224px;
    text-align: center;
    transition: color 0.3s ease-in-out, border-color 0.5s ease-in-out;
  }

}
@media screen and (min-width: 993px) {
  .container {
    margin-inline: auto;
  }
}

/* footer csss */
.section-before-info-footer {
  background-color: #fce8f2; /* Set the background color */
  background-image: url(assets/images/pattern-mask-group.png); /* Set the background image */
  background-blend-mode: multiply; /* Use blending to combine image and color */
  background-size: cover; /* Ensure the image covers the section */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Prevent the image from repeating */
}

.inner-take-action-info-footer {
  width: 100%;
  margin: 0 auto;
  max-width: 700px;
  padding: 120px 11px;
  align-items: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 12.18px;
}

.footer-more-title {
  font-family: var(--font-meduim-aeonik);
  font-weight: 700;
  font-size: 44px;
  text-align: center;
  line-height: 52.8px;
}

.footer-more-short-info {
  font-family: var(--font-regular-satoshi);
  font-weight: 400;
  font-size: 22px;
  text-align: center;
  line-height: 29.7px;
  max-width: 606.9px;
  width: 100%;
  color: rgba(28, 37, 51, 1);
}

.info-footer-section {
  background-color: var(--color-midnight-blue);
  width: 100%;
}

.footer-main-container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding-left: 80.14px;
  padding-right: 80.14px;
  padding-top: 72px;
  padding-bottom: 50px;
  /* color: var(--color-sliver-gray); */
  /* background-color: var(--color-midnight-blue); */
}

.footer-container {
  max-width: 1279.72px;
  display: flex;
  flex-direction: column;
}

.md-footer-more-info {
  display: flex;
  column-gap: 165px;
  padding-bottom: 50px;
  max-width: 1172px;
  /* justify-content: space-between; */
}

.right-top-footer {
  display: flex;
  column-gap: 115px;
}

/* .our-solution-mobile {
  display: none;
} */

.inner-about-info {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.inner-about-info img {
  width: 100%;
  max-width: 104.89px;
  object-fit: cover;
  /* scale: 1.2;
  height: 24px; */
}

.inner-about-info p {
  width: 100%;
  max-width: 392px;
  font-family: var(--font-light-satoshi);
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  padding-bottom: 16px;
  color: var(--white);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  /* gap: 16px; */
}
.footer-contact-info a {
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-regular-satoshi);
  font-size: 16px;
  font-weight: 400;
  line-height: 21.6px;
  text-align: left;
}

.footer-contact-info p {
  font-family: var(--regular-font-p);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--white);
  line-height: 21.6px;
}

.social-media-icon-div {
  margin-top: 20px;
  width: 100%;
  max-width: 135px;
  display: flex;
  gap: 13px;
}

.social-media-icon-div img {
  max-width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  max-width: 601px;
  width: 100%;
  column-gap: 102px;
}

.footer-header-title {
  font-family: var(--bold-font-h1);
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
  padding-bottom: 16px;
  color: var(--white);
}

.footer-link-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

/* .footer-link-list li {
  
} */

.footer-link-list a {
  text-decoration: none;
  font-size: 16px;
  line-height: 21.6px;
  font-family: var(--font-light-satoshi);
  font-weight: 500;
  color: var(--color-sliver-gray);
}

.date-container {
  display: flex;
  flex-direction: column;
  padding-bottom: 36px;
}

.date-container .hr {
  margin-bottom: 36px;
  border: 1px solid #ffffff2e;
}

.date-privacy-policy {
  display: flex;
  justify-content: space-between;
  color: var(--white);
  font-family: var(--regular-font-p);
}

.footer-legal-links {
  display: flex;
  gap: 30px;
}

.footer-legal-links a {
  text-decoration: none;
  font-family: var(--font-regular-satoshi);
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
  color: var(--white);
}

.legal-footer {
  display: none;
}

@media screen and (max-width: 940px) {
  /* .footer-about-info {
    display: flex;
  } */
  .md-footer-more-info {
    flex-direction: column;
    gap: 30px;
  }

  .right-top-footer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: colums;
    padding-top: 20px;
    border-top: 1px solid #ffffff2e;
    gap: 100px;
  }
  .legal-footer {
    display: block;
  }
  .footer-legal-links {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  /* .footer-about-info {
    display: flex;
  } */
  .footer-main-container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .right-top-footer {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 57px;
  }
  /* .md-footer-more-info {
    display: grid;
    grid-template-columns: 100px;
    gap: 10px;
  } */
}

@media screen and (max-width: 500px) {
  .footer-more-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 43.2px;
    text-align: center;
  }
  .md-footer-more-info {
    flex-direction: column;
    gap: 30px;
  }
  .footer-main-container {
    padding-left: 30px;
    padding-right: 30px;
  }

  .date-privacy-policy {
    flex-direction: column;
    gap: 30px;
  }
  /* .privacy-cookies {
    display: flex;
    flex-direction: column;
    gap: 30px;
  } */
}
