/* ============================================================
   GLOBAL
   ============================================================ */

:root {
  --light-grey: #d1d5db;
  --medium-grey: #9ca3af;
  --primary: #2af18e;
  --secondary: #13cbc8;
  --bg-main: #0a0d11;
  --bg-card: #191d23;
              
  --primary-green: #2af18e;
  --primary-teal: #13cbc8;
  --bg-dark: #090b0e;
  --bg-card: #0f1419;
  --bg-card-dark: #1a1f28;
  --border-color: #1f232a;
  --text-primary: #ffffff;
  --text-secondary: #d1d5db;
  --text-muted: #9ca3af;
}

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

html {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-main);
  overflow-x: hidden;
}

body {
  background: linear-gradient(180deg, #0a0d11 0%, #000 9%, #080a0c 60%, #0a0d11 100%);
  color: #fff;
}

/* GLOBAL FONT FIX */
body,
input,
textarea,
button,
select,
label {
  font-family: 'Poppins', sans-serif;
}

/* hide everything initially */
.reveal-section .reveal-item {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* when section is active */
.reveal-section.active .reveal-item {
  opacity: 1;
  transform: translateY(0);
}


/* DEFAULT (keep as is) */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

/* 🔥 FULL WIDTH (for sections like mission) */
.container-full {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* 🔥 CUSTOM WIDTH (better control than container) */
.container-wide {
  max-width: 1280px;
  margin: 60px auto;     /* ↓ reduced */
  padding: 40px 16px;    /* ↓ reduced */
}

.flex {
  display: flex;
}

.section-wrapper {
  width: 100%;
  padding: 0 20px;
}

.section-inner {
  width: 100%;
  max-width: 1400px; /* 🔥 upgrade from 1280 */
  margin: 0 auto;
  position: relative;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.heading1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
}

.heading2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 600;
}

.text-body {
  color: var(--medium-grey);
  font-size: 16px;
}

.text-medium {
  color: var(--light-grey);
  font-size: 16px;
  font-weight: 600;
}

.text-small {
  color: var(--medium-grey);
  font-size: 14px;
}

/* ================= HOMEPAGE HERO OVERRIDE ================= */

.home-hero .hero-title {
  font-size: clamp(52px, 7vw, 84px); /* bigger than inner pages */
}

.home-hero .hero-desc {
  font-size: 20px;
  max-width: 800px;
}

.home-hero .hero-badge {
  transform: scale(1.05); /* slight emphasis */
}


/* badge */
.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  background: rgba(42, 241, 142, 0.1);
  border: 1px solid rgba(42, 241, 142, 0.3);
  color: #2af18e;
  font-size: 13px;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

/* title */
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

/* gradient word */
.hero-title span {
  background: linear-gradient(90deg, #2af18e, #13cbc8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* description */
.hero-desc {
  margin-top: 20px;
  color: #9ca3af;
  font-size: 18px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* 🔥 remove overlay only on homepage */
.home .service-card::before {
  display: none;
}
/* ============================================================
   BACKGROUND ITEMS
   ============================================================ */

/* === GLOBAL BACKGROUND GRID === */

.about-grid,
.home-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  /* ✅ FULL SCREEN */
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.about-grid img,
.home-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* ✅ fills screen properly */
  opacity: 0.6;
}


.img,
.img-circle1,
.img-circle2,
.img-circle3 {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
  /* reduce if too strong */
}

.main-container,
section,
.main-header,
.footer {
  position: relative;
  z-index: 1;
}

.hero-card {
  position: relative;
  z-index: 1;
}

.card-ellipse,
.card-ellipse1,
.card-ellipse2,
.card-ellipse-top {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  /* VERY IMPORTANT */
}

.hero-card h2,
.hero-card p,
.hero-actions {
  position: relative;
  z-index: 2;
}


.global-grid {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: -1;
  pointer-events: none;
}

.global-grid-img {
  width: 100%;
  height: auto;
  opacity: 0.2;
  /* adjust if too strong */
}

.global-grid,
.home-grid,
.about-grid {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}


.about-grid {
  position: absolute;
  top: 150px;
  /* adjust for your layout */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1280px;
  z-index: 0;
  pointer-events: none;
}

.about-grid img {
  width: 100%;
  opacity: 0.8;
}

.home-grid {
  position: absolute;
  top: 650px;
  /* 🔥 adjust based on your hero height */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: 0;
  pointer-events: none;
}

.home-grid img {
  width: 100%;
  opacity: 1;
}

/* HERO GRID */
.hero-grid {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1280px;
  z-index: 0;
  pointer-events: none;
}

.hero-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  
  opacity: 0.4;
}

.img {
  position: absolute;
  z-index: 1;
  top: -95px;
  left: 50%;
  translate: -50% 0;
  filter: blur(60px);
  width: calc(100% - 32px);
  max-width: 784px;
}

.img-circle1,
.img-circle2,
.img-circle3,
.img-circle4,
.img-circle5,
.img-circle6 {
  position: absolute;
  z-index: -1;
  filter: blur(60px);
}

.img-circle1 {
  position: absolute;
  z-index: 1;
  top: 639px;
  left: -430px;
  rotate: 90deg;
  transform-origin: 50% 50%;
  filter: blur(60px);
}

.img-circle2 {
  position: absolute;
  z-index: 1;
  top: 2100px;
  left: -430px;
  rotate: 90deg;
  transform-origin: 50% 50%;
  filter: blur(60px);
}

.img-circle3 {
  position: absolute;
  z-index: 1;
  top: 1149px;
  right: -430px;
  rotate: -90deg;
  transform-origin: 50% 50%;
  filter: blur(60px);
}

.img-circle4 {
  position: absolute;
  z-index: 1;
  top: 2736px;
  right: -430px;
  rotate: -90deg;
  transform-origin: 50% 50%;
  filter: blur(60px);
}

.img-circle5 {
  position: absolute;
  z-index: 1;
  top: 3520px;
  left: -430px;
  rotate: 90deg;
  transform-origin: 50% 50%;
  filter: blur(60px);
}

.img-circle6 {
  position: absolute;
  z-index: 1;
  top: 4087px;
  right: -430px;
  rotate: -90deg;
  transform-origin: 50% 50%;
  filter: blur(60px);
}

/* --- Missing Background Grid & Layer Styles --- */
.grid1 {
  width: 100%;
  height: auto;
}

.col1 {
  position: relative;
  padding-top: 0;
  /* Essential for spacing the hero content */
}

.grid2,
.col-bottom {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}

.grid-layers-v2,
.grid-layers-v {
  width: 100%;
  height: auto;
}

.main-container {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}

.bg-layer-grid--a {
  opacity: 0.8;
}

.bg-layer-grid--b {
  opacity: 0.4;
  margin-top: -33px;
}

a img {
  cursor: pointer;
  transition: 
    transform 0.2s ease,
    filter 0.2s ease;
}

a img:hover {
  filter: brightness(1.2);
  transform: scale(1.05);
}

/* ============================================================
   LIQUID NAV
   ============================================================ */

/* ================= HEADER / NAV FIX ================= */

.navbar {
  position: fixed;
  top: 35px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999999;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  top: 20px;
  transform: translateX(-50%) scale(0.95);
  backdrop-filter: blur(12px);
  background: rgba(20, 20, 20, 0.6);
  opacity: 0.95;
}


.main-header {
  position: fixed;
  top: 0;              /* was 30px ❌ */
  left: 0;
  width: 100%;

  padding: 20px 40px;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;

  z-index: 1000;
}

.main-header.hide {
  transform: translateY(-120%);
  opacity: 0;
}

.btn-cta {
  width: auto;
  white-space: nowrap;
}

.logo-white {
  width: 260px;
  /* Matches your current logo width */
  height: auto;
}


.liquid-nav {
  justify-self: center;
}


.liquid-indicator {
  position: absolute;
  height: 36px;
  border-radius: 999px;
  /*background: linear-gradient(180deg, rgb(36 173 106 / 95%) 0%, rgb(26 112 112 / 95%) 70%);
  border: 1px solid rgb(161 157 157 / 45%);
  box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.45), 1px 1px 10px rgba(42, 241, 142, 0.35);*/
  z-index: 0;
}

/* Ensure the button stays perfectly on the right */
.btn-secondary-cta {
  justify-self: end;
}

.header {
  display: grid;
  grid-template-columns: 1fr;
  /* 🔥 remove 1fr */
  justify-content: center;
  align-items: center;
  gap: 24px;
  /* spacing between logo, nav, button */
}

.liquid-nav {
  display: inline-flex;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 30px rgba(0, 0, 0, 0.28);
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;

  background: linear-gradient(135deg,
      rgba(74, 74, 74, 0.15),
      rgba(138, 138, 138, 0.06));

  backdrop-filter: blur(14px);
}

.nav-item {
  transition: all 0.25s ease;
}

.nav-item.active {
  transform: scale(1.05);
}

.nav-item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  color: #fff;
  justify-content: center;
  height: 36px;
  /* 🔥 fixed height */
  padding: 0 16px;
  text-decoration: none;
  transition: 0.3s ease;
  border-radius: 999px;
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  /* 🔥 important */
  color: #fff;
  transition: color 0.25s ease;
  /* ✅ THIS FIXES IT */
}

.nav-item.active {
  color: #000;
  transition: color 0.25s ease 0.1s;
  background: linear-gradient(180deg, rgb(36 173 106 / 95%) 0%, rgb(26 112 112 / 95%) 70%);
  border: 1px solid rgb(161 157 157 / 45%);
  box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.45), 1px 1px 10px rgba(42, 241, 142, 0.35);
  /* delay */
}

.nav-item:hover:not(.active) {
  background: rgba(255, 255, 255, 0.1);
}

.nav-wrapper {
  display: flex;
  justify-content: center;
  max-width: 500px;
  /* 🔥 controls stretch */
  width: 100%;
  margin: 0 auto;
}

.btn {
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-cta {
  display: flex;
  justify-content: center;
  text-align: center;
  background-color: #054646;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 20px;
  border-radius: 25px;
}

.cta-section .btn-secondary-cta:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.cta-section .btn-primary-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.1); /* keeps gradient, enhances it */
  box-shadow: 0 10px 25px rgba(34,197,94,0.3);
}

.hero-actions a {
  text-decoration: none;   /* remove underline */
  display: inline-block;
}

