@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* Colors */
    --primary-color: #9c6eff;
    --accent-color: #00f0ff;
    --bg-dark: #06090e;
    --bg-darker: #1c0134;
    --text-light: #ffffff;
    --text-muted: #ffffff;
    --white: #ffffff;
    --black: #000000;

  --bg-dark-1: #0b0f17;
  --bg-dark-2: #12161c;
  --text-muted-light: #aaaaaa;
    /*  Fonts */
    --font-sans: 'Inter', 'Segoe UI', 'Helvetica Neue', sans-serif;

    /*  Sizes */
    --navbar-height: 72px;
    --section-padding: 4rem;

    /*  Gradients */
    --gradient-text: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    --gradient-bg: linear-gradient(to bottom, var(--bg-dark), var(--bg-darker));
}

body {
    font-family: var(--font-sans);
}

.bg-dark-1 {
    background: var(--bg-dark);
    color: var(--white);
}


.bg-dark-2 {
    background-color: var(--bg-dark-2);
}

.text-muted-light {
    color: var(--text-muted-light) !important;
}


.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.i-card {
    background: #12161c;
    color: var(--white);
}



.btn-outline-light {
    border-color: var(--white);
    color: var(--white);
}

.lets-chat-btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s ease, box-shadow 0.3s ease;
     background: var(--gradient-text);
    border: none;
}

.lets-chat-btn .ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    background: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    z-index: 0;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.lets-chat-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    transform: skewX(-25deg);
    transition: left 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.lets-chat-btn:hover::before {
    left: 120%;
}

.lets-chat-btn:hover {
    box-shadow: 0 6px 16px rgba(0, 224, 255, 0.4);
}

/* Brand logo size */
.navbar-brand img {
    height: 28px;
}

/* Navbar behavior on scroll */
#mainNavbar {
    transition: all 0.3s ease-in-out;
    z-index: 1000;
}

#mainNavbar.scrolled {
    position: fixed !important;
    background-color: rgba(49, 49, 49, 0.6); /* slightly more transparent */
    backdrop-filter: blur(12px); /* adds a blur to the background */
    -webkit-backdrop-filter: blur(12px); /* for Safari support */
    transform: translateY(-100%);
    animation: slideDown 0.4s ease-out forwards;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
}

