* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #fff;
  color: #2b2736;
}

/* NAVBAR */
/* .navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 2%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  margin: 20px auto;
  width: auto;
  gap: 20px;
}
 */

/* .navbar {
  position: sticky;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 2%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  margin: 20px auto;
  width: 50%;
  max-width: 1200px;
} */
/* ===== FLOATING GLASS NAVBAR ===== */
.navbar {
  position: fixed; /* makes it sticky for all sections */
  top: 20px; /* distance from top */
  left: 50%;
  transform: translateX(-50%); /* perfect center */

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  gap: 40px;

  width: fit-content; /* shrink to content */
  z-index: 9999;

  /* Glass effect */
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-radius: 60px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .navbar {
    width: 92%;
    padding: 14px 20px;
    border-radius: 40px;
  }

  .nav-links {
    display: none;
  }
}
.logo img {
  width: 130px;
}

.logo span {
  color: #6c63ff;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.menu-btn {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  text-align: center;
  color: white;
}

/* VIDEO */
/* .bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
} */
.bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/images/banner.png") center center / cover no-repeat;
  z-index: -2;
}

/* Dark overlay for readability */
.hero::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  /* background: rgba(0, 0, 0, 0.45); */
  z-index: -1;
}

.partner-btn {
  padding: 8px 16px;
  border-radius: 50px;
  border: none;
  background: #e6e9ff;
  color: #5e5b67;
  margin-bottom: 20px;
  font-size: 18px;
}


.hero h1 {
  font-size: 65px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #2b2736;
}

.hero p {
  color: #514c5a;
  margin-bottom: 25px;
  font-size: 18px;
}

.cta-btn {
  position: relative;
  padding: 16px 34px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: white;
  background: linear-gradient(135deg, #6c63ff, #503a82, #655393);
  z-index: 1;
  overflow: visible;
}

/* 🔥 BOTTOM GLASS GLOW LAYER */
.cta-btn::before {
  content: "";
  position: absolute;
  inset: -6px; /* makes bottom layer larger */
  border-radius: 50px;
  background: linear-gradient(
    135deg,
    rgb(108 99 255 / 0%),
    rgb(139 92 246 / 0%)
  );
  backdrop-filter: blur(5px);
  z-index: -1;
  box-shadow:
    0 8px 25px rgba(108, 99, 255, 0.4),
    0 0 40px rgba(139, 92, 246, 0.3);
}

.cta-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 40px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0.05)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.cta-btn:hover {
  transform: translateY(-3px);
}

.cta-btn:hover::before {
  box-shadow:
    0 12px 35px rgb(10 10 10 / 60%),
    0 0 50px rgb(0 0 0 / 40%);
}

/* SECTION WRAPPER */
.showcase {
  position: relative;
  width: 100%;
  margin-top: -213px;
  overflow: hidden;
  background: transparent;
}

/* VIEWPORT AREA (THIS CONTROLS HOW MANY CARDS SHOW) */
.slider {
  width: 85%; /* keeps it centered like design */
  margin: auto;
  overflow: hidden;
  position: relative;
}

/* MOVING TRACK */
.slide-track {
  display: flex;
  gap: 25px;
  width: max-content;
  animation: scroll 22s linear infinite;
}

/* CARD SIZE — THIS FIXES YOUR ISSUE */
.card {
  /* width: calc((90vw - 50px) / 3); */
  max-width: 453px;
  height: 250px;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.showcase::before,
.showcase::after {
  content: "";
  position: absolute;
  top: 0;
  width: 160px;
  height: 100%;
  z-index: 10;
  pointer-events: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.showcase::before {
  left: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.6) 40%,
    rgba(255, 255, 255, 0.2) 70%,
    transparent 100%
  );
}

.showcase::after {
  right: 0;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.6) 40%,
    rgba(255, 255, 255, 0.2) 70%,
    transparent 100%
  );
}

@media (max-width: 900px) {
  .slider {
    width: 90%;
  }
  .card {
    width: calc((239vw - 40px) / 2);
  }
}

