
.hero-main-banner {
    position: relative;
    width: 100%;
    min-height: 85vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e0efff 100%);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    overflow: hidden;
    box-sizing: border-box;
}

/* Background Grid & Ambient Glow Setup */
.hero-main-banner::before {
    content: ''; position: absolute; inset: 0;
    background-image: 
        linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px), 
        linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
    background-size: 40px 40px; z-index: 1; pointer-events: none;
}
.hero-main-banner::after {
    content: ''; position: absolute; width: 60%; aspect-ratio: 1;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    border-radius: 50%; z-index: 1; top: 10%; right: 10%;
    animation: hubPulse 6s infinite alternate ease-in-out; pointer-events: none;
}

/* Container limits width for large screens */
.hero-container {
    max-width: 1280px; width: 100%; position: relative; z-index: 2;
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}

/* =========================================
   LEFT SIDE: TYPOGRAPHY & CTAs
========================================= */
.hero-text-content { display: flex; flex-direction: column; gap: 24px; }
.hero-text-content h1 {
    font-size: clamp(40px, 4.5vw, 64px); font-weight: 900; line-height: 1.1; margin: 0; letter-spacing: -1px; color: #0f172a;
}
.hero-text-content h1 .gradient-text {
    background: linear-gradient(to right, #2563eb, #0ea5e9);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: inline-block;
}
.hero-text-content p {
    font-size: clamp(16px, 1.2vw, 18px); color: #475569; line-height: 1.6; max-width: 90%; margin: 0; font-weight: 500;
}
/* CTAs */
.hero-btn-group { display: flex; gap: 16px; margin-top: 10px; }
.hero-btn-group .btn-primary {
    background: #2563eb; color: #fff; padding: 14px 28px; border-radius: 8px;
    font-size: 15px; font-weight: 800; text-decoration: none; display: flex; align-items: center; gap: 8px;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25); transition: all 0.3s ease; border: 1px solid #2563eb;
}
.hero-btn-group .btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 15px 30px rgba(37, 99, 235, 0.35);}
.hero-btn-group .btn-secondary {
    background: #ffffff; color: #0f172a; padding: 14px 28px; border-radius: 8px;
    font-size: 15px; font-weight: 800; text-decoration: none; display: flex; align-items: center; gap: 8px;
    border: 1px solid #e2e8f0; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.hero-btn-group .btn-secondary:hover { background: #f8fafc; border-color: #cbd5e1; transform: translateY(-2px); }


/* =========================================
   RIGHT SIDE: DYNAMIC STORYTELLING ENGINE
========================================= */
.hero-visual-engine {
    position: relative; width: 100%; aspect-ratio: 4/3;
    background: #ffffff; border-radius: 24px;
    border: 1px solid #e2e8f0; box-shadow: 0 40px 80px rgba(37, 99, 235, 0.12);
    display: flex; overflow: hidden;
}

/* Tracking Sidebar */
.engine-sidebar {
    width: 38%; background: #f8fafc; border-right: 1px solid #e2e8f0;
    padding: 20px 0; position: relative; z-index: 20;
}
.active-highlighter {
    position: absolute; left: 0; width: 4px; height: 50px;
    background: #2563eb; border-radius: 0 4px 4px 0;
    top: 20px; animation: moveHighlight 30s infinite; z-index: 5;
}
.engine-sidebar ul { list-style: none; margin: 0; padding: 0; }
.engine-sidebar li {
    height: 50px; padding: 0 15px 0 20px; display: flex; align-items: center; gap: 10px;
    font-size: 11px; font-weight: 800; text-transform: uppercase;
    color: #64748b; position: relative; letter-spacing: 0.5px;
}
.engine-sidebar li i { font-size: 14px; width: 18px; text-align: center; }

/* Sidebar Sync */
.engine-sidebar li:nth-child(1) { animation: activeText1 30s infinite; }
.engine-sidebar li:nth-child(2) { animation: activeText2 30s infinite; }
.engine-sidebar li:nth-child(3) { animation: activeText3 30s infinite; }
.engine-sidebar li:nth-child(4) { animation: activeText4 30s infinite; }
.engine-sidebar li:nth-child(5) { animation: activeText5 30s infinite; }
.engine-sidebar li:nth-child(6) { animation: activeText6 30s infinite; }

/* The Main Viewport */
.engine-viewport {
    flex: 1; position: relative; padding: 25px;
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at center, #ffffff 0%, #f0f9ff 100%);
    z-index: 10;
}

/* Ambient Viewport Decor */
.viewport-bg-decor { position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: 0.7;}
.decor-dot { position: absolute; width: 6px; height: 6px; background: #bfdbfe; border-radius: 50%; opacity: 0.4; }
.d1 { top: 10%; left: 10%; } .d2 { bottom: 15%; right: 20%; } .d3 { top: 70%; left: 15%; }
.decor-line { position: absolute; background: #e2e8f0; opacity: 0.3; }
.dl1 { width: 1px; height: 100px; top: -20px; left: 30%; transform: rotate(15deg); animation: floatY1 10s infinite; }
.dl2 { width: 150px; height: 1px; bottom: 40px; right: -10px; animation: floatX1 12s infinite; }

/* =========================================
   DETAILED SERVICE CARDS & NEW ANIMATIONS
========================================= */
.engine-viewport .slide {
    position: absolute; inset: 0; padding: 25px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    opacity: 0; transform: translateY(15px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10; width: 100%; box-sizing: border-box;
}

.service-detail-card {
    width: 100%; max-width: 250px; background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px); border: 1px solid #bfdbfe; border-radius: 16px;
    padding: 16px; box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
    display: flex; flex-direction: column; gap: 14px; position: relative;
    overflow: hidden;
}
/* Shimmer Effect on Card */
.service-detail-card::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    transform: skewX(-20deg); animation: cardShimmer 5s infinite; z-index: 1; pointer-events: none;
}

/* Card Header (3D Icon + Typing Title) */
.service-detail-card .s-head {
    display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #e2e8f0; padding-bottom: 10px; position: relative; z-index: 2;
}
/* 3D Flip Icon */
.service-detail-card .icon-box {
    width: 40px; height: 40px; background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb; border-radius: 10px; display: flex; align-items: center; justify-content: center;
    font-size: 18px; border: 1px solid #93c5fd; box-shadow: 0 4px 10px rgba(37,99,235,0.1);
}

/* TYPING EFFECT HEADING */
.service-detail-card h3 {
    margin: 0; font-size: 14px; font-weight: 800; color: #0f172a;
    display: inline-block; overflow: hidden; white-space: nowrap;
    border-right: 2px solid #2563eb; /* Blinking cursor */
}

/* Feature List (Bouncy Pops) */
.service-detail-card .s-features {
    display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 2;
}
.service-detail-card .feat-item {
    display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; color: #475569;
    background: #f8fafc; padding: 8px 10px; border-radius: 8px; border: 1px solid #f1f5f9;
    transform-origin: left center;
}
.service-detail-card .feat-item i {
    width: 16px; color: #3b82f6; text-align: center; font-size: 12px;
}

/* Master Slide Assignments */
.slide-1-ui { animation: showSlide1 30s infinite; }
.slide-2-web { animation: showSlide2 30s infinite; }
.slide-3-wp { animation: showSlide3 30s infinite; }
.slide-4-woo { animation: showSlide4 30s infinite; }
.slide-5-vid { animation: showSlide5 30s infinite; }
.slide-6-seo { animation: showSlide6 30s infinite; }


/* =========================================
   KEYFRAME ANIMATIONS (30s Master Loop)
========================================= */
@keyframes hubPulse { 0% { opacity: 0.5; transform: scale(0.95); } 100% { opacity: 1; transform: scale(1.05); } }
@keyframes floatY1 { 0%, 100% { transform: translateY(0) rotate(15deg); } 50% { transform: translateY(15px) rotate(20deg); } }
@keyframes floatX1 { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(20px); } }
@keyframes cardShimmer { 0%, 100% { left: -100%; } 20%, 80% { left: 200%; } }

/* Highlight Bar Movement */
@keyframes moveHighlight {
    0%, 14% { transform: translateY(0px); }
    16.6%, 31% { transform: translateY(50px); }
    33.3%, 48% { transform: translateY(100px); }
    50%, 64% { transform: translateY(150px); }
    66.6%, 81% { transform: translateY(200px); }
    83.3%, 98% { transform: translateY(250px); }
    100% { transform: translateY(0px); }
}

/* Text Color Sync */
@keyframes activeText1 { 0%, 14% { color: #0f172a; } 16.6%, 100% { color: #64748b; } }
@keyframes activeText2 { 0%, 14% { color: #64748b; } 16.6%, 31% { color: #0f172a; } 33.3%, 100% { color: #64748b; } }
@keyframes activeText3 { 0%, 31% { color: #64748b; } 33.3%, 48% { color: #0f172a; } 50%, 100% { color: #64748b; } }
@keyframes activeText4 { 0%, 48% { color: #64748b; } 50%, 64% { color: #0f172a; } 66.6%, 100% { color: #64748b; } }
@keyframes activeText5 { 0%, 64% { color: #64748b; } 66.6%, 81% { color: #0f172a; } 83.3%, 100% { color: #64748b; } }
@keyframes activeText6 { 0%, 81% { color: #64748b; } 83.3%, 98% { color: #0f172a; } 100% { color: #64748b; } }

/* Slide Visibility Sync */
@keyframes showSlide1 { 0%, 14% { opacity: 1; transform: translateY(0) scale(1); z-index: 10; } 16.6%, 100% { opacity: 0; transform: translateY(15px) scale(0.95); z-index: 0; } }
@keyframes showSlide2 { 0%, 14% { opacity: 0; transform: translateY(-15px) scale(0.95); } 16.6%, 31% { opacity: 1; transform: translateY(0) scale(1); z-index: 10; } 33.3%, 100% { opacity: 0; transform: translateY(15px) scale(0.95); z-index: 0; } }
@keyframes showSlide3 { 0%, 31% { opacity: 0; transform: translateY(-15px) scale(0.95); } 33.3%, 48% { opacity: 1; transform: translateY(0) scale(1); z-index: 10; } 50%, 100% { opacity: 0; transform: translateY(15px) scale(0.95); z-index: 0; } }
@keyframes showSlide4 { 0%, 48% { opacity: 0; transform: translateY(-15px) scale(0.95); } 50%, 64% { opacity: 1; transform: translateY(0) scale(1); z-index: 10; } 66.6%, 100% { opacity: 0; transform: translateY(15px) scale(0.95); z-index: 0; } }
@keyframes showSlide5 { 0%, 64% { opacity: 0; transform: translateY(-15px) scale(0.95); } 66.6%, 81% { opacity: 1; transform: translateY(0) scale(1); z-index: 10; } 83.3%, 100% { opacity: 0; transform: translateY(15px) scale(0.95); z-index: 0; } }
@keyframes showSlide6 { 0%, 81% { opacity: 0; transform: translateY(-15px) scale(0.95); } 83.3%, 98% { opacity: 1; transform: translateY(0) scale(1); z-index: 10; } 100% { opacity: 0; transform: translateY(15px) scale(0.95); z-index: 0; } }

/* --- 💥 NEW: LIVE TYPING, FLIP & BOUNCE SYNC --- */

/* Blinking Cursor */
.type-cursor { animation: blinkCursor 0.6s infinite step-end; }
@keyframes blinkCursor { 50% { border-color: transparent; } }

/* 3D Icon Flip */
@keyframes icon3DFlip { 0%, 2% { transform: perspective(400px) rotateY(90deg); opacity: 0; } 6%, 14% { transform: perspective(400px) rotateY(0deg); opacity: 1; } 16%, 100% { transform: perspective(400px) rotateY(-90deg); opacity: 0;} }
.slide-1-ui .icon-box { animation: icon3DFlip 30s infinite; }

/* Typing Headings (Max-Width expansion synchronized per slide) */
@keyframes typeHead1 { 0%, 2% { max-width: 0; } 6%, 14% { max-width: 200px; } 16%, 100% { max-width: 0; } }
@keyframes typeHead2 { 0%, 18% { max-width: 0; } 22%, 31% { max-width: 200px; } 33%, 100% { max-width: 0; } }
@keyframes typeHead3 { 0%, 35% { max-width: 0; } 39%, 48% { max-width: 200px; } 50%, 100% { max-width: 0; } }
@keyframes typeHead4 { 0%, 51% { max-width: 0; } 55%, 64% { max-width: 200px; } 66%, 100% { max-width: 0; } }
@keyframes typeHead5 { 0%, 68% { max-width: 0; } 72%, 81% { max-width: 200px; } 83%, 100% { max-width: 0; } }
@keyframes typeHead6 { 0%, 85% { max-width: 0; } 89%, 98% { max-width: 200px; } 100% { max-width: 0; } }

.slide-1-ui h3 { animation: typeHead1 30s steps(20, end) infinite, blinkCursor 0.6s infinite step-end; }
.slide-2-web h3 { animation: typeHead2 30s steps(20, end) infinite, blinkCursor 0.6s infinite step-end; }
.slide-3-wp h3 { animation: typeHead3 30s steps(20, end) infinite, blinkCursor 0.6s infinite step-end; }
.slide-4-woo h3 { animation: typeHead4 30s steps(20, end) infinite, blinkCursor 0.6s infinite step-end; }
.slide-5-vid h3 { animation: typeHead5 30s steps(20, end) infinite, blinkCursor 0.6s infinite step-end; }
.slide-6-seo h3 { animation: typeHead6 30s steps(20, end) infinite, blinkCursor 0.6s infinite step-end; }

/* Bouncy Feature Pops (Staggered Entry) */
@keyframes featBounce1 { 0%, 4% { opacity: 0; transform: scale(0.8) translateX(-10px); } 7%, 14% { opacity: 1; transform: scale(1) translateX(0); } 16%, 100% { opacity: 0; transform: scale(0.8) translateX(-10px); } }
@keyframes featBounce2 { 0%, 20% { opacity: 0; transform: scale(0.8) translateX(-10px); } 23%, 31% { opacity: 1; transform: scale(1) translateX(0); } 33%, 100% { opacity: 0; transform: scale(0.8) translateX(-10px); } }
@keyframes featBounce3 { 0%, 37% { opacity: 0; transform: scale(0.8) translateX(-10px); } 40%, 48% { opacity: 1; transform: scale(1) translateX(0); } 50%, 100% { opacity: 0; transform: scale(0.8) translateX(-10px); } }
@keyframes featBounce4 { 0%, 53% { opacity: 0; transform: scale(0.8) translateX(-10px); } 56%, 64% { opacity: 1; transform: scale(1) translateX(0); } 66%, 100% { opacity: 0; transform: scale(0.8) translateX(-10px); } }
@keyframes featBounce5 { 0%, 70% { opacity: 0; transform: scale(0.8) translateX(-10px); } 73%, 81% { opacity: 1; transform: scale(1) translateX(0); } 83%, 100% { opacity: 0; transform: scale(0.8) translateX(-10px); } }
@keyframes featBounce6 { 0%, 87% { opacity: 0; transform: scale(0.8) translateX(-10px); } 90%, 98% { opacity: 1; transform: scale(1) translateX(0); } 100% { opacity: 0; transform: scale(0.8) translateX(-10px); } }

/* Assigning pop animations per slide with slight staggering */
.slide-1-ui .feat-item:nth-child(1) { animation: featBounce1 30s infinite; } .slide-1-ui .feat-item:nth-child(2) { animation: featBounce1 30s infinite 0.1s; } .slide-1-ui .feat-item:nth-child(3) { animation: featBounce1 30s infinite 0.2s; }
.slide-2-web .feat-item:nth-child(1) { animation: featBounce2 30s infinite; } .slide-2-web .feat-item:nth-child(2) { animation: featBounce2 30s infinite 0.1s; } .slide-2-web .feat-item:nth-child(3) { animation: featBounce2 30s infinite 0.2s; }
.slide-3-wp .feat-item:nth-child(1) { animation: featBounce3 30s infinite; } .slide-3-wp .feat-item:nth-child(2) { animation: featBounce3 30s infinite 0.1s; } .slide-3-wp .feat-item:nth-child(3) { animation: featBounce3 30s infinite 0.2s; }
.slide-4-woo .feat-item:nth-child(1) { animation: featBounce4 30s infinite; } .slide-4-woo .feat-item:nth-child(2) { animation: featBounce4 30s infinite 0.1s; } .slide-4-woo .feat-item:nth-child(3) { animation: featBounce4 30s infinite 0.2s; }
.slide-5-vid .feat-item:nth-child(1) { animation: featBounce5 30s infinite; } .slide-5-vid .feat-item:nth-child(2) { animation: featBounce5 30s infinite 0.1s; } .slide-5-vid .feat-item:nth-child(3) { animation: featBounce5 30s infinite 0.2s; }
.slide-6-seo .feat-item:nth-child(1) { animation: featBounce6 30s infinite; } .slide-6-seo .feat-item:nth-child(2) { animation: featBounce6 30s infinite 0.1s; } .slide-6-seo .feat-item:nth-child(3) { animation: featBounce6 30s infinite 0.2s; }


/* RESPONSIVE SCALING */
@media(max-width: 1100px) {
    .engine-sidebar { width: 42%; }
    .engine-sidebar li { font-size: 10px; padding: 0 10px; }
}
@media(max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; gap: 40px; }
    .hero-text-content { text-align: center; align-items: center; }
    .hero-text-content p { max-width: 100%; }
    .hero-visual-engine { max-width: 700px; margin: 0 auto; aspect-ratio: 16/10; }
}
@media(max-width: 768px) {
    .hero-main-banner { padding: 40px 15px; }
    .hero-btn-group { flex-direction: column; width: 100%; max-width: 300px; }
    .hero-btn-group a { justify-content: center; }
    .hero-visual-engine { aspect-ratio: initial; height: 380px; }
    .engine-sidebar li { font-size: 9px; padding: 0 10px; gap: 6px; height: 45px;}
    .active-highlighter { height: 45px; top: 20px;}
    @keyframes moveHighlight {
        0%, 14% { transform: translateY(0px); }
        16.6%, 31% { transform: translateY(45px); }
        33.3%, 48% { transform: translateY(90px); }
        50%, 64% { transform: translateY(135px); }
        66.6%, 81% { transform: translateY(180px); }
        83.3%, 98% { transform: translateY(225px); }
        100% { transform: translateY(0px); }
    }
    .engine-viewport .slide { padding: 15px; inset: 0;}
    .service-detail-card { max-width: 100%; padding: 12px; }
    .viewport-bg-decor { display: none; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1110px, calc(100% - 48px));
  min-height: 86px;
  margin: 0 auto;
  background: rgba(255,255,255,0.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  color: var(--color-ink);
  font-size: 18px;
  font-weight: 900;
}

.brand strong {
  color: #1767f2;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  color: #fff;
  background: linear-gradient(135deg, #4ee4ed 10%, #1265f1 70%);
  border-radius: 11px 11px 11px 2px;
  place-items: center;
  font-weight: 900;
  transform: rotate(-15deg);
  box-shadow: 0 8px 18px rgba(23,103,242,0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  color: #111a2e;
  font-size: 14px;
  font-weight: 800;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: #1767f2;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-quote {
  justify-self: end;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #eef7ff;
  place-items: center;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: #102039;
}

.hero {
  position: relative;
  min-height: 720px;
  padding: 0px 0 110px;
  background: #fff;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  align-items: center;
  gap: 70px;
}

.typing::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 0.82em;
  margin-left: 5px;
  background: #1767f2;
  animation: cursorBlink 840ms steps(2, start) infinite;
  -webkit-text-fill-color: #1767f2;
}

@keyframes cursorBlink {
  50% { opacity: 0; }
}

.hero-art {
  position: relative;
  min-height: 430px;
}

.blob {
  position: absolute;
  border-radius: 34px 82px 54px 90px;
  filter: drop-shadow(0 28px 34px rgba(75, 150, 255, 0.2));
}

.blob-back {
  right: 5%;
  top: 92px;
  width: 330px;
  height: 300px;
  background: linear-gradient(140deg, rgba(108,231,236,0.55), rgba(119,226,232,0.28));
  transform: rotate(12deg);
  animation: floatSlow 6s ease-in-out infinite;
}

.blob-front {
  right: 18%;
  top: 40px;
  width: 365px;
  height: 295px;
  background: linear-gradient(142deg, #d9fbff 4%, #4f95ff 55%, #1767f2 100%);
  transform: rotate(10deg);
  opacity: 0.94;
  animation: floatSlow 7s ease-in-out 800ms infinite;
}

@keyframes floatSlow {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -18px; }
}

.soft-section {
  background: linear-gradient(180deg, #eff8ff, #eaf6ff);
}

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

.service-card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow-card);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover {
  border-color: #1767f2;
  box-shadow: 0 24px 44px rgba(20, 85, 166, 0.18);
}

.icon {
      display: grid;
    width: fit-content;
    height: auto;
    margin-bottom: 20px;
    color: #1767f2;
    background: #e8f1ff;
    border-radius: 8px;
    place-items: center;
    font-weight: 900;
    padding: 8px;
}

.service-card h3,
.case-card h3,
.project-body h3,
.stat-row h3 {
  margin: 0 0 10px;
  color: var(--color-ink);
  font-size: 24px;
  line-height: 1.16;
}

.service-card p,
.project-body p,
.case-card p,
.stat-row p {
  color: #4e5d72;
  font-size: 18px;
}

.service-card a,
.project-body a {
  display: inline-block;
  margin-top: 18px;
  color: #0a3c84;
  font-size: 16px;
  font-weight: 700;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 11px;
  margin-top: 50px;
}

.slider-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c9d9ea;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  align-items: center;
  gap: 86px;
}

.dashboard-scene {
  position: relative;
  min-height: 465px;
}

.aqua-shape {
  position: absolute;
  inset: 34px 34px 20px 20px;
  background: linear-gradient(180deg, #7eb8ea, #2385ef);
  border-radius: 45% 55% 50% 48%;
  transform: rotate(16deg);
}

.browser-card {
  position: absolute;
  top: 96px;
  left: 44px;
  width: min(520px, calc(100% - 44px));
  overflow: hidden;
  border: 1px solid #dfe9f3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(11, 42, 84, 0.17);
}

.window-dots {
  display: flex;
  gap: 7px;
  height: 34px;
  align-items: center;
  padding-left: 16px;
  border-bottom: 1px solid #edf2f7;
}

.window-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef6a75;
}

.window-dots i:nth-child(2) { background: #f7c54a; }
.window-dots i:nth-child(3) { background: #63cd7a; }

.browser-body {
  display: grid;
  grid-template-columns: 115px 1fr;
  min-height: 245px;
}

.browser-body aside {
  background: #f2f7fc;
  border-right: 1px solid #e5eef8;
}

.dash-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 24px;
}

.dash-content span,
.dash-content strong {
  display: block;
  border-radius: 8px;
  background: linear-gradient(180deg, #f9fcff, #edf5ff);
}

.dash-content span {
  min-height: 88px;
}

.dash-content strong {
  min-height: 70px;
  background: linear-gradient(180deg, #76e4ec, #2385ef);
}

.about-copy p:not(.eyebrow) {
  margin-top: 18px;
}

.about-copy .text-link {
  display: inline-block;
  margin-top: 34px;
}

.clients-section {
  padding-top: 80px;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 72px;
  align-items: center;
  margin: 58px auto 0;
}

.logo-wall span {
  color: #8b8f98;
  text-align: center;
  font-size: 22px;
  font-weight: 900;
  filter: grayscale(1);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
      cursor: pointer;
}

.case-card {
  position: relative;
  grid-column: span 3;
  min-height: 178px;
  padding: 24px;
  overflow: hidden;
  border: 2px solid #16385d;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.6);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.case-card:nth-child(n+5) {
  grid-column: span 4;
}

.case-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -34px;
  width: 118px;
  height: 118px;
  border: 18px solid rgba(119, 160, 255, 0.16);
  border-radius: 50%;
}

.case-card span {
  display: block;
  margin-bottom: 24px;
  color: #142137;
  font-weight: 900;
}

.case-card.cyan {
  background: linear-gradient(135deg, rgba(111,228,239,0.42), rgba(255,255,255,0.58));
  border-color: #54c8d6;
}

.case-card.active {
  color: #fff;
  background: linear-gradient(135deg, #0e84ff, #1767f2);
  border-color: #0d3f9d;
  box-shadow: 0 20px 42px rgba(23,103,242,0.3);
}

.case-card.active h3,
.case-card.active span,
.case-card.active p {
  color: #fff;
}

.stats-section {
  background: #fff;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px;
}

.counter {
  display: block;
  min-height: 42px;
  color: rgb(20 113 247);
  font-size: 44px;
  font-weight: 900;
}

.dark-section,
.footer {
  color: #fff;
  background:
    radial-gradient(circle at 74% 42%, rgba(23,103,242,0.2), transparent 26%),
    linear-gradient(135deg, #091b31, #0d253f);
}

.dark-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.2fr);
  align-items: center;
  gap: 70px;
}

.dark-section .heading-lg,
.dark-section p,
.dark-section .eyebrow {
  color: #fff;
}

.dark-copy p:not(.eyebrow) {
  margin-top: 18px;
  font-size: 20px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 34px;
  list-style: none;
}

.check-list li {
  font-size: 18px;
  font-weight: 800;
}

.check-list li::before {
  content: "+";
  margin-right: 12px;
  color: #46a1ff;
}

.btn-light-fill {
  color: #fff;
}

.dark-dashboard {
  min-height: 360px;
}

.browser-card-dark {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
}

.projects-section {
  background: #fff;
}

.section-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 48px;
}

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

.project-card {
  overflow: hidden;
  border: 1px solid #dce7f3;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.project-card:hover {
  box-shadow: 0 28px 56px rgba(20, 70, 136, 0.17);
}
.project-card p{
    margin-bottom: 0px;
}

.project-cover {
  display: grid;
  min-height: 230px;
  color: #fff;
  place-items: center;
  font-size: 56px;
  font-weight: 900;
}

.blue-cover {
  background: linear-gradient(135deg, #1767f2, #69e5ed);
}

.navy-cover {
  background: radial-gradient(circle at 80% 60%, #1767f2, transparent 35%), #091b31;
}

.white-cover {
  color: #121826;
  background: #fff;
  font-family: Georgia, serif;
  font-size: 32px;
}

.project-body {
  padding: 26px;
}

.project-body h3 {
  font-size: 28px;
}

.project-body strong {
  display: block;
  margin-bottom: 10px;
  color: #111a2e;
}

.aqua-body {
  background: #66deea;
}

.cta-card {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 72px 28px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255,255,255,0.58);
  text-align: center;
}

.cta-card::before,
.cta-card::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(194, 226, 255, 0.5);
}

.cta-card::before {
  top: -130px;
  left: -80px;
}

.cta-card::after {
  right: -80px;
  bottom: -150px;
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card p:not(.eyebrow) {
  max-width: 620px;
  margin: 18px auto 0;
}

.footer {
  position: relative;
  padding: 82px 0 42px;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 72px;
}

.footer h3 {
  margin: 0 0 22px;
  color: #fff;
}

.footer p,
.footer a {
  display: block;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.75);
}

.footer-brand {
  color: #fff;
  margin-bottom: 30px;
}

.profile-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 260px;
  margin-top: 28px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
}

.profile-chip i {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d8f7ff, #397ceb);
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  display: grid;
  width: 36px;
  height: 36px;
  margin: 0;
  color: #fff;
  background: #1767f2;
  border-radius: 50%;
  place-items: center;
  font-weight: 900;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 70px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.footer-bottom div {
  display: flex;
  gap: 18px;
}

.footer-logo {
  position: absolute;
  right: 0;
  bottom: -28px;
  left: 0;
  color: rgba(255,255,255,0.94);
  text-align: center;
  font-size: 42px;
  font-weight: 900;
}

.footer-logo span {
  color: #2378ff;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    width: min(100% - 34px, 1110px);
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .header-quote {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 78px;
    right: 17px;
    left: 17px;
    display: grid;
    gap: 0;
    padding: 18px;
    border: 1px solid #d9e7f7;
    border-radius: 10px;
    background: rgba(255,255,255,0.96);
    box-shadow: var(--shadow-soft);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .menu-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 14px 6px;
  }

  .hero-grid,
  .about-grid,
  .dark-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 76px;
  }

  .hero-art {
    min-height: 330px;
  }

  .service-grid,
  .project-grid,
  .stat-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-card,
  .case-card:nth-child(n+5) {
    grid-column: span 6;
  }

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

@media (max-width: 640px) {
  .site-header {
    min-height: 76px;
  }

  .brand {
    font-size: 16px;
  }

  .hero {
    padding: 10px 0 70px;
  }

  .hero-grid {
    gap: 34px;
  }

  .blob-front {
    right: 6%;
    width: 260px;
    height: 225px;
  }

  .blob-back {
    right: 0;
    width: 240px;
    height: 215px;
  }

  .service-grid,
  .project-grid,
  .stat-row,
  .logo-wall {
    grid-template-columns: 1fr;
  }

  .case-card,
  .case-card:nth-child(n+5) {
    grid-column: 1 / -1;
  }

  .browser-card {
    left: 0;
    width: 100%;
    height: 100%;
  }
  .about-copy {
    margin-top: 40px;
}

  .browser-body {
    grid-template-columns: 82px 1fr;
  }

  .dash-content {
    grid-template-columns: 1fr;
  }

  .section-row,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-logo {
    position: static;
    margin-top: 38px;
    font-size: 30px;
  }
}

.process-section{
  padding:140px 7%;
  background:#ffffff;
  overflow:hidden;
}

.process-container{
  max-width:1450px;
  margin:auto;
}

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

.process-header{
  max-width:760px;
  margin-bottom:50px;
}

.process-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:12px;
  font-size:14px;
  font-weight:700;
  letter-spacing:3px;
  text-transform:uppercase;
  color:#2b73ff;
  margin-bottom:22px;
}

.process-eyebrow::before{
  content:"";
  width:50px;
  height:2px;
  background:#2b73ff;
}

.process-title{
  font-size:74px;
  line-height:1.02;
  font-weight:800;
  color:#0b1633;
  margin-bottom:28px;
  letter-spacing:-2px;
}

.process-title span{
  color:#2b73ff;
}

.process-description{
  font-size:22px;
  line-height:1.8;
  color:#5d6b86;
}

/* ===================================
   GRID
=================================== */

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

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

.process-card{
  position:relative;
  padding:38px 32px;
  border-radius:28px;
  background:#ffffff;
  border:1px solid #edf2ff;
  transition:0.4s ease;
  overflow:hidden;
      box-shadow: 1px 6px 20px rgba(31, 115, 255, 0.10);
}

/* top glow */

.process-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:5px;
  background:linear-gradient(
  90deg,
  #25a8ff,
  #2b73ff
  );
}

.process-card:hover{
  transform:translateY(-10px);
  border-color:#cfe1ff;
  box-shadow:
  0 20px 60px rgba(31,115,255,0.10);
}

/* ===================================
   NUMBER
=================================== */

.process-number-wrap{
  display:flex;
  align-items:center;
  gap:20px;
  margin-bottom:34px;
}

.process-number{
  font-size:78px;
  line-height:1;
  font-weight:800;
  background:linear-gradient(
  180deg,
  #4bc5ff,
  #256dff
  );
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.process-line{
  flex:1;
  height:2px;
  background:linear-gradient(
  to right,
  #77c9ff,
  #dcecff
  );
}

/* ===================================
   CONTENT
=================================== */

.process-card h3{
  font-size:34px;
  font-weight:700;
  color:#0b1633;
  margin-bottom:18px;
      margin-top: 15px;
}

.process-card p{
  font-size:18px;
  line-height:1.8;
  color:#5d6b86;
  margin-bottom: 0px;
}

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

@media(max-width:1200px){

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

  .process-title{
    font-size:58px;
  }

}

@media(max-width:768px){
    .intro-card{
            gap: 20px;
    }
    .about-copy .text-link{
            margin-top: 0;
    }
    .dashboard-scene{
            min-height: 250px;
    }
    .logo-wall {
        grid-template-columns: repeat(2, 1fr);
            gap: 30px
    }
    #process .container>div {
    text-align: center;
}
.cta-card h2.heading-md {
    width: 100%;
}

  .process-section{
    padding:90px 0px;
  }

  .process-header{
    margin-bottom:60px;
  }

  .process-title{
    font-size:42px;
    line-height:1.1;
  }

  .process-description{
    font-size:17px;
  }

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

  .process-card{
    padding:30px 26px;
    border-radius:24px;
  }

  .process-number{
    font-size:58px;
  }

  .process-card h3{
    font-size:28px;
  }

  .process-card p{
    font-size:16px;
  }

}

@media(max-width:480px){

  .process-title{
    font-size:34px;
  }

  .process-number{
    font-size:48px;
  }

}