@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:ital,wght@0,300;0,700;1,300;1,700&display=swap");

:root {
  --fg: #231910;
  --bg: #fefbf4;
  --textSecondary: #76d6ff;
  --purple: #655bbc;
  --bgDarkTeal: #131a1e;
  --white-text: #ffffff;
  --card-bg: #1b1f23;
  --card-radius: 12px;
  --purple-text: #8c6ff7;
  --semi-opacity: 0.8;
  --semi-size: 80px;
  --hover-rotation-speed: 8s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

  html,
    body {
      overflow-x: hidden;
      max-width: 100vw;
    }

body {
  font-family: "Montserrat", sans-serif;
  font-weight: normal;
  overflow-x: hidden;
}



svg {
  flex-shrink: 0;
}

.purple-color {
  color: #655bbc;
  color: var(--purple);
}

.bgDarkTeal {
  background-color: var(--bgDarkTeal);
}

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

h1 {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.1;
}

p {
  font-size: 18px;
  font-weight: normal;
}

a {
  text-decoration: none;
  color: var(--white-text);
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.25rem;
}

.btn .primary {
  background-color: var(--bg);
}

.btn .secondary {
  background-color: var(--fg);
}

.btn .secondary a {
  color: var(--bg);
}

nav {
  position: fixed;
  width: 100vw;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  will-change: opacity;
  z-index: 2;
}

nav > div {
  flex: 1;
}

nav .nav-links {
  display: flex;
  gap: 3rem;
}

.nav-link.active {
  font-weight: bold;
}

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

nav .logo img {
  width: 2rem;
}

nav .logo a {
  text-transform: none;
  font-size: 1.5rem;
}

nav .nav-button {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
}

section {
  position: relative;
  width: 100vw;
  overflow: hidden;
}

canvas {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%);
  transform-style: preserve-3d;
  perspective: 1000px;
  padding: 0.5rem 0;
}

.header {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -25%) scale(0.7);
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  transform-origin: center center;
  will-change: transform, opacity;
  opacity: 0;
}

.header h1 {
  font-size: 8px;
  line-height: 1.2;
}

.header h1.animate-big {
  font-size: 2rem;
}

.navigation-menu {
  position: fixed;
  top: -100px;
  left: 0;
  width: 100%;
  z-index: 999;
  opacity: 0;
}

.navigation-menu a,
footer a {
  font-family: "Open Sans Condensed", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 145%;
  letter-spacing: -0.09px;
}

.navigation-menu a.active {
  font-weight: 700;
}

#ourPathway {
  height: 550px;
}

#ourPathway .custom-bg-position {
  background-position: calc(5% - 50px) center;
}

.glass-card {
  border-radius: 23px;
  border: 1.5px solid rgb(255 255 255 / 6%);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  backdrop-filter: blur(9.899999618530273px);
  padding: 35px 20px 50px;
}
.bg-shape {
  position: absolute;

  pointer-events: none;
}

.circle-wrapper {
  position: relative;
  width: var(--circle-size);
  height: var(--circle-size);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 2rem;
  font-weight: bold;
  color: var(--heading-color);
}

.circle-wrapper::before,
.circle-wrapper::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--circle-border);
  width: 100%;
  height: 100%;
}

.circle-wrapper::after {
  border: 2px solid var(--circle-border2);
  transform: scale(0.85);
}



.medicareDrug:hover::after {
  transform: scale(1.5);
}

#Capabilities .circle-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
}

#Capabilities .circle {
  width: 100%;
  height: 100%;
  opacity: 0;
}

#Capabilities .letter-img {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 40px;
  height: auto;
  opacity: 0;
}

.Capabilities .circle,
.Capabilities .letter-img {
  opacity: 1;
  transform: scale(1) rotate(0deg) translateY(0);
}

#Capabilities letter-img {
  object-fit: contain;
  width: 70px;
  height: 80px;
}

#Capabilities .custom-card,
#Capabilities .circle-wrapper img,
#Capabilities .letter-img {
  will-change: transform, opacity;
}

.card-access,
.card-pricing,
.card-accessnexus,
.card-ehr,
.card-product {
  z-index: 1;
}

.card-access::before {
  content: "";
  position: absolute;
  top: 0px;
  right: 0px;
  width: 170px;
  height: 190px;
  background: url("assets/access-Icon.svg") no-repeat center;
  background-size: contain;
  pointer-events: none;
  z-index: -1;
}

