:root {
  --text: #e9ecff;
  --muted: #b9bfdc;
  --line: rgba(208, 215, 255, 0.2);
  --glass: rgba(8, 10, 30, 0.38);
  --glass-2: rgba(10, 12, 34, 0.58);
  --hot: #7f4fff;
  --mint: #7fe8ff;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #080b20;
  font-family: "Space Grotesk", sans-serif;
}

.shader-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(1000px 440px at 15% -10%, rgba(140, 97, 255, 0.26), transparent 60%),
    radial-gradient(800px 460px at 88% 10%, rgba(87, 215, 255, 0.2), transparent 64%),
    linear-gradient(180deg, rgba(5, 8, 23, 0.3), rgba(5, 8, 23, 0.8));
}

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 30, 0.55);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  text-decoration: none;
  color: var(--text);
  font-family: "Unbounded", sans-serif;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}

.logo span {
  color: #b077ff;
}

.menu {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.menu a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.menu a:hover {
  color: var(--text);
}

.menu a.button,
.menu a.button:hover {
  color: #fff;
}

.menu-btn {
  display: none;
}

/* From Uiverse.io by njesenberger (purple variant) */
.button {
  -webkit-appearance: none;
  appearance: none;
  display: inline-block;
  position: relative;
  border-width: 0;
  padding: 0 8px 12px;
  min-width: 10em;
  box-sizing: border-box;
  background: transparent;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}

.btn-sm {
  padding: 0.58rem 0.88rem;
  font-size: 0.88rem;
}

.button-top {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 0;
  padding: 8px 16px;
  transform: translateY(0);
  text-align: center;
  color: #fff;
  text-shadow: 0 -1px rgba(0, 0, 0, 0.25);
  transition-property: transform;
  transition-duration: 0.2s;
  -webkit-user-select: none;
  user-select: none;
}

.button:active .button-top {
  transform: translateY(6px);
}

.button-top::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 4px;
  width: 100%;
  height: 100%;
  box-sizing: content-box;
  background-image: radial-gradient(#b077ff, #7b36b3);
  text-align: center;
  color: #fff;
  box-shadow: inset 0 0 0px 1px rgba(255, 255, 255, 0.2), 0 1px 2px 1px rgba(255, 255, 255, 0.2);
  transition-property: border-radius, padding, width, transform;
  transition-duration: 0.2s;
}

.button:active .button-top::after {
  border-radius: 6px;
  padding: 0 2px;
}

.button-bottom {
  position: absolute;
  z-index: -1;
  bottom: 4px;
  left: 4px;
  border-radius: 8px / 16px 16px 8px 8px;
  padding-top: 6px;
  width: calc(100% - 8px);
  height: calc(100% - 10px);
  box-sizing: content-box;
  background-color: #4b146f;
  background-image:
    radial-gradient(4px 8px at 4px calc(100% - 8px), rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(4px 8px at calc(100% - 4px) calc(100% - 8px), rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(16px at -4px 0, white, transparent),
    radial-gradient(16px at calc(100% + 4px) 0, white, transparent);
  box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.5), inset 0 -1px 3px 3px rgba(0, 0, 0, 0.4);
  transition-property: border-radius, padding-top;
  transition-duration: 0.2s;
}

.button:active .button-bottom {
  border-radius: 10px 10px 8px 8px / 8px;
  padding-top: 0;
}

.button-base {
  position: absolute;
  z-index: -2;
  top: 4px;
  left: 0;
  border-radius: 12px;
  width: 100%;
  height: calc(100% - 4px);
  background-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 1px 1px 0 rgba(255, 255, 255, 0.75), inset 0 2px 2px rgba(0, 0, 0, 0.25);
}

.button:focus-visible {
  outline: 2px solid rgba(176, 119, 255, 0.75);
  outline-offset: 3px;
}

.hero {
  padding: 4.5rem 0 2.6rem;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mint);
  font-size: 0.73rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  margin-top: 0.9rem;
  max-width: 980px;
  line-height: 0.98;
  font-size: clamp(1.6rem, 4.8vw, 3.5rem);
  font-family: "Unbounded", sans-serif;
  text-shadow: 0 8px 22px rgba(9, 12, 35, 0.45);
}

.hero-copy {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.04rem;
}

.hero-actions {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-grid {
  margin-top: 1.65rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 0.8rem;
  align-items: start;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  align-items: start;
}

.hero-card,
.card,
.case,
.metric,
.stages li,
.faq-q,
.form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(255, 255, 255, 0.12), transparent 40%),
    linear-gradient(160deg, var(--glass), var(--glass-2));
  backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 16px 34px rgba(5, 8, 28, 0.35);
}

.hero-card,
.card,
.case,
.metric {
  padding: 1rem;
}

.hero-card h2 {
  font-size: 1rem;
}

.hero-card p,
.card p,
.case p,
.metric p,
.contact-copy p,
label,
.faq-a,
.stages li {
  color: var(--muted);
}