.offcanvas{display:block}


 .puzzle-loop-icon {
    animation: spinGlow 4s linear infinite;
    transform-origin: center;
    width: 64px;
    height: 64px;
    fill: url(#borderGradient);
    transition: filter 0.3s ease;
  }

  .puzzle-loop-icon:hover {
    filter: drop-shadow(0 0 12px #00c6ff);
  }

  @keyframes spinGlow {
    0% {
      transform: rotate(0deg) scale(1);
    }
    50% {
      transform: rotate(180deg) scale(1.05);
    }
    100% {
      transform: rotate(360deg) scale(1);
    }
  }


.cpu-animated-icon {
    width: 64px;
    height: 64px;
    animation: rotatePulse 5s linear infinite;
    fill: url(#cpuGradient);
    transform-origin: center;
  }

  @keyframes rotatePulse {
    0% {
      transform: rotate(0deg) scale(1);
    }
    50% {
      transform: rotate(180deg) scale(1.05);
    }
    100% {
      transform: rotate(360deg) scale(1);
    }
  }



    .flip-x-stroke-icon {
    width: 64px;
    height: 64px;
    stroke: url(#strokeGradient);
    stroke-width: 1.2;
    fill: none;
    animation: flipXsmooth 7s ease-in-out infinite;
    transform-origin: center;
  }

  @keyframes flipXsmooth {
    0% {
      transform: scaleX(1);
    }
    50% {
      transform: scaleX(-1);
    }
    100% {
      transform: scaleX(1);
    }
  }


/* Navbar scroll animation */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.container {
    max-width: 1440px !important;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-bg);
    color: var(--white);
    background-image: url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: top center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /*! padding-top: 200px; */
    /*! padding-bottom: 100px; */
}




.hero-section p {
    color: #bbb;
}

.hero-section .text-gradient {
    background: linear-gradient(90deg, #9c6eff, #00f0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sound-bg {
    position: relative;
    width: 100%;
}

.main-logo {
    max-width: 700px;
    position: relative;
    z-index: 1;
    margin-top: 178px;
}

.scrolling-wave {
    position: absolute;
    bottom: 70px;
    left: 0;
    height: 200px;
    width: 200%;
    display: flex;
    z-index: 0;
    overflow: hidden;
    opacity: 0.3;
    animation: scrollWave 60s linear infinite;
}

.scrolling-wave::before,
.scrolling-wave::after {
    content: "";
    flex: 1;
    background: url('../img/soundwave.png') repeat-x;
    background-size: contain;
    background-repeat: repeat-x;
    background-position: center;
}

@keyframes scrollWave {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.hero-box {
    border-radius: 50px;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--white);
    max-width: 820px;
    margin: 0 auto;
}

.typing-text {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
      white-space: nowrap;
      line-height: 1.6;

    overflow: hidden;
}

#dynamicText::after {
  content: '|';
  animation: blink 0.8s infinite;
  color: #fff; /* or your desired color */
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}




@media (max-width: 576px) {
    .hero-box {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

     .mobile-br::after {
    content: "\A";
    white-space: pre;
  }

  .main-logo {
	margin-top: 48px;
    }
  .hero-section {
	background-position: top left;
	position: relative;
	}

}

.solutions-section {
    background-color: var(--white);
}

.fade-word {
  opacity: 0;
  transform: translateY(20px);
  display: inline-block;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: calc(var(--i) * 0.2s);
}

.fade-sub {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: calc(var(--i) * 0.2s);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/*industries section*/
.icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ffffff00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--gradient-text);
    transition: transform 0.3s;
    background: #ffffff0d;
}

.i-card:hover .icon-circle {
    transform: scale(1.1);
    box-shadow: 0px 0px 18px #14c1e191;
}

.icon-circle i {
    background: linear-gradient(90deg, #9c6eff, #00f0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge-pill {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    font-size: 0.95rem;
    border: 1px solid #3cc1ff;
    color: #3cc1ff;
    border-radius: 999px;
    background-color: rgba(147, 235, 241, 0.12);
    font-weight: 500;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e1b4b;
}

.section-subtitle {
    font-size: 1rem;
    color: #6b7280;
}

.animated-rocket {
    animation: shakeLaunch 3s infinite;
}

@keyframes shakeLaunch {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-1px, -2px) rotate(-1deg); }
    50% { transform: translate(1px, 2px) rotate(1deg); }
    75% { transform: translate(-1px, 1px) rotate(-1deg); }
}

.animated-search {
    animation: floatSearch 2s ease-in-out infinite alternate;
}

@keyframes floatSearch {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-6px); }
}

.animated-gear {
    animation: spinGear 4s linear infinite;
}

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

.feature-card {
    background: #e9f8ff;
    position: relative;
    overflow: hidden;
}

.trans-icon {
    position: absolute;
    right: 0px;
    top: -67px;
    font-size: 150px;
    color: #d5edf9;
}

.testimonials {
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 50px 0;
    font-family: 'Poppins', sans-serif;
}

.testimonials img {
    width: 100px !important;
    height: 100px;
    object-fit: cover;
}

.testimonials .item {
    background: rgb(32, 38, 47) !important;
    color: var(--white);
}

.testimonials .item .icon {
    color: #0ce6ff;
    font-size: 55px;
    line-height: 55px;
}

.cta {
    background: url(../img/bg-cta.jpg) no-repeat top;
    background-size: cover;
    position: relative;
}

.bg-grad {
    background: var(--gradient-text);
    opacity: 0.9;
}