@media (max-width: 600px) {
  .card {
    width: 286px;
    height: auto;
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero h1 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 90px;
    right: 20px;
    background: white;
    flex-direction: column;
    padding: 20px;
    border-radius: 12px;
    display: none;
    width: 90%;
  }

  .slider {
    width: 100%;
  }

  .nav-links.show {
    display: flex;
  }

  .menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 25px;
  }
  .hero p {
    font-size: 16px;
  }

  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 6%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    margin: 20px auto;
    width: auto;
    gap: 20px;
  }

  .showcase {
    position: relative;
    width: 100%;
    margin-top: -202px;
    overflow: hidden;
  }

  .showcase::before,
  .showcase::after {
    content: "";
    position: absolute;
    top: 0;
    width: 160px;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
  }

  .showcase::before {
    left: 0;
    background: none;
  }

  .showcase::after {
    right: 0;
    background: none;
  }
}

/* Section 2 */

/* SECTION 2 */
.services {
  padding: 100px 8%;
  text-align: center;
  background: #ffffff;
}

/* Trusted logos */
.trusted p {
  color: #6b6b76;
  margin-bottom: 20px;
}

.logos {
  display: flex;
  justify-content: center;
  gap: 50px;
  color: #1e1e2f;
  opacity: 0.8;
  margin-bottom: 70px;
  align-items: center;
}

@media (max-width: 768px) {
  .logos {
    display: flex;
    flex-direction: column;
    gap: 1px;
  }
}

.logos img {
  width: 100px;
}

/* Heading */
.services-heading h2 {
  font-size: 48px;
  color: #2b2736;
  margin-bottom: 10px;
}

.services-heading p {
  color: #6b6b76;
  font-size: 16px;
  margin-bottom: 60px;
}

/* Cards layout */
.service-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* Individual card */
.service-card {
  position: relative;
  width: 340px;
  padding: 40px 30px;
  border-radius: 18px;
  background: #f9f8ff;
  border: 1px solid #e9e6ff;
  text-align: center;
  transition: 0.3s ease;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 7px;
  border-radius: 4px;
  background: linear-gradient(90deg, #b5b1ff, #bca5ff, #dd63ff);
}

/* Card 1 → top */
.service-card:nth-child(1)::before {
  top: 0;
}

/* Card 2 → bottom */
.service-card:nth-child(2)::before {
  bottom: 0;
}

/* Card 3 → top */
.service-card:nth-child(3)::before {
  top: 0;
}

.service-card::before {
  box-shadow: 0 0 10px rgba(108, 99, 255, 0.4);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(108, 99, 255, 0.15);
}

.service-card img {
  width: 90px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #2b2736;
}

.service-card p {
  font-size: 15px;
  color: #6b6b76;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .services-heading h2 {
    font-size: 34px;
  }
  .service-card {
    width: 100%;
    max-width: 400px;
  }
}

.service-card lottie-player {
  width: 120px;
  height: 120px;
  margin-bottom: 15px;
}

/* LOTTIE FIX */
.service-card lottie-player {
  width: 160px; /* control size */
  height: 160px;
  margin: 0 auto 20px; /* center horizontally */
  display: block; /* needed for margin auto */
}

.service-card lottie-player {
  transform: scale(1.2);
}

@keyframes float {
  0% {
    transform: translateY(0) scale(1.2);
  }
  50% {
    transform: translateY(-8px) scale(1.2);
  }
  100% {
    transform: translateY(0) scale(1.2);
  }
}

.service-card lottie-player {
  animation: float 4s ease-in-out infinite;
}

/* SECTION 3 */
.why-us {
  /* padding: 120px 8%; */
  text-align: center;
  background: #ffffff;
}

.why-header h2 {
  font-size: 52px;
  margin-bottom: 10px;
  color: #2b2736;
}

.why-header p {
  max-width: 700px;
  margin: auto;
  color: #6b6b76;
  margin-bottom: 80px;
}