.hero-card strong {
  color: #b9a2ff;
}

.service-card {
  min-height: 640px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.service-card-uiverse {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 640px;
  transition: 200ms;
}

.service-card-uiverse:active {
  transform: scale(0.985);
}

.service-card-uiverse .u-card {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  transition: 700ms;
  background: linear-gradient(45deg, #1a1a1a, #262626);
  border: 2px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow:
    0 0 20px rgba(0, 0, 0, 0.3),
    inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.service-card-uiverse .card-content {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 18px 16px;
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 8px;
}

.service-card-uiverse .u-prompt {
  z-index: 20;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  transition: 300ms ease-in-out;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.service-card:nth-child(2) .service-inner {
  animation-delay: 1.5s;
}

.service-card:nth-child(3) .service-inner {
  animation-delay: 3s;
}

.service-card h2 {
  opacity: 0;
  transition: 300ms ease-in-out;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 2px;
  text-align: center;
  width: 100%;
  line-height: 1.05;
  background: linear-gradient(45deg, #00ffaa, #00a2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px rgba(0, 255, 170, 0.3));
  text-shadow:
    0 0 10px rgba(92, 103, 255, 0.5),
    0 0 20px rgba(92, 103, 255, 0.3);
}

.service-ill {
  display: grid;
  place-items: center;
  min-height: 260px;
}

.service-ill img {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 0 14px rgba(92, 103, 255, 0.3))
    drop-shadow(0 16px 26px rgba(42, 35, 92, 0.45));
}

.service-card .u-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.72);
}

.service-card-uiverse .subtitle {
  width: 100%;
  text-align: center;
  font-size: 12px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.6);
}

.service-card-uiverse .highlight {
  color: #00ffaa;
  margin-left: 5px;
  background: linear-gradient(90deg, #5c67ff, #ad51ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}

.service-card-uiverse .glowing-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.service-card-uiverse .glow-1,
.service-card-uiverse .glow-2,
.service-card-uiverse .glow-3 {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(0, 255, 170, 0.3) 0%,
    rgba(0, 255, 170, 0) 70%
  );
  filter: blur(15px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card-uiverse .glow-1 {
  top: -20px;
  left: -20px;
}

.service-card-uiverse .glow-2 {
  top: 50%;
  right: -30px;
  transform: translateY(-50%);
}

.service-card-uiverse .glow-3 {
  bottom: -20px;
  left: 30%;
}

.service-card-uiverse .card-particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #00ffaa;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card-uiverse .card-particles span:nth-child(1) {
  --x: 1;
  --y: -1;
  top: 40%;
  left: 20%;
}

.service-card-uiverse .card-particles span:nth-child(2) {
  --x: -1;
  --y: -1;
  top: 60%;
  right: 20%;
}

.service-card-uiverse .card-particles span:nth-child(3) {
  --x: 0.5;
  --y: 1;
  top: 20%;
  left: 40%;
}

.service-card-uiverse .card-particles span:nth-child(4) {
  --x: -0.5;
  --y: 1;
  top: 80%;
  right: 40%;
}

.service-card-uiverse .card-particles span:nth-child(5) {
  --x: 1;
  --y: 0.5;
  top: 30%;
  left: 60%;
}

.service-card-uiverse .card-particles span:nth-child(6) {
  --x: -1;
  --y: 0.5;
  top: 70%;
  right: 60%;
}

.service-card-uiverse .u-card::before {
  content: "";
  background: radial-gradient(
    circle at center,
    rgba(0, 255, 170, 0.1) 0%,
    rgba(0, 162, 255, 0.05) 50%,
    transparent 100%
  );
  filter: blur(20px);
  opacity: 0;
  width: 150%;
  height: 150%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

.service-card-uiverse .canvas {
  perspective: 800px;
  inset: 0;
  z-index: 200;
  position: absolute;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
}

.service-card-uiverse .tracker {
  position: relative;
  z-index: 200;
  width: 100%;
  height: 100%;
}

.service-card-uiverse .tracker:hover {
  cursor: pointer;
}

.service-card-uiverse .tracker:hover ~ .u-card .u-prompt {
  opacity: 0;
}

.service-card-uiverse .tracker:hover ~ .u-card .title {
  opacity: 1;
  transform: translateY(-6px);
}

.service-card-uiverse .tracker:hover ~ .u-card .glowing-elements div {
  opacity: 1;
}

.service-card-uiverse .tracker:hover ~ .u-card .card-particles span {
  animation: particleFloat 2s infinite;
}

.service-card-uiverse .tracker:hover ~ .u-card::before {
  opacity: 1;
}

.service-card-uiverse .tracker:hover ~ .u-card {
  transition: 300ms;
  filter: brightness(1.1);
}

.service-card-uiverse .card-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.05) 45%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.05) 55%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0;
  transition: opacity 300ms;
}

.service-card-uiverse .u-card:hover .card-glare {
  opacity: 1;
}

.service-card-uiverse .cyber-lines span {
  position: absolute;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(92, 103, 255, 0.2),
    transparent
  );
}

