@font-face {
  font-family: "Walkway";
  src: url("./assets/fonts/Walkway\ SemiBold.ttf") format("truetype");
}

/* Bold */
@font-face {
  font-family: "WalkwayBold";
  src: url("./assets/fonts/Walkway\ Bold.ttf") format("truetype");
}

/* Extra Bold */
@font-face {
  font-family: "WalkwayExtraBold";
  src: url("./assets/fonts/Walkway\ UltraBold.ttf") format("truetype");
}

/* Ultra Bold */
@font-face {
  font-family: "WalkwayUltraBold";
  src: url("./assets/fonts/Walkway\ Black.ttf") format("truetype");
}

/* SF Pro Display */
@font-face {
  font-family: "SFRegular";
  src: url("./assets/fonts/SFPRODISPLAYREGULAR.OTF") format("opentype");
  font-weight: 300;
}

@font-face {
  font-family: "SFThinItalic";
  src: url("./assets/fonts/SFPRODISPLAYTHINITALIC.OTF") format("opentype");
  font-weight: 300;
}

body {
  background-color: black;
  color: white;
  margin-left: 0%;
  overflow-x: hidden !important;
}

nav {
  padding: 30px 40px 30px 20px;
}

/* Custom Font Class */
.font-walkwayBlack {
  font-family: "Walkway", sans-serif !important;
}

.font-walkwayBlackBold {
  font-family: "WalkwayBold", sans-serif !important;
}

.font-walkwayExtraBold {
  font-family: "WalkwayExtraBold", sans-serif !important;
}

.font-walkwayUltraBold {
  font-family: "WalkwayUltraBold", sans-serif !important;
}

/* SF PRO Dispaly */
.font-SFProDisplay {
  font-family: 'SF Pro Display', sans-serif;
  font-weight: 300;
}

.font-SFThinItalic {
  font-family: "SFThinItalic", sans-serif !important;
}

.font-Inter{
    font-family: "Inter", sans-serif;
    font-weight: 400;
}



nav .contactbtn{
  background-color: white !important;
  color: black !important;
}

nav .contactbtn:hover{
  background-color: transparent !important;
  color: white !important;
}

.scroll-reveal span {
  color: hsl(0, 0%, 100% / 0);
  /* Light color with transparency */
  background-clip: text;
  background-repeat: no-repeat;
  background-size: 0% 100%;
  /* Initially, no gradient visible */
  background-image: linear-gradient(90deg, white, white);
  /* White gradient effect */
  animation: scroll-reveal linear forwards;
  animation-timeline: view(y);
  animation-range: contain;
}

.scroll-reveal h2 span {
  animation-range-start: cover 40vh;
  animation-range-end: cover 60vh;
}

.scroll-reveal p span {
  animation-range-start: cover 50vh;
  animation-range-end: cover 80vh;
}

@keyframes scroll-reveal {
  to {
    background-size: 100% 100%;
  }
}

.text > p > div {
  background: linear-gradient(
    to right,
    linear-gradient(to bottom, rgb(55, 65, 81), rgb(3, 7, 18)) 50%,
    rgb(37, 37, 37) 50%
  );
  background-size: 200% 100%;
  background-position-x: 100%;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  margin-left: 50px;
  line-height: 1.2;
  font-size: 10vw;
}

.section-solution {
  margin-top: 5%;
}