/* CARDS LAYOUT */
.why-cards {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

/* GLASS CARDS */
.why-card {
  position: relative;
  width: 350px;
  padding: 40px;
  /* border-radius: 20px;
  text-align: left;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: 0.3s; */

  background: linear-gradient(
    180deg,
    var(--token-653fb8e6-ed8b-4fa1-aa7f-80b9b0ef4e78, rgba(246, 241, 252, 0.5))
      0%,
    var(--token-9df5a416-ffb4-48d0-9fdd-336d53256c2b, rgba(255, 255, 255, 0.5))
      100%
  );
  /* width: 100%; */
  border-radius: 16px;
  box-shadow:
    rgba(0, 0, 0, 0.04) 0px 0.796192px 0.796192px -1px,
    rgba(0, 0, 0, 0.04) 0px 2.41451px 2.41451px -2px,
    rgba(0, 0, 0, 0.03) 0px 6.38265px 6.38265px -3px,
    rgba(0, 0, 0, 0.01) 0px 20px 20px -4px,
    rgb(255, 255, 255) 0px 0px 1px 1px inset;
  opacity: 1;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(108, 99, 255, 0.15);
}

.why-icon {
  font-size: 28px;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  background: #f1efff;
  border-radius: 12px;
  margin-bottom: 20px;
}

.step {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1efff;
  padding: 6px 12px;
  border-radius: 50px;
  font-weight: 600;
}

.why-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.why-card p {
  color: #6b6b76;
  line-height: 1.6;
}

/* STATS */
.stats {
  margin-top: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.stat-box {
  background: rgb(234 235 249 / 60%);
  padding: 30px 40px;
  border-radius: 14px;
  backdrop-filter: blur(12px);
  text-align: center;
}

.stat-box h4 {
  font-size: 32px;
  color: #2b2736;
}

.stat-box p {
  color: #6b6b76;
}

.divider {
  width: 1px;
  height: 60px;
  background: #ddd;
}

@media (max-width: 900px) {
  .why-header h2 {
    font-size: 36px;
  }
  .why-card {
    width: 100%;
    max-width: 420px;
  }
  .stats {
    flex-direction: column;
    gap: 20px;
  }
  .divider {
    display: none;
  }
}

.why-us {
  position: relative;
  /* padding: 120px 8%; */
  text-align: center;
  overflow: hidden;
  background: #ffffff;
}

/* COMMON BLUR STYLE */
.bg-blur {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.6;
  z-index: 0;
}

/* VIOLET GLOW */
.bg-violet {
  background: #1400d5;
  top: 25%;
  left: 29%;
}

/* PINK GLOW */
.bg-pink {
  background: #c12190;
  top: 25%;
  right: 29%;
}
@media (max-width: 768px) {
  .bg-pink {
    background: #c12190;
    top: 50%;
    right: 29%;
  }
}

/* Keep content above blur */
.why-us > *:not(.bg-blur) {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .why-card {
    width: 90%;
    max-width: 420px;
  }
}

/* Section 4 */

.projects {
  padding: 120px 0;
  text-align: center;
  background: #ffffff;
  overflow: hidden;
}

/* VIEWPORT */
.coverflow-container {
  width: 100%;
  /* max-width: 1400px; */
  /* margin: 80px auto 0; */
  overflow: hidden;
  position: relative;
}

/* SIDE FADE MASKS */
.coverflow-container::before,
.coverflow-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 160px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* .coverflow-container::before {
  left: 0;
  background: linear-gradient(to right, #f6f3ff, transparent);
}

.coverflow-container::after {
  right: 0;
  background: linear-gradient(to left, #f6f3ff, transparent);
} */

/* TRACK */
.coverflow-track {
  display: flex;
  align-items: center;
  gap: 40px;
  transition: transform 0.6s ease;
}

/* CARD */
/* .project-card {
  min-width: 360px;
  background: #fff;
  border-radius: 26px;
  padding: 18px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.12);
  transition: 0.8s ease;
  opacity: 0.35;
  transform: scale(0.88);
} */

.project-card.active {
  opacity: 1;
  transform: scale(1);
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 15px;
}

/* ===== 4 CARD STAGE CAROUSEL ===== */

.coverflow-container {
  height: 420px;
  position: relative;
  /* margin-top: 80px; */
  overflow: hidden;
}

.coverflow-track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* BASE CARD */
/* .project-card {
  position: absolute;
  top: 50%;
  width: 360px;
  padding: 18px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 25px 80px rgba(0,0,0,0.12);
  transform: translateY(-50%);
  transition: all 0.6s cubic-bezier(.22,1,.36,1);
  opacity: 0;
} */

/* Base remains same */
.project-card {
  position: absolute;
  top: 50%;
  width: 420px;
  transform: translateY(-50%);
  border-radius: 26px;
  background: #fff;
  padding: 18px;
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0;
}
/* GAP UNIT */
:root {
  --card: 360px;
  --space: 13px; /* visual gap */
}
.pos-left {
  left: calc(50% - var(--card) * 2 - var(--space) * 2);
  transform: translateY(-50%) scale(0.85);
  opacity: 0.35;
  filter: blur(1.5px);
  z-index: 1;
}

.pos-mid-left {
  left: calc(50% - var(--card) - var(--space));
  transform: translateY(-50%) scale(1);
  opacity: 1;
  z-index: 5;
}

.pos-mid-right {
  left: calc(50% + var(--space));
  transform: translateY(-50%) scale(1);
  opacity: 1;
  z-index: 5;
}

.pos-right {
  left: calc(50% + var(--card) + var(--space) * 2);
  transform: translateY(-50%) scale(0.85);
  opacity: 0.35;
  filter: blur(1.5px);
  z-index: 1;
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: inherit;
  border-radius: 16px;
  margin-bottom: 12px;
}

.coverflow-nav {
  /* margin-top: 60px; */
  display: flex;
  justify-content: center;
  gap: 30px;
}

.coverflow-nav button {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: none;
  background: #111;
  color: white;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: 0.3s ease;
}

.coverflow-nav button:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* .coverflow-container::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.08), transparent);
  top: 50%;

  z-index: 0;
} */

/* ================= RESPONSIVE COVERFLOW ================= */

/* 💻 Large laptops */
@media (max-width: 1400px) {
  :root {
    --gap: 170px;
  }
  .project-card {
    width: 340px;
  }
}

/* 💻 Small laptops */
@media (max-width: 1200px) {
  :root {
    --gap: 150px;
  }
  .project-card {
    width: 320px;
  }
  .coverflow-container {
    height: 400px;
  }
}

/* 📱 Tablets */
@media (max-width: 992px) {
  :root {
    --gap: 120px;
  }
  .project-card {
    width: 300px;
  }
  .coverflow-container {
    height: 380px;
  }

  /* soften side fades */
  .coverflow-container::before,
  .coverflow-container::after {
    width: 100px;
  }
}

/* 📱 Large phones */
@media (max-width: 768px) {
  :root {
    --gap: 90px;
  }
  .project-card {
    width: 260px;
  }
  .coverflow-container {
    height: 340px;
  }

  .project-card img {
    height: 160px;
  }
}

/* 📱 Small phones */
@media (max-width: 480px) {
  :root {
    --gap: 0px;
  } /* stack center */

  .pos-left,
  .pos-right {
    display: none;
  } /* hide side blur */

  .pos-mid-left,
  .pos-mid-right {
    transform: translate(-50%, -50%) scale(1);
  }

  .project-card {
    width: 90%;
  }
  .coverflow-container {
    height: 300px;
  }

  .coverflow-nav button {
    width: 55px;
    height: 55px;
    font-size: 20px;
  }
}

@media (max-width: 992px) {
  :root {
    --card: 300px;
    --space: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --card: 260px;
    --space: 30px;
  }
}

@media (max-width: 480px) {
  .pos-left,
  .pos-right {
    display: none;
  }
  .pos-mid-left {
    left: 50%;
    transform: translate(-110%, -50%);
  }
  .pos-mid-right {
    left: 50%;
    transform: translate(10%, -50%);
  }
}

/* COMMON BLUR STYLE */
.bg-blur1 {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  filter: blur(200px);
  opacity: 0.6;
  z-index: 0;
}

/* VIOLET GLOW */
.bg-violet1 {
  background: #1400d5;
  top: 311%;
  left: 35%;
}

/* PINK GLOW */
.bg-pink1 {
  background: #c12190;
  top: 311%;
  right: 35%;
}
@media (max-width: 768px) {
  .bg-pink1 {
    background: #c12190;
    top: 588%;
    right: 29%;
  }

  .bg-violet1 {
    background: #1400d5;
    top: 588%;
    left: 0%;
  }
}

:root {
  --card: 360px;
  --space: 40px;
}

@media (max-width: 1400px) {
  :root {
    --card: 330px;
    --space: 36px;
  }
  .coverflow-container {
    height: 410px;
  }
}

@media (max-width: 1200px) {
  :root {
    --card: 300px;
    --space: 30px;
  }
  .coverflow-container {
    height: 390px;
  }
}

@media (max-width: 768px) {
  :root {
    --card: 220px;
    --space: 18px;
  }
  .coverflow-container {
    height: 320px;
  }

  .project-card img {
    height: 150px;
  }
}
@media (max-width: 480px) {
  :root {
    --card: 90vw;
    --space: 0px;
  }

  .pos-left,
  .pos-right {
    display: none;
  }

  .pos-mid-left,
  .pos-mid-right {
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
  }

  .coverflow-container {
    height: 300px;
  }

  .coverflow-nav button {
    width: 55px;
    height: 55px;
    font-size: 20px;
  }
}

.head-proj {
  font-size: 51px;
  font-weight: 600;
}
.sub-head-proj {
  font-size: 18px;
  width: 500px;
  margin: auto;
}

@media (max-width: 768px) {
  .head-proj {
    font-size: 34px;
    font-weight: 600;
  }
  .sub-head-proj {
    font-size: 14px;
    width: 250px;
    margin: auto;
    text-align: center;
  }
}

/* section 5 */

.tech-section {
  text-align: center;
  padding: 80px 20px;
}

.tech-section h2 {
  font-size: 51px;
  margin-bottom: 10px;
}

.tech-section p {
  color: #666;
  margin-bottom: 50px;
}

.tech-box {
  background: #f3f4f8;
  border-radius: 25px;
  padding: 40px 20px 80px;
  position: relative;
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
  height: auto;
}

/* Icons */
.tech-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  z-index: 2;
  position: relative;
}