.service-card-uiverse .cyber-lines span:nth-child(1) {
  top: 20%;
  left: 0;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  animation: lineGrow 3s linear infinite;
}

.service-card-uiverse .cyber-lines span:nth-child(2) {
  top: 40%;
  right: 0;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  animation: lineGrow 3s linear infinite 1s;
}

.service-card-uiverse .cyber-lines span:nth-child(3) {
  top: 60%;
  left: 0;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  animation: lineGrow 3s linear infinite 2s;
}

.service-card-uiverse .cyber-lines span:nth-child(4) {
  top: 80%;
  right: 0;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  animation: lineGrow 3s linear infinite 1.5s;
}

.service-card-uiverse .corner-elements span {
  position: absolute;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(92, 103, 255, 0.3);
  transition: all 0.3s ease;
}

.service-card-uiverse .corner-elements span:nth-child(1) {
  top: 10px;
  left: 10px;
  border-right: 0;
  border-bottom: 0;
}

.service-card-uiverse .corner-elements span:nth-child(2) {
  top: 10px;
  right: 10px;
  border-left: 0;
  border-bottom: 0;
}

.service-card-uiverse .corner-elements span:nth-child(3) {
  bottom: 10px;
  left: 10px;
  border-right: 0;
  border-top: 0;
}

.service-card-uiverse .corner-elements span:nth-child(4) {
  bottom: 10px;
  right: 10px;
  border-left: 0;
  border-top: 0;
}

.service-card-uiverse .u-card:hover .corner-elements span {
  border-color: rgba(92, 103, 255, 0.8);
  box-shadow: 0 0 10px rgba(92, 103, 255, 0.5);
}

.service-card-uiverse .scan-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(92, 103, 255, 0.1),
    transparent
  );
  transform: translateY(-100%);
  animation: scanMove 2s linear infinite;
}

.service-card-uiverse .tr-1:hover ~ .u-card { transform: rotateX(12deg) rotateY(-12deg); transition: 125ms ease-in-out; }
.service-card-uiverse .tr-2:hover ~ .u-card { transform: rotateX(12deg) rotateY(0deg); transition: 125ms ease-in-out; }
.service-card-uiverse .tr-3:hover ~ .u-card { transform: rotateX(12deg) rotateY(12deg); transition: 125ms ease-in-out; }
.service-card-uiverse .tr-4:hover ~ .u-card { transform: rotateX(0deg) rotateY(-12deg); transition: 125ms ease-in-out; }
.service-card-uiverse .tr-5:hover ~ .u-card { transform: rotateX(0deg) rotateY(0deg); transition: 125ms ease-in-out; }
.service-card-uiverse .tr-6:hover ~ .u-card { transform: rotateX(0deg) rotateY(12deg); transition: 125ms ease-in-out; }
.service-card-uiverse .tr-7:hover ~ .u-card { transform: rotateX(-12deg) rotateY(-12deg); transition: 125ms ease-in-out; }
.service-card-uiverse .tr-8:hover ~ .u-card { transform: rotateX(-12deg) rotateY(0deg); transition: 125ms ease-in-out; }
.service-card-uiverse .tr-9:hover ~ .u-card { transform: rotateX(-12deg) rotateY(12deg); transition: 125ms ease-in-out; }

@keyframes particleFloat {
  0% { transform: translate(0, 0); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translate(calc(var(--x, 0) * 30px), calc(var(--y, 0) * 30px)); opacity: 0; }
}

@keyframes lineGrow {
  0% { transform: scaleX(0); opacity: 0; }
  50% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(0); opacity: 0; }
}

/* Uiverse experiment: 05akalan57 style for Digital Product Development cards */
.service-card {
  min-height: 640px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.service-card-uiverse {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 640px;
  overflow: hidden;
  border-radius: 24px;
  background: #3d3c3d;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.42);
}

.service-card-uiverse .canvas,
.service-card-uiverse .tracker {
  display: none;
}

.service-card-uiverse .u-card {
  position: absolute;
  inset: 2px;
  z-index: 1;
  border-radius: 22px;
  background: #323132;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transform: none !important;
  filter: none !important;
}

.service-card-uiverse::before {
  content: "";
  position: absolute;
  width: 230px;
  height: 190px;
  left: -50%;
  top: -50%;
  background: rgba(255, 255, 255, 0.92);
  filter: blur(50px);
  z-index: 0;
}

.service-card-uiverse .card-content {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  padding: 18px 16px;
}

.service-card-uiverse .u-prompt,
.service-card-uiverse .subtitle,
.service-card-uiverse .glowing-elements,
.service-card-uiverse .card-particles,
.service-card-uiverse .card-glare,
.service-card-uiverse .cyber-lines,
.service-card-uiverse .corner-elements,
.service-card-uiverse .scan-line {
  display: none;
}

.service-card-uiverse .title {
  opacity: 1;
  transform: none;
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  font-weight: 700;
  letter-spacing: 0;
  text-align: left;
  width: auto;
  color: #f4f6ff;
  background: none;
  -webkit-text-fill-color: initial;
  filter: none;
  text-shadow: none;
}

.service-card .service-ill {
  min-height: 260px;
}

.service-card .service-ill img {
  max-width: 410px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
}

.service-card .u-desc {
  color: rgba(235, 239, 255, 0.82);
  font-size: 0.97rem;
  line-height: 1.38;
}

.card,
.case,
.metric {
  border-radius: 30px;
  border: 1px solid rgba(139, 153, 255, 0.18);
  background:
    radial-gradient(120% 140% at 70% 100%, rgba(35, 52, 180, 0.22), transparent 62%),
    linear-gradient(180deg, rgba(8, 9, 28, 0.92), rgba(4, 6, 20, 0.92));
}

.card::before,
.case::before,
.metric::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(88% 88% at 28% 8%, transparent 55%, rgba(116, 130, 255, 0.12) 56%, transparent 57%),
    radial-gradient(95% 95% at 75% 44%, transparent 57%, rgba(116, 130, 255, 0.1) 58%, transparent 59%);
  opacity: 0.65;
  pointer-events: none;
}