/* Cards */
.card-slider {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cards {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 50px;
  position: relative;
}

.card {
  width: 45vw;
  /* Set a base width */
  height: 50vh;
  /* Set a base height */
  margin: 2vh auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  transition: all 0.3s ease;
  text-align: center;
  background-color: transparent !important;
  color: white !important;
}

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

.card video {
  width: 70%;
  height: 100%;
  object-fit: cover;
}


.card .content {
  padding: 10px;
}

.card h2 {
  margin: 0;
  font-size: 1.5rem;
}

.card p {
  margin: 10px 0 0;
  font-size: 0.8rem;
  display: none;
  /* Hide paragraphs by default */
}

.card.active {
  width: 55vw;
  /* Increased width for active card */
  height: 75vh;
  /* Increased height for active card */
  transform: scale(1.04);
  /* Slight scaling effect */
}

.card.active spline-viewer,
video {
  height: 45vh;
}


.card.active p {
  display: block;
  /* Show paragraph only for active card */
}


/* Orange Verticle line */
.orange-vertical-line {
  height: 60vh; 
  width: 1px; 
  margin: 0px auto;
  background-color: #F9484B; 
  position: relative; 
  opacity: 0.6;
}

.orange-circle {
  width: 10px; 
  height: 10px; 
  background-color: #F9484B; 
  border-radius: 50%; 
  position: absolute;
  top: -5px; 
  left: -5px; 
 
}

/* animated veticle line */
/* .animated-vertical-line {
  height: 20vh;
  position: relative;
  overflow: hidden;
}

.animated-section-line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 127, 0, 1), rgba(255, 127, 0, 0.9), rgba(255, 127, 0, 0.3), rgba(255, 127, 0, 0)); 
  transform: translateX(-50%) scaleY(0);
  transform-origin: top center;
}

.card.active .animated-vertical-line {
  height: 50vh;
} */


/* verticle line */
.vertical-line {
  width: 1px;
  height: 20vh;
  margin-top: -5%;
  background-color: #F9484B; 
  transition: height 0.3s ease;
}


.card.active .vertical-line {
  height: 50vh;
}

.card.active .video-vertical-line{
  margin-top: 0%;
  height: 20vh;
}


/* blur gradients */
.wave-blur-right {
  z-index: 99999;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  position: absolute;
  right: -250px;
  top: 180%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(249, 72, 75, 0.8) 0%,
    /* Strong red center */ rgba(249, 72, 75, 0.4) 40%,
    /* Softer red transition */ rgba(249, 72, 75, 0.1) 70%,
    /* Fading to transparency */ rgba(249, 72, 75, 0) 100%
      /* Fully transparent at edges */
  );
  filter: blur(100px);
  /* Smooth blur to mimic the glowing effect */
}

.wave-blur-left {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  position: absolute;
  left: -250px;
  top: 210%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(249, 72, 75, 0.8) 0%,
    /* Strong red center */ rgba(249, 72, 75, 0.4) 40%,
    /* Softer red transition */ rgba(249, 72, 75, 0.1) 70%,
    /* Fading to transparency */ rgba(249, 72, 75, 0) 100%
      /* Fully transparent at edges */
  );
  filter: blur(120px);
  /* Smooth blur to mimic the glowing effect */
}

@media screen and (max-width: 647px) {
  body {
    overflow-x: hidden;
  }

  nav {
    padding: 10px 30px 10px 30px;
    margin-bottom: 10%;
  }

  .card {
    width: 50vw;
    /* Set a base width */
    height: 30vh;
    /* Set a base height */
  }

  .card.active {
    width: 70vw;
    /* Increased width for active card */
    height: 50vh;
    /* Increased height for active card */
    transform: scale(1.05);
    /* Slight scaling effect */
  }

  .card.active spline-viewer,
  video {
    margin-top: 2%;
    height: 40vh;
  }
}

/* scroll reveal */
.text-reveal-container {
  position: relative;
  z-index: 0;
  height: 150vh;
}

.sticky-content {
  position: sticky;
  top: 250%;
  margin: 0 auto;
  display: flex;
  height: 50vh;
  max-width: 40rem;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  padding: 5rem 1rem;
  word-spacing: 2rem !important;
}

.text-container {
  display: flex;
  flex-wrap: wrap;
  padding: 1.25rem;
  font-size: 60px;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  max-width: 34rem;
  /* Set width to allow three lines */
  text-align: center;
  /* Center align text */
  line-height: 1.2;
  /* Adjust line height */
  background: linear-gradient(to bottom, rgb(174, 174, 174), white);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  word-spacing: 1rem !important;
  /* Add word spacing */
}

.word {
  position: relative;
  margin: 0 0.25rem;
  margin-left: 1rem;
}

.word-background {
  position: absolute;
  opacity: 0.9;
  margin-left: 1rem;
  padding: 2px;
}