.tech-icons img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: white;
  /* padding: 10px; */
  border-radius: 12px;
}

/* Center Angular */
.center-icon {
  width: 70px;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}

/* SVG */
.flow-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 110px;
  left: 0;
  pointer-events: none;
}

/* Line styles */
.base {
  stroke: rgba(82, 53, 239, 0.15);
  stroke-width: 2;
  fill: none;
}

.energy {
  stroke: #5235ef;
  stroke-width: 2;
  fill: none;

  stroke-dasharray: 300;
  stroke-dashoffset: 0;

  animation: energyFlow 1s linear infinite;
  filter: drop-shadow(0 0 6px rgba(82, 53, 239, 0.8));
}
.delay1 {
  animation-delay: 0.8s;
}
.delay2 {
  animation-delay: 0.8s;
}
.delay3 {
  animation-delay: 0.8s;
}
.delay4 {
  animation-delay: 0.8s;
}
.delay5 {
  animation-delay: 0.8s;
}
.delay6 {
  animation-delay: 0.8s;
}

@keyframes energyFlow {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -400;
  }
}

@media (max-width: 768px) {
  .tech-icons img {
    width: 45px;
    height: 45px;
  }
  .center-icon {
    width: 55px;
  }
}

/* @media (max-width: 480px) {
  .flow-lines {
    display: none;
  }
} */