.card-pricing::before {
  content: "";
  position: absolute;
  top: 0px;
  right: 0px;
  width: 132px;
  height: 151px;
  background: url("assets/pricing-Icon.svg") no-repeat center;
  background-size: contain;
  pointer-events: none;
  z-index: -1;
}

.card-accessnexus::before {
  content: "";
  position: absolute;
  top: 0px;
  right: 0px;
  width: 211px;
  height: 145px;
  background: url("assets/access-nexus-icon.svg") no-repeat center;
  background-size: contain;
  pointer-events: none;
  z-index: -1;
}

.card-ehr::before {
  content: "";
  position: absolute;
  top: -30px;
  right: 0;
  width: 30%;
  height: 190px;
  background: url("assets/ehr-icon.png") no-repeat center;
  background-size: contain;
  pointer-events: none;
  z-index: -1;
}

.card-product::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 118px; 
  height: 118px;
  background: url("assets/product-icon.svg") no-repeat center;
  background-size: contain; 
  pointer-events: none;
  z-index: -1; 
  opacity: 0.8;
}

.hero canvas {
  display: block;
  margin: 0;
  padding: 0;
  line-height: 0;
  font-size: 0;
  border: none;
  height: 100%;
  width: 100% !important;
}

#whatIsCultPAVE,
#ourPathway {
  margin: 0;
  padding: 0;
}

/*report page*/
#report-page  h1,h2,h3,p{
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}

 #report-page .navigation-menu {
      top: 0 !important;
      opacity: 1 !important;
    }
    
     [id^="source-"] {
      scroll-margin-top: 120px; /* Adjust this value based on your navigation height */
    }

/* Ensure H2 elements with letter animations stay left-aligned */
#report-page h2 {
  text-align: left !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
  padding-right: 0 !important;
  margin-right: 0 !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  text-indent: 0 !important;
  line-height: 1.4 !important;
}

#report-page h2 .letter-span {
  display: inline !important;
  text-align: left;
  vertical-align: baseline;
  white-space: pre;
  padding: 0 !important;
  margin: 0 !important;
  position: relative !important;
  transform-origin: center center !important;
  text-indent: 0 !important;
  line-height: inherit !important;
}

/* Override any Tailwind or other alignment classes */
h2.text-left {
  text-align: left !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
  padding-right: 0 !important;
  margin-right: 0 !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  text-indent: 0 !important;
  line-height: 1.4 !important;
}

h2.text-left .letter-span {
  display: inline !important;
  text-align: left !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Remove any potential centering or right alignment */
h2 {
  text-align: left !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Ensure containers with H2 elements don't overflow */
.max-w-7xl h2 {
  max-width: calc(100% - 2rem) !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

/* Specific fix for absolute positioned H2 elements */
h2.absolute {
  left: 0 !important;
  right: auto !important;
  width: 100% !important;
  max-width: none !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  text-indent: 0 !important;
  text-align: left !important;
}


#report-page .arrow-label::before {
        content: "";
        position: absolute;
        left: -10px;
        top: 50%;
        transform: translateY(-50%);
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-right: 10px solid #4A63C9;
      }

@media (min-width: 0px) and (max-width: 375.98px) {
  #driversForAccess {
    padding-bottom: 55rem !important;
  }
  #toolsTechnology .card {
    height: 325px;
  }
  #Capabilities h2 {
    line-height: 40px;
  }
  #aboutUs .mobile_height {
    height: 1420px;
  }
}

@media (min-width: 376px) and (max-width: 575.98px) {
  #driversForAccess {
    padding-bottom: 815px !important;
  }
  #toolsTechnology .card {
    height: 330px;
  }
  #toolsTechnology h4 {
    padding-top: 100px;
  }
  #aboutUs .mobile_height {
    height: 1220px;
  }
}
@media (min-width: 576px) and (max-width: 767.98px) {
  #driversForAccess {
    padding-bottom: 610px !important;
  }
  #toolsTechnology h4 {
    padding-top: 80px;
  }

  #toolsTechnology .card {
    height: 240px;
  }
}