.word-foreground {
  position: relative;
  opacity: 0;
  transition: opacity 0.2s ease;
  padding: 2px;

  background: linear-gradient(
    to bottom,
    rgba(153, 153, 153, 0.5) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

@media (max-width: 768px) {
  .text-container {
    font-size: 40px;
    /* Adjust font size for smaller screens */
    max-width: 25rem;
    /* Ensure this breaks into three lines on mobile screens */
    word-spacing: 0.3rem;
    /* Adjust word spacing for mobile */
  }

  .text-reveal-container {
    position: relative;
    z-index: 0;
    height: 130vh;
  }

  .sticky-content {
    position: sticky;
    top: 100%;
    margin: 0 auto;
    display: flex;
    height: 50vh;
    max-width: 40rem;
    align-items: center;
    background-color: transparent;
    padding: 5rem 1rem;
  }

  .wave-blur-left {
    display: none;
  }

  .wave-blur-right {
    display: none;
  }
}

/* Solution Card Triangle Gradient */
.gradient-background {
  height: 100vh;
  width: 95vw;
  margin: 0 auto;
  position: relative;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(249, 72, 75, 0.8) 0%,
    /* Strong red center */ rgba(249, 72, 75, 0.4) 40%,
    /* Softer red transition */ rgba(249, 72, 75, 0.1) 70%,
    /* Fading to transparency */ rgba(249, 72, 75, 0) 100%
      /* Fully transparent at edges */
  );
  clip-path: polygon(0 100%, 50% 50%, 100% 100%);
  border-radius: 50px;
  /* Adds rounded edges to the triangle */
  filter: blur(120px);
  /* Soft blur to mimic the glowing effect */
  backdrop-filter: blur(10px);
  /* Add a backdrop blur for a more realistic glow */
  box-shadow: 0px 0px 100px 50px rgba(249, 72, 75, 0.5);
  /* Soft outer glow */
}

.gray-gradient-text {
  background: linear-gradient(
    to bottom,
    rgba(153, 153, 153, 1) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.orange-gradient-text{
  background: linear-gradient(
    to bottom,
    rgba(206, 26, 29, 0.779) 0%,
    rgba(255, 255, 255, 1) 120%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* accertnity */
.sparkles-container {
  width: 50vw;
  height: 50vh;
  margin: 0px auto;
  margin-top: -1%;
  background-color: transparent;
  position: relative;
  overflow: hidden;
}
.gradients {
  position: absolute;
  top: 0;
  left: 30%;
  width: 40%;
  height: 100%;
  pointer-events: none;
}
.gradient {
  position: absolute;
  height: 4px;
  width: 50%;
  left: 25%;
  background: linear-gradient(90deg, transparent, #F9484B, transparent);
}

.gradient:nth-child(3) {
  top: 0;
  left: 37.5%;
  width: 25%;
  background: linear-gradient(90deg, transparent, #F9484B, transparent);
  filter: blur(2px);
}
.gradient:nth-child(4) {
  top: 0;
  left: 37.5%;
  width: 25%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #F9484B, transparent);
}
#sparkles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
}
.radial-mask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  mask-image: radial-gradient(350px 200px at top, transparent 20%, white);
  -webkit-mask-image: radial-gradient(350px 200px at top, transparent 20%, white);
  pointer-events: none;
}


@media (max-width: 768px) {
  .sparkles-container{
    margin-top: -10%;
    width: 80vw;
  height: 30vh;
  }
}


/* moving line */
:root {
  --black: #000000;
  --white: #ffffff;
}
.moving-line-section {
  height: 80vh;
  position: relative;
  overflow: hidden;
}
.section__line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 127, 0, 1), rgba(255, 127, 0, 0.9), rgba(255, 127, 0, 0.3), rgba(255, 127, 0, 0)); /* Gradient color */
  transform: translateX(-50%) scaleY(0);
  transform-origin: top center;
}
.spacer {
  height: 10vh;
}


/* mouse cursor gradient tracking */
.ai-card-gradient-tracking {
  position: relative;
  background: #0D0D0D;
  cursor: pointer;
  overflow: hidden;
}

.ai-card-gradient-tracking::before {
  --size: 0;
  content: '';
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  background: radial-gradient(circle at center, rgba(249, 72, 75, 0.5) 0%, rgba(249, 72, 75, 0.2) 40%, rgba(249, 72, 75, 0.1) 70%, rgba(249, 72, 75, 0) 100%);
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease;
  filter: blur(80px);
}

.ai-card-gradient-tracking:hover::before {
  --size: 400px;
}


/* custom scroll reveal animation */
.custom-scroll-reveal {
  position: relative;
  margin-top: 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.custom-scroll-reveal h2 {
  padding: 2px 5px;
  font-size: 64px;
  text-align: center;
  letter-spacing: wider;
}

.custom-scroll-reveal h2 .letter {
  display: inline-block;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-repeat: no-repeat;
  background-size: 0% 100%;
  background-image: linear-gradient(40deg, rgba(222, 222, 222, 0.669), white);
  transition: background-size 0.3s ease-out;
}

@media (max-width: 768px) {
  .custom-scroll-reveal h2 {
    font-size: 35px;
  }
}

/* Grdient Curve */
.gradient-curve {
  display: block;
  width: 100%;
  margin: 0px auto;
  animation: oscillate 6s linear infinite;
}

/* Keyframes for smooth, continuous Y-axis translation */
@keyframes oscillate {
  0% { 
    transform: translateY(0); 
  }
  
  50% { 
    transform: translateY(-10vh); 
  }

  100% { 
    transform: translateY(0); 
  }
}


/* astroids stars */
.cover-container {
  position: relative;
  display: inline-block;
  padding: 2px 10px;
  margin-bottom: -1%;
  border-radius: 4px;
  background-color: #1a1a1a;
  transition: background-color 0.2s;
  /* overflow: hidden; */
}

.cover-container:hover {
  background-color: #1a1a1a;
}

.cover-text {
  position: relative;
  z-index: 2;
  color: #F9484B !important;
  transition: color 0.2s;
}

.cover-container:hover .cover-text {
  color: white;
}

.sparkles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.cover-container:hover .sparkles {
  opacity: 1;
}

.beam {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  opacity: 0;
  transition: opacity 0.2s;
}

.cover-container:hover .beam {
  opacity: 1;
}

.circle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #d5d5d5;
  opacity: 0.2;
  transition: opacity 0.2s;
  overflow: visible;
}

.cover-container:hover .circle {
  opacity: 0;
}

.star {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  width: 2px;
  height: 2px;
}

/* shimmer btn */
.shimmer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 35px;
  padding: 0 20px;
  font-size: 16px;
  color: white;
  background-color: #1e2631;
  border: 1px solid #333;
  border-radius: 6px;
  background-image: linear-gradient(110deg, #000103 45%, #1e2631 55%, #000103);
  background-size: 200% 100%;
  animation: shimmer 2s linear infinite;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
  text-decoration: none;
}

.shimmer-button:hover {
  background-color: #333;
  border-color: #555;
}

@keyframes shimmer {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -200% 0;
  }
}

/* shinning contact btn */
.hover-border-gradient {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border-radius: 9999px;
  background-color: rgba(0, 0, 0, 0.2);
  overflow: hidden;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s;
}

.hover-border-gradient .btn-content {
  display: flex;
  align-items: center;
  padding: 7px 20px;
  background-color: black;
  color: white;
  border-radius: inherit;
  z-index: 1;
}

.hover-border-gradient .gradient-light {
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.2),
      #F9484B,
      rgba(255, 255, 255, 0.2)
  );
  filter: blur(4px);
  z-index: 0;
  transition: background 0.5s ease-in-out;
  animation: rotate-gradient 4s linear infinite;
}