.tech-box {
  position: relative;
  padding: 60px 20px 160px; /* ↑ top gap + ↓ bottom space for center icon */
}

.flow-lines {
  position: absolute;
  left: 0;
  bottom: 60px; /* ⬅️ this creates gap above curves */
  width: 100%;
  height: 260px;
}

.center-icon {
  /* position: absolute; */
  /* left: 50%; */
  top: 220px; /* inside the grey box */
  /* transform: translateX(-50%); */
  width: 70px;
  z-index: 3;
  padding-bottom: 120px;
}

.energy {
  stroke-dasharray: 140 260; /* glowing segment + gap */
  animation: energyFlow 1s linear infinite;
}

@keyframes energyFlow {
  from {
    stroke-dashoffset: -400;
  }
  to {
    stroke-dashoffset: 0;
  } /* reversed flow */
}

@media (max-width: 768px) {
  .flow-lines {
    height: 220px;
  }
  .center-icon {
    bottom: 15px;
    width: 55px;
  }
}

/* @media (max-width: 480px) {
  .flow-lines {
    display: none;
  }
} */

@media (max-width: 768px) {
  @media (max-width: 768px) {
    .center-icon {
      width: 55px;
      transform: translate(3%, 30%);
    }
  }
}

@media (max-width: 768px) {
  .tech-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    justify-items: center;
    margin-bottom: 30px;
  }

  .tech-icons img {
    width: 48px;
    height: 48px;
    padding: 10px;
    border-radius: 14px;
    background: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  }
}

@media (max-width: 768px) {
  .center-icon {
    display: block;
    margin: 0 auto;
    width: 65px;
    /* padding: 14px; */
    border-radius: 18px;
    /* background: linear-gradient(135deg, #6c63ff, #8f7bff); */
    /* box-shadow: 0 10px 30px rgba(108, 99, 255, 0.4); */
    animation: pulseGlow 2s ease-in-out infinite;
  }

  .flow-lines {
    top: 200px;
  }
}

@keyframes pulseGlow {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}
/* Section 6 */