.section {
  padding: 3rem 0;
}

.section-head h2 {
  margin-top: 0.45rem;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.55rem, 4vw, 2.55rem);
}

.cards {
  display: grid;
  gap: 0.8rem;
}

.service-layout {
  margin-top: 1rem;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-areas:
    "featured two three"
    "featured four four";
}

.featured { grid-area: featured; }
.service-layout article:nth-child(2) { grid-area: two; }
.service-layout article:nth-child(3) { grid-area: three; }
.service-layout article:nth-child(4) { grid-area: four; }

.card h3,
.case h3,
.metric h3,
.contact-copy h2 {
  font-family: "Unbounded", sans-serif;
}

.case {
  min-height: 290px;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 0.5rem;
}

.case-preview {
  margin: 0.2rem 0 0;
  border: 1px solid rgba(183, 198, 255, 0.3);
  border-radius: 16px;
  background: rgba(8, 10, 30, 0.55);
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  position: relative;
  display: block;
}

.case-preview img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.case-preview-open {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(183, 198, 255, 0.48);
  background: rgba(8, 10, 30, 0.76);
  color: #e6ecff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.58rem;
}

.case-preview:hover .case-preview-open {
  border-color: rgba(215, 225, 255, 0.7);
}

.case-preview-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: 1px solid rgba(183, 198, 255, 0.5);
  border-radius: 999px;
  background: rgba(8, 10, 30, 0.76);
  color: #ecf1ff;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.case-preview-nav.prev {
  left: 0.45rem;
}

.case-preview-nav.next {
  right: 0.45rem;
}

.case-preview-counter {
  position: absolute;
  left: 0.58rem;
  bottom: 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(183, 198, 255, 0.45);
  background: rgba(8, 10, 30, 0.76);
  color: #e6ecff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.26rem 0.5rem;
}

.case h3 {
  font-size: 1.14rem;
  line-height: 1.15;
  margin: 0;
}

.case-badge {
  justify-self: start;
  border: 1px solid rgba(183, 198, 255, 0.35);
  border-radius: 999px;
  background: rgba(116, 130, 255, 0.14);
  color: #dfe6ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.36rem 0.62rem;
}

.case-meta {
  display: grid;
  gap: 0.36rem;
  color: rgba(206, 215, 250, 0.9);
  font-size: 0.92rem;
}

.case-meta strong {
  color: #eef2ff;
}

.case-link {
  justify-self: start;
  text-decoration: none;
  font-size: 14px;
}

.case-link:hover {
  transform: none;
}

/* Portfolio cards: From Uiverse.io by Pravins01 (size-preserving adaptation) */
.cards-3 .case {
  position: relative;
  z-index: 1111;
  background: transparent;
  background-image: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  gap: 12px;
  border-radius: 8px;
  cursor: pointer;
  color: white;
  border: 0;
  overflow: visible;
  isolation: isolate;
}

.cards-3 .case > * {
  position: relative;
  width: 100%;
}

.cards-3 .case > :not(.bg):not(.blob) {
  position: relative;
  z-index: 2;
}

.cards-3 .case .bg,
.cards-3 .case .blob {
  display: none;
}

.cards-3 .case .bg {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #000;
  border-radius: 8px;
  pointer-events: none;
}