@media (max-width: 767.98px) {
  #ourPathway {
    height: 480px;
    position: relative;
  }

  #driversForAccess .grid{
    padding-left: 25px;
    padding-right: 25px;
  }

  #driversForAccess .custom-card,
  #driversForAccess .custom-card:nth-child(2n) {
    gap: 50px;
  }
  #driversForAccess .semi-left {
    transform: rotate(90deg);
    left: 150px;
    top: -30%;
    height: 150px;
    opacity: 0.2;
  }
  #driversForAccess .semi-right {
    transform: rotate(-90deg);
    right: 0;
    left: 150px;
    top: -30%;
    height: 150px;
    opacity: 0.2;
  }

  #driversForAccess .custom-card {
    flex-direction: column;
    gap: 1.5rem;
    height: auto;
  }

  .card-access::before {
    width: 125px;
    height: 132px;
  }
  .card-pricing::before {
    width: 122px;
    height: 140px;
  }
  .card-ehr::before {
    width: 160px;
    top: 0px;
    height: 120px;
  }

  .card-product::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 120px;
    height: 112px;
    background: url(assets/product-icon-mobile.svg) no-repeat center;
    background-size: cover;
    pointer-events: none;
    z-index: -1;
  }
 
}

 @media (max-width: 640px) {

      /* Fix content cards padding that causes overflow */
      [class*="px-[80px]"] {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
      }

      /* Ensure max-width containers don't overflow */
      .max-w-7xl {
        max-width: calc(100vw - 2rem) !important;
        margin-left: 1rem !important;
        margin-right: 1rem !important;
      }

      /* Fix any remaining padding issues */
      .px-6,
      .px-8 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
      }

      /* Reduce margins that might cause overflow */
      .mb-\[200px\] {
        margin-bottom: 4rem !important;
      }

      /* Fix transform translations */
      .translate-y-\[200px\] {
        transform: translateY(4rem) !important;
      }

      /* Gradient headers responsive */
      .h-\[500px\] {
        height: 18rem !important;
      }

      /* Title text responsive */
      [class*="text-[32px]"] {
        font-size: 1.5rem !important;
      }

      /* Ensure tables don't cause overflow */
      .overflow-x-auto {
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
      }

      /* Fix any absolute positioned elements */
      .absolute.top-\[75px\] {
        top: 3rem !important;
        left: 1rem !important;
        right: 1rem !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
      }

      /* Ensure cards don't overflow */
      .rounded-2xl {
        margin-left: 0 !important;
        margin-right: 0 !important;
      }

      /* Fix testimonial positioning */
      .testimonial-slide {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
      }

      /* Ensure all flex containers stay within bounds */
      .flex {
        min-width: 0;
      }

      /* Force word breaks for long content */
      .break-words {
        word-break: break-word;
        overflow-wrap: break-word;
      }
    }

    @media (min-width: 641px) and (max-width: 1024px) {

      /* Tablet adjustments */
      [class*="px-[80px]"] {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
      }
    }

    /* Ensure horizontal scroll for tables on all devices */
    .overflow-x-auto {
      -webkit-overflow-scrolling: touch;
    }

    /* Additional mobile safety measures */
    @media (max-width: 768px) {
      * {
        max-width: 100vw;
        box-sizing: border-box;
      }

      .container,
      .max-w-7xl,
      .max-w-6xl,
      .max-w-5xl {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        margin-left: auto !important;
        margin-right: auto !important;
      }
    }

@media (min-width: 768px) and (max-width: 991.98px) {
  #driversForAccess {
    padding-bottom: 150px;
  }
  #ourPathway {
    height: 480px;
    position: relative;
  }
  /* #ourPathway .c-lg-w {
    max-width: 65% !important;
  } */
  #ourPathway .custom-bg-position::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #30454fd9;
  }

  #ourPathway .custom-bg-position {
    background-position: calc(0% - 0px) center;
  }

  #toolsTechnology .card {
    height: 470px !important;
  }
  .card-ehr::before {
    right: 55px;
  }
}

@media (max-width: 375.99px) {
  .card-access::before,
  .card-pricing::before,
  .card-product::before,
  .card-ehr::before {
    width: 40%;
  }
}

@media (min-width: 1024px) and (max-width: 1400.98px) {
  .navigation-menu a {
    font-size: 16px;
  }
}

@media (max-width: 1400.99px) {
  #ourPathway .custom-bg-position::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #30454fd9;
  }
  #ourPathway .custom-bg-position {
    background-position: calc(0% - 0px) center;
  }
}

/* Gradient border running effect for author cards */
@keyframes borderRun {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.author-card {
  position: relative;
  transition: all 0.3s ease;
}

.author-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #655BBC, #76D6FF, #655BBC, #30454F, #655BBC);
  background-size: 400% 400%;
  border-radius: 10px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.author-card:hover::before {
  opacity: 1;
  animation: borderRun 2s linear infinite;
}