.testimonials {
  text-align: center;
  padding: 120px 20px;
  background: radial-gradient(circle at center, #f4eefe 0%, #ffffff 70%);
  overflow: hidden;
}

.testimonials h2 {
  font-size: 48px;
  margin-bottom: 10px;
}

.testimonials p {
  color: #666;
  margin-bottom: 30px;
}

/* SLIDER */
.testimonial-slider {
  overflow: hidden;
  width: 100%;
}

.testimonial-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scrollTestimonial 28s linear infinite;
}

/* GLASS CARD */
.testimonial-card {
  width: 420px;
  padding: 25px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: left;
  flex-shrink: 0;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.client-info img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
}

.client-info h4 {
  font-size: 18px;
}

.client-info span {
  font-size: 14px;
  color: #666;
}

.testimonial-card p {
  color: #444;
  line-height: 1.6;
}

/* INFINITE ANIMATION */
@keyframes scrollTestimonial {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* USERS */
.testimonial-users {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: -10px;
}

.testimonial-users img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-left: -10px;
  border: 2px solid white;
  object-fit: fill;
}

.testimonial-users span {
  margin-left: 10px;
  color: #555;
  font-weight: 800;
  font-size: 18px;
}

@media (max-width: 768px) {
  .testimonial-card {
    width: 320px;
  }
}

@media (max-width: 480px) {
  .testimonial-track {
    animation-duration: 18s;
  }
  .testimonial-card {
    width: 280px;
  }
}

.blur-blob {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}