.cards-3 .case::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 10px;
  background: linear-gradient(-45deg, #e81cff 0%, #40c9ff 100%);
  z-index: -2;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cards-3 .case::after {
  content: "";
  z-index: -1;
  position: absolute;
  inset: 0;
  background: linear-gradient(-45deg, #fc00ff 0%, #00dbde 100%);
  transform: translate3d(0, 0, 0) scale(0.95);
  filter: blur(20px);
}

.cards-3 .case h3 {
  font-size: 20px;
  text-transform: capitalize;
  font-weight: 700;
  color: white;
  margin: 0;
  min-height: 2.2em;
  line-height: 1.1;
}

.cards-3 .case p:not(.heading) {
  font-size: 14px;
  color: white;
  margin: 0;
  min-height: 2.7em;
  line-height: 1.35;
}

.cards-3 .case p:last-child {
  color: #e81cff;
  font-weight: 600;
}

.cards-3 .case:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.cards-3 .case:hover::after {
  filter: blur(30px);
}

.cards-3 .case:hover::before {
  transform: rotate(-90deg) scaleX(1.34) scaleY(0.77);
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
}

.gallery-modal[hidden] {
  display: none !important;
}

.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 20, 0.72);
  backdrop-filter: blur(5px);
}

.gallery-panel {
  position: relative;
  width: min(1040px, 94vw);
  border-radius: 20px;
  border: 1px solid rgba(139, 153, 255, 0.28);
  background:
    radial-gradient(140% 130% at 70% 100%, rgba(35, 52, 180, 0.24), transparent 62%),
    linear-gradient(180deg, rgba(8, 9, 28, 0.97), rgba(4, 6, 20, 0.97));
  padding: 0.95rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.7rem;
}

.gallery-head p {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-size: 0.98rem;
}

.gallery-close {
  border: 1px solid rgba(183, 198, 255, 0.35);
  border-radius: 10px;
  background: rgba(12, 15, 40, 0.8);
  color: #ecf1ff;
  width: 34px;
  height: 34px;
  font-size: 1rem;
  cursor: pointer;
}

.gallery-stage {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(183, 198, 255, 0.2);
  overflow: hidden;
}

.gallery-stage img {
  width: 100%;
  max-height: min(66vh, 640px);
  object-fit: contain;
  display: block;
  background: #07091a;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(183, 198, 255, 0.35);
  border-radius: 999px;
  background: rgba(8, 10, 30, 0.76);
  color: #e6ecff;
  width: 40px;
  height: 40px;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 2;
}

.gallery-nav.prev { left: 0.65rem; }
.gallery-nav.next { right: 0.65rem; }