.badge {
    background: linear-gradient(90deg, #9c6eff, #00f0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/*Pricinng css */
.pricing-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.1);
}

.pricing-card .card-body {
    border-top: 4px solid transparent;
}

.pricing-card.starter .card-body {
    border-color: #6c757d;
}

.pricing-card.growth .card-body {
    border-color: #0072ff;
    background: linear-gradient(135deg, #00c6ff10, #0072ff10);
}

.pricing-card.pro .card-body {
    border-color: #20c997;
}

.pricing-card h3 {
    font-size: 2rem;
}

.pricing-card ul li {
    padding: 0.4rem 0;
}

/* scroll top */

.scroll-top-btn {
  position: fixed;
  bottom: 90px; /* Move it above the chat box */
  right: 20px;
  width: 60px;
  height: 60px;
  background: #06090e;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  transition: opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.scroll-top-btn.show {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top-btn .arrow {
  position: absolute;
  font-size: 20px;
  color: white;
  z-index: 2;
}

.progress-ring {
  transform: rotate(-90deg);
  position: absolute;
  top: 0;
  left: 0;
}

.progress-ring circle {
  fill: none;
  stroke-width: 4;
}

.progress-ring .bg {
  stroke: rgba(255, 255, 255, 0.1);
}

.progress-ring .progress {
  stroke: url(#gradient);
  stroke-linecap: round;
  stroke-dasharray: 163.36;
  stroke-dashoffset: 163.36;
  transition: stroke-dashoffset 0.2s ease;
}

.chat-wrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1050;
}

.chat-toggle-btn {
  width: 50px;
  height: 50px;
  font-size: 20px;
}

.chat-box {
  width: 300px;
  display: none;
  position: absolute;
  bottom: 70px;
  right: 0;
  z-index: 1051;
  border-radius: 12px;
}


/* chat box */

/* Chat Box Wrapper */
.chat-wrapper {
  position: fixed;
  bottom: 20px; /* Chat box stays below */
  right: 20px;
  z-index: 1050; /* Ensure it's above other elements */
}

.chat-toggle-btn {
  width: 50px;
  height: 50px;
  font-size: 20px;
}

.chat-box {
  width: 300px;
  display: none;
  position: absolute;
  bottom: 70px;
  right: 0;
  z-index: 1051;
  border-radius: 12px;
}



/* timeline */

/* === Base Timeline Structure === */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
}

/* === Timeline Items === */
.timeline-item {
  position: relative;
  width: 50%;
  padding: 8px 22px;
}

.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 50%;
}

/* === Timeline Dots === */
.timeline-item::after {
  content: '';
  position: absolute;
  top: 1.5rem;
  width: 16px;
  height: 16px;
  background: #ffffff;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item.left::after {
  right: -8px;
}

.timeline-item.right::after {
  left: -8px;
}

/* === Timeline Content Card === */
.content-box {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: 0.3s;
}

/* Notch for LEFT side */
.timeline-item.left .content-box::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  right: -9px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid rgba(255, 255, 255, 0.1);
}

/* Notch for RIGHT side */
.timeline-item.right .content-box::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: -9px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid rgba(255, 255, 255, 0.1);
}

/* === Icon Circle === */
.icon-circle {
  width: 40px;
  height: 40px;
  font-size: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: 
  #fff;
}

/* === Responsive Adjustments === */
@media (max-width: 767px) {
  .timeline::before {
    left: 8px;
  }

  .timeline-item {
    width: 100%;
    left: 0;
    padding-left: 2.5rem;
    padding-right: 0;
    text-align: left;
  }

  .timeline-item.left::after,
  .timeline-item.right::after {
    left: 0;
    right: auto;
  }

  .timeline-item.left .content-box::before,
  .timeline-item.right .content-box::before {
    left: -10px;
    right: auto;
    border: none;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid rgba(255, 255, 255, 0.1);
  }
}