.aceternity-logo {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

@keyframes rotate-gradient {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
  body {
      background-color: #333;
  }

  .hover-border-gradient {
      background-color: rgba(255, 255, 255, 0.2);
  }

  .hover-border-gradient .btn-content {
      background-color: white;
      color: black;
  }
}

/* Contact gradient btn  */
.button {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  color: #fff7f0;
  display: block;
  padding: 8px 16px;
  position: relative;
  width: -moz-max-content;
  width: max-content;
}

.button:before,.button:after,.button-border {
  border-radius: inherit;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1
}

.button:before,.button:after {
  content: "";
  display: block;
  transition: .2s opacity cubic-bezier(.6,.6,0,1)
}

.button:after {
  opacity: 0
}

.button:hover:before {
  opacity: 0
}

.button:hover:after {
  opacity: 1
}

.button-primary .button-border:before {
  background: linear-gradient(180deg,rgba(255, 164, 111, 0.29) 0%,rgba(255, 181, 120, 0) 100%),linear-gradient(0deg,rgba(255, 169, 127, 0.32),rgba(255, 172, 142, 0.32));
  border-radius: inherit;
  content: "";
  inset: 0;
  -webkit-mask: linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
  pointer-events: none;
  position: absolute
}

.button-primary:before {
  background: linear-gradient(180deg,rgba(161, 42, 5, 0) 0%,rgba(161, 65, 5, 0.32) 100%),rgba(255, 132, 31, 0.12);
  box-shadow: inset 0 0 12px #ff81463d
}

.button-primary:after {
  background: linear-gradient(180deg,rgba(187, 72, 10, 0) 0%,rgba(181, 70, 6, 0.42) 100%),rgba(255, 104, 29, 0.24);
  box-shadow: inset 0 0 12px #ff854d3d
}