.blob-1 {
  background: radial-gradient(circle, #7b61ff, transparent 60%);
  top: 20%;
  left: 10%;
}

.blob-2 {
  background: radial-gradient(circle, #ff4ecd, transparent 60%);
  bottom: 10%;
  right: 15%;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
}

/* EDGE FADE */
.testimonial-slider::before,
.testimonial-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 180px;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

/* LEFT FADE */
.testimonial-slider::before {
  left: 0;
  background: linear-gradient(
    to right,
    #ffffff 0%,
    rgba(255, 255, 255, 0.85) 30%,
    rgba(255, 255, 255, 0.4) 60%,
    transparent 100%
  );
}

/* RIGHT FADE */
.testimonial-slider::after {
  right: 0;
  background: linear-gradient(
    to left,
    #ffffff 0%,
    rgba(255, 255, 255, 0.85) 30%,
    rgba(255, 255, 255, 0.4) 60%,
    transparent 100%
  );
}

.testimonial-slider {
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
}

@media (max-width: 768px) {
  .testimonial-slider::before,
  .testimonial-slider::after {
    width: 90px;
  }
}

.testimonial-slider {
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scrollTestimonial 35s linear infinite;
}

@keyframes scrollTestimonial {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  } /* moves exactly 1 set */
}

.testimonial-track:hover {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .tech-section h2 {
    font-size: 30px;
  }

  .blur-blob {
    position: absolute;
    width: 281px;
    height: 420px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.55;
    z-index: 0;
    pointer-events: none;
  }

  .testimonials h2 {
    font-size: 34px;
    margin-bottom: 10px;
  }

  .testimonial-users {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: -10px;
    flex-direction: column;
  }

  .testimonial-card p {
    color: #444;
    line-height: 1.6;
    font-size: 12px;
  }

  .client-info span {
    font-size: 14px;
    color: #666;
  }
  .client-info h4 {
    font-size: 18px;
  }
}

/* section 7 */

.cta-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between; /* keep centered */
  padding: 50px 7%;
  overflow: hidden;
  background: linear-gradient(90deg, #ffffff 0%, #f4eefe 60%, #ffffff 100%);
  width: 60%;
  margin: auto;
  border-radius: 40px;
}

/* TEXT SIDE */
.cta-content {
  max-width: 520px;
  z-index: 2;
  text-align: left;
}

.cta-content h2 {
  font-size: 52px;
  line-height: 1.1;
  margin-bottom: 15px;
  color: #111;
  width: max-content;
}

.cta-content p {
  color: #666;
  margin-bottom: 25px;
  font-size: 18px;
}

/* .cta-visual {
  position: relative;
  width: 550px;
  flex-shrink: 0;
}

.cta-visual img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 0 60px rgba(120, 80, 255, 0.35));
  animation: floatGlow 8s ease-in-out infinite;
} */

.cta-visual {
  position: absolute;
  right: 56px;
  top: 77%;
  transform: translateY(-50%);
  width: 621px;
}
.cta-visual img {
  width: 160%;
  display: block;
  filter: drop-shadow(0 0 60px rgba(120, 80, 255, 0.35));
  animation: floatGlow 8s ease-in-out infinite;
}
/* EXTRA AMBIENT GLOW BEHIND */
.cta-visual::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(123, 97, 255, 0.35),
    transparent 70%
  );
  filter: blur(80px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

@keyframes floatGlow {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}

.cta-btn {
  padding: 14px 30px;
  border-radius: 40px;
  border: none;
  background: linear-gradient(135deg, #6c63ff, #503a82);
  color: white;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 10px 30px rgba(108, 99, 255, 0.4);
  cursor: pointer;
  transition: 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(108, 99, 255, 0.6);
}

@media (max-width: 992px) {
  .cta-visual {
    position: relative;
    right: 168px;
    top: -108px;
    transform: none;
    width: 380px;
  }

  .cta-visual {
    width: 380px;
  }
  .cta-visual img {
    width: 229%;
  }

  .cta-content h2 {
    font-size: 38px;
  }

  .cta-hero {
    flex-direction: column;
    text-align: center;
    gap: 40px;
    width: 305px;
    height: 400px;
  }
}

@media (max-width: 480px) {
  .cta-content h2 {
    font-size: 28px;
  }

  .cta-visual {
    width: 280px;
  }
}

@media (max-width: 768px) {
  .cta-hero {
    border-radius: 50px;
    padding: 50px 7%;
    margin: auto auto;
  }

  .cta-btn {
    padding: 10px 20px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(135deg, #6c63ff, #503a82);
    color: white;
    font-weight: 400;
    font-size: 12px;
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.4);
    cursor: pointer;
    transition: 0.3s ease;
  }

  .cta-content h2 {
    font-size: 26px;
  }

  .cta-content p {
    color: #666;
    margin-bottom: 25px;
    font-size: 14px;
  }
}

@media (max-width: 992px) {
  .cta-content {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .cta-content h2 {
    font-size: 28px;
  }

  .cta-visual {
    width: 260px;
  }
}

/* Section 7 */

/* SECTION */
.faq-section {
  padding: 120px 8%;
  background: #ffffff;
}

.faq-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

/* LEFT SIDE */
.faq-left {
  flex: 1;
}

.faq-left h2 {
  font-size: 52px;
  margin-bottom: 10px;
}

.faq-left p {
  color: #666;
  max-width: 400px;
  margin-bottom: 40px;
}

.faq-image {
  width: 420px;
  margin-top: 40px;
  filter: drop-shadow(0 30px 40px rgba(108, 99, 255, 0.25));
}

/* RIGHT SIDE */
.faq-right {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* FAQ CARD */
.faq-item {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  border-radius: 18px;
  padding: 18px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-3px);
}

/* QUESTION */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
}

.faq-icon {
  font-size: 20px;
  color: #6c63ff;
}

/* ANSWER */

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  opacity: 1;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-icon {
  font-size: 20px;
  cursor: pointer;
}

@media (max-width: 992px) {
  .faq-container {
    flex-direction: column;
    text-align: center;
  }

  .faq-left p {
    margin: 0 auto 30px;
  }

  .faq-image {
    width: 250px;
    margin: 30px auto 0;
  }

  .faq-right {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .faq-left h2 {
    font-size: 34px;
  }

  .faq-image {
    width: 200px;
  }
}

/* FOOTER */
.footer {
  background: #000;
  color: #fff;
  padding: 80px 8%;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  flex-wrap: wrap;
}

/* COLUMNS */
.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-logo span {
  color: #ff5f5f;
}

.footer-desc {
  color: #aaa;
  margin-bottom: 25px;
  line-height: 1.6;
}

.footer-col h4 {
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-about-text {
  color: #aaa;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* LINKS */
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

/* CONTACT */
.footer-col p {
  color: #aaa;
  margin-bottom: 10px;
}

.footer-col a {
  color: #fff;
  text-decoration: none;
}

/* SOCIAL */
.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #111;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s;
}

.footer-socials img {
  height: 30px;
  width: 30px;
}

.footer-socials a:hover {
  background: #6c63ff;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 40px;
  }

  .footer {
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }
}

.hero-content > * {
  opacity: 0;
  transform: translateY(40px);
  animation: revealUp 0.9s ease forwards;
}

.partner-btn {
  margin-top: 10px;
  margin-bottom: 0;
  animation-delay: 0.2s;
}
.hero-content h1 {
  animation-delay: 0.4s;
}
.hero-content p {
  animation-delay: 0.6s;
}
.cta-btn {
  animation-delay: 0.8s;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-image {
  width: 100%;
  max-width: 380px;
  animation: floatImage 4s ease-in-out infinite;
}

/* Floating Animation */
@keyframes floatImage {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-18px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes floatImage {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-18px) rotate(2deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.faq-image {
  will-change: transform;
}

/* Work page */

.works {
  padding: 80px 8%;
  /* background: #f9fafc; */
}

.works-container {
  display: flex;
  flex-direction: column;
  gap: 70px;
}

.work-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.work-card.reverse {
  flex-direction: row-reverse;
}

/* LEFT TEXT SIDE */
.work-info {
  flex: 1;
}

.app-icon {
  width: 100px;
  border-radius: 14px;
  margin-bottom: 15px;
}

.work-info h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

.work-info p {
  color: #666;
  margin-bottom: 20px;
  max-width: 420px;
}

/* STORE BUTTONS */
.store-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.store-buttons img {
  height: 50px;
  cursor: pointer;
}

.web-btn {
  padding: 13px 20px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  font-size: 16px;
}


.web-btn:hover {
 background-color: #7a63b1;
 color: white !important;
}
/* RIGHT IMAGE */
.work-preview {
  flex: 1;
  /* background: #f0f2f5; */
  border-radius: 20px;
  padding: 20px;
}

.work-preview img {
  width: 100%;
  border-radius: 16px;
}

@media (max-width: 992px) {
  .work-card,
  .work-card.reverse {
    flex-direction: column;
    text-align: center;
  }

  .work-info p {
    margin: auto;
  }

  .store-buttons {
    justify-content: center;
    flex-direction: column;
  }
}

/* Team */
.team {
  padding: 80px 8%;
  background: #f9fafc;
}

.team-container {
  max-width: 1200px;
  margin: auto;
}

.team-header {
  text-align: center;
  margin-bottom: 50px;
}

.team-header h2 {
  font-size: 42px;
  font-weight: 700;
  display: inline-block;
  padding: 6px 18px;
  border: 2px solid #ccc;
}

.team-header p {
  color: #666;
  margin-top: 10px;
}

/* GRID */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.team-card {
  text-align: left;
}

.team-card img {
  width: 100%;
  border-radius: 6px;
  display: block;
}

.team-card h4 {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 600;
}

.team-card span {
  font-size: 14px;
  color: #6a5acd;
}

@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-header h2 {
    font-size: 28px;
  }
}


/* CONTACT HERO SECTION */
.contact-hero {
  position: relative;
  padding: 120px 8%;
  overflow: hidden;
}

/* Background Image Layer */
.contact-hero .bg-image {
  position: absolute;
  inset: 0;
  background: url("/images/banner.png") center center / cover no-repeat;
  z-index: -2;
}

/* Soft White Overlay */
.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.75),
    rgba(255,255,255,0.9)
  );
  z-index: -1;
}

/* Main Layout */
.contact-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.contact-left {
  flex: 1;
}

.contact-left h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-left p {
  color: #666;
  margin-bottom: 25px;
}

/* FORM CARD */
.contact-form-card {
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,0.85);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  max-width: 520px;
}

.contact-form-card label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.contact-form-card input {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-bottom: 18px;
  font-size: 14px;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  border-radius: 40px;
  border: none;
  background: linear-gradient(135deg,#6c63ff,#503a82);
  color: white;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
}

/* RIGHT IMAGE */
.contact-right {
  flex: 1;
  text-align: center;
}

.contact-right img {
  width: 90%;
  max-width: 480px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
    text-align: center;
  }

  .contact-form-card {
    margin: auto;
  }

  .contact-left h2 {
    font-size: 36px;
  }
}

@media (max-width: 600px) {
  .contact-left h2 {
    font-size: 28px;
  }

  .contact-form-card {
    padding: 20px;
  }
}


.work-video {
  width: 90%;
  max-width: 480px;
  border-radius: 20px;
  display: block;
}


.cta-btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 40px;
  background: linear-gradient(135deg,#6c63ff,#503a82);
  color: white;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(108, 99, 255, 0.4);
  transition: 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-3px);
}


.web-btn a{
  text-decoration: none;
}


.web-btn a:hover{
 color: white;
}

.web-btn button:hover{
 color: white !important;
}
.web-btn {
  border: 1px solid #ccc;
  background: white;
  transition: 0.3s ease;
}

.web-btn:hover {
  background: #bcb8ff;
  color: white !important;
}