/* Secondary button */
.btn-secondary-cta {
  padding: 14px 28px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-secondary-cta:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* Primary button */
.btn-primary-cta {
  padding: 14px 28px;
  border-radius: 12px;
  background: linear-gradient(135deg, #34d399, #22c55e);
  color: #000;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(34,197,94,0.3);
}

/* unblock layers */
.card-group,
.card-component {
  pointer-events: none;
}

/* ensure button is on top */
.portfolio-cta-btn {
  position: relative;
  z-index: 5;
  display: inline-flex;
  padding: 16px 24px;
  transition: transform 0.2s ease;
}

/* hover */
.portfolio-cta-btn:hover {
  transform: translateY(-2px);
}

.btn-primary-cta,
.btn-secondary-cta {
  text-decoration: none;
  display: inline-flex;     /* ensures proper alignment */
  align-items: center;
  justify-content: center;
}

.hover-bright:hover {
  filter: brightness(1.2);
}

.btn-primary-cta {
  min-height: 50px;
  display: flex;
  justify-content: center;
  color: #000;
  text-align: center;
  background: linear-gradient(180deg, #2af18e 0%, #13cbc8 100%) top left / auto auto no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 15px 21px;
  border-radius: 12px;
}

.btn-secondary-cta {
  min-height: 50px;
  display: flex;
  justify-content: center;
  color: #fff;
  text-align: center;
  background-color: #0b3f3f;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 15px 21px;
  border-radius: 12px;
}

/* ============================================================
   HOMEPAGE
   ============================================================ */

/* === HERO SECTION (CLEAN VERSION) === */

.hero-section {
  position: relative;

  min-height: auto;

  display: flex;
  flex-direction: column;

  justify-content: flex-start;
  align-items: center;

  padding: clamp(120px, 12vh, 180px) 20px 40px;

  text-align: center;
  overflow: hidden;
}

/* CONTENT ABOVE GRID */
.hero-section .container {
  position: relative;
  z-index: 2;
}

.group2,
.frame {
  will-change: transform;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  height: 100%;/* 🔥 key fix */
  background-image: url("../assets/common/shapes/section.svg");
    background: url("../assets/common/shapes/section.svg") no-repeat center top;
  background-size: min(1600px, 100%);
  
}

.hero-content {
  position: relative;
  z-index: 2;
  gap: 28px; /* 🔥 main spacing system */
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}


.title-software {
  font-size: 48px;
  font-weight: 700;
  color: white;
}

.text-body {
    margin-top: 20px;
    margin-bottom: 30px;
    color: #d1d5db;
}

.hero-actions {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* === PLATFORM LIST === */

.platform-list {
  margin-top: 8px;
  margin-bottom: 16px;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.platform-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);

  border-radius: 999px;

  font-size: 14px;
  color: #e5e7eb;

  backdrop-filter: blur(10px);

  transition: all 0.25s ease;
}

.platform-pill {
  transform: translateY(0);
}

.platform-pill:hover {
  transform: translateY(-2px);
}

.platform-pill i,
.platform-pill svg {
  width: 16px;
  height: 16px;

  color: #0c694d; /* 🔥 highlight */
}

.platform-pill img {
  width: 14px;
  height: 14px;
}

.platform-pill:hover {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.platform-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9ca3af;
  font-size: 14px;
}

.platform-dot {
  width: 4px;
  height: 4px;
  background: linear-gradient(180deg, #2af18e, #13cbc8);
  border-radius: 50%;
}

.platform-divider {
  width: 1px;
  height: 24px;
  background: #4b5563;
}

.platform-text {
  font-size: 16px;
  color: #9ca3af;
}

/* === FLOATING FEATURES === */


.floating-features {
  display: none;
  position: absolute;
  top: 0;
  left: 13%;
  transform: translateX(-50%);

  width: 100%;
  max-width: 1400px;
  height: 400px; /* 🔥 control area */
}

.floating-inner {
  width: 100%;
  max-width: 1400px;
  position: relative;
}

/* feature badge */
.feature-badge {
  position: absolute;

  display: flex;
  align-items: center;
  gap: 8px;

  background: #0c0f14;
  padding: 6px 12px;

  border-radius: 20px;
  border: 1px solid #4b5563;

  font-size: 14px;
  color: #fff;

  transform: translate(-50%, -50%);
}
/* positions (same as before but renamed) */
.feature-1 {
  top: 11px;
  left: 2px;
  transform: rotate(12deg);
}

.feature-2 {
  top: 275px;
  left: 48px;
  transform: rotate(-10deg);
}

.feature-3 {
  top: 383px;
  left: 447px;
  transform: rotate(4deg);
}

.feature-4 {
  top: 35px;
  left: 901px;
  transform: rotate(-15deg);
}

.feature-5 {
  top: 278px;
  left: 837px;
  transform: rotate(13deg);
}


/* === CLIENTS SECTION === */

.clients {
  padding: 60px 20px 30px; /* more breathing */
  text-align: center;
}

.clients-label {
  font-size: 18px;
  margin-bottom: 24px;
  letter-spacing: 0.1em;
}

/* logo container */
.clients-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.client-logo img[src*="nextologies"] {
  transform: scale(0.9);
}

/* logos */
.clients-logos img {
  height: 48px;   /* 🔥 increased from 28px */
  width: 140px;   /* same width for both */
  object-fit: contain;
  opacity: 0.9;
}

/* Nextologies */
.clients-logos img:first-child {
  height: 48px; /* slightly smaller */
}

/* Giritech */
.clients-logos img:last-child {
  height: 58px; /* slightly bigger */
}

/* hover effect (subtle glow like your UI) 
.clients-logos img:hover {
  opacity: 1;
  filter: grayscale(0%) brightness(1.1);
  transform: translateY(-2px);
}  */

/* divider between 2 logos */
.clients-divider {
  width: 2px;
  height: 58px;
  background: rgba(255, 255, 255, 0.15);
}


/* === SECTION HEADER === */

.section-header {
  max-width: 720px;
  margin: 0 auto;
  margin-bottom: 30px;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.row-bottom6 {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.section {
  position: relative;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  opacity: 0.6;

  transform: none; /* 🔥 REMOVE translate */
}

.btn-icon-objects-lightning-bolt {
  width: 14px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
}

/* === HERO CARD === */

.hero-card {
  position: relative;
  z-index: 15;
  margin: 120px auto;
  width: calc(100% - 32px);
  max-width: 964px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(180deg, #0E3625, #0B3233);
  border: 1px solid transparent;
  border-radius: 20px;
  overflow: hidden;
}

.card-ellipse1 {
  z-index: 1;
  top: -40px;
  /* 🔥 move above card */
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  rotate: 90deg;
  margin-left: 547px;
  height: 56px;
  max-width: 745px;
  background-image: linear-gradient(180deg, #2af18e 100%, #13cbc8 141%);
}

.card-ellipse-top {
  position: static;
  margin: -140px auto 0 auto;
  width: 90%;
  flex-shrink: 0;
}

.card-subtitle {
  position: relative;
  z-index: 2;
  margin-left: 1px;
  margin-top: 70px;
  color: #fff;
  --min-font-size: 23;
  --max-font-size: 36;
  font-weight: 600;
  line-height: normal;
}


.card-col {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 70px;

  padding: 27px 24px 88px 24px;
}

.card-frame-bottom {
  position: relative;
  align-self: center;
  color: #000;
  font-size: 16px;
  font-weight: 600;

  background: linear-gradient(180deg, #2af18e 0%, #13cbc8 100%);
  padding: 19px 20px 19px 48px;
  border-radius: 12px;

  text-decoration: none;   /* 🔥 ADD THIS */
  display: inline-flex;    /* 🔥 IMPORTANT */
  align-items: center;
}

.card-frame-bottom {
  transition: all 0.3s ease;
}

.card-frame-bottom:hover {
  transform: translateY(-3px); /* slight lift */
  filter: brightness(1.1);     /* subtle glow */
  box-shadow: 0 10px 25px rgba(42, 241, 142, 0.25);
}

/* CTA background image */
.cta-bg-img {
  position: absolute;
  bottom: 0;
  left: 0;

  width: 100%;
  height: auto;

  opacity: 0.5;           /* adjust if too strong */
  pointer-events: none;
  z-index: 0;
}

/* keep content above */
.hero-card h2,
.card-row,
.card-col,
.card-frame-bottom {
  position: relative;
  z-index: 2;
}

.card-component {
  position: absolute;
  top: 20px;
  left: 14px;
  rotate: 45deg;
  transform-origin: 50% 50%;
  width: 20px;
  height: 20px;
}

.card-text-start-your {
  margin-left: auto;
}

.card-ellipse2 {
  top: 318px;
  left: 119px;
  width: calc(100% - 119px);
}

/* frame */
/* Shared Style for all 5 Frames */
/* Individual Positions */
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* ============================================================
   HOMEPAGE — SERVICES
   ============================================================ */

.services-section {
  padding: 100px 0;
  position: relative;
}

.section-wrapper {
  width: 100%;
  padding: 20px 20px;
}

.section-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* === SERVICES === */

.services-content {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* rows */
.services-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

/* columns */
.services-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
  /* 🔥 important */
}

.btn-top object {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.services-column-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
  /* 🔥 important */
}

.services-column,
.services-column-right {
  justify-content: flex-start;
  /* 🔥 key fix */
}

.services-column .service-card,
.services-column-right .service-card {
  flex: unset;
}

/* card base */
.service-card {
  flex: 1;
  min-width: 0;

  background: #191d23;
  border: 1px solid #4b5563;
  border-radius: 20px;

  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;

  box-shadow: inset 0 0 80px rgba(0, 242, 96, 0.1);
  transition: 0.25s ease;
}

.service-card:hover {
  border-color: #2AF18E;
  transform: translateY(-4px);
}

/* stagger */
.service-card--offset-lg {
  margin-top: 30px;
}

/* big card */
.service-card--mobile {
  width: 100%;
  margin-top: 30px;
  position: relative;
  padding-top: 90px;
  max-height: 300px;
}

/* icon */
.service-card object {
  width: 48px;
  height: 48px;
}

/* icon top */
.service-card--icon-top,
.service-card--mobile {
  position: relative;
  padding-top: 90px;
}

.service-card--icon-top object,
.service-card--mobile object {
  position: absolute;
  top: 20px;
  left: 24px;
}

/* text */
.service-card h3 {
  font-size: 20px;
  margin-top: 8px;
}

/* list */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-item {
  display: flex;
  gap: 10px;
  color: #d1d5db;
}

.service-dot {
  width: 6px;
  height: 6px;
  margin-top: 6px;
  background: #fff;
  border-radius: 50%;
}

.service-card object {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.service-card--web {
  position: relative;
  padding-top: 90px;
}

.service-card--web object {
  position: absolute;
  top: 20px;
  left: 24px;
  width: 50px;
}

.service-card--custom,
.service-card--web {
  margin-top: 40px;
}

/* ============================================================
   13. SERVICES — COMPONENT CARDS (merged from dqi-homepage)
   Maps old component-a/b/c/d/e/f → .service-card variants
   ============================================================ */

/* Shared icon sizes inside service cards */
.service-card object {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  align-self: flex-start;
  aspect-ratio: 1 / 1;
}

/* Row 1: cards that sit lower (offset top) */
.service-card--offset-top {
  margin-top: 49px;
}

/* Row 1, card 3: web card — icon is absolutely positioned */
.service-card--icon-abs {
  position: relative;
  padding-top: 102px;
}

.service-card--icon-abs object {
  position: absolute;
  top: 17px;
  left: 27px;
}

/* Row 2: mobile/TV card — also icon-abs style */
.service-card--mobile {
  position: relative;
  margin-top: 56px;
  width: 100%;
  padding-top: 102px;
}

.service-card--mobile object {
  position: absolute;
  top: 17px;
  left: 27px;
}

/* Row 2 right columns */
.services-column,
.col6 {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 50px;
  flex-grow: 1;
  text-align: left;
}

.services-column-right,
.col-right {
  margin-top: 28px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 50px;
  flex-grow: 1;
  text-align: left;
}

/* h3 inside service cards */
.service-card h3,
.subtitle-white {
  color: #fff;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  margin: 0;
  margin-bottom: 8px;
  line-height: 1.273;
  text-align: left;
}

/* dot inside service list */
.dot,
.circle-white {
  margin-top: 2px;
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  background-color: #fff;
  border-radius: 50%;
}

/* service list text */
.service-item p,
.text-a {
  flex-grow: 1;
  text-align: left;
  color: #d1d5db;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
}

/* row-a: generic flex row used inside service cards */
.row-a {
  display: flex;
  align-items: center;
  gap: 19px;
}

/* ============================================================
   14. SECTION HEADER BADGE  (.btn-top)
   ============================================================ */

.btn-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  padding: 8px 16px;
  border-radius: 30px;

  background-color: rgba(12, 113, 81, 0.4);
  /* ✅ visible now */
  border: 1px solid #237d65;

  cursor: default;

  font-size: 14px;
  font-weight: 500;
}

.btn-top-label {
  background: linear-gradient(180deg, #2af18e, #13cbc8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Wrapper needed so the button shows the border but inner text gets gradient */
.btn-top {
  -webkit-text-fill-color: unset;
  color: transparent;
}

.btn-top .btn-top-label {
  background: linear-gradient(180deg, #2af18e 0%, #13cbc8 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================================
   HOMEPAGE — PROCESS SECTION
   ============================================================ */

.process-section {
  position: relative;
  padding-bottom: 0px;
  z-index: 10;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* --- Missing Process Section (Strategy/Discovery/Launch) --- */
/* Discovery card (left-aligned) */

/* 🔥 ALL TILT CARDS */
.discovery,
.strategy,
.stratergy,
.development,
.launch {
  transition: transform 0.4s ease;
}

/* LEFT TILT */
.discovery,
.development,
.strategy,
.stratergy,
.launch {
  transform: rotate(-15deg);
}

.discovery:hover,
.development:hover,
.strategy:hover,
.stratergy:hover,
.launch:hover  {
  transform: rotate(-15deg) translateY(5px);
}


/* base */
.discovery-group,
.strategy-graphic,
.stratergy-graphic,
.development-graphic,
.launch-graphic {
  transition: transform 0.4s ease;
  z-index: 3;
}

/* hover pop */
.discovery:hover .discovery-group,
.strategy:hover .strategy-graphic,
.stratergy:hover .stratergy-graphic,
.development:hover .development-graphic,
.launch:hover .launch-graphic {
  transform: translate(-50%, -30px) scale(1.8);
}

.discovery:hover,
.development:hover,
.strategy:hover,
.stratergy:hover,
.launch:hover {
  box-shadow: 
    0 20px 50px rgba(0,0,0,0.6),
    0 0 30px rgba(42, 241, 142, 0.25),
    0 0 60px rgba(19, 203, 200, 0.15);
}

.discovery,
.strategy,
.development,
.launch {
  overflow: hidden; /* 🔥 MUST */
  border-radius: 16px;
}
.rect-a,
.rect-b {
  border-radius: inherit;
}


.rect-a {
  box-shadow: none;
}

.discovery {
  position: absolute;
  top: 0;
  left: 0;
  width: 474px;
  min-height: 266px;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.discovery-group1 {
  position: relative;
  width: 474px;
  height: 270px;
  border-radius: 16px;
  margin: 0;
  padding: 0;
}

.discovery-rect1,
.discovery-rect2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.discovery-group2 {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  border-radius: 16px;
  width: 100%;
  height: 100%;
  background: url('/assets/groups/discovery-group.png') center / contain no-repeat;
}

.discovery-group {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 01;
  height: 52px;
  z-index: 3;
}

.discovery-text1 {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 112px 24px 24px;
}

/* Force Discovery text order to match other cards:
   title first, description second */
.discovery-text1 .discovery-text2 {
  order: 1;
}

.discovery-text1 .discovery-text-we-dive-deep {
  order: 2;
}

/* Strategy card (right-aligned)
   Keep both spellings to support existing HTML:
   .strategy and .stratergy */
.strategy,
.stratergy {
  position: absolute;
  top: 240px;
  right: 0;
  width: 474px;
  min-height: 266px;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.strategy-group1,
.stratergy-group1 {
  position: relative;
  width: 474px;
  height: 270px;
  margin: 0 0 0 auto;
  padding: 0;
}

.strategy-rect1,
.strategy-rect2,
.stratergy-rect1,
.stratergy-rect2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.strategy-group2,
.stratergy-group2 {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  border-radius: 16px;
  width: 100%;
  height: 100%;
  background: url('/assets/groups/strategy-group.png') center / contain no-repeat;
}

.strategy-graphic,
.stratergy-graphic {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 01;
  height: 52px;
  z-index: 3;
}

.strategy-text1,
.stratergy-text1 {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 112px 24px 24px;
}

/* Development card (left-aligned) */
.development {
  position: absolute;
  top: 480px;
  left: 0;
  width: calc(100% - 0px);
  max-width: 474px;
  min-height: 266px;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.development-group1 {
  position: relative;
  width: 474px;
  height: 270px;
  margin: 0;
  padding: 0;
}

.development-rect1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.development-rect2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.development-group2 {
  position: absolute;
  z-index: 2;
    border-radius: 16px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/assets/groups/development-group.png') center / contain no-repeat;
}

.development-graphic {
  position: absolute;
  top: 18px;
  left: 50%;
  translate: -50% 0;
  width: 65px;
  height: 64px;
}

.development-text1 {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 112px 24px 24px;
}

/* Launch card (right-aligned) */
.launch {
  position: absolute;
  top: 720px;
  right: 0;
  width: calc(100% - 0px);
  max-width: 474px;
  min-height: 266px;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.launch-group1 {
  position: relative;
  width: 474px;
  height: 270px;
  margin: 0 0 0 auto;
  padding: 0;
}

.launch-rect1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.launch-rect2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.launch-group2 {
  position: absolute;
    border-radius: 16px;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/assets/groups/launch-group.png') center / contain no-repeat;
}

.launch-graphic {
  position: absolute;
  top: 20px;
  left: 50%;
  translate: -50% 0;
  width: 57px;
  height: 52px;
}

.launch-text1 {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 112px 24px 24px;
}

/* --- Missing Component & Card Styles --- */
.card {
  position: relative;
  border-radius: 32px;
  padding: 30px;
  overflow: hidden;
}

.card-ellipse {
  position: absolute;
  filter: blur(58px);
  z-index: 0;
  background: linear-gradient(180deg, #2af18e 0%, #13cbc8 100%);
  opacity: 0.2;
}


/* === PROCESS ALIAS (SAFE) === */


.process-bg {
  /* maps to rect-a */
}

.process-border {
  /* maps to rect-b */
}

/* ============================================================
   15. PROCESS SECTION — ZIGZAG CARDS
   Maps col9 / col10 / stratergy / discovery / development / launch
   ============================================================ */

/* ============================================================
   PROCESS SECTION — FINAL STABLE VERSION
   ============================================================ */

.process-section,
.col9 {
  position: relative;
  margin: 60px auto;
  max-width: 1280px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* container */
.col10 {
  position: relative;
  height: 900px;
  width: 900px;
  /* 🔥 reduce container */
  margin: 0 auto;
  /* center it */
}

/* ================= CARD BASE ================= */

.discovery,
.stratergy,
.strategy,
.development,
.launch {
  position: absolute;
  width: 460px;
  border-radius: 16px;
}

/* ================= PERFECT POSITIONS ================= */

.discovery {
  top: 0;
  left: 0;
}

.stratergy,
.strategy {
  top: 200px;
  right: 0;
}

.development {
  top: 420px;
  left: 0;
}

.launch {
  top: 640px;
  right: 0;
}

/* ================= CARD STRUCTURE ================= */

.discovery,
.development {
  transform: translateX(-60px);
}

.stratergy,
.launch {
  transform: translateX(60px);
}

/* background */
.rect-a {
  position: absolute;
  inset: 0;
  background: #000;
  border-radius: 16px;
  box-shadow: inset 0 4px 24px rgba(19, 203, 200, 0.25);
}

/* overlay */
.rect-b {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, transparent, #000);
}

/* ================= TEXT ================= */

.text-b {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 120px 24px 24px;
  gap: 10px;
}

.text-c {
  font-size: 26px;
  font-weight: 600;
  background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-d {
  font-size: 14px;
  color: #9ca3af;
  text-align: center;
  max-width: 320px;
}

/* ================= ICON ================= */

.discovery-group,
.stratergy-graphic,
.strategy-graphic,
.development-graphic,
.launch-graphic {
  position: absolute;
  top: 24px;
  left: 50%;
  width: 60px;
  z-index: 3;
}

/* ================= CONNECTOR ================= */

.graphic {
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: 680px;
  pointer-events: none;
  opacity: 0.7;
}

/* ============================================================
   17. CARD-ELLIPSE HELPER
   (used inside .hero-card for glow effect)
   ============================================================ */

.card-ellipse {
  position: absolute;
  transform-origin: 50% 50%;
  filter: blur(58.4px);
  height: 108px;
  background: linear-gradient(180deg, #2af18e 0%, #13cbc8 100%);
  border-radius: 50%;
  pointer-events: none;
}

/* ============================================================
   ABOUT PAGE — REFINED (CLEAN + PREMIUM)
   ============================================================ */

/* ---------------- GLOBAL DEPTH ---------------- */

section {
  position: relative;
}

section::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.5;
}

/* alternate section tone */
section:nth-child(even) {

}


        /* ============================================
           HERO SECTION
           ============================================ */
        .hero {
            position: relative;
            padding: 120px 0 80px;
            text-align: center;
            overflow: visible;
        }

.hero-glow {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%); /* ✅ THIS is key */

    width: 800px;
    height: 800px;

    background: radial-gradient(
        circle,
        rgba(42, 241, 142, 0.15),
        transparent
    );

    filter: blur(150px);
    pointer-events: none;
}

        .hero-badge {
            display: inline-block;
            padding: 8px 24px;
            background: linear-gradient(to right, rgba(42, 241, 142, 0.2), rgba(19, 203, 200, 0.2));
            border: 1px solid rgba(42, 241, 142, 0.3);
            border-radius: 50px;
            margin-bottom: 24px;
            backdrop-filter: blur(10px);
        }

        .hero-badge span {
            background: linear-gradient(to right, var(--primary-green), var(--primary-teal));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-size: 14px;
            font-weight: 600;
            letter-spacing: 0.1em;
            text-transform: uppercase;
        }

        .hero h1 {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 72px;
            font-weight: 700;
            line-height: 1.1;
            margin-bottom: 24px;
        }

        .hero h1 .gradient-text {
            background: linear-gradient(to right, var(--primary-green), #1ed5a6, var(--primary-teal));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero p {
            font-size: 20px;
            color: var(--text-secondary);
            max-width: 760px;
            margin: 0 auto;
            line-height: 1.6;
        }

        /* ============================================
           MISSION CARDS (BENTO GRID)
           ============================================ */
        .mission-section {
            padding: 80px 0;
        }

        .bento-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            grid-template-rows: repeat(2, 300px);
            gap: 24px;
        }

        .mission-card {
            position: relative;
            background: linear-gradient(135deg, var(--bg-card), var(--bg-card-dark));
            border: 1px solid var(--border-color);
            border-radius: 24px;
            padding: 48px;
            overflow: hidden;
            transition: all 0.5s;
        }

        .mission-card:hover {
            border-color: rgba(42, 241, 142, 0.4);
            box-shadow: 0 0 60px rgba(42, 241, 142, 0.2);
        }

        .mission-card.featured {
            background-color: #191D23;
            grid-column: span 4;
            grid-row: span 2;
        }

        .mission-card.small {
          background-color: #191D23;
          grid-column: span 2;
            grid-row: span 1;
            padding: 32px;
        }

        .card-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, rgba(42, 241, 142, 0.2), rgba(19, 203, 200, 0.2));
            border: 1px solid rgba(42, 241, 142, 0.3);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 32px;
            transition: transform 0.3s;
        }

        .mission-card:hover .card-icon {
            transform: scale(1.1) rotate(5deg);
        }

        .mission-card h3 {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 40px;
            font-weight: 700;
            margin-bottom: 24px;
        }

        .mission-card.small h3 {
            font-size: 22px;
            margin-bottom: 12px;
        }

        .mission-card p {
            color: var(--text-secondary);
            font-size: 18px;
            line-height: 1.6;
        }

        .mission-card.small p {
            font-size: 14px;
            color: var(--text-muted);
        }

        /* ============================================
           WHAT DRIVES US
           ============================================ */
        .values-section {
            padding: 100px 0;
            position: relative;
            overflow: hidden;
        }

        .section-header {
            margin-bottom: 80px;
        }

        /*/ .section-header h2 {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 56px;
            font-weight: 700;
            margin-bottom: 16px;
        } */

        .section-header p {
            font-size: 18px;
            color: var(--text-secondary);
            max-width: 700px;
        }

        .values-list {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .value-card {
            position: relative;
            display: flex;
            align-items: center;
            gap: 48px;
            background-color: #191D23;            
            border: 1px solid var(--border-color);
            border-radius: 24px;
            padding: 40px;
            overflow: hidden;
            transition: all 0.5s;
        }

        .value-card:hover {
            border-color: rgba(42, 241, 142, 0.4);
            box-shadow: 0 0 50px rgba(42, 241, 142, 0.15);
        }

        .value-card.reverse {
            flex-direction: row-reverse;
        }

        .value-card.reverse .value-content {
            text-align: right;
        }

        .value-icon-wrapper {
            width: 112px;
            height: 112px;
            flex-shrink: 0;
            background: linear-gradient(135deg, rgba(42, 241, 142, 0.15), rgba(19, 203, 200, 0.15));
            border: 2px solid rgba(42, 241, 142, 0.3);
            border-radius: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s;
        }

        .value-card:hover .value-icon-wrapper {
            transform: scale(1.1) rotate(5deg);
        }

        .value-content {
            flex: 1;
        }

        .value-content h4 {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 32px;
            font-weight: 700;
            margin-bottom: 12px;
        }

        .value-content p {
            font-size: 17px;
            color: var(--text-secondary);
            line-height: 1.6;
        }

        .value-number {
            position: absolute;
            font-family: 'Space Grotesk', sans-serif;
            font-size: 120px;
            font-weight: 700;
            top: 50%;
            transform: translateY(-50%);
            opacity: 0.15;
            background: linear-gradient(135deg, rgba(42, 241, 142, 0.3), rgba(19, 203, 200, 0.3));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            user-select: none;
        }

        .value-card .value-number {
            right: 32px;
        }

        .value-card.reverse .value-number {
            left: 32px;
            right: auto;
        }

        /* ============================================
           JOURNEY TIMELINE
           ============================================ */
        .journey-section {
            padding-top: 100px;
            position: relative;
            overflow: visible;
        }

        .journey-section .section-header {
            text-align: center;
            margin-bottom: 80px;
        }

        .timeline {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
        }

        .timeline-line {
            position: absolute;
            left: 50%;
            top: 0;
            bottom: 0;
            width: 3px;
            background: linear-gradient(to bottom, var(--primary-green), var(--primary-teal), transparent);
            transform: translateX(-50%);
        }

        .timeline-item {
            position: relative;
            display: flex;
            align-items: center;
            gap: 40px;
            margin-bottom: 80px;
        }

        .timeline-item.reverse {
        }

        .timeline-content {
            flex: 1;
        }

        .timeline-content.align-right {
            text-align: right;
        }

        .timeline-card {
            background: linear-gradient(135deg, var(--bg-card), var(--bg-card-dark));
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 32px;
            transition: all 0.5s;
        }

        .timeline-card:hover {
            border-color: rgba(42, 241, 142, 0.4);
            box-shadow: 0 0 40px rgba(42, 241, 142, 0.15);
        }

        .timeline-card h3 {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 12px;
        }

        .timeline-card p {
            font-size: 16px;
            color: var(--text-secondary);
            line-height: 1.6;
        }

        .timeline-marker {
            position: relative;
            width: 96px;
            height: 96px;
            flex-shrink: 0;
            z-index: 2;
        }

        .marker-glow {
            position: absolute;
            inset: 0;
            border-radius: 50%;
            background: linear-gradient(135deg, rgba(42, 241, 142, 0.3), rgba(19, 203, 200, 0.3));
            filter: blur(20px);
            animation: pulse-glow 3s ease-in-out infinite;
        }

        .marker-circle {
            position: relative;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-green), var(--primary-teal));
            border: 4px solid var(--bg-dark);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 0 40px rgba(42, 241, 142, 0.5);
            transition: transform 0.3s;
        }

        .timeline-marker:hover .marker-circle {
            transform: scale(1.15);
        }

        .marker-circle span {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 20px;
            font-weight: 700;
            color: var(--bg-dark);
        }

        .timeline-spacer {
            flex: 1;
        }

/* ============================================================
   CTA
   ============================================================ */

.cta-section .hero-card {
  padding: 80px 40px;
  border-radius: 20px;
  overflow: hidden;

  transition: 0.4s ease;
}

/*/.cta-section .hero-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(42,241,142,0.25);
}/*/

.cta-section .btn-secondary-cta {
  background: #0b3f3f;
  border: 1px solid rgba(255,255,255,0.12);
}

.cta-section .btn-primary-cta {
  background: linear-gradient(180deg, #2af18e, #13cbc8);
  color: #000;
}

/* ============================================================
   SERVICE PAGE
   ============================================================ */
/* ======================================================
   SERVICE PAGE FINAL FIX (NO CONFLICT WITH HOMEPAGE)
   ====================================================== */

/* ======================================================
   SERVICE PAGE (NEW COMPONENT - NO CONFLICT)
   ====================================================== */


   .service-card {
  position: relative;
  overflow: hidden;
}


.service-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.2) 0%,
    rgba(0,0,0,0.6) 60%,
    rgba(0,0,0,0.85) 100%
  );

  z-index: 1;
}

.services-section-sp {
  padding: 100px 0;
  background-color: #0C0E11;
}

/* container */
.services-container-sp {
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(9, 1fr);
  /* 🔥 KEY */
  grid-auto-rows: 300px;
  gap: 24px;
}

/* layout */
/* ===== TOP ROW ===== */
/* ===== ROW 1 (2 | 4 | 3) ===== */

.card-1 {
  grid-column: 1 / span 2;
  grid-row: 1;
}

.card-2 {
  grid-column: 3 / span 4;
  grid-row: 1;
}

.card-3 {
  grid-column: 7 / span 3;
  grid-row: 1;
}

/* ===== ROW 2 (3 | 6) ===== */
.card-4 {
  grid-column: 1 / span 3;
  grid-row: 2;
}

.card-5 {
  grid-column: 4 / span 6;
  grid-row: 2;
}

/* ===== ROW 3 (5 | 4) ===== */
.card-6 {
  grid-column: 1 / span 5;
  grid-row: 3;
}

.card-7 {
  grid-column: 6 / span 4;
  grid-row: 3;
}

/* card */
.service-box {
  background: #1a1f26;
  border-radius: 18px;
  padding: 20px;

  position: relative;
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  overflow: hidden;
}

.service-box::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.2) 0%,
    rgba(0,0,0,0.3) 50%,
    rgba(0,0,0,0.85) 100%
  );

  z-index: 3;
}



/* image */
.service-box img {
  object-fit: contain;
}

.card-img1 {
  position: absolute;
  z-index: 1;
  top: 42px;
  left: 18px;
  rotate: 38deg;
  transform-origin: 50% 50%;
  width: 195px;
}



.card-circle1 {
  margin-left: -19px;
  width: 175px;
  height: 175px;
  flex-shrink: 0;
  align-self: center;
  background-color: rgba(192, 189, 249, 0.3);
  border-radius: 50%;
  filter: blur(60.9px);
}

/* ===== APP DEV CARD FIX ===== */
 
.group-group2 {
  position: absolute;
  top: 22px;
  left: 42px;
  width: calc(100% - 32px);
  max-width: 379px;
  min-height: 297px;
}

.group-ellipse {
  position: absolute;
  top: 0;
  left: 0;
  filter: blur(45px);
  width: calc(100% - 0px);
  height: 297px;
  max-width: 379px;
  background-color: rgba(189, 249, 209, 0.3);
}

.group-i-phone-151 {
  position: absolute;
  top: 17px;
  left: 63px;
  rotate: -15deg;
  transform-origin: 50% 50%;
  width: 140px;
  display: flex;
  flex-direction: column;
}

.group-group3 {
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  height: 282px;
}



/* screen-15-pro-a */

.screen-15-pro-a {
  position: absolute;
  top: 0;
  left: 0;
  width: 130px;
  background: url('/assets/servicepage/image/screen-15-pro1.png') center / cover no-repeat;
  padding: 278px 40px 3px 40px;
  border-radius: 19.18px;
}

/* end screen-15-pro-a*/


.group-i-phone-152 {
  position: absolute;
  top: 16px;
  left: 187px;
  rotate: 15deg;
  transform-origin: 50% 50%;
  width: 140px;
  display: flex;
  flex-direction: column;
}

.group-group4 {
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  min-height: 282px;
}



/* screen-15-pro-b */

.screen-15-pro-b {
  position: absolute;
  top: 0;
  left: 0;
  width: 130px;
  min-height: 282px;
  background: url('/assets/servicepage/image/screen-15-pro2.png') top left / cover no-repeat;
  border-radius: 19.18px;
}



/* home-indicator */

.home-indicator {
  position: absolute;
  top: 278px;
  left: 40px;
  width: 50px;
}

/* end home-indicator*/




/* status-bar-16-pro */

.status-bar-16-pro {
  position: absolute;
  top: 7px;
  left: 0;
  width: 130px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  padding: 0 13px;
}

.status-bar-16-pro-text {
  margin: 0 3px;
}

.status-bar-16-pro-row {
  position: relative;
  margin-bottom: -28px;
  width: 26px;
  height: 9px;
  flex-shrink: 0;
  align-self: end;
}

.status-bar-16-pro-battery {
  position: absolute;
  top: -25px;
  left: 18px;
  width: 9px;
  height: 4px;
}

.status-bar-16-pro-wifi {
  position: absolute;
  top: -25px;
  left: 10px;
  width: 6px;
  height: 4px;
}

.status-bar-16-pro-cellular {
  position: absolute;
  top: -25px;
  left: 1px;
  width: 6px;
  height: 4px;
}

/* end status-bar-16-pro*/

/* end screen-15-pro-b*/


.group-group5 {
  position: absolute;
  bottom: 20px;
  /* 🔥 key fix */
  left: 20px;
  right: 20px;
  z-index: 3;
  padding: 0;
  /* 🔥 remove huge padding */
}

.group-col1 {
  display: flex;
  flex-direction: column;
  gap: 6px;

  align-items: flex-start;
  /* left align */
}

.group-graphic1 {
  position: absolute;

  top: -90px;
  /* move up */
  left: 50%;
  transform: translateX(-50%) scale(2.5);
  /* 🔥 MAIN FIX */

  width: 350px;
  /* base size */
  max-width: none;
  /* 🔥 remove limit */

  opacity: 1;
  z-index: 1;
  pointer-events: none;
}


.card-circle2 {
  position: relative;
  top: 10px;
  left: 50px;
  filter: blur(45px);
  width: calc(100% - 0px);
  height: 297px;
  max-width: 300px;
  background-color: rgba(189, 249, 209, 0.3);
}

.group-frames {
  position: absolute;
  z-index: 1;
  top: 2px;
  left: 2px;
  right: 2px;
  height: 288px;
  border: 3px solid #000;
  border-radius: 19.18px;
}

.group-color {
  position: relative;
  z-index: 2;
  height: 292px;
  flex-shrink: 0;
/*border: 2px solid rgba(189, 184, 175, 0.62); */
  border-radius: 22.49px;
}

.group-col1 {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-img3 {
  position: absolute;
  z-index: 0;
  transform: scale(0.8);
  top: 10px;
  left: 45px;
}

.card6 h3,
.card6 p {
  position: relative;
  z-index: 10;
}
.card-circle3 {
  margin-left: -19px;
  width: 175px;
  height: 175px;
  flex-shrink: 0;
  align-self: center;
  background-color: rgba(249, 202, 189, 0.3);
  border-radius: 50%;
  filter: blur(60.9px);
}

.card-img4 {
  position: relative;
  z-index: 1;
  top: 35px;
  transform: scale(0.8);
  max-width: none;
  flex-shrink: 0;
}

.card-circle4 {
  position: absolute;
  margin-left: -9px;
  top: 30px;
  width: 175px;
  height: 175px;
  flex-shrink: 0;
  align-self: center;
  background-color: rgba(249, 220, 189, 0.6);
  transform: scale(.8);
  border-radius: 50%;
  filter: blur(60.9px);
}




.card-group-top {
  position: relative;
  margin-right: 26px;
  height: 150px;
  flex-shrink: 0;
}

.card-rect {
  position: absolute;
  transform-origin: 50% 50%;
  filter: blur(15px);
  width: 63px;
  height: 63px;
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 10px;
}

.card-graphic2 {
  position: absolute;
  top: 0;
  left: 0;
  filter: blur(60.9px);
  width: calc(100% - 0px);
  height: 127px;
  max-width: 705px;
}

.card-rect1 {
  top: 30px;
  left: 30px;
  rotate: -15deg;
}

.card-rect2 {
  top: 10px;
  left: 141px;
  rotate: 7deg;
}

.card-rect3 {
  top: 44px;
  left: 261px;
  rotate: -15deg;
}

.card-rect4 {
  top: 23px;
  left: 372px;
  rotate: 15deg;
}

.card-img5 {
  position: absolute;
  top: 10px;
  left: 465px;
  z-index: 1;
  width: 224px;
}

.card-graphic1 {
  position: absolute;
  top: 180px;
  left: 475px;
  filter: blur(11.7px);
  width: 213px;
  height: 26px;
}



.card-img6 {
  position: absolute;
  top: 0px;
  left: 130px;
  z-index: 2;
  rotate: 7deg;
  transform-origin: 50% 50%;
  width: 74px;
}


.card-img7 {
  position: absolute;
  top: 15px;
  left: 15px;
  rotate: -16deg;
  transform-origin: 50% 50%;
  width: 84px;
}

.card-img8 {
  position: absolute;
  top: 30px;
  left: 240px;
  rotate: -13deg;
  transform-origin: 50% 50%;
  width: 85px;
}

.card-img9 {
  position: absolute;
  top: 20px;
  left: 365px;
  rotate: 18deg;
  transform-origin: 50% 50%;
  width: 72px;
}

.card-img10 {
  position: absolute;
  z-index: 0;
  top: -40px;
  left: 5px;
  right: 32px;
  width: calc(100% - -20px - 32px);
}

.group-graphic3 {
  position: absolute;
  top: 40px;
  left: 123px;
  filter: blur(30px);
  width: calc(100% - 123px);
  height: 127px;
  max-width: 328px;
}

.card-img11 {
  position: absolute;
  z-index: 1;
  top: 20px;
  transform: scale(0.8);
  left: 120px;
  width: 235px;
}

.card-circle11 {
  position: relative;
  top: 10px;
  left: 100px;
  filter: blur(45px);
  width: calc(50% - 0px);
  height: 200px;
  max-width: 300px;
  background-color: rgba(189, 224, 249, 0.3);
}

/* text */
.service-box h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
  z-index: 5;
}

.service-box p {
  font-size: 14px;
  z-index: 5;
  color: #9ca3af;
}

/* ================= INDUSTRIES ================= */

.industries-section {
  position: relative;
  z-index: 10;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* card */
.industry-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;

  padding: 20px;
  border-radius: 16px;

  background: rgba(25, 29, 35, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(10px);

  transition: 0.25s ease;
}

.industry-card:hover {
  border-color: #2AF18E;
  transform: translateY(-4px);
}

/* icon */
.industry-icon {
  min-width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;

  background: linear-gradient(180deg, #2af18e33, #13cbc833);
  color: #2AF18E;
  font-size: 18px;
}

/* text */
.industry-card h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.industry-card p {
  font-size: 14px;
  color: #9ca3af;
}

/* ================= PROCESS ================= */
/* ================= SERVICE PROCESS (ISOLATED) ================= */
/* ===== LAYOUT ===== */


.svc-process-section {
  background-color: #0c0e11;
  padding: 1px 0;
  position: relative;
}

.svc-process-layout {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 80px;
  align-items: center;
}

/* LEFT IMAGE */
.svc-process-visual img {
  width: 100%;
  border-radius: 20px;
}

/* RIGHT LIST */
.svc-process-list {
  display: flex;
  flex-direction: column;
  margin-left: 40px;
  /* adjust value (40–80px) */
}

/* ===== ROW STYLE ===== */
.svc-process-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;

  padding: 24px 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.svc-process-card:last-child {
  border-bottom: none;
}

/* ===== ICON ===== */
.svc-process-icon {
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: linear-gradient(180deg,
      rgba(42, 241, 142, 0.25),
      rgba(19, 203, 200, 0.25));

  flex-shrink: 0;
}

.svc-process-icon img {
  width: 22px;
  height: 22px;
}

/* ===== CONTENT ===== */
.svc-process-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.svc-process-content h3 {
  font-size: 20px;
  font-weight: 600;
}

.svc-process-content p {
  font-size: 14px;
  color: #9ca3af;
}

/* ===== TAGS INLINE ===== */
.svc-process-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 6px;
}

/* dot + text style */
.svc-process-tags span {
  position: relative;
  font-size: 14px;
  color: #9ca3af;
  padding-left: 14px;
}

/* dot */
.svc-process-tags span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;

  width: 6px;
  height: 6px;

  background: linear-gradient(180deg, #2af18e, #13cbc8);
  border-radius: 50%;
}

/* ================= TECH SECTION ================= */

.tech-section {
  position: relative;
  z-index: 10;
}

/* GRID */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  justify-content: center;
}

/* fewer cards than the 6-column grid assumes (e.g. TV platforms) get a centered flex row instead */
.tech-grid.tech-grid-platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.tech-grid.tech-grid-platforms .journey-card-inner {
  flex: 0 1 180px;
}

/* CARD */
.tech-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 20px;
  border-radius: 16px;

  background: rgba(25, 29, 35, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(10px);

  transition: 0.25s ease;
}

.tech-card:hover {
  border-color: #2AF18E;
  transform: translateY(-4px);
}

/* ICON */
.tech-icon {
  width: 50px;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;

  background: linear-gradient(180deg, #2af18e33, #13cbc833);
  color: #2AF18E;

  font-size: 22px;
  margin-bottom: 12px;
}

/* TEXT */
.tech-card h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.tech-card p {
  font-size: 14px;
  color: #9ca3af;
}

.tech-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

/* ================= CTA (SERVICE PAGE) ================= */

.svc-cta-section {
  width: 100%;
  padding: 0 0;
}

/* container fix */
/* CARD */
.svc-cta-card {
  position: relative;

  max-width: 960px;
  margin: 0 auto;
  padding: 80px 40px;

  border-radius: 20px;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  /* ✅ BACKGROUND ONLY */
    background: linear-gradient(180deg, #0E3625, #0B3233);
}

/* ✅ BORDER (SEPARATE LAYER) */
.svc-cta-card::before {
  content: "";
  position: absolute;
  inset: 0;

  border-radius: inherit;
  padding: 1px;
  /* border thickness */

    /*background: linear-gradient(180deg, #227c4f, #0e5756); */

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);

  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
}

/* subtle background texture */
.svc-cta-card::after {
  content: "";
  position: absolute;
  inset: 0;

  background: url("/assets/servicepage/background/card-group.svg");
  background-size: cover;
  background-position: center;

  opacity: 0.04;
  pointer-events: none;
}

/* text */
.svc-cta-title {
  margin-top: 20px;
}

/* Page wrapper */
.service-page-col,
.col2.service-page {
  container: col2 / inline-size;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 245px;
  padding-bottom: 200px;
}

/* Background grid column */
.col3.service-bg {
  position: absolute;
  top: -9px;
  left: -80px;
  right: -80px;
  display: flex;
  flex-direction: column;
}

/* Grid layer opacities */
.col-top .grid1 {
  opacity: 0.8;
}

.col-top .grid2 {
  opacity: 0.4;
}

.grid3.service-grid3 {
  opacity: 0.64;
  height: 1110px;
}

.col-bottom2 .grid1 {
  opacity: 0.8;
}

.col-bottom2 .grid2 {
  opacity: 0.4;
  margin-top: -21px;
}

.title-what-we-build {
  position: relative;
  z-index: 9;
  margin: 0 auto;
  width: 90%;
  max-width: 696px;
  text-align: center;
}

/* Services showcase section */
.col4.service-col4 {
  container: col4 / inline-size;
  position: relative;
  z-index: 7;
  margin-top: 114px;
  gap: 14px;
  align-self: stretch;
  padding-top: 54px;
  padding-bottom: 159px;
}

/* Subtitle styles */
.subtitle-a {
  color: #fff;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 600;
  text-align: center;
}

.subtitle-b {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.273;
  text-align: left;
}

.subtitle-c {
  margin-top: 14px;
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  text-align: left;
}

/* Card rows */
.group1.service-group1 {
  margin-top: 83px;
  width: calc(100% - 72px);
  max-width: 1280px;
  display: flex;
  align-items: flex-start;
  gap: 19px;
  align-self: center;
  overflow: hidden;
}

.group2.service-group2 {
  margin-top: 6px;
  width: calc(100% - 72px);
  max-width: 1280px;
  display: flex;
  align-items: flex-start;
  gap: 19px;
  align-self: center;
  overflow: hidden;
}

.group3.service-group3 {
  margin-top: 6px;
  width: calc(100% - 72px);
  max-width: 1280px;
  display: flex;
  align-items: flex-start;
  gap: 19px;
  align-self: center;
  overflow: hidden;
}

/* Service visual cards */
.card4.service-card4 {
  position: relative;
  width: 276px;
  min-height: 389px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  flex-shrink: 0;
  background-color: #191d23;
  padding-top: 53px;
  border-radius: 18.71px;
  overflow: hidden;
}

.card-col-bottom.service-card-bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: #191d23;
  padding: 20px 23px 24px 23px;
  border-radius: 0 0 18.71px 18.71px;
}



/* Flexible group cards */
.group-group1.service-gg1 {
  position: relative;
  min-height: 389px;
  flex-grow: 1;
  background-color: #191d23;
  border-radius: 18.71px;
}

.group-group6.service-gg6 {
  position: relative;
  width: 355px;
  min-height: 389px;
  flex-shrink: 0;
  background-color: #191d23;
  padding-top: 174px;
  border-radius: 18.71px;
}

.group-group7.service-gg7 {
  position: relative;
  width: 64%;
  min-height: 389px;
  flex-grow: 1;
  background-color: #191d23;
  border-radius: 18.71px;
  overflow: hidden;
}

.card6.service-card6 {
  position: relative;
  width: 136%;
  min-height: 389px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex-grow: 1;
  background-color: #191d23;
  padding: 87px 23px 41px 20px;
  border-radius: 18.71px;
}

/* Frame icons */
.frame.service-frame {
  position: relative;
  height: 67px;
  flex-shrink: 0;
  background: linear-gradient(180deg, rgba(42, 241, 142, 0.2) 0%, rgba(19, 203, 200, 0.2) 100%);
  border-radius: 11.22px;
}

/* Service rows with dots */
.row-a.service-row-a {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  flex-grow: 1;
}

.row-b.service-row-b {
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.row-circle1.service-dot,
.row-circle2.service-dot {
  margin-top: 7px;
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #2af18e 0%, #13cbc8 100%);
  border-radius: 50%;
  aspect-ratio: 1/1;
}

.row-text1.service-text {
  color: var(--medium-grey);
  font-size: 14px;
}

.row-text2.service-text {
  color: var(--medium-grey);
  font-size: 14px;
}

/* Column variants */
.column-a.service-col-a {
  opacity: 0.8;
  display: flex;
  flex-direction: column;
}

.column-b.service-col-b {
  margin-top: 29px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex-shrink: 0;
}

.column-c {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.column-text1.service-label {
  margin-left: -1px;
  align-self: start;
  color: #d1d5db;
  font-size: 16px;
  font-weight: 600;
}

.column-text2.service-text2 {
  color: var(--medium-grey);
  font-size: 14px;
  text-align: left;
}

/* Service page card component */
.card-component.service-card-component {
  width: 100%;
  min-height: 129px;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  flex-grow: 1;
  background-color: #191d23;
  padding-left: 17px;
  border: 1px solid #4b5563;
  border-radius: 20px;
}

.card-component-group-left {
  position: relative;
  margin-top: 29px;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(180deg, rgba(42, 241, 142, 0.2) 0%, rgba(19, 203, 200, 0.2) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Service page header (old row15/row16) */
.row15 {
  container: row15 / inline-size;
  position: absolute;
  z-index: 45;
  top: 30px;
  left: 60px;
  right: 48px;
  margin: 0 auto;
  max-width: 1280px;
  display: flex;
  align-items: center;
  gap: 150px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.row16 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
}

/* ============================================================
   PORTFOLIO PAGE
   ============================================================ */

/* ================= PORTFOLIO HERO ================= */


.portfolio-hero {
  position: relative;
  height: 420px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  overflow: hidden;
}

/* CONTENT */
.portfolio-hero-content {
  position: relative;
  z-index: 2;
}

/* .portfolio-hero h1 {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 10px;
}

.portfolio-hero p {
  color: #d1d5db;
  font-size: 16px;
} */

.portfolio-container {
  padding: 120px 20px;
}



.portfolio-card {
  width: 100%;
  /* 🔥 FULL WIDTH */
  background: #191d23;
  border-radius: 20px;
  padding: 30px;
}

.portfolio-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.portfolio-title {
  font-size: 22px;
  font-weight: 600;
}

/* ===== PORTFOLIO CLEAN SYSTEM ===== */

.portfolio-projects {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* CARD */
.portfolio-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  /* match design width */
  background: #191d23;
  border-radius: 20px;
  padding: 30px;

  align-items: center;
}

/* REVERSE CARD */
.portfolio-card.reverse .portfolio-image {
  order: 2;
}

/* IMAGE */
.portfolio-image img {
  width: 100%;
  max-width: 420px;
  display: block;
}


.portfolio-card.reverse .portfolio-image {
  margin-left: auto;
  /* 🔥 pushes image to right */
}


/* CONTENT */
.portfolio-content h3 {
  font-size: 22px;
  margin-bottom: 5px;
}

.portfolio-content h4 {
  font-size: 16px;
  color: #9ca3af;
  margin-bottom: 15px;
}

.portfolio-content p {
  color: #d1d5db;
  margin-bottom: 20px;
}

/* INFO BOX */
.portfolio-info {
  background: #262c35;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 20px;
}

.portfolio-info div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.portfolio-info span {
  color: #9ca3af;
}

/* ACTIONS */
.portfolio-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.available {
  color: #2af18e;
  font-weight: 500;
}

/* Background grid layers for portfolio */
.portfolio-bg-col,
.col2.portfolio-col2 {
  position: absolute;
  top: -9px;
  left: -80px;
  right: -80px;
  display: flex;
  flex-direction: column;
}

.portfolio-bg-inner,
.col3.portfolio-col3 {
  opacity: 0.8;
  display: flex;
  flex-direction: column;
}

.portfolio-bg-footer,
.footer1 {
  position: relative;
  opacity: 0.64;
  height: 475px;
  flex-shrink: 0;
  background-color: #090b0e;
  overflow: hidden;
}

.footer-grid-layers {
  position: absolute;
  top: -279px;
  left: -84px;
  right: -323px;
  width: calc(100% + 407px);
  max-width: none;
}

/* Page title */
.title-our-work {
  position: relative;
  z-index: 4;
  margin: 0 auto;
  width: 90%;
  max-width: 696px;
  align-self: center;
  text-align: center;
}

.text-apps-we-ve-built {
  position: relative;
  z-index: 5;
  margin: 0 auto;
  width: 90%;
  max-width: 759px;
  align-self: center;
  text-align: center;
  color: var(--medium-grey);
  font-size: 16px;
}

/* Portfolio project cards container */
.portfolio-projects,
.col4.portfolio-col4 {
  container: col-top / inline-size;
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  background-color: #0c0e11;
  padding: 125px 60px 124px 60px;
}

/* Individual project card */
.portfolio-project-card,
.col-top.portfolio-top {
  container: col-top / inline-size;
  position: relative;
  width: 100%;
  max-width: 1280px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 11px;
  background-color: #191d23;
  padding: 54px 15px 33px 15px;
  border-radius: 20px;
}

.col-bottom.portfolio-bottom {
  container: col-top / inline-size;
  position: relative;
  width: 100%;
  max-width: 1280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  background-color: #191d23;
  padding: 36px 22px 50px 22px;
  border-radius: 20px;
}

/* Project title / name tag */
.row-row-qdrome {
  font-size: 22px;
  font-weight: 600;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.row-top1.portfolio-row-top1 {
  gap: 19px;
}

.row-top1.portfolio-row-top1 .row-row-qdrome {
  background-image: linear-gradient(0deg, #cf410d 0%, #ffcfc1 100%);
}

.row-top1.portfolio-row-top1 .row-subtitle {
  margin-right: -2px;
  margin-top: -5px;
  color: var(--light-grey);
}

.row-top2.portfolio-row-top2 {
  margin-left: 2px;
  gap: 10px;
}

.row-top2.portfolio-row-top2 .row-row-qdrome {
  background-image: linear-gradient(180deg, #fff 0%, #292398 100%);
}

/* Project mockup images */
.frame1 {
  position: absolute;
  top: 28px;
  right: 675px;
  width: calc(100% - 590px);
  max-width: 546px;
}

.frame2 {
  position: absolute;
  top: 28px;
  left: 675px;
  width: calc(100% - 592px);
  max-width: 546px;
}

/* Project metadata card */
.card.portfolio-card {
  container: card1 / inline-size;
  width: 100%;
  max-width: 546px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background-color: #262c35;
  padding: 21px 21px 34px 20px;
  border-radius: 20px;
}

.card1.portfolio-card1 {
  margin: 20px 9px 0 0;
}

.card2.portfolio-card2 {}

.row-b.portfolio-row-b {
  margin-right: 7px;
  margin-top: 1px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  align-self: stretch;
}

.row-text1.portfolio {
  color: var(--light-grey);
  font-size: 16px;
  font-weight: 600;
}

.row-text2.portfolio {
  color: var(--medium-grey);
  font-size: 16px;
  font-weight: 400;
  text-align: right;
}

.card-line {
  width: 100%;
  height: 0;
  max-width: 505px;
  flex-shrink: 0;
  border-top: 1px solid #37475b;
}

/* Available label */
.available {
  font-size: 16px;
  font-weight: 600;
  background: linear-gradient(180deg, #2af18e 0%, #13cbc8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.row-bottom1.portfolio {
  margin-right: 53px;
  margin-top: 15px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.row-bottom2.portfolio {
  margin-left: 20px;
  margin-top: 29px;
  display: flex;
  align-items: flex-start;
  gap: 50px;
}

.text-soon-to-be {
  color: var(--light-grey);
  text-align: left;
  font-weight: 600;
}

/* Portfolio image thumbnails */
.img.portfolio-img {
  box-shadow: 0 0 4px 0 rgba(183, 183, 183, 0.1);
  margin-bottom: -12px;
  width: 161px;
  flex-shrink: 0;
  border-radius: 10px;
}

.img1.portfolio-img1 {
  margin-left: 31px;
}

/* Blurred hero background image */
.img2.portfolio-bg {
  position: absolute;
  top: -95px;
  left: 50%;
  translate: -50% 0;
  filter: blur(60px);
  width: calc(100% - 32px);
  max-width: 784px;
  border-radius: 50%;
}

/* Portfolio CTA card */
.card3.portfolio-cta {
  position: relative;
  z-index: 7;
  margin: 90px auto 0 auto;
  width: 90%;
  max-width: 964px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
    background: linear-gradient(180deg, #0E3625, #0B3233),
    linear-gradient(180deg, #2af18e 0%, #13cbc8 100%) border-box;
  border: 1px solid transparent;
  padding-top: 30px;
  padding-bottom: 65px;
  border-radius: 20px;
}

.card-group {
  position: absolute;
  top: 193px;
  left: 0;
  right: 0;
  height: 294px;
}

.card-text-let-s-transform {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--light-grey);
}

.card-frame-bottom.portfolio-cta-btn {
  position: relative;
  z-index: 2;
  margin-top: 74px;
  background: linear-gradient(180deg, #2af18e 0%, #13cbc8 100%);
  padding: 19px 20px 19px 48px;
  border-radius: 12px;
  cursor: pointer;
}

.card-text-let-s-build {
  margin-left: auto;
  color: #000;
  text-align: center;
  font-weight: 600;
}

/* Portfolio header (nav at top) — old structure row4/row5 mapped to main-header */
.row4.portfolio-header {
  container: row4 / inline-size;
  position: absolute;
  z-index: 45;
  top: 30px;
  left: 60px;
  right: 48px;
  margin: 0 auto;
  max-width: 1280px;
  display: flex;
  align-items: center;
  gap: 150px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.row5.portfolio-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-section {
  padding: 120px 20px;
}

/* ================= CONTACT PAGE ================= */

.contact-page {
  padding-top: 60px;
  position: relative;
  z-index: 1;
}

.contact-page .global-grid {
  position: absolute;
  z-index: -1;
}

.contact-page section {
  position: relative;
  z-index: 1;
  isolation: isolate;
}

/* HERO */
.contact-hero {
  text-align: center;
  max-width: 700px;
  margin: 80px auto 80px;
}

/* BOX */
.contact-box {
  margin: auto;
  padding: 50px;
  background: #11151a;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* GRID */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;

  max-width: 1000px;
  margin: 50px auto 0 auto;
}

/* ================= LEFT ================= */

.contact-left {
  background: linear-gradient(180deg, #1c222b, #191d23);
  padding: 30px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.4);
}

/* HEADER */
.form-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.form-header h3 {
  font-size: 18px;
  font-weight: 600;
}

.form-icon {
  width: 26px;
  height: 26px;
}

/* SUBTEXT */
.form-subtext {
  text-align: center;
  color: #9ca3af;
  font-size: 14px;
  margin-top: 8px;
}

/* CALENDAR EMBED (Google Calendar scheduling iframe needs a light backdrop) */
.calendar-embed {
  margin-top: 24px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.calendar-embed iframe {
  display: block;
  width: 100%;
  border: 0;
}

/* FORM */
.contact-form {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ROW */
.form-row {
  display: flex;
  gap: 20px;
}

/* GROUP */
.form-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  color: #9ca3af;
}

/* INPUTS */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: #2f3742;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 14px;
  transition: 0.25s ease;
}

.contact-form textarea {
  min-height: 120px;
  resize: none;
}

/* PLACEHOLDER */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #6b7280;
}

/* FOCUS */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #2af18e;
  box-shadow: 0 0 0 1px rgba(42, 241, 142, 0.2);
}

/* BUTTON */
.form-btn {
  margin-top: 10px;
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(90deg, #2af18e, #13cbc8);
  color: #000;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
}

.form-btn:hover {
  filter: brightness(1.1);
}

/* ================= RIGHT ================= */

.contact-right {
  background: #191d23;
  padding: 40px;
  border-radius: 20px;

  display: flex;
  flex-direction: column;
  gap: 20px;

  height: auto; /* ✅ FIXED */

  align-items: flex-start;
  text-align: left;
}

/* HEADER */
.form-header2 {
  width: 100%;

  display: flex;              /* 🔥 make row */
  align-items: center;        /* vertical align */
  justify-content: center;    /* center both */

  gap: 10px;                  /* space between icon & text */
  text-align: left;           /* prevent weird centering */
}
/* CONTACT LIST */
.contact-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ITEM */
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* TEXT */
.label {
  font-size: 14px;
  color: #9ca3af;
}

.value {
  font-size: 15px;
  color: #2af18e;
}

/* ICON */
.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(42, 241, 142, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================= MAP ================= */

.contact-map {
  flex: 1;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 220px;
  border: 0;
}

/* ================= WHY ================= */

.why-work {
  margin: 120px auto;
  text-align: center;
}

/* 🔥 FORCE CONTENT ABOVE ALL BACKGROUNDS */
.why-section,
.why-work-section,
.why-container {
  position: relative;
  z-index: 5;
}

.why-card {
  margin-top: 40px;
  max-width: 700px;
  margin-inline: auto;
  padding: 40px;
  border-radius: 20px;

  background: 
    linear-gradient(#0E3625, #0B3233) padding-box,
    linear-gradient(180deg, #2af18e, #13cbc8) border-box;

  border: 1px solid transparent;
}
.why-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  text-align: left;
}

/* ===== ACCORDION FIX ===== */

.faq {
  margin: 80px auto;
  align-items: center;
  background-color: #0c0e11;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  /* 👈 THIS centers the container */
  align-items: center;
  /* centers everything horizontally */

  /* centers the heading text */
  justify-content: center;
  padding: 80px 20px;
  /* vertical breathing space */
}

.faq-title {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 40px;
  text-align: center;
  /* 👈 GAP between title and accordion */
}

/* card */
.faq-item {
  background: #262c35;
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: 0.3s ease;
}

/* header */
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  cursor: pointer;

  background: #191d23;
  border-radius: 12px;

  font-weight: 600;
  color: #2af18e;
}

/* chevron */
.faq-q::after {
  content: "⌄";
  font-size: 14px;
  background: #343f4d;
  padding: 1px 6px;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

/* rotate */
.faq-item.active .faq-q::after {
  transform: rotate(180deg);
}

/* answer */
.faq-a {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 18px;

  color: #9ca3af;
  font-size: 14px;

  transition: all 0.3s ease;
}

/* open state */
.faq-item.active .faq-a {
  max-height: 200px;
  opacity: 1;
  padding: 14px 18px 18px;
}

/* ============================================================
   FOOTER
   ============================================================ */

   
.footer {
  position: relative;
  background: #080a0c;
  padding: 60px 0 20px;
  z-index: 5;
  margin-top: 100px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-text {
  color: var(--medium-grey);
  font-size: 14px;
}

/* ============================================================
   16. FOOTER (full version from dqi-homepage)
   ============================================================ */

.footer-main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.footer-col-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo-white {
  width: 180px;
  height: auto;
}

.footer-description {
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.6;
}

.footer-follow-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-subtitle {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.footer-social-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-icon-link img,
.footer-social-icons img {
  width: 32px;
  height: 32px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #2af18e;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-contact-item p {
  color: #9ca3af;
  font-size: 14px;
}

.footer-contact-item a {
  color: #9ca3af;
  text-decoration: none;
}

.highlight-text {
  color: #2af18e;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-line {
  border: none;
  border-top: 1px solid #1f2937;
  margin: 40px auto 20px;
  max-width: 1280px;
  padding: 0 48px;
}

.footer-text-bottom {
  text-align: center;
  color: #6b7280;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

/* ============================================================
   UTILITIES
   ============================================================ */

.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mt-40 {
  margin-top: 40px;
}

.social-icon-link img,
.social-icon-link svg {
  transition: transform 0.2s ease, filter 0.2s ease;
}

/* brighten (for icons where it works) */
.social-icon-link:hover img,
.social-icon-link:hover svg {
  filter: brightness(1.2);
}

/* scale effect (visible for GitHub) */
.social-icon-link:hover {
  transform: scale(1.1);
}
/* ============================================================
   11. UTILITIES
   ============================================================ */

/* your existing code */


/* ============================================================
   12. HOMEPAGE FIXES (ADD THIS BELOW)
   ============================================================ */

/* ============================================================
   RESPONSIVE
   ============================================================ */


@media (max-width: 768px) {

  .container {
    padding: 0 16px;
  }

  .heading1 {
    font-size: 30px;
    line-height: 1.3;
  }

  .heading2 {
    font-size: 22px;
  }

}

@media (max-width: 768px) {

  .services-mobile h2 {
    font-size: 24px;   /* heading */
  }

  .service-card-m h3 {
    font-size: 18px;   /* card title */
  }

  .service-card-m p {
    font-size: 14px;   /* description */
  }

}

.service-card-m h3 {
  font-size: clamp(16px, 4vw, 18px);
}

.service-card-m p {
  font-size: clamp(13px, 3.5vw, 14px);
}

@media (max-width: 768px) {
  .heading2 {
    font-size: 26px;
  }
}


@media (max-width: 1200px) {
  .main-header {
    gap: 20px;
    padding: 0 20px;   /* equal left & right */
  }

  .logo-white {
    width: 200px;
  }

  .liquid-nav {
    flex-wrap: wrap;
    justify-content: center;
    margin-right: 20px;
  }

  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    padding: 0 24px;
  }
}

@media (max-width: 1100px) {
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {

  .process-section,
  .col9 {
    padding: 0px 16px;
  }

  .col-top2 {
    margin-left: 0;
    margin-right: 0;
  }


  .row-top5,
  .row-bottom7 {
    position: static;
    min-height: unset;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stratergy,
  .discovery,
  .development,
  .launch {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    max-width: none;
  }

  .stratergy-group1,
  .discovery-group1,
  .development-group1,
  .launch-group1 {
    margin: 0;
    padding: 0;
    min-height: 266px;
    height: auto;
    width: 100%;
  }

  .stratergy-group2,
  .discovery-group2,
  .development-group2,
  .launch-group2 {
    width: 100%;
    height: 100%;
  }

  .rect-a,
  .rect-b {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .text-b,
  .discovery-text1 {
    position: absolute;
    inset: 0;
    width: auto;
    margin: 0;
    padding: 20px;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
  }

  .text-c,
  .text-d,
  .discovery-text2,
  .discovery-text-we-dive-deep {
    width: 100%;
    text-align: left;
  }

  .text-c {
    font-size: 26px;
    font-weight: 600;
  }

  .services-row,
  .services-row-secondary {
    flex-direction: column;
  }

  .service-card--mobile {
    width: 100%;
  }

  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1024px) {
  .services-container-sp {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-box {
    grid-column: span 1 !important;
  }
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  .industries-grid {
    grid-template-columns: 1fr;
  }
}

  .main-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
    top: 16px;
  }

  .liquid-nav {
    margin-right: 0;
  }


  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }



@media (max-width: 640px) {
  .nav-item {
    padding: 8px 14px;
    font-size: 14px;
  }

  .btn-secondary-cta,
  .btn-cta {
    width: 100%;
  }

  .platform-list {
    gap: 10px;
  }

  .platform-divider {
    display: none;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* About responsive */
@container col1 (width < 1185px) {
  .row5.about-row5 {
    flex-direction: column;
    align-items: center;
    gap: 21px;
  }

  .row5.about-row5>* {
    margin-left: unset !important;
    margin-top: unset !important;
  }

  .about-mission-card {
    width: 100%;
    max-width: 377px;
  }

  .about-col-left,
  .about-col-right {
    align-items: center;
  }
}

@container col1 (width < 1159px) {
  .about-values-row {
    flex-direction: column;
    align-items: center;
    gap: 26px;
  }

  .about-values-row>* {
    width: 100%;
  }
}

@container col1 (width < 734px) {
  .about-journey-row {
    flex-direction: column;
    align-items: center;
    gap: 31px;
  }

  .about-journey-row>* {
    width: 100%;
    max-width: 310px;
  }
}

@container card2 (width < 341px) {
  .card-row-bottom {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
}

/* Service responsive */
@container col4 (width < 668px) {
  .group1.service-group1 {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
}

@container col4 (width < 791px) {
  .group2.service-group2 {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
}

@container col4 (width < 1159px) {
  .group3.service-group3 {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
}

@container col2 (width < 1160px) {
  .row1.service-row1 {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
}

@container body (width < 969px) {
  .row15 {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .row15>.row16 {
    width: 100%;
  }
}

@container row15 (width < 558px) {
  .row16 {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .row16>.liquid-nav {
    width: 100%;
    max-width: 429px;
  }
}

/* Portfolio responsive */
@container col-top (width < 552px) {
  .row-a.portfolio-row-a {
    flex-direction: column;
    align-items: center;
    gap: 13px;
  }
}

@container col-top (width < 533px) {
  .row-bottom1.portfolio {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
}

@container body (width < 969px) {
  .row4.portfolio-header {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .row4.portfolio-header>.row5.portfolio-nav {
    width: 100%;
  }
}

/* 🔥 BASE LOOP ANIMATION */
@keyframes iconWave {
  0%   { transform: translateY(0px) rotate(var(--r, 0deg)); }
  50%  { transform: translateY(-20px) rotate(var(--r, 0deg)); }
  100% { transform: translateY(0px) rotate(var(--r, 0deg)); }
}

.icon-box {
  animation: iconWave 2s ease-in-out infinite;
}

.icon-box {
  --r: 0deg;
  transform: rotate(var(--r)); /* static tilt only */
}

.icon-box:nth-child(1) { animation-delay: 0s; }
.icon-box:nth-child(2) { animation-delay: 0.15s; }
.icon-box:nth-child(3) { animation-delay: 0.3s; }
.icon-box:nth-child(4) { animation-delay: 0.45s; }

.icon-box:nth-child(5) { animation-delay: 0.6s; }
.icon-box:nth-child(6) { animation-delay: 0.75s; }
.icon-box:nth-child(7) { animation-delay: 0.9s; }
.icon-box:nth-child(8) { animation-delay: 1.05s; }

.icon-box:nth-child(2),
.icon-box:nth-child(6) {
  --r: -8deg;
}

.icon-box:nth-child(3),
.icon-box:nth-child(7) {
  --r: 6deg;
}

.icon-box:nth-child(4),
.icon-box:nth-child(8) {
  --r: -5deg;
}

/* ================= MOBILE FIX ================= */


@media (max-width: 480px) {

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    height: 100%;
    background-image: url(../assets/common/shapes/section.svg);
    background: url(../assets/common/shapes/section.svg) no-repeat center;
    background-size: 150%;
}
  .hero-bg .section {
    width: 100%;        /* match your design spread */
    position: absolute;
    top: 200px;
  }

}


@media (max-width: 768px) {

.hero-grid {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1280px;
    z-index: 0;
    pointer-events: none;
}

  .hero-grid img {
    width: 140%;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    top: -20px;
    opacity: 0.2;
  }

}



@media (max-width: 768px) {


  @media (max-width: 768px) {

  .hero-section {
    height: auto;
    padding-top: 100px;   /* adjust top spacing */
    padding-bottom: 40px; /* reduce bottom space */
  }

}
  
  /* HERO TEXT FIX */
  .hero-text {
    position: relative;   /* ❌ remove absolute */
    left: auto;
    right: auto;
    margin: 120px auto 40px;
    padding: 0 16px;
    width: 100%;
  }

  .hero-content {
    margin: 0 auto;
    gap: 16px;
  }

  .title-software {
    font-size: 28px;
    line-height: 1.3;
  }

  /* PLATFORM LIST STACK */
  .platform-list {
    gap: 10px;
  }

  .platform-divider {
    display: none; /* cleaner mobile */
  }


  .hero-actions {
    display: flex;
    flex-direction: row;     /* 🔥 change this */
    gap: 12px;
  }

@media (max-width: 768px) {

  .hero-actions {
    display: flex;
    gap: 10px;
  }

  .hero-actions a {
    flex: 1;
    text-align: center;

    white-space: nowrap;   /* 🔥 key */
    font-size: 14px;
  }

}

}

@media (max-width: 768px) {

  .floating-features {
    display: none;
    position: relative;
    top: 140px;
    left: auto;
    transform: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    min-height: auto;
  }

  .feature-badge {
    transform: none;
  }

}


/* ================================
   HOMEPAGE SERVICES FIX ONLY
================================ */

/* Hide homepage mobile by default */
.services-mobile-home {
  display: none;
}

/* Show homepage mobile only on mobile */
@media (max-width: 768px) {

  .services-mobile-home {
    display: block !important;
  }

  .services-section {
    display: none;
  }

  .services-mobile-page {
    display: none;
  }
}

  .services-mobile-page {
    display: none;
  }

/* ================================
   HOMEPAGE SERVICES MOBILE ONLY
================================ */

@media (max-width: 768px) {

  /* MAIN WRAPPER */
  .services-mobile-home {
    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 40px 16px;
    text-align: center;
  }

  .services-mobile-home .btn-top {
    margin-bottom: 16px;
  }

  .services-mobile-home .section-title {
    font-size: 32px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .services-mobile-home .text-body {
    margin: 10px 0;
    line-height: 1.6;
  }

  .services-mobile-home .services-tabs {
    margin: 30px 0 32px;
  }

  /* 🔥 SCROLL */
  .services-mobile-home .services-scroll {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;

    overflow-x: auto;
    overflow-y: hidden;

    width: 100%;
    padding: 0 16px;

    justify-content: flex-start;
    scroll-snap-type: x mandatory;

        /* 🔥 FADE EFFECT */
    -webkit-mask-image: linear-gradient(
      to right,
      transparent,
      black 5%,
      black 95%,
      transparent
    );
    mask-image: linear-gradient(
      to right,
      transparent,
      black 5%,
      black 95%,
      transparent
    );
  
  }

  

  .services-mobile-home .services-scroll::before,
  .services-mobile-home .services-scroll::after {
    content: "";
    min-width: 8px;
  }

  /* 🔥 CARD */
  .services-mobile-home .service-card-mobile {
    min-width: 280px;
    max-width: 280px;
    flex-shrink: 0;

    scroll-snap-align: start;

    display: flex;
    flex-direction: column;
    gap: 16px;

    padding: 20px;
    border-radius: 20px;

    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,255,163,0.2);

    transition: opacity 0.3s ease;
  }

  /* ICON */
  .services-mobile-home .service-card-mobile object {
    width: 28px;
    height: 28px;
  }

  /* TITLE */
  .services-mobile-home .service-card-mobile h3 {
    font-size: 18px;
    font-weight: 600;
  }

  /* LIST */
  .services-mobile-home .service-card-mobile ul {
    font-size: 14px;
    color: #aaa;
    padding-left: 16px;
  }

}

/* ================================
   GLOBAL (SAFE)
================================ */

.services-mobile-home .services-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.services-mobile-home .tab {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #aaa;
  font-size: 14px;
  border: none;
}

.services-mobile-home .tab.active {
  background: #206a4f;
  color: #fff;
}

.services-mobile-home .services-scroll::-webkit-scrollbar {
  display: none;
}


/* ================= PROCESS MOBILE (CLEAN) ================= */

/* DESKTOP */
.process-graphic-mobile {
  display: none;
}

/* MOBILE */
@media (max-width: 768px) {

  .process-graphic {
    display: none !important; /* hide desktop SVG */
  }

  .process-graphic-mobile {
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 260px; /* 🔥 adjust based on design */
    pointer-events: none;
    z-index: 0;
  }

}


.development-graphic {
  display: block;
}

.process-card img,
.process-card object {
  display: block;
}

@media (max-width: 768px) {

  .process-section {
    padding: 0px 16px;
    margin-top: 60px;
    margin-bottom: 20px;

  }

  .col10 {
    width: 100%;
    height: auto;
    position: relative;
  }


  /* RESET CARDS */
  .discovery,
  .strategy,
  .stratergy,
  .development,
  .launch {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;

    margin: 40px auto;
    width: 100%;
    max-width: 400px;
    z-index: 1;
  }

  /* CARD SIZE */
  .discovery-group1,
  .strategy-group1,
  .stratergy-group1
  .development-group1,
  .launch-group1 {
    width: 100%;
    min-height: 220px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* ICON CENTER */
  .discovery-group,
  .strategy-graphic,
  .stratergy-graphic
  .development-graphic,
  .launch-graphic {
    position: absolute;
    top: 18px;
    left: 50%;
    width: 44px;
  }

  /* TEXT */
  .text-b {
    padding: 80px 20px 28px;
    text-align: center;
    align-items: center;
    gap: 8px;
  }

  .text-c {
    font-size: 26px;
    font-weight: 600;
    background: linear-gradient(180deg, #ffffff 0%, #cfd8dc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .text-d {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.6;
  }

  /* 🔥 KEEP BACKGROUND CONSISTENT */
  .discovery-group2,
  .strategy-group2
  .stratergy-group2,
  .development-group2,
  .launch-group2 {
    background-position: center;
    background-size: cover;
  }

  /* 🔥 FIX ONLY STRATEGY TOP DARK (WITHOUT BREAKING BOTTOM) */
  .strategy-group2::before,
  .stratergy-group2::before {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.85) 0%,
      rgba(0,0,0,0.4) 25%,
      transparent 45%
    );
    pointer-events: none;
  }



}


/* ================= STRATEGY FIX (NO HTML CHANGE) ================= */

@media (max-width: 768px) {

  .stratergy .rect-b,
  .strategy .rect-b {
    background: linear-gradient(
      180deg,
      transparent 65%,
      rgba(0,0,0,0.6) 85%,
      #000 100%
    ) !important;
  }

}

@media (max-width: 768px) {

  /* ✅ Treat stratergy same as strategy */
  .stratergy-group1 {
    width: 100%;
    min-height: 220px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .stratergy-group2 {
    background-position: center !important;
    background-size: cover;
    position: absolute;
    inset: 0;
    border-radius: 16px;
  }

  /* ✅ FIX ICON CENTER */
  .stratergy-graphic {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
  }

  /* ✅ FIX TEXT ALIGN */
  .stratergy .text-b {
    padding: 80px 20px 28px !important;
    text-align: center;
    align-items: center;
    gap: 8px;
  }

  /* 🔥 REMOVE TOP DARK (WITHOUT BREAKING BOTTOM) */
  .stratergy-group2::before {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    pointer-events: none;
  }

}

/* ================= FIX TOP DARK BAND ================= */
@media (max-width: 768px) {

  .process-section .rect-b {
    background: linear-gradient(
      180deg,
      transparent 50%,   /* 🔥 push gradient down */
      rgba(0,0,0,0.4) 75%,
      #000 100%
    ) !important;
  }

}
/* ================= FORCE CENTER ALIGN (MOBILE) ================= */
@media (max-width: 768px) {

  /* override ALL text wrappers */
  .process-section .text-b {
    text-align: center !important;
    align-items: center !important;
  }

  /* force paragraph alignment */
  .process-section .text-c,
  .process-section .text-d {
    text-align: center !important;
  }

}

@media (max-width: 768px) {

  .hero-card {
    margin: 20px 16px;
    padding: 40px 20px;
    border-radius: 20px;

    display: flex;
    flex-direction: column;
    gap: 20px;

    text-align: center;
  }


    .card-subtitle {
    margin-top: 0;
    font-size: 22px;
    line-height: 1.4;
  }

  .card-col {
    position: static; /* 🔥 remove absolute */
    padding: 0;
    gap: 20px;
    align-items: center;
  }

}


/* ================= MOBILE FOOTER ================= */


@media (max-width: 768px) {

  .footer-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-col-info {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
  }

  .footer-text-bottom {
        text-align: center;
        color: #6b7280;
        padding-left: 34px;
        padding-right: 34px;
    }

}


@media (max-width: 768px) {

  .footer-col-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* hide follow in top */
  .footer-col-info .footer-follow-section {
    display: none;
  }

  /* show follow in bottom row */
  .footer-col:nth-child(4)::after {
    content: "";
    display: block;
    margin-top: 16px;
  }

}

@media (min-width: 769px) {

  .footer-col-info,
  .footer-col {
    grid-column: auto !important;
  }

}


/* ================= MOBILE NAV ================= */

.mobile-menu {
  display: none;   /* 🔥 hide by default */
}

.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: #0B706E;
  z-index: 1001;
}

/* MOBILE ONLY */

@media (max-width: 768px) {

  .mobile-menu {
    display: flex; /* show only on mobile */
  }

}

@media (max-width: 768px) {
  .btn-cta {
    display: none;
  }
}

@media (max-width: 768px) {

  .liquid-nav {
    display: none; /* hide desktop nav */
  }

  .menu-toggle {
    display: block;
  }


  /* DEFAULT (desktop) */
.mobile-menu {
  display: none;
}

.mobile-menu {
  box-shadow: -10px 0 40px rgba(0,0,0,0.6);
}


@media (max-width: 768px) {

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;              /* 🔥 anchor to right */
  width: 100%;            /* or 300px */ 
  height: 100vh;
  gap: 30px;
  background: #0C231D;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  z-index: 9999;

  /* 🔥 START OFF SCREEN */
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;

  transition: 
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.25s ease,
    visibility 0.25s;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: flex;
  flex-direction: column;

  justify-content: flex-start; /* ✅ FIX */
  align-items: center;

  padding-top: 120px; /* space from top */
  gap: 24px;

  height: 100vh;
  overflow-y: auto; /* ✅ CRITICAL */
}


/* ✅ ACTIVE STATE */
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);

  opacity: 0;
  visibility: hidden;

  transition: 0.3s ease;
  z-index: 9998;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

}

  .mobile-menu a {
    font-size: 20px;
    color: #ccc;
    text-decoration: none;
  }

  .mobile-menu button {
  width: 60%;
  max-width: 260px;
  padding: 16px;
  border-radius: 12px;
  background: #054646;
  color: #fff;
  font-weight: 600;

  border: none;
}

  .mobile-menu a.active {
    width: 60%;
    max-width: 260px;
    background: linear-gradient(180deg, rgb(36 173 106 / 95%) 0%, rgb(26 112 112 / 95%) 70%);
    border: 1px solid rgb(161 157 157 / 45%);
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 30px rgba(0, 0, 0, 0.28);
    padding: 12px;
    border-radius: 12px;
    color: #000;
  }
}

  .close-menu {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 24px;
    cursor: pointer;
  }

  

  @media (max-width: 480px) {

  .hero-section::before {
    content: "";
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);

    width: 320px;
    height: 320px;
    min-height: 590px;

    padding-bottom: 80px;

    background: radial-gradient(
      circle,
      rgba(42, 241, 142, 0.25),
      transparent 70%
    );

    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
  }

}


  @media (max-width: 480px) {

  .floating-features {
    display: none;
    top: 80px;   /* 🔥 adjust: try 60–120 */
  }

}


  @media (max-width: 480px) {

  .floating-features {
    top: auto; /* adjust based on your hero */
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    width: 100%;
    max-width: 412px;
  }

  .feature-badge {
    font-size: 10px;
    padding: 5px 10px;
    gap: 6px;
  }

  /* 🔥 RESET ALL POSITIONS FIRST */
  .feature-1,
  .feature-2,
  .feature-3,
  .feature-4,
  .feature-5 {
    transform: none;
  }

  /* 🔥 REPOSITION LIKE YOUR DESIGN */

  .feature-1 {
    top: -45px;
    left: 10px;
    transform: rotate(12deg);
  }

  .feature-4 {
    top: -45px;
    right: 10px;
    left: auto;
    transform: rotate(-12deg);
  }

  .feature-2 {
    top: 250px;
    left: 10px;
    transform: rotate(-10deg);
  }

  .feature-5 {
    top: 250px;
    right: 10px;
    left: auto;
    transform: rotate(10deg);
  }

  .feature-3 {
    top: 300px;
    left: 50%;
    transform: translateX(-50%) rotate(4deg);
  }

}

@media (max-width: 480px) {
  .hero-text {
    position: absolute;
    left: auto;
    right: auto;
    margin: 120px auto 0;
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .img,
  .img-circle1,
  .img-circle2,
  .img-circle3,
  .img-circle4,
  .img-circle5,
  .img-circle6 {
    opacity: 0.3;
    z-index: -1;
  }
}



/* ============================================================
   MOBILE ABOUT PAGE (CLEAN + FIXED)
   ============================================================ */

@media (max-width: 768px) {

  /* ================= GLOBAL ================= */
  section {
    padding: 60px 20px 0px 20px !important;
  }

  .container {
    padding: 0 16px;
  }

  /* ================= HERO ================= */

  .hero {
    padding: 140px 16px 60px !important;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.2;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-glow {
    width: 450px;
    height: 450px;
    top: 100px;
    filter: blur(100px);
    opacity: 0.5;
  }

  /* ================= MISSION ================= */

  .bento-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mission-card.featured,
  .mission-card.small {
    grid-column: span 1 !important;
    grid-row: auto !important;
  }

  .mission-card {
    padding: 24px;
    border-radius: 20px;
  }

  .mission-card h3 {
    font-size: 24px;
  }

  .mission-card p {
    font-size: 14px;
  }

  .card-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
  }

  /* ================= VALUES ================= */

  .section-header {
    margin-bottom: 40px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .section-header p {
    font-size: 14px;
  }

  .values-list {
    gap: 16px;
  }

  .value-card {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: 18px;
  }

  .value-card.reverse {
    flex-direction: column !important;
  }

  .value-icon-wrapper {
    width: 60px;
    height: 60px;
  }

  .value-content h4 {
    font-size: 20px;
  }

  .value-content p {
    font-size: 14px;
  }

  /* 🔥 FIX: remove ugly floating number */
  .value-number {
    position: static;
    font-size: 12px;
    opacity: 0.5;
    margin-top: 8px;
  }

  /* ================= JOURNEY ================= */

  .timeline {
    max-width: 100%;
    padding-left: 10px;
  }

  /* 🔥 FIX: proper left aligned timeline */
  .timeline-line {
    transform: none;
  }

  .timeline-item {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 40px;
  }

  .timeline-item.reverse {
    flex-direction: row;
  }

  .timeline-marker {
    width: 60px;
    height: 60px;
  }

  .marker-circle span {
    font-size: 14px;
  }

  .timeline-content {
    width: 100%;
    text-align: left;
  }

  .timeline-content.align-right {
    text-align: left;
  }

  .timeline-card {
    padding: 18px;
    border-radius: 14px;
  }

  .timeline-card h3 {
    font-size: 18px;
  }

  .timeline-card p {
    font-size: 14px;
  }

  /* ================= CTA ================= */

  .cta-section .hero-card {
    width: 100%;
    margin: 0 auto;

    padding: 32px 20px;
    border-radius: 18px;

    text-align: center;
    box-shadow: none;
    border: none;
  }

  .cta-content h2 {
    font-size: 24px;
  }

  .cta-content p {
    font-size: 14px;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .cta-buttons a {
    width: 100%;
    text-align: center;
  }

}

@media (max-width: 768px) {

  .cta-section h2 {
    font-size: 22px;
    margin-top: 20px;
  }

  .cta-section p {
    font-size: 14px;
    line-height: 1.5;
    font-color:var(--light-grey);
    margin: 0 auto;
  }

}

@media (max-width: 768px) {

  .hero-actions {
    display: flex;
    flex-direction: row;   /* 🔥 key fix */
    gap: 12px;

    justify-content: center;
    margin-top: 60px;
  }

}

@media (max-width: 768px) {

  .hero-actions a {
    flex: 1;              /* 🔥 equal size */
    text-align: center;
  }

}
@media (max-width: 768px) {

  .btn-primary-cta,
  .btn-secondary-cta {
    padding: 14px 10px;
    font-size: 14px;
    border-radius: 12px;
  }

}

/* ================= MOBILE SERVICES ================= */

/* ================= SERVICES RESPONSIVE ================= */

/* ================= SERVICES RESPONSIVE FIX ================= */


/* ================= SERVICES RESPONSIVE FIX ================= */


/* ================= MOBILE SERVICES ================= */
@media (max-width: 768px) {
  .services-container {
    display: block !important;
  }

  .global-grid {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: -1;
    pointer-events: none;
}
}

/* =========================================
   MOBILE FIX (FINAL)
   ========================================= */

@media (max-width: 768px) {
  .services-mobile {
    display: none;
  }

  .services-container-sp {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 60px;
  }

  .services-container-sp .service-box {
    width: calc(50% - 6px);
    min-height: 375px;
    max-height: 375px;
    position: relative;
    overflow: hidden;
  }

  /* ===== FULL WIDTH ===== */
  .card-3,
  .card-5,
  .card-6 {
    width: 100%;
  }

  /* ===== FIX ORDER ===== */

  .card-1 { order: 1; }
  .card-2 { order: 2; }

  .card-3 { order: 3; } /* full */

  .card-5 { order: 4; } /* full */

  .card-6 { order: 7; } /* 🔥 moved BEFORE row 4 */

  .card-4 { order: 5; }
  .card-7 { order: 6; }


  /* ===== FULL WIDTH CARDS ===== */
  .services-container-sp .card-3,
  .services-container-sp .card-5,
  .services-container-sp .card-6 {
    width: 100% !important;
  }


  .service-box {
    grid-column: auto !important;
    grid-row: auto !important;
    min-height: 160px;
    position: relative;
    overflow: hidden;
  }

  /* ===== EXACT LAYOUT ===== */

  /* Row 1 → 2 cards */
  .card-1,
  .card-2 {
    grid-column: span 1;
  }

  /* Row 2 → full */
  .card-3 {
    grid-column: 1 / -1;
  }

  /* Row 3 → full */
  .card-5 {
    grid-column: 1 / -1;
  }

  /* Row 4 → 2 cards */
  .card-4,
  .card-7 {
    grid-column: span 1;
  }

  /* Row 5 → full */
  .card-6 {
    grid-column: 1 / -1;
  }

  .card-circle1 {
    margin-left: -19px;
    width: 175px;
    height: 175px;
    flex-shrink: 0;
    align-self: center;
    transform: translateX(20px) translateY(20px);
    background-color: rgba(192, 189, 249, 0.3);
    border-radius: 50%;
    filter: blur(60.9px);
}

/* =========================================
   🔥 CARD 2 (APP DEVELOPMENT FIX - FINAL)
========================================= */

@media (max-width: 768px) {

  /* CARD */
  .card-2 {
    padding: 16px;
    height: 160px;
    position: relative;
  }

  /* ================= IMAGE AREA ================= */

  .group-group2 {
    position: relative;
    top: -100px;              /* 🔥 adjusted */
    left: -8px;
    width: 100%;
    height: 120px;

    display: flex;
    justify-content: center;
    align-items: center;
  }

  .group-ellipse {
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    height: 220px;
    filter: blur(45px);
    background-color: rgba(189, 249, 209, 0.3);
  }

  .group-i-phone-151,
  .group-i-phone-152 {
    transform: scale(0.5);
    position: relative;
    width: 120px;
    transform-origin: center;
  }

  .group-i-phone-151 {
    left: 30px;
  }

  .group-i-phone-152 {
    left: -20px;
  }

  /* ================= TEXT WRAPPER ================= */

  .group-group5 {
    position: absolute;   /* 🔥 KEY FIX */
    bottom: 12px;
    left: 16px;
    right: 16px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;

    z-index: 3;
  }

  /* ================= TEXT ================= */

  .group-col1 {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .group-col1 h3 {
    font-size: 16px;
    margin: 0;
    text-align: left;
    line-height: 1.3;
  }

  .group-col1 p {
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    text-align: left;
    color: #9ca3af;
  }

  /* ================= GLOBAL CARD ALIGN ================= */

  .services-mobile-home .service-card-mobile {
    text-align: left;
    align-items: flex-start;
  }

  /* ================= HIDE BLUR ================= */

  .group-graphic1 {
    display: none;
  }

  /* ================= FRAME FIX ================= */

  .group-frames {
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    width: 133px;
    height: 283px;
    border: 3px solid #000;
    border-radius: 18px;
  }

  .group-color {
    width: 133px;
    height: 285px;
    border-radius: 20px;
  }

}
  /* =========================================
     🔥 CARD 5 (OTT FIX)
     ========================================= */

  .card6 {
    position: relative;
    padding-top: 135px;
  }

    .card-img5 {
        position: absolute;
        top: 5px;
        left: 230px;
        z-index: 1;
        width: 120px;
    }

  .card-group-top {
    position: absolute;
    top: 8px;
    left: 15%;
    transform: translateX(-50%) scale(0.55);
    width: 100%;
    max-width: 240px;
  }

    .card-graphic1 {
        position: absolute;
        top: 95px;
        left: 234px;
        filter: blur(6.7px);
        width: 120px;
        height: 24px;
    }


    .card-graphic2 {
    position: absolute;
    top: 0;
    left: 100px;
    filter: blur(20.9px);
    transform: scale(2.5);
    width: calc(100% - 0px);
    height: 127px;
    max-width: 705px;
}


  /* =========================================
     🔥 GENERAL IMAGE FIX
     ========================================= */

  .card-img1 {
    position: absolute;
    top: 40px;
    left: -20px;
    height: auto;
  }


    .card-img3 {
    position: absolute;
    top: 30px;
    right: 0px;
    height: auto;
  }

  .card-circle3 {
    margin-left: -19px;
    width: 175px;
    height: 175px;
    flex-shrink: 0;
    align-self: center;
    transform: scale(1.5);
    background-color: rgba(249, 202, 189, 0.3);
    border-radius: 50%;
    filter: blur(30.9px);
  }


    .card-img4 {
        position: absolute;
        top: -5px;
        right: -40px;
        width: 270px;
        height: auto;
    }

  .card-img10 {
    position: absolute;
    top: 10px;
    right: 10px;
    height: auto;
  }

    .group-graphic3 {
        position: absolute;
        top: 45px;
        left: 30px;
        filter: blur(30px);
        width: calc(120% - 123px);
        height: 127px;
        max-width: 350px;
    }

    .card-img11 {
        position: absolute;
        /* top: 10px; */
        left: -20px;
        width: 230px;
        height: auto;
    }

    .card-circle11 {
    position: relative;
    top: 20px;
    left: 5px;
    filter: blur(25px);
    width: calc(100% - 0px);
    height: 300px;
    max-width: 300px;
    background-color: rgba(189, 224, 249, 0.3);
}


  /* TEXT */
  .service-box h3 {
    font-size: 15px;
    margin-top: 70px;
  }

  .service-box p {
    font-size: 14px;
  }

}


/* ================= MOBILE SERVICES INDUSTRIES SECTION ================= */

@media (max-width: 768px) {
  .industries-grid {
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent);  
    mask-image: linear-gradient(
  to right,
  transparent,
  black 5%,
  black 95%,
  transparent
);
  }
}

@media (max-width: 768px) {

  .industries-grid {
    display: grid;
    grid-auto-flow: column; /* 🔥 horizontal flow */
    grid-template-rows: repeat(2, auto); /* 2 rows */
    gap: 12px;

    overflow-x: auto;
    scroll-snap-type: x mandatory;

    padding-bottom: 10px;
  }

  .industries-grid::-webkit-scrollbar {
  display: none;
}

  .journey-card-inner {
    width: 80vw; /* 🔥 controls 3 cards visible */
    scroll-snap-align: start;
  }

  .industry-card {
    min-width: 70vw; /* 🔥 key: controls layout */
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 14px;
    border-radius: 16px;

    background: #1a1f26;
    border: 1px solid rgba(255,255,255,0.06);
  }

  /* ICON */
  .industry-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;
    background: rgba(42, 241, 142, 0.1);
  }

  .industry-icon img,
  .industry-icon object {
    width: 22px;
    height: 22px;
  }

  /* TEXT BLOCK */
  .industry-card > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  /* TITLE */
  .industry-card h3 {
    font-size: 15px;
    margin: 0;
    line-height: 1.3;
  }

  /* DESCRIPTION */
  .industry-card p {
    font-size: 12px;
    color: #9ca3af;
    margin: 0;
    line-height: 1.4;
  }

  .industry-card:active {
  transform: scale(0.98);
}

}


/* ================================
   PROCESS SECTION - MOBILE FIX
================================ */


@media (max-width: 768px) {


    .svc-process-section {
    padding: 1px 0 !important;
  }
  /* 🔥 CENTER WHOLE SECTION */
  .svc-process {
    text-align: center;
  }

  /* IMAGE CENTER */
  .svc-process-visual {
    display: flex;
    justify-content: center;
  }

  .svc-process-visual img {
    max-width: 320px; /* 🔥 important (don’t keep 100%) */
    width: 100%;
    margin: 0 auto;
  }

  /* LIST CENTER */
  .svc-process-list {
    align-items: center;
    margin-left: 0px;
  }

  /* CARD WIDTH CONTROL */
  .svc-process-card {
    max-width: 320px;
    width: 100%;
    text-align: left; /* keep text readable */
  }

  /* CENTER ICON + TITLE ROW */
  .svc-process-card {
    justify-content: flex-start; /* keep structure */
  }

  /* OPTIONAL: center heading + description */
  .section-header {
    text-align: center;
  }

}

@media (max-width: 768px) {

  /* container spacing */
  .svc-process.container-wide {
    padding: 0px 16px;
    margin: 60px auto;
  }

  /* 🔥 STACK LAYOUT (important) */
  .svc-process-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  /* IMAGE ON TOP */
  .svc-process-visual {
    width: 100%;
    align-items: center;
  }

  .svc-process-visual img {
    width: 60%;
    border-radius: 16px;

  }

  /* LIST BELOW */
  .svc-process-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  /* EACH ITEM */
  .svc-process-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;

    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  /* ICON */
  .svc-process-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: rgba(42, 241, 142, 0.1);
  }

  .svc-process-icon img {
    width: 18px;
  }

  /* TEXT */
  .svc-process-content h3 {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .svc-process-content p {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 10px;
  }

  /* TAGS → TURN INTO BULLET STYLE */
  .svc-process-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .svc-process-tags span {
    font-size: 14px;
    color: #d1d5db;
    position: relative;
    padding-left: 12px;
  }

  .svc-process-tags span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 5px;
    height: 5px;
    background: #2af18e;
    border-radius: 50%;
  }

}


/* ================================
   TECH SECTION - MOBILE (FINAL)
================================ */

@media (max-width: 768px) {

  /* SECTION */
  .tech-section {
    padding: 60px 16px;
    text-align: center;
  }

  /* HEADER */
  .tech-section .heading2 {
    margin-bottom: 10px;
  }

  .tech-section .text-body {
    margin-bottom: 30px;
  }

  /* 🔥 GRID (2 COLUMN) */
  .tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* WRAPPER FIX */
  .journey-card-inner {
    width: 100%;
  }

  /* CARD */
  .tech-card {
    width: 100%;
    height: 160px;

    padding: 18px;
    border-radius: 20px;

    background: #191d23;
    border: 1px solid rgba(255,255,255,0.08);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    transition: 0.25s ease;
  }

  /* OPTIONAL HOVER (mobile-safe subtle effect) */
  .tech-card:active {
    transform: scale(0.97);
  }

  /* ICON BOX */
  .tech-icon {
    width: 56px;
    height: 56px;

    border-radius: 16px;
    margin-bottom: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
      180deg,
      rgba(42, 241, 142, 0.2),
      rgba(19, 203, 200, 0.2)
    );
  }

  /* ICON */
  .tech-icon object {
    width: 24px;
    height: 24px;
  }

  /* TITLE */
  .tech-card h3 {
    font-size: 16px;
    margin-bottom: 4px;
    font-weight: 600;
  }

  /* SUBTEXT */
  .tech-card p {
    font-size: 14px;
    color: #9ca3af;
  }

}

/* ================================
   CTA SECTION - MOBILE (FINAL COMPACT FIX)
================================ */

@media (max-width: 768px) {

  .svc-cta-card {
  padding: 20px 30px;
    height: 400px;
  }
  /* SECTION (reduced spacing) */
  .cta-section {
    padding: 40px 16px !important;   /* 🔥 reduced from 60 */
    text-align: center;
  }

  /* CONTAINER */
  .cta-container {
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }

  /* CARD (reduce height) */
  .cta-card {
    padding: 24px 16px !important;   /* 🔥 main height fix */
    border-radius: 16px;
  }

  /* HEADING */
  .cta-section h2 {
    font-size: 20px !important;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 8px;   /* 🔥 tighter */
  }

  /* DESCRIPTION */
  .cta-section p {
    font-size: 13px !important;
    color: #9ca3af;
    line-height: 1.5;
    margin-bottom: 16px;  /* 🔥 reduced */
  }

  /* BUTTON GROUP */
  .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
    width: 100%;
  }

  /* BUTTON LINK */
  .cta-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    text-align: center;
    text-decoration: none;
  }

  /* PRIMARY BUTTON */
  .btn-primary-cta {
    width: 100%;
    padding: 12px 16px;   /* 🔥 reduced */
    border-radius: 10px;

    font-size: 14px !important;
    font-weight: 500;
  }

  /* SECONDARY BUTTON */
  .btn-secondary-cta {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;

    font-size: 14px !important;
    font-weight: 500;
  }

}
/* ================= MOBILE PORTFOLIO ================= */

.portfolio-main {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.portfolio-projects {
  width: 100%;
  margin: 0 auto;
  padding: 40px 16px;
}

.portfolio-main {
  max-width: 100% !important;
}

@media (max-width: 768px) {

  .portfolio-main {
    width: 100vw;
    left: 0;
    transform: none;
  }

}

@media (max-width: 768px) {

  .portfolio-container {
    padding: 0 12px;
  }

}

@media (max-width: 768px) {

  .container-wide {
    margin: 100px auto !important;
    padding: 40px 16px !important;
  }

  .svc-cta-section {
    padding: 0 !important;
  }
    .portfolio-hero {
    padding: 70px 20px 0 20px !important; /* keep hero spacing */
  }

  .portfolio-main {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
  }
  .portfolio-cta {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .faq {
    padding-top: 0 !important;
  }
  .footer {
    margin-top: 60px !important;
  }
}


@media (max-width: 768px) {

  /* HERO */
  .portfolio-hero {
    text-align: center;
  }

  .portfolio-hero-content h1 {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .portfolio-hero-content p {
    font-size: 14px;
    color: #9ca3af;
  }

  /* SECTION */
  .portfolio-projects {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 60px 16px;
  }

  /* CARD */
  .portfolio-card {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px;

    padding: 20px;
    border-radius: 20px;
    background: #191d23;
  }

  /* 🔥 KILL DESKTOP REVERSE */
  .portfolio-card.reverse {
    flex-direction: column !important;
  }

  /* 🔥 FORCE IMAGE TOP */
  .portfolio-image {
    order: -1 !important;
  }

  .portfolio-image img {
    width: 100%;
    border-radius: 16px;
  }

  /* CONTENT */
  .portfolio-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .portfolio-content h3 {
    font-size: 20px;
    font-weight: 600;
  }

  .portfolio-content h4 {
    font-size: 14px;
    color: #9ca3af;
  }

  .portfolio-content p {
    font-size: 14px;
    color: #d1d5db;
    line-height: 1.5;
  }

  /* INFO BOX */
  .portfolio-info {
    background: #232830;
    padding: 14px;
    border-radius: 12px;

    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .portfolio-info div {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    gap: 10px;
    flex-wrap: wrap;
  }

  /* LABEL */
  .portfolio-info span {
    color: #9ca3af;
    min-width: 80px;
  }

  /* VALUE */
  .portfolio-info div span + * {
    margin-left: auto;
    text-align: right;
    max-width: 60%;
    line-height: 1.4;
  }

  /* ACTIONS */
  .portfolio-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
  }

  .portfolio-actions img {
    height: 36px;
  }

}

/* ================= PORTFOLIO CTA MOBILE ================= */

@media (max-width: 768px) {

  /* REMOVE EXTRA HEIGHT */
  .portfolio-cta .card3 {
    padding: 30px 20px;   /* 🔥 reduce from large desktop padding */
    height: auto;         /* 🔥 important */
    min-height: unset;    /* 🔥 remove forced height */

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* center content */

    gap: 14px; /* 🔥 control spacing */
  }

  /* REMOVE EXTRA SPACE FROM TEXT */
  .portfolio-cta p {
    margin-bottom: 0px; /* 🔥 reduce gap before button */
  }

  /* BUTTON FIX */
  .portfolio-cta-btn {
    margin-top: 10px;   /* 🔥 small controlled spacing */
  }

  .card-frame-bottom.portfolio-cta-btn {
    position: relative;
    z-index: 2;
    margin-top: 20px;
    background: linear-gradient(180deg, #2af18e 0%, #13cbc8 100%);
    padding: 19px 20px 19px 48px;
    border-radius: 12px;
    cursor: pointer;
  }

}

@media (max-width: 768px) {

  /* ============================================================
     🔹 HERO → CONTACT BOX SPACING
     ============================================================ */

  .contact-hero {
    padding: 24px 16px 24px !important; /* 🔥 reduce bottom */
  }

  .contact-box {
    padding: 40px 16px 40px 16px !important; /* 🔥 tighter + balanced */
    border-radius: 0px;
  }


  /* ============================================================
     🔹 CONTACT BOX INTERNAL SPACING
     ============================================================ */

  .section-header {
    margin-bottom: 24px; /* 🔥 reduce from large gap */
  }

  .contact-grid {
    gap: 20px; /* 🔥 tighter card spacing */
  }


  /* ============================================================
     🔹 FORM CARD (LEFT)
     ============================================================ */

  .contact-left {
    padding: 18px; /* 🔥 was too big */
  }

  .form-header {
    margin-bottom: 8px;
  }

  .form-subtext {
    margin-bottom: 16px;
  }

  .form-group {
    margin-bottom: 14px; /* 🔥 consistent rhythm */
  }


  /* ============================================================
     🔹 CONTACT INFO CARD (RIGHT)
     ============================================================ */

  .contact-right {
    padding: 20px; /* 🔥 reduce heavy padding */
  }

  .contact-list {
    gap: 14px; /* 🔥 tighter spacing */
  }

  .contact-item {
    padding: 4px 0; /* 🔥 removes extra vertical air */
  }


  /* ============================================================
     🔹 WHY WORK SECTION
     ============================================================ */

  .why-work {
    padding: 0px 16px !important; /* 🔥 reduce top gap */
  }

  .why-work h2 {
    margin-bottom: 20px;
  }

  .why-card {
    padding: 20px; /* 🔥 reduce heavy inner padding */
    gap: 16px;
  }


  /* ============================================================
     🔹 GLOBAL CONSISTENCY (IMPORTANT)
     ============================================================ */

  section {
    margin-bottom: 0; /* prevent unexpected gaps */
  }

}
/* ============================================================
   SITE IMPROVEMENTS — PHASE 1
   ============================================================ */

a.btn-cta {
  text-decoration: none;
}

.service-card-link,
.industry-card-link {
  color: inherit;
  text-decoration: none;
}

.service-card-link:hover,
.industry-card-link:hover h3 {
  color: var(--primary);
}

.industry-icon img {
  width: 22px;
  height: 22px;
}

.industries-grid.platform-links {
  grid-template-columns: repeat(4, 1fr);
  text-align: left;
}

/* ---------- Featured work (homepage) ---------- */

.work-section {
  position: relative;
  z-index: 10;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.work-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(25, 29, 35, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  color: #fff;
  text-decoration: none;
  transition: 0.25s ease;
}

.work-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.work-card img {
  width: 100%;
  aspect-ratio: 546 / 377;
  object-fit: cover;
  display: block;
}

.work-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 24px 24px;
  text-align: left;
}

.work-card-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.work-card h3 {
  font-size: 20px;
  font-weight: 600;
}

.work-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ---------- FAQ ---------- */

.faq-item.active .faq-a {
  max-height: 600px;
}

.faq-a {
  line-height: 1.7;
}

.faq-page .faq-q {
  font-size: 16px;
}

.faq-group-title {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 40px 0 16px;
}

.faq-group-title:first-child {
  margin-top: 0;
}

/* ---------- Case study ---------- */

.svc-process-layout--single {
  grid-template-columns: 1fr;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.svc-process-layout--single .svc-process-list {
  margin-left: 0;
}

.case-study-heading {
  font-size: 22px;
  margin-bottom: 12px;
}

.case-study-link,
.inline-link {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
}

.case-study-link:hover,
.inline-link:hover {
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .industries-grid.platform-links,
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .industries-grid.platform-links,
  .work-grid {
    grid-template-columns: 1fr;
  }
}