.gallery-thumbs {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.gallery-thumb {
  border: 1px solid rgba(183, 198, 255, 0.26);
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.gallery-thumb img {
  display: block;
  width: 100%;
  height: 82px;
  object-fit: cover;
}

.gallery-thumb.active {
  border-color: rgba(80, 203, 255, 0.88);
  box-shadow: 0 0 0 1px rgba(80, 203, 255, 0.48);
}

.card,
.case,
.hero-card,
.metric {
  position: relative;
  overflow: hidden;
  transition: transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

.card::after,
.case::after,
.hero-card::after,
.metric::after {
  content: "";
  position: absolute;
  inset: auto -22% -65% -22%;
  height: 85%;
  background: radial-gradient(closest-side, rgba(156, 196, 255, 0.22), transparent 70%);
  opacity: 0;
  transition: opacity 0.32s ease;
  pointer-events: none;
}

.card:hover,
.case:hover,
.hero-card:hover,
.metric:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(195, 218, 255, 0.75);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 22px 40px rgba(8, 10, 32, 0.5),
    0 0 0 1px rgba(174, 204, 255, 0.26);
}

.card:hover::after,
.case:hover::after,
.hero-card:hover::after,
.metric:hover::after {
  opacity: 1;
}

.service-card:hover {
  transform: none;
  filter: none;
}

.cards-3 {
  margin-top: 0.9rem;
  gap: 1.1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.numbers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.metric h3 { font-size: 1.45rem; }

.stages {
  margin-top: 1rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.stages li {
  padding: 0.8rem 0.95rem;
  border: 1px solid #b077ff;
  border-radius: 7px;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}
.stages strong { color: var(--text); }

.faq {
  margin-top: 1rem;
  display: grid;
  gap: 0.55rem;
}

.faq-q {
  color: var(--text);
  width: 100%;
  text-align: left;
  padding: 0.85rem 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #b077ff;
  border-radius: 7px;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  transition: max-height 0.24s ease, padding 0.24s ease;
}

.faq-a.open {
  max-height: 140px;
  margin-top: -0.2rem;
  padding: 0.75rem 0.95rem 0.85rem;
  border: 1px solid #b077ff;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding-bottom: 4.3rem;
}

.contact-copy h2 {
  margin-top: 0.45rem;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
}

.contact-copy .eyebrow {
  color: var(--mint);
}

.form {
  padding: 1rem;
  display: grid;
  gap: 0.48rem;
}

.contact-telegram {
  grid-column: 2;
  justify-self: stretch;
  width: 100%;
  margin-top: 0.55rem;
}

input,
textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(6, 10, 28, 0.62);
  padding: 0.62rem 0.72rem;
}

.consent {
  display: flex;
  gap: 0.48rem;
  align-items: flex-start;
}

.consent input {
  width: auto;
  margin-top: 0.15rem;
}

.footer {
  border-top: 1px solid var(--line);
  background: rgba(7, 9, 30, 0.45);
  backdrop-filter: blur(12px);
}

.footer-inner {
  min-height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer p {
  margin: 0;
  color: var(--muted);
}

.footer a {
  color: var(--text);
  text-decoration: none;
}

.floating {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 25;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  filter: blur(4px);
  transition:
    opacity 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--delay, 0ms);
}

.js .reveal.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@keyframes serviceFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes scanMove {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .cards-3,
  .numbers,
  .contact { grid-template-columns: 1fr 1fr; }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 0.95rem;
  }

  .service-card {
    min-height: 560px;
  }

  .service-layout {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "featured featured"
      "two three"
      "four four";
  }
}

@media (max-width: 760px) {
  .menu {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    gap: 0.7rem;
  }

  .hero-grid,
  .cards-3,
  .numbers,
  .contact,
  .service-layout {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .contact-telegram {
    grid-column: auto;
    margin-top: 0.35rem;
  }

  .service-card {
    min-height: 520px;
  }

  .service-inner {
    padding: 1.35rem 1.1rem 1.2rem;
  }

  .service-ill {
    min-height: 220px;
  }

  .service-card p {
    font-size: 0.98rem;
  }

  .gallery-panel {
    width: 96vw;
    padding: 0.7rem;
  }

  .gallery-nav {
    width: 34px;
    height: 34px;
    font-size: 1.3rem;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-thumb img {
    height: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-inner {
    animation: none;
  }
}

/* Uiverse experiment: gharsh11032000 style for Digital Product Development cards */
.service-card {
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible !important;
  padding: 16px !important;
}

.service-card-uiverse {
  position: relative;
  width: 100%;
  min-height: 0;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
  background: #000;
  overflow: visible;
  cursor: pointer;
  isolation: isolate;
}

.service-card-uiverse::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(-45deg, #e81cff 0%, #40c9ff 100%);
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.service-card-uiverse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(-45deg, #fc00ff 0%, #00dbde 100%);
  transform: none;
  filter: none;
  opacity: 0.14;
  z-index: -2;
  transition: opacity 0.25s ease;
}

.service-card-uiverse:hover::after {
  opacity: 0.2;
}

.service-card-uiverse:hover::before {
  opacity: 0.42;
}

.service-card-uiverse .u-card {
  position: relative;
  inset: auto;
  display: block;
  border-radius: 10px;
  background: #000;
  border: 0;
  height: auto;
}

.service-card-uiverse .card-content {
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 9px;
  padding: 16px 16px 8px;
}

.service-card-uiverse .title {
  opacity: 1;
  transform: none;
  width: auto;
  margin: 0;
  font-size: 22px;
  line-height: 1.16;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 700;
  color: #fff;
  background: none;
  -webkit-text-fill-color: initial;
  text-shadow: none;
  filter: none;
}

.service-card .service-ill {
  min-height: 136px;
  margin-top: 0;
}

.service-card .service-ill img {
  max-height: 164px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.service-card .u-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.86);
}

/* Hide artifact text on 2nd service image by trimming bottom area */
.services-grid .service-card:nth-child(2) .service-ill img {
  clip-path: inset(0 0 24px 0);
  transform: translateY(-4px);
}

.service-card-uiverse .u-prompt,
.service-card-uiverse .subtitle,
.service-card-uiverse .glowing-elements,
.service-card-uiverse .card-particles,
.service-card-uiverse .card-glare,
.service-card-uiverse .cyber-lines,
.service-card-uiverse .corner-elements,
.service-card-uiverse .scan-line,
.service-card-uiverse .canvas {
  display: none;
}

@media (max-width: 980px) {
  .service-card-uiverse {
    min-height: 0;
  }

  .service-card .service-ill {
    min-height: 124px;
  }

  .service-card .service-ill img {
    max-height: 148px;
  }

  .service-card-uiverse .title {
    font-size: 20px;
  }

  .service-card .u-desc {
    font-size: 13px;
  }
}

@media (max-width: 760px) {
  .service-card-uiverse {
    min-height: 0;
  }

  .service-card-uiverse .title {
    font-size: 18px;
  }

  .service-card .service-ill {
    min-height: 108px;
  }

  .service-card .service-ill img {
    max-height: 128px;
  }

  .service-card .u-desc {
    font-size: 12px;
    line-height: 1.32;
  }
}

/* From Uiverse.io by gharsh11032000 */
.hero-uiverse-services {
  margin-top: 1.65rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hero-uiverse-services .uiverse-card {
  position: relative;
  width: 190px;
  height: 254px;
  background-color: #000;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 12px;
  gap: 12px;
  border-radius: 8px;
  cursor: pointer;
}

.hero-uiverse-services .uiverse-card::before {
  content: '';
  position: absolute;
  inset: 0;
  left: -5px;
  margin: auto;
  width: 200px;
  height: 264px;
  border-radius: 10px;
  background: linear-gradient(-45deg, #e81cff 0%, #40c9ff 100% );
  z-index: -10;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-uiverse-services .uiverse-card::after {
  content: "";
  z-index: -1;
  position: absolute;
  inset: 0;
  background: linear-gradient(-45deg, #fc00ff 0%, #00dbde 100% );
  transform: translate3d(0, 0, 0) scale(0.95);
  filter: blur(20px);
}

.hero-uiverse-services .heading {
  font-size: 20px;
  text-transform: capitalize;
  font-weight: 700;
}

.hero-uiverse-services .uiverse-card p:not(.heading) {
  font-size: 14px;
}

.hero-uiverse-services .uiverse-card p:last-child {
  color: #e81cff;
  font-weight: 600;
}

.hero-uiverse-services .uiverse-card:hover::after {
  filter: blur(30px);
}

.hero-uiverse-services .uiverse-card:hover::before {
  transform: rotate(-90deg) scaleX(1.34) scaleY(0.77);
}

/* Size adaptation for this hero block */
.hero-uiverse-services .uiverse-card {
  width: 100%;
  min-height: 600px;
  height: auto;
  justify-content: flex-start;
  padding: 2rem 2rem 1.6rem;
  gap: 1.15rem;
  border-radius: 30px;
  background: #000;
  overflow: visible;
  z-index: 0;
  border: 2px solid transparent;
  background-image:
    linear-gradient(#000, #000),
    linear-gradient(140deg, #2fd4ff 0%, #7a67ff 55%, #ff2fd7 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.hero-uiverse-services .uiverse-card::before {
  inset: -10px;
  left: 0;
  width: auto;
  height: auto;
  border-radius: 38px;
  background: linear-gradient(140deg, #2fd4ff 0%, #7a67ff 55%, #ff2fd7 100%);
  opacity: 0.38;
  z-index: -2;
  filter: blur(16px);
  transform: none !important;
  transition: none !important;
}

.hero-uiverse-services .uiverse-card::after {
  content: none;
}

.hero-uiverse-services .uiverse-card:hover::after {
  content: none;
}

.hero-uiverse-services .uiverse-card:hover::before {
  transform: none !important;
  opacity: 0.38;
  filter: blur(16px);
}

.hero-uiverse-services .heading {
  margin: 0;
  font-size: clamp(2rem, 2.4vw, 3.4rem);
  line-height: 1.06;
  color: #e9ecff;
  text-transform: none;
}

.hero-uiverse-services .service-img {
  width: 100%;
  max-width: 380px;
  max-height: 290px;
  object-fit: contain;
  align-self: center;
}

.hero-uiverse-services .uiverse-card:nth-child(2) .service-img {
  clip-path: inset(0 0 18px 0);
  transform: translateY(-4px);
}

.hero-uiverse-services .card-copy {
  margin: auto 0 0;
  color: rgba(221, 225, 244, 0.8);
  font-size: 1.05rem;
  line-height: 1.3;
}

.hero-uiverse-services .card-tail {
  display: none;
}

@media (max-width: 1200px) {
  .hero-uiverse-services .uiverse-card {
    min-height: 540px;
    padding: 1.6rem 1.4rem 1.2rem;
  }

  .hero-uiverse-services .service-img {
    max-height: 236px;
  }

  .hero-uiverse-services .card-copy {
    font-size: 0.96rem;
  }
}

@media (max-width: 980px) {
  .hero-uiverse-services {
    grid-template-columns: 1fr;
  }

  .hero-uiverse-services .uiverse-card {
    min-height: 480px;
  }
}

@media (max-width: 760px) {
  .hero-uiverse-services .uiverse-card {
    min-height: 420px;
    padding: 1.2rem 1rem 1rem;
    gap: 0.8rem;
    border-radius: 22px;
  }

  .hero-uiverse-services .uiverse-card::before,
  .hero-uiverse-services .uiverse-card::after {
    border-radius: 22px;
  }

  .hero-uiverse-services .heading {
    font-size: 1.9rem;
  }

  .hero-uiverse-services .service-img {
    max-height: 185px;
  }

  .hero-uiverse-services .card-copy {
    font-size: 0.9rem;
    line-height: 1.28;
  }
}

/* Hero service cards: same visual style as portfolio cards ("copy") */
.hero-uiverse-services .uiverse-card {
  position: relative;
  z-index: 1111;
  background: transparent;
  background-image: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 290px;
  padding: 12px;
  gap: 12px;
  border-radius: 8px;
  cursor: pointer;
  color: white;
  border: 0;
  overflow: visible;
  isolation: isolate;
}

.hero-uiverse-services .uiverse-card > * {
  position: relative;
  width: 100%;
}

.hero-uiverse-services .uiverse-card > :not(.bg) {
  z-index: 2;
}

.hero-uiverse-services .uiverse-card .bg {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #000;
  border-radius: 8px;
  pointer-events: none;
}

.hero-uiverse-services .uiverse-card::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 10px;
  background: linear-gradient(-45deg, #e81cff 0%, #40c9ff 100%);
  z-index: -2;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-uiverse-services .uiverse-card::after {
  content: "";
  z-index: -1;
  position: absolute;
  inset: 0;
  background: linear-gradient(-45deg, #fc00ff 0%, #00dbde 100%);
  transform: translate3d(0, 0, 0) scale(0.95);
  filter: blur(20px);
}

.hero-uiverse-services .uiverse-card .heading {
  font-size: 20px;
  text-transform: capitalize;
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  color: white;
}

.hero-uiverse-services .uiverse-card p:not(.heading) {
  font-size: 14px;
  line-height: 1.35;
  margin: 0;
  color: white;
}

.hero-uiverse-services .uiverse-card .service-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 170px;
  max-height: 170px;
  object-fit: contain;
  align-self: center;
  border-radius: 16px;
  border: 1px solid rgba(183, 198, 255, 0.3);
  background: rgba(8, 10, 30, 0.55);
  padding: 6px;
}

.hero-uiverse-services .uiverse-card:nth-child(2) .service-img {
  clip-path: none;
  transform: none;
}

.hero-uiverse-services .uiverse-card .card-copy {
  color: white;
  font-size: 14px;
  line-height: 1.35;
  margin: 0;
}

.hero-uiverse-services .uiverse-card .card-tail {
  display: none;
}

.hero-uiverse-services .uiverse-card:hover::after {
  filter: blur(30px);
}

.hero-uiverse-services .uiverse-card:hover::before {
  transform: rotate(-90deg) scaleX(1.34) scaleY(0.77);
}

/* From Uiverse.io by joe-watson-sbf (purple variant) */
.hero-uiverse-services .flip-card {
  background-color: transparent;
  width: 100%;
  height: 254px;
  perspective: 1000px;
  font-family: sans-serif;
}

.hero-uiverse-services .flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.hero-uiverse-services .flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.hero-uiverse-services .flip-card-front,
.hero-uiverse-services .flip-card-back {
  box-shadow: 0 8px 14px 0 rgba(0, 0, 0, 0.2);
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border: 1px solid #b077ff;
  border-radius: 1rem;
}

.hero-uiverse-services .flip-card-front {
  background: linear-gradient(
    120deg,
    #b58cff 60%,
    rgb(220, 198, 255) 88%,
    rgb(196, 155, 255) 40%,
    rgba(176, 119, 255, 0.6) 48%
  );
  color: #b077ff;
  align-items: flex-start;
  text-align: left;
  padding: 16px 14px;
  gap: 10px;
}

.hero-uiverse-services .flip-card-back {
  background: linear-gradient(
    120deg,
    rgb(186, 137, 255) 30%,
    #b077ff 88%,
    #d8bcff 40%,
    rgb(204, 160, 255) 78%
  );
  color: white;
  transform: rotateY(180deg);
  overflow: hidden;
  padding: 0;
}

.hero-uiverse-services .flip-card .flip-back-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* From Uiverse.io by FrM-bot (purple variant) */
.hero-frm-cards {
  margin-top: 1.65rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.hero-frm-cards .frm-card {
  width: 100%;
  height: min-content;
  transition: all 0.3s;
  position: relative;
  border-radius: 0.5rem 2rem;
  box-shadow: 0px 15px 20px -5px rgba(0, 0, 0, 0.5);
}

.hero-frm-cards .frm-card:hover {
  transform: scale(1.03);
}

.hero-frm-cards .frm-img {
  transition: all 0.3s;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #78598f;
}

.hero-frm-cards .frm-img:hover {
  transform: scale(1.3);
}

.hero-frm-cards .frm-img-container {
  display: grid;
  border-radius: 0.5rem 2rem;
  height: 270px;
  overflow: hidden;
}

.hero-frm-cards .frm-description {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  right: 0.5rem;
  text-align: start;
  padding: 0.5rem 1em;
  width: auto;
  transition: all 0.5s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  backdrop-filter: blur(0.1rem);
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 0.5rem 2rem;
}

.hero-frm-cards .frm-description:hover {
  transform: perspective(100px) translateX(7px) rotateX(3deg) rotateY(3deg) scale(1);
  box-shadow: none;
}

.hero-frm-cards .frm-title {
  color: aliceblue;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: left;
  margin: 0;
}

@media (max-width: 980px) {
  .hero-frm-cards {
    grid-template-columns: 1fr;
  }
}

.hero-uiverse-services .flip-card .title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
  color: #5c2a94;
}

.hero-uiverse-services .flip-card-front p {
  font-size: 15px;
  line-height: 1.35;
  margin: 0;
  color: #5c2a94;
}

@media (max-width: 980px) {
  .hero-uiverse-services .flip-card {
    height: 230px;
  }
}

@media (max-width: 760px) {
  .hero-uiverse-services .flip-card {
    height: 210px;
  }
}
