﻿/* ===== CSS VARIABLES ===== */
:root {
  --black: #08050F;
  --white: #FFFFFF;
  --purple-deep: #0D0818;
  --purple-dark: #160D2E;
  --purple-mid: #2D1760;
  --accent: #00B5FE;
  --accent-soft: #61d4ff;
  --accent-end: #0090d0;
  --gray-100: #F5FBFF;
  --gray-200: #D6F2FF;
  --gray-400: #00B5FE;
  --gray-600: #6D5A8A;
  --gray-800: #1E1535;
  --serif: 'Nunito', sans-serif;
  --sans: 'Plus Jakarta Sans', sans-serif;
  --grad: linear-gradient(113.41deg, #00B5FD 16.16%, #0552B0 85.27%, #5ADBE4 143.75%, #029FDF 197.8%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--white); color: var(--gray-800); font-size: 16px; line-height: 1.65; overflow-x: hidden; }

body.landing-page .border-section-bottom::before,
body.landing-page .border-section-bottom::after,
body.landing-page .section-title::before,
body.landing-page .section-title::after {
  content: none !important;
  display: none !important;
}

/* ===== SHARED GRADIENT HELPERS ===== */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.btn-grad {
  background: var(--grad);
  color: #fff;
  border: none;
  font-family: var(--sans);
  font-weight: 600;
  border-radius: 100px;
  cursor: pointer;
  transition: all .25s;
  box-shadow: 0 6px 28px rgba(0,181,254,.45);
}
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(0,181,254,.65); color:#fff; }

/* ===== NAV ===== */
.main-nav {
background: rgba(8,5,15,0.06);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,181,254,0.15);
  height: 100px;
  position: fixed;
  top: 0;
  z-index: 100;
  width: 100%;
}
.nav-logo-img { height: 92px; width: auto; filter: drop-shadow(0 0 12px rgba(0,181,254,0.4)); }
.nav-cta {
  background: var(--grad);
  color: #fff;
  font-family: var(--sans);
  font-size: 14px;
  padding: 12px 28px;
  border-radius: 100px;
  border: none;
  font-weight: 600;
  transition: all .2s;
  box-shadow: 0 4px 20px rgba(0,181,254,.35);
  white-space: nowrap;
  cursor: pointer;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 28px rgba(0,181,254,.55); }

/* ===== HERO ===== */
.hero-section {
  background:
    linear-gradient(113.41deg, rgba(13,8,24,0.85) 0%, rgba(22,13,46,0.78) 50%, rgba(5,82,176,0.48) 100%),
    var(--hero-background-image) center center / cover no-repeat;
   padding: 180px 0 80px 0;
  position: relative;
  overflow: hidden;
}
.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-bg-orb1 { top: -120px; right: -80px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(0,181,254,0.18) 0%, transparent 65%); }
.hero-bg-orb2 { bottom: -100px; left: 200px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(0,144,208,0.1) 0%, transparent 65%); }
.hero-bg-orb3 { top: 50%; left: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(0,181,254,0.12) 0%, transparent 65%); }
.hero-section::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,181,254,0.5), rgba(0,144,208,0.3), transparent);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(0,181,254,0.4);
  border-radius: 100px;
  background: rgba(0,181,254,0.12);
  padding: 7px 18px;
  font-size: 12px;
  color: rgba(255,255,255,0.9);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 36px;
  max-width: 370px;
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 8px rgba(0,144,208,0.8);
  flex-shrink: 0;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.4;transform:scale(.8);} }

.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 62px);
  font-weight: 400;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 28px;
}
.hero-h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.5);
  max-width: 580px;
  margin-bottom: 48px;
  line-height: 1.8;
  font-weight: 300;
}
.btn-primary-hero {
  background: var(--grad);
  color: #fff;
  font-family: var(--sans);
  font-size: 15px;
  padding: 15px 32px;
  border-radius: 100px;
  border: none;
  font-weight: 600;
  transition: all .25s;
  box-shadow: 0 6px 28px rgba(0,181,254,.45);
  cursor: pointer;
  text-decoration: none;
}
.btn-primary-hero:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(0,181,254,.65); }
.btn-outline-hero {
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.75);
  font-family: var(--sans);
  font-size: 15px;
  padding: 15px 32px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  font-weight: 500;
  transition: all .2s;
  backdrop-filter: blur(8px);
  text-decoration: none;
}
.btn-outline-hero:hover { border-color: transparent; color: #fff; background: var(--grad); box-shadow: 0 6px 24px rgba(0,181,254,.45); }

/* Hero Stats */
.hero-stats { display: flex; gap: 64px; flex-wrap: wrap; }
.stat-item { position: relative; padding-left: 20px; }
.stat-item::before {
  content: '';
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 36px;
  background: var(--grad);
  border-radius: 2px;
}
.stat-val { font-family: var(--serif); font-size: 38px; font-weight: 900; color: #fff; line-height: 1; margin-bottom: 6px; }
.stat-val span { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.4); font-weight: 400; }

/* Hero Form Card */
.hero-form-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(0,181,254,0.25);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,181,254,0.08);
}
.hero-form-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.2;
}
.hero-form-card > p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 24px;
  font-weight: 300;
  line-height: 1.6;
}
.hf-label {
  font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.5);
  letter-spacing: .8px; text-transform: uppercase; display: block; margin-bottom: 5px;
}
.hf-input {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(0,181,254,0.2);
  border-radius: 10px;
  padding: 11px 14px;
  font-family: var(--sans); font-size: 13px;
  color: #fff; outline: none;
  transition: border-color .2s, background .2s;
  width: 100%;
}
.hf-input::placeholder { color: rgba(255,255,255,0.25); }
.hf-input:focus {
  border-color: rgba(0,181,254,0.6);
  background: rgba(0,181,254,0.08);
  box-shadow: 0 0 0 3px rgba(0,181,254,0.12);
  outline: none;
}
.hf-input option { background: #0D0818; color: #fff; }
textarea.hf-input { resize: none; min-height: 88px; }
.hero-form-submit {
    width: 100%;
    margin-top: 4px;
    background: var(--grad);
    color: #fff !important;
    font-family: var(--sans);
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 13px 24px !important;
    border-radius: 100px;
    border: none !important;
    cursor: pointer !important;
    transition: all .25s;
    box-shadow: 0 4px 20px rgba(0,181,254,0.4);
    letter-spacing: .3px !important;
}
.hero-form-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(0,181,254,.6); }
.hero-form-submit:disabled { opacity:.72; cursor:not-allowed; transform:none !important; }

/* â”€â”€ Hero form: field validation states â”€â”€ */
.hf-req { color: rgba(0,181,254,.85); font-size: 12px; }

.hf-field-wrap { position: relative; }
.hf-tick, .hf-cross {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-size: 11px; font-weight: 800; pointer-events: none;
  opacity: 0; transition: opacity .2s;
}
.hf-tick  { color: #28C840; }
.hf-cross { color: #f87171; }

/* valid */
.hf-valid .hf-input  { border-color: rgba(40,200,64,.6) !important; background: rgba(40,200,64,.07) !important; }
.hf-valid .hf-tick   { opacity: 1; }
/* invalid */
.hf-invalid .hf-input { border-color: rgba(248,113,113,.65) !important; background: rgba(248,113,113,.06) !important; animation: hfShake .35s ease; }
.hf-invalid .hf-cross { opacity: 1; }
@keyframes hfShake { 0%,100%{transform:none;} 20%{transform:translateX(-5px);} 60%{transform:translateX(5px);} }

/* textarea tick/cross: pin to top-right */
.hf-field-wrap textarea ~ .hf-tick,
.hf-field-wrap textarea ~ .hf-cross { top: 14px; transform: none; }

/* inline error messages */
.hf-err {
  font-size: 11px; color: #f87171;
  margin-top: 4px; display: none; font-weight: 600; letter-spacing: .2px;
}
.hf-err.hf-show-err { display: block !important; }

/* char counter */
.hf-char-count { font-size: 10px; color: rgba(255,255,255,.3); font-weight: 500; transition: color .2s; }
.hf-char-count.hf-near { color: #f59e0b; }
.hf-char-count.hf-full  { color: #f87171; }

/* privacy row */
.hf-privacy-row { display: flex; align-items: flex-start; gap: 8px; margin-top: 2px; }
.hf-privacy-label { font-size: 11px; color: rgba(255,255,255,.35); line-height: 1.6; cursor: pointer; }

/* â”€â”€ Hero form: success screen â”€â”€ */
.hf-success {
  flex-direction: column; align-items: center;
  text-align: center; padding: 8px 4px 0;
  animation: hfFadeUp .4s ease both;
}
@keyframes hfFadeUp { from{opacity:0;transform:translateY(14px);} to{opacity:1;transform:translateY(0);} }

.hf-success-icon {
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(0,181,254,.09);
  border: 1px solid rgba(0,181,254,.28);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  animation: hfPop .5s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes hfPop { from{transform:scale(0);} to{transform:scale(1);} }

.hf-success-title {
  font-family: var(--serif); font-size: 20px; font-weight: 900;
  color: #fff; margin-bottom: 8px; line-height: 1.2;
}
.hf-success-sub {
  font-size: 13px; color: rgba(255,255,255,.45);
  line-height: 1.75; margin-bottom: 18px;
}
.hf-success-summary {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(0,181,254,.2);
  border-radius: 12px; padding: 14px 18px;
  font-size: 12px; color: rgba(255,255,255,.5);
  text-align: left; width: 100%; margin-bottom: 18px; line-height: 2;
}
.hf-success-summary strong { color: rgba(0,181,254,.9); }
.hf-success-reset {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  color: rgba(0,181,254,.8); background: none; border: none;
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
  padding: 0; transition: opacity .2s;
}
.hf-success-reset:hover { opacity: .65; }
@keyframes hfSpin { to { transform: rotate(360deg); } }

/* ===== SECTION SHARED ===== */
.section-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 16px; display: inline-block;
}
.section-title {
  font-family: var(--serif); font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 900; line-height: 1.12; letter-spacing: -.5px;
  color: var(--gray-800); margin-bottom: 16px;
  /**/
  padding-bottom: 0;
}
.section-sub { font-size: 17px; color: var(--gray-600); font-weight: 300; max-width: 520px; line-height: 1.8; }

/* ===== LOGOS ===== */
.logos-section {
  background: var(--gray-100);
  padding: 56px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
}
.logos-label { text-align: center; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 40px; }
.logos-carousel-wrap { position: relative; width: 100%; overflow: hidden; }
.logos-carousel-wrap::before,
.logos-carousel-wrap::after {
  content: ''; position: absolute; top: 0; width: 140px; height: 100%; z-index: 2; pointer-events: none;
}
.logos-carousel-wrap::before { left: 0; background: linear-gradient(to right, var(--gray-100), transparent); }
.logos-carousel-wrap::after  { right: 0; background: linear-gradient(to left, var(--gray-100), transparent); }
.logos-track {
  display: flex; align-items: center; gap: 52px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.logos-track:hover { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 130px; height: 60px; flex-shrink: 0;
  background: #fff; border-radius: 12px;
  border: 1px solid rgba(0,181,254,0.12);
  padding: 10px 16px;
  transition: box-shadow .2s, border-color .2s;
  box-shadow: 0 2px 8px rgba(0,181,254,0.05);
}
.logo-card:hover { border-color: rgba(0,181,254,.35); box-shadow: 0 4px 18px rgba(0,181,254,.12); }
.logo-card img { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; object-fit: contain; }

/* ===== INDUSTRIES ===== */
.industries-section { background: #fff; padding: 80px 0; }
.industry-card {
  border: 1px solid #EDE9FE; border-radius: 16px; padding: 28px 24px;
  background: #fff; transition: all .3s; cursor: default;
  position: relative; overflow: hidden; height: 100%;
}
.industry-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,181,254,0.04), rgba(0,144,208,0.02));
  opacity: 0; transition: opacity .3s;
}
.industry-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,181,254,.12); }
.industry-card:hover::before { opacity: 1; }
.industry-icon { font-size: 48px; margin-bottom: 14px; }
.industry-icon img { width: 48px; height: 48px; object-fit: contain; display: block; }
.industry-name { font-family: var(--serif); font-size: 15px; font-weight: 800; color: var(--gray-800); }

/* ===== PRICING ===== */
.pricing-section { background: var(--gray-100); padding: 80px 0; }
.pricing-card {
  background: #fff; border: 1px solid #EDE9FE; border-radius: 20px;
  padding: 40px 36px; position: relative; transition: all .3s; height: 100%;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,181,254,.1); }
.pricing-card.featured {
  border: 2px solid transparent;
  background: linear-gradient(#fff,#fff) padding-box, var(--grad) border-box;
  box-shadow: 0 8px 40px rgba(0,181,254,.2);
}
.featured-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad);
  color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 18px; border-radius: 100px;
  white-space: nowrap; box-shadow: 0 4px 16px rgba(0,181,254,.4);
}
.plan-tier {
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 6px; display: inline-block;
}
.plan-name { font-family: var(--serif); font-size: 26px; font-weight: 900; margin-bottom: 6px; color: var(--gray-800); }
.plan-tech { font-size: 13px; color: var(--accent); margin-bottom: 24px; font-weight: 400; }
.plan-price { font-family: var(--serif); font-size: 44px; font-weight: 900; color: var(--gray-800); margin-bottom: 4px; line-height: 1; }
.plan-lead {
  font-size: 13px; background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  font-weight: 600; margin-bottom: 28px; display: inline-block;
}
.plan-divider { height: 1px; background: linear-gradient(90deg, rgba(0,181,253,.25), transparent); margin-bottom: 24px; }
.plan-features { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.plan-features li { font-size: 14px; color: var(--gray-600); display: flex; align-items: flex-start; gap: 10px; }
.plan-features li::before {
  content: '✓';
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  font-weight: 800; font-size: 14px; flex-shrink: 0; margin-top: 1px;
}
.plan-features li.bold-feat { color: var(--gray-800); font-weight: 600; }
.plan-highlight {
  background: linear-gradient(135deg, rgba(0,181,254,.08), rgba(0,144,208,.05));
  border: 1px solid rgba(0,181,254,.15);
  border-radius: 10px; padding: 12px 16px;
  font-size: 13px; color: var(--accent); font-weight: 600;
  margin-bottom: 28px; text-align: center;
}
.plan-cta {
  width: 100%; padding: 14px; border-radius: 100px; font-family: var(--sans);
  font-size: 15px; font-weight: 600; cursor: pointer; transition: all .25s;
  border: 2px solid transparent;
  background: linear-gradient(#fff,#fff) padding-box, var(--grad) border-box;
  color: var(--accent);
  text-decoration: none;
  text-align: center;
}
.plan-cta:hover { background: var(--grad); color: #fff; box-shadow: 0 6px 24px rgba(0,181,254,.4); }
.pricing-card.featured .plan-cta { background: var(--grad); color: #fff; box-shadow: 0 6px 24px rgba(0,181,254,.35); text-decoration: none; }
.pricing-card.featured .plan-cta:hover { box-shadow: 0 8px 32px rgba(0,181,254,.55); transform: translateY(-1px); }

/* ===== PROCESS ===== */
.process-section { background: #fff; padding: 80px 0; }
.process-steps { position: relative; }
.process-connector {
  position: absolute; top: 28px; left: 10%; right: 10%; height: 2px;
  background: var(--grad); z-index: 0; border-radius: 2px; opacity: .3; width:80%;
}
.process-step { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 18px; font-weight: 900; color: #fff;
  margin: 0 auto 20px; box-shadow: 0 4px 20px rgba(0,181,254,.4);
}
.step-icon { font-size: 42px; margin-bottom: 12px; }
.step-title { font-family: var(--serif); font-size: 16px; font-weight: 800; color: var(--gray-800); margin-bottom: 8px; }
.step-desc { font-size: 13px; color: var(--gray-600); line-height: 1.6; }

/* ===== CASE STUDIES ===== */
.cases-section {
  background: var(--purple-deep);
  padding: 80px 0;
  position: relative; overflow: hidden;
}
.cases-section::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,181,254,.15) 0%, transparent 65%);
  pointer-events: none;
}
.cases-section .section-title { color: #fff; }
.cases-section .section-sub { color: rgba(255,255,255,.65); }
.cases-section .section-tag { background: none; -webkit-text-fill-color: rgba(255,255,255,.55); color: rgba(255,255,255,.55); }
.case-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,181,254,.2);
  border-radius: 16px;
  padding: 36px 32px;
  transition: all .3s;
  backdrop-filter: blur(8px);
  height: 100%;
}
.case-card:hover { border-color: rgba(0,181,254,.5); transform: translateY(-4px); background: rgba(0,181,254,.1); box-shadow: 0 12px 48px rgba(0,181,254,.2); }
.case-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.case-tag {
  font-size: 11px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px;
  background: rgba(0,181,254,.2); color: rgba(255,255,255,.85);
  border: 1px solid rgba(0,181,254,.35);
}
.case-title { font-family: var(--serif); font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 24px; line-height: 1.4; }
.case-result {
  font-family: var(--serif); font-size: 44px; font-weight: 900;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 8px; line-height: 1;
}
.case-result-label { font-size: 13px; color: rgba(255,255,255,.65); }

/* ===== CASE STUDY CAROUSEL ===== */
.gallery-section { background: var(--gray-100); padding: 80px 0; }

/* â”€â”€ Carousel wrapper â”€â”€ */
.cs-outer {
  position: relative;
  overflow: hidden;
  /* bleed-peek: show ~20px of the next/prev card */
  margin: 0 -4px;
  padding: 12px 4px 4px;
}

/* â”€â”€ Sliding track â”€â”€ */
.cs-track {
  display: flex;
  gap: 20px;
  transition: transform .42s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.cs-track.dragging { cursor: grabbing; transition: none; }

/* â”€â”€ Single card â”€â”€ */
.cs-card {
  flex: 0 0 calc((100% - 40px) / 3); /* 3-up desktop */
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: #0D1535;
  border: 1px solid rgba(0,181,254,.16);
  box-shadow: 0 4px 24px rgba(0,0,0,.16);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  cursor: pointer;
}
.cs-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 52px rgba(0,181,254,.2);
  border-color: rgba(0,181,254,.45);
}

/* â”€â”€ Image â”€â”€ */
.cs-card__img {
  width: 100%; height: 320px;
  object-fit: cover; object-position: top;
  display: block;
  transition: transform .4s ease, filter .3s;
  filter: brightness(.88);
}
.cs-card:hover .cs-card__img { transform: scale(1.05); filter: brightness(1); }

/* â”€â”€ Dark overlay for legibility â”€â”€ */
.cs-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,18,60,.9) 0%, rgba(5,18,60,.35) 50%, transparent 100%);
  transition: opacity .3s;
}
.cs-card:hover .cs-card__overlay { opacity: .85; }

/* â”€â”€ Zoom icon on hover â”€â”€ */
.cs-card__zoom {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(.65);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.14); backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,.42);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: all .3s; z-index: 2;
}
.cs-card__zoom svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; }
.cs-card:hover .cs-card__zoom { opacity: 1; transform: translate(-50%,-50%) scale(1); }

/* â”€â”€ Caption â”€â”€ */
.cs-card__caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px 18px 16px; z-index: 2;
}
.cs-card__tags { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 7px; }
.cs-card__tag {
  font-size: 10px; font-weight: 700; letter-spacing: .6px;
  text-transform: uppercase; padding: 3px 10px; border-radius: 100px;
  background: rgba(0,181,254,.18); color: rgba(255,255,255,.9);
  border: 1px solid rgba(0,181,254,.32);
}
.cs-card__title {
  font-family: var(--serif); font-size: 14px; font-weight: 800;
  color: #fff; line-height: 1.35; margin: 0;
}

/* Fallback gradient backgrounds */
.cs-bg-1 { background: linear-gradient(135deg,#0D1B4B,#0552B0,#00B5FD); }
.cs-bg-2 { background: linear-gradient(135deg,#0A2540,#0D4F8C,#5ADBE4); }
.cs-bg-3 { background: linear-gradient(135deg,#071A3E,#0552B0,#029FDF); }
.cs-bg-4 { background: linear-gradient(135deg,#0D2A5C,#1565C0,#00B5FD); }
.cs-bg-5 { background: linear-gradient(135deg,#082040,#0552B0,#5ADBE4); }
.cs-bg-6 { background: linear-gradient(135deg,#091E3C,#0D4A9E,#029FDF); }

/* â”€â”€ Controls bar â”€â”€ */
.cs-controls {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-top: 28px; gap: 16px;
}
.cs-dots { display: flex; gap: 7px; align-items: center; }
.cs-dot {
  width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0;
  background: rgba(0,181,254,.22); cursor: pointer; transition: all .25s;
}
.cs-dot.active {
  background: var(--accent); transform: scale(1.35);
  box-shadow: 0 0 8px rgba(0,181,254,.55);
}
.cs-progress-wrap {
  flex: 1; height: 3px; border-radius: 3px;
  background: rgba(0,181,254,.12); overflow: hidden;
}
.cs-progress-bar {
  height: 100%; border-radius: 3px;
  background: var(--grad); transition: width .4s ease;
}
.cs-nav-wrap { display: flex; gap: 8px; }
.cs-nav-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff; border: 1.5px solid rgba(0,181,254,.2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .22s;
  box-shadow: 0 2px 10px rgba(0,0,0,.06); color: var(--gray-800);
}
.cs-nav-btn:hover {
  background: var(--grad); color: #fff; border-color: transparent;
  box-shadow: 0 6px 20px rgba(0,181,254,.35); transform: scale(1.05);
}
.cs-nav-btn:disabled { opacity: .35; cursor: not-allowed; transform: none; box-shadow: none; }
.cs-nav-btn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Responsive */
@media (max-width: 991.98px) {
  .cs-card { flex: 0 0 calc((100% - 20px) / 2); }
}
@media (max-width: 575.98px) {
  .cs-card { flex: 0 0 86%; }
  .cs-card__img { height: 190px; }
}

/* ===== MAGNIFIC POPUP CUSTOM THEME ===== */

/* Overlay */
.mfp-bg {
  background: rgba(5,10,30,.96) !important;
  backdrop-filter: blur(16px);
}
.mfp-wrap { z-index: 2000 !important; }

/* Container */
.mfp-container { padding: 20px !important; }

/* Image holder */
.mfp-figure { border-radius: 20px; overflow: hidden; }
.mfp-figure figure { margin: 0; }
.mfp-figure img.mfp-img {
  max-height: 75vh !important;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
  padding: 0 !important;
}

/* Caption bar beneath image */
.mfp-bottom-bar {
  background: linear-gradient(135deg, #0A1428, #0D1535) !important;
  border: 1px solid rgba(0,181,254,.2) !important;
  border-top: none !important;
  border-radius: 0 0 16px 16px !important;
  padding: 18px 24px !important;
  margin-top: 0 !important;
  top: auto !important;
}
.mfp-title {
  font-family: var(--serif) !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  color: #fff !important;
  line-height: 1.3 !important;
  padding-right: 60px !important;
}
.mfp-title .cs-mp-tags {
  display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px;
}
.cs-mp-tag {
  font-size: 10px; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; padding: 3px 10px; border-radius: 100px;
  background: rgba(0,181,254,.18); color: rgba(255,255,255,.9);
  border: 1px solid rgba(0,181,254,.35);
}
.mfp-counter {
  color: rgba(255,255,255,.4) !important;
  font-size: 12px !important;
  font-family: var(--sans) !important;
  font-weight: 600 !important;
  top: 20px !important;
  right: 24px !important;
}

/* Close button */
.mfp-close {
  background: rgba(255,255,255,.1) !important;
  border: 1px solid rgba(255,255,255,.2) !important;
  border-radius: 50% !important;
  color: #fff !important;
  font-size: 20px !important;
  width: 38px !important; height: 38px !important;
  line-height: 38px !important;
  right: -10px !important; top: -10px !important;
  opacity: 1 !important;
  transition: all .2s !important;
  backdrop-filter: blur(8px);
}
.mfp-close:hover {
  background: rgba(0,181,254,.45) !important;
  border-color: rgba(0,181,254,.7) !important;
}

/* Prev / Next arrows */
.mfp-arrow {
  opacity: 1 !important;
  margin-top: -26px !important;
  background: rgba(13,21,53,0.85) !important;
  border: 1.5px solid rgba(0,181,254,.35) !important;
  border-radius: 50% !important;
  backdrop-filter: blur(10px);
  transition: all .22s !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  cursor: pointer !important;
}
.mfp-arrow:hover {
  background: var(--grad) !important;
  border-color: transparent !important;
  box-shadow: 0 6px 24px rgba(0,181,254,.45) !important;
  transform: translateY(-50%) scale(1.08) !important;
}
/* Kill Magnific's default triangle shapes 
.mfp-arrow::before,
.mfp-arrow::after {
  display: none !important;
  border: none !important;
  content: '' !important;
}*/
/* Our custom arrow glyphs via a child span we inject */
.mfp-arrow-left  { left: 20px !important; }
.mfp-arrow-right { right: 20px !important; }
/* Use Magnific's own .mfp-prevent-close class on the arrows â€” just style the icon */
.mfp-arrow-left  > .mfp-a  { display: none; }
.mfp-arrow-right > .mfp-a  { display: none; }
/* Inject icon text with pseudo on the inner element magnific creates */
.mfp-arrow-left  .mfp-b::after  { content: 'â€¹'; font-size: 28px; color: #fff; font-family: sans-serif; line-height: 1; }
.mfp-arrow-right .mfp-b::after  { content: 'â€º'; font-size: 28px; color: #fff; font-family: sans-serif; line-height: 1; }
.mfp-arrow-left  .mfp-b,
.mfp-arrow-right .mfp-b {
  position: absolute !important;
  top: 50% !important; left: 50% !important;
  transform: translate(-50%, -50%) !important;
  border: none !important;
  width: auto !important; height: auto !important;
  margin: 0 !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
}

/* Loading spinner */
.mfp-preloader { color: var(--accent) !important; }

/* Counter position â€” inline in caption bar */
.mfp-counter {
  color: rgba(255,255,255,.4) !important;
  font-size: 12px !important;
  font-family: var(--sans) !important;
  font-weight: 700 !important;
  letter-spacing: .8px !important;
  position: absolute !important;
  top: 50% !important;
  right: 24px !important;
  transform: translateY(-50%) !important;
  background: rgba(0,181,254,.12) !important;
  border: 1px solid rgba(0,181,254,.2) !important;
  border-radius: 100px !important;
  padding: 4px 12px !important;
}

/* Make arrows very visible over image */
.mfp-figure::after { background: none !important; }
.mfp-wrap .mfp-arrow { z-index: 9999 !important; }

/* Mobile: smaller arrows, tuck in tighter */
@media (max-width: 575px) {
  /*.mfp-arrow { width: 40px !important; height: 40px !important; }*/
  .mfp-arrow-left  { left: 8px !important; }
  .mfp-arrow-right { right: 8px !important; }
  .mfp-bottom-bar { padding: 14px 16px !important; }
  .mfp-title { font-size: 15px !important; }
}

/* Animations */
.mfp-with-zoom .mfp-figure,
.mfp-with-zoom.mfp-bg { opacity: 0; transition: all .3s ease-in-out; }
.mfp-with-zoom.mfp-ready .mfp-figure { opacity: 1; }
.mfp-with-zoom.mfp-ready.mfp-bg { opacity: 1; }
.mfp-with-zoom.mfp-removing .mfp-figure,
.mfp-with-zoom.mfp-removing.mfp-bg { opacity: 0; }




/* ===== WHY US ===== */
.why-section {
  background: linear-gradient(160deg, #08050F 0%, #0D1535 50%, #071228 100%);
  padding: 80px 0;
  position: relative; overflow: hidden;
}
.why-section::before {
  content: ''; position: absolute; top: -200px; right: -150px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,181,254,.07) 0%, transparent 65%);
  pointer-events: none;
}
.why-section::after {
  content: ''; position: absolute; bottom: -150px; left: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(5,82,176,.08) 0%, transparent 65%);
  pointer-events: none;
}
.why-section .section-tag { background: none; -webkit-text-fill-color: rgba(255,255,255,.5); color: rgba(255,255,255,.5); }
.why-section .section-title { color: #fff; }
.why-section .section-sub { color: rgba(255,255,255,.5); }
.why-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(0,181,254,.12);
  border-radius: 20px; padding: 36px 32px;
  transition: all .35s; position: relative; overflow: hidden;
  display: flex; flex-direction: column; height: 100%;
}
.why-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,181,254,.06) 0%, transparent 60%);
  opacity: 0; transition: opacity .35s; border-radius: 20px;
}
.why-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .35s; border-radius: 2px;
}
.why-card:hover { border-color: rgba(0,181,254,.3); transform: translateY(-5px); box-shadow: 0 20px 60px rgba(0,0,0,.4), 0 0 0 1px rgba(0,181,254,.15); }
.why-card:hover::before { opacity: 1; }
.why-card:hover::after { transform: scaleX(1); }
.why-card:hover .why-icon-wrap { transform: scale(1.08); box-shadow: 0 8px 32px rgba(0,181,254,.35); }
.why-icon-wrap {
  width: 60px; height: 60px; border-radius: 16px;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0,181,254,.25);
  transition: all .35s;
}
.why-icon-wrap svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why-title { font-family: var(--serif); font-size: 19px; font-weight: 800; color: #fff; margin-bottom: 12px; line-height: 1.3; }
.why-body { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.85; font-weight: 300; }

/* ===== TECH ===== */
.tech-section {
  background: linear-gradient(160deg, #F5FBFF 0%, #EBF6FF 60%, #F0F8FF 100%);
  padding: 80px 0;
  position: relative; overflow: hidden;
}
.tech-section::before {
  content: ''; position: absolute; top: -300px; right: -200px;
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,181,254,.1) 0%, transparent 65%);
  pointer-events: none;
}
.tech-section::after {
  content: ''; position: absolute; bottom: -200px; left: -100px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(5,82,176,.07) 0%, transparent 65%);
  pointer-events: none;
}
.tech-category-label { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(0,181,254,.7); margin-bottom: 12px; }
.tech-card {
  background: #fff;
  border: 1px solid rgba(0,181,254,.18);
  border-radius: 14px; padding: 16px 12px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  cursor: default;
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
  position: relative; overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,181,254,.06);
  height: 100%;
}
.tech-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,181,254,.06) 0%, transparent 60%);
  opacity: 0; transition: opacity .3s; border-radius: 18px;
}
.tech-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,181,254,.7), transparent);
  transform: scaleX(0); transform-origin: center; transition: transform .35s;
}
.tech-card:hover { border-color: rgba(0,181,254,.4); transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,181,254,.15), 0 2px 8px rgba(0,0,0,.06); }
.tech-card:hover::before { opacity: 1; }
.tech-card:hover::after { transform: scaleX(1); }
.tech-card:hover .tech-logo-wrap { transform: scale(1.08); filter: drop-shadow(0 0 8px rgba(0,181,254,.4)); }
.tech-logo-wrap { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; transition: all .3s; }
.tech-logo-wrap img { width: 100%; height: 100%; object-fit: contain; }
.tech-name { font-size: 11px; font-weight: 700; color: var(--gray-800); text-align: center; line-height: 1.3; letter-spacing: .2px; }
/* ===== TECH VISUAL ===== */
.tech-visual-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
  filter: drop-shadow(0 24px 60px rgba(0,181,254,0.18));
}
.tech-visual-svg {
  width: 100%;
  height: auto;
  border-radius: 24px;
}
.tech-visual-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(13,21,53,0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0,181,254,0.3);
  border-radius: 100px;
  padding: 8px 16px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  animation: badgeFloat 3s ease-in-out infinite;
}
.tech-visual-badge--tl {
  top: -14px;
  left: -16px;
  animation-delay: 0s;
}
.tech-visual-badge--br {
  bottom: 24px;
  right: -16px;
  animation-delay: 1.5s;
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.tech-visual-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(0,181,254,0.8);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

.tech-card { animation: techFadeIn .5s ease both; }
.tech-card:nth-child(1){animation-delay:.05s} .tech-card:nth-child(2){animation-delay:.1s} .tech-card:nth-child(3){animation-delay:.15s} .tech-card:nth-child(4){animation-delay:.2s} .tech-card:nth-child(5){animation-delay:.25s} .tech-card:nth-child(6){animation-delay:.3s}
@keyframes techFadeIn { from{opacity:0;transform:translateY(20px);} to{opacity:1;transform:translateY(0);} }

/* ===== ACHIEVEMENTS ===== */
.achievements-section { background: #fff; padding: 80px 0; }
.achievement-badge {
  border: 1px solid #EDE9FE; border-radius: 12px; padding: 18px 24px;
  font-size: 14px; font-weight: 600; color: var(--gray-800);
  display: inline-flex; align-items: center; gap: 10px; transition: all .2s;
}
.achievement-badge:hover { border-color: rgba(0,181,254,.3); box-shadow: 0 4px 16px rgba(0,181,254,.1); }
.achievement-badge::before { content: '🏆'; font-size: 18px; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, #0D0818 0%, #160D2E 40%, #1A0A35 100%);
  padding: 104px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse, rgba(0,181,254,.2) 0%, transparent 65%);
  pointer-events: none;
}
.cta-banner::after {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,144,208,.1) 0%, transparent 65%);
  pointer-events: none;
}
.cta-banner h2 { font-family: var(--serif); font-size: clamp(28px,5vw,52px); font-weight: 900; color: #fff; margin-bottom: 20px; line-height: 1.1; position: relative; z-index: 1; }
.cta-banner h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.cta-banner p { font-size: 17px; color: rgba(255,255,255,.45); margin: 0 auto 40px; font-weight: 300; position: relative; z-index: 1; max-width: 460px; line-height: 1.8; }
.btn-cta-banner {
  background: var(--grad); color: #fff;
  font-family: var(--sans); font-size: 16px; font-weight: 600;
  padding: 16px 40px; border-radius: 100px; border: none;
  cursor: pointer; transition: all .25s;
  box-shadow: 0 6px 28px rgba(0,181,254,.45);
  position: relative; z-index: 1;
  text-decoration: none;
}
.btn-cta-banner:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(0,181,254,.65); }

/* ===== CONTACT ===== */
.contact-section {
  background: linear-gradient(160deg, #F5FBFF 0%, #EBF6FF 60%, #F0F8FF 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute; top: -200px; right: -150px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,181,254,.08) 0%, transparent 65%);
  pointer-events: none;
}
.contact-section::after {
  content: '';
  position: absolute; bottom: -150px; left: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(5,82,176,.06) 0%, transparent 65%);
  pointer-events: none;
}

/* Outer frame */
.contact-frame {
  position: relative; z-index: 1;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0,181,254,0.22),
    0 32px 80px rgba(0,181,254,0.10),
    0 8px 32px rgba(0,0,0,0.08);
  background: #fff;
}

/* Left dark panel */
.contact-panel-left {
  background: linear-gradient(160deg, #08050F 0%, #0D1535 55%, #071228 100%);
  padding: 56px 44px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 580px;
}
.contact-panel-left::before {
  content: '';
  position: absolute; top: -120px; right: -80px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,181,254,.13) 0%, transparent 65%);
  pointer-events: none;
}
.contact-panel-left::after {
  content: '';
  position: absolute; bottom: -80px; left: -60px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(5,82,176,.12) 0%, transparent 65%);
  pointer-events: none;
}
.contact-panel-left .section-tag {
  background: none;
  -webkit-text-fill-color: rgba(0,181,254,0.75);
  color: rgba(0,181,254,0.75);
  position: relative; z-index: 1;
}
.contact-panel-left .section-title {
  color: #fff;
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 12px;
  position: relative; z-index: 1;
}
.contact-panel-left .section-sub {
  color: rgba(255,255,255,.45);
  font-size: 15px;
  max-width: 100%;
  position: relative; z-index: 1;
}

/* Info cards in left panel */
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative; z-index: 1;
  margin-top: 40px;
}
.contact-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,181,254,0.15);
  border-radius: 14px;
  padding: 16px 20px;
  transition: all .25s;
}
.contact-info-card:hover {
  background: rgba(0,181,254,0.08);
  border-color: rgba(0,181,254,0.35);
  transform: translateX(4px);
}
.contact-info-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--grad);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 16px rgba(0,181,254,.25);
}
.contact-info-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: rgba(0,181,254,.65);
  margin-bottom: 3px;
}
.contact-info-value {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.85);
  line-height: 1.3;
}

/* Response promise */
.contact-promise-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(0,181,254,.1);
  border: 1px solid rgba(0,181,254,.25);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.8);
  position: relative; z-index: 1;
  margin-top: 32px;
}
.contact-promise-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #28C840;
  box-shadow: 0 0 8px rgba(40,200,64,.8);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

/* Right form panel */
.contact-panel-right {
  background: #fff;
  padding: 56px 44px;
}
.contact-form-input {
  padding: 13px 18px;
  border: 1.5px solid #E8E4F8;
  border-radius: 12px;
  font-family: var(--sans); font-size: 14px;
  color: var(--gray-800); background: #FAFBFF;
  outline: none; transition: all .2s; font-weight: 400; width: 100%;
}
.contact-form-input:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0,181,254,.1);
  outline: none;
}
textarea.contact-form-input { resize: vertical; min-height: 120px; }
.form-label-custom {
  font-size: 12px; font-weight: 700; color: var(--gray-800);
  margin-bottom: 6px; display: block;
  letter-spacing: .3px; text-transform: uppercase;
}
.btn-contact-submit {
    background: var(--grad);
    color: #fff !important;
    font-family: var(--sans);
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 15px 40px !important;
    border-radius: 100px;
    border: none !important;
    cursor: pointer;
    transition: all .25s;
    box-shadow: 0 6px 24px rgba(0,181,254,.35);
    letter-spacing: .3px !important;
}
.btn-contact-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0,181,254,.55); }

/* Frame gradient border top accent */
.contact-frame-accent {
  height: 3px;
  background: var(--grad);
  width: 100%;
}

/* Responsive */
@media (max-width: 991.98px) {
  .contact-panel-left { min-height: auto; padding: 44px 32px; }
  .contact-panel-right { padding: 44px 32px; }
}
@media (max-width: 575.98px) {
  .contact-panel-left { padding: 36px 24px; }
  .contact-panel-right { padding: 36px 24px; }
}

/* ===== DYNAMIC FORM ===== */
.cf-required { color: var(--accent); font-size: 13px; }
.cf-char-count { font-size: 11px; color: var(--gray-600); font-weight: 500; transition: color .2s; }
.cf-char-count.cf-near { color: #f59e0b; }
.cf-char-count.cf-full { color: #ef4444; }

.cf-input-wrap { position: relative; }
.cf-icon {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-size: 13px; font-weight: 700; pointer-events: none;
  opacity: 0; transition: opacity .2s;
}
.cf-icon-ok { color: #28C840; }
.cf-icon-err { color: #ef4444; }

/* Valid state */
.cf-valid .contact-form-input {
  border-color: #28C840 !important;
  background: #f0fff4 !important;
  box-shadow: 0 0 0 3px rgba(40,200,64,.08) !important;
}
.cf-valid .cf-icon-ok { opacity: 1; }

/* Error state */
.cf-error .contact-form-input {
  border-color: #ef4444 !important;
  background: #fff5f5 !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,.08) !important;
  animation: cfShake .35s ease;
}
.cf-error .cf-icon-err { opacity: 1; }

@keyframes cfShake {
  0%,100%{transform:translateX(0);}
  20%{transform:translateX(-5px);}
  40%{transform:translateX(5px);}
  60%{transform:translateX(-4px);}
  80%{transform:translateX(4px);}
}

.cf-error-msg {
  font-size: 12px; color: #ef4444; margin-top: 5px;
  display: none; font-weight: 500;
}
.cf-error .cf-error-msg { display: block; }

/* Budget pills */
.cf-budget-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-budget-pill {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  padding: 7px 16px; border-radius: 100px;
  border: 1.5px solid #E8E4F8; background: #FAFBFF;
  color: var(--gray-600); cursor: pointer; transition: all .2s;
}
.cf-budget-pill:hover { border-color: var(--accent); color: var(--accent); background: rgba(0,181,254,.05); }
.cf-budget-pill.active {
  background: var(--grad); color: #fff; border-color: transparent;
  box-shadow: 0 4px 14px rgba(0,181,254,.3);
}

/* Submit loading */
@keyframes cfSpin { to { transform: rotate(360deg); } }
.btn-contact-submit:disabled { opacity: .75; cursor: not-allowed; transform: none !important; }

/* Progress bar at top of form while loading */
.cf-progress {
  height: 3px; border-radius: 3px;
  background: var(--grad);
  width: 0; transition: width .4s ease;
  margin-bottom: 20px;
  display: none;
}
.cf-progress.active { display: block; }

/* Success state */
.cf-success-wrap {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 48px 24px;
  animation: cfFadeUp .45s ease;
}
@keyframes cfFadeUp { from{opacity:0;transform:translateY(20px);} to{opacity:1;transform:translateY(0);} }
.cf-success-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,181,254,.1), rgba(90,219,228,.08));
  border: 1px solid rgba(0,181,254,.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  animation: cfPop .5s cubic-bezier(.34,1.56,.64,1);
}
@keyframes cfPop { from{transform:scale(0);} to{transform:scale(1);} }
.cf-success-title {
  font-family: var(--serif); font-size: 28px; font-weight: 900;
  color: var(--gray-800); margin-bottom: 12px;
}
.cf-success-sub {
  font-size: 15px; color: var(--gray-600); line-height: 1.7;
  max-width: 380px; margin-bottom: 24px;
}
.cf-success-summary {
  background: var(--gray-100); border: 1px solid var(--gray-200);
  border-radius: 14px; padding: 18px 24px;
  font-size: 13px; color: var(--gray-600);
  text-align: left; width: 100%; max-width: 420px;
  margin-bottom: 28px; line-height: 1.9;
}
.cf-success-summary strong { color: var(--gray-800); }
.cf-success-reset {
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  color: var(--accent); background: none; border: none;
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
  padding: 0; transition: opacity .2s;
}
.cf-success-reset:hover { opacity: .7; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--purple-deep);
  border-top: 1px solid rgba(0,181,254,.2);
  padding: 40px 0;
}
.footer-logo-img { height: 72px; width: auto; filter: drop-shadow(0 0 10px rgba(0,181,254,.35)); }
.footer-copy { font-size: 13px; color: rgba(255,255,255,.25); font-weight: 300; margin: 0; }
.footer-link { font-size: 13px; color: rgba(255,255,255,.35); text-decoration: none; transition: color .2s; font-weight: 500; }
.footer-link:hover { color: var(--accent); }

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

/* --- Tablet (â‰¤991px) --- */
@media (max-width: 991.98px) {
  /* Nav */
  .main-nav { height: 64px; }
  .nav-logo-img { height: 48px; }

  /* Hero */
  .hero-section { padding: 48px 0 52px; }
  .hero-tag { margin-bottom: 20px; }
  .hero-h1 { margin-bottom: 16px; }
  .hero-sub { margin-bottom: 28px; }
  .hero-stats { gap: 28px; }

  /* Sections */
  .industries-section,
  .pricing-section,
  .process-section,
  .cases-section,
  .gallery-section,
  .why-section,
  .achievements-section { padding: 64px 0; }
  .tech-section { padding: 48px 0; }
  .contact-section { padding: 64px 0; }
  .cta-banner { padding: 72px 0; }

  /* Process */
  .process-connector { display: none; }

  /* Contact panel */
  .contact-panel-left { min-height: auto; padding: 40px 32px; }
  .contact-panel-right { padding: 40px 32px; }
  .contact-info-cards { margin-top: 28px; }
  .contact-promise-pill { margin-top: 24px; font-size: 12px; }

  /* Tech visual */
  .tech-visual-wrap { max-width: 360px; }
  .tech-visual-badge--tl { left: -8px; }
  .tech-visual-badge--br { right: -8px; }
}

/* --- Mobile (â‰¤767px) --- */
@media (max-width: 767.98px) {
  /* Nav */
  .main-nav { height: 60px; }
  .nav-logo-img { height: 42px; }
  .nav-cta { font-size: 13px; padding: 9px 16px; }

  /* Hero */
  .hero-section { padding: 36px 0 40px; }
  .hero-tag { font-size: 10px; padding: 6px 14px; margin-bottom: 16px; }
  .hero-h1 { letter-spacing: -.5px; margin-bottom: 14px; }
  .hero-sub { font-size: 14px; margin-bottom: 22px; }
  .hero-btns { margin-bottom: 0 !important; }
  .hero-stats { gap: 16px; margin-top: 24px; }
  .stat-val { font-size: 26px; }
  .stat-item::before { height: 28px; }
  .stat-label { font-size: 12px; }
  .hero-form-card { padding: 24px 20px; margin-top: 0; }

  /* Logo carousel */
  .logos-section { padding: 36px 0; }
  .logos-label { margin-bottom: 24px; font-size: 11px; }
  .logos-carousel-wrap::before,
  .logos-carousel-wrap::after { width: 48px; }

  /* All content sections */
  .industries-section,
  .pricing-section,
  .process-section,
  .cases-section,
  .gallery-section,
  .why-section,
  .achievements-section { padding: 48px 0; }
  .tech-section { padding: 40px 0; }
  .contact-section { padding: 48px 0; }

  /* Section typography */
  .section-title { margin-bottom: 12px; }
  .section-sub { font-size: 14px; }

  /* Industries */
  .industry-card { padding: 18px 14px; }
  .industry-icon { font-size: 36px; margin-bottom: 10px; }

  /* Pricing */
  .pricing-card { padding: 28px 22px; }
  .plan-price { font-size: 36px; }

  /* Process */
  .process-step { padding: 0 8px; }
  .step-num { width: 44px; height: 44px; font-size: 15px; margin-bottom: 14px; }
  .step-icon { font-size: 38px; margin-bottom: 8px; }

  /* Cases */
  .case-result { font-size: 34px; }
  .case-card { padding: 24px 20px; }

  /* Gallery */
  /* Gallery */

  /* Why */
  .why-card { padding: 24px 20px; }
  .why-icon-wrap { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 16px; }
  .why-icon-wrap svg { width: 22px; height: 22px; }
  .why-title { font-size: 17px; margin-bottom: 8px; }

  /* Tech */
  .tech-visual-wrap { max-width: 100%; margin-top: 8px; }
  .tech-visual-badge { font-size: 11px; padding: 6px 12px; }
  .tech-visual-badge--tl { top: -10px; left: 0; }
  .tech-visual-badge--br { bottom: 12px; right: 0; }

  /* Achievements */
  .achievement-badge { font-size: 13px; padding: 12px 16px; }

  /* CTA banner */
  .cta-banner { padding: 52px 0; }
  .cta-banner p { font-size: 14px; margin-bottom: 28px; }

  /* Lightbox */
  .lightbox-title-text { font-size: 18px; }
  .lightbox-nav { width: 34px; height: 34px; font-size: 17px; }

  /* Contact frame */
  .contact-section .section-sub { font-size: 14px; }
  .contact-section .mb-5 { margin-bottom: 28px !important; }
  .contact-panel-left { padding: 32px 24px; }
  .contact-panel-right { padding: 32px 24px; }
  .contact-info-cards { gap: 10px; margin-top: 20px; }
  .contact-info-card { padding: 12px 14px; gap: 12px; }
  .contact-info-icon { width: 36px; height: 36px; font-size: 15px; border-radius: 10px; }
  .contact-promise-pill { margin-top: 20px; padding: 8px 16px; }

  /* Footer */
  .site-footer { text-align: center; padding: 28px 0; }
  .footer-logo-img { height: 52px; }
  .mfp-image-holder .mfp-content img {
      min-width: 100%;
    }
    .mfp-figure figure {
      overflow-y: scroll;
	  height: 600px;
  }
}
 /*.mfp-image-holder .mfp-content {min-width: 700px;
  height: 500px;
  overflow-y: scroll;}*/
.mfp-image-holder .mfp-content img {
  width: 100%;
  object-fit: unset;
  min-width: 100%;
  max-height: none !important;
}

.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: center;
  padding-right: 0;
  }
.mfp-wrap .mfp-arrow {
  background: transparent !important;
  border: 0 !important;
}
  .mfp-arrow:hover {
  box-shadow: none!important;
}

  .mfp-arrow {backdrop-filter: none;}

/* --- Small mobile (â‰¤575px) --- */
@media (max-width: 575.98px) {
  /* Hero */
  .hero-section { padding: 28px 0 32px; }
  .hero-form-card { padding: 20px 16px; }
  .hero-form-row { gap: 8px; }

  /* All sections tighten further */
  .industries-section,
  .pricing-section,
  .process-section,
  .cases-section,
  .gallery-section,
  .why-section,
  .achievements-section { padding: 40px 0; }
  .tech-section { padding: 36px 0; }
  .contact-section { padding: 40px 0; }
  .logos-section { padding: 28px 0; }

  /* Typography */
  .section-tag { font-size: 10px; letter-spacing: 1.8px; margin-bottom: 10px; }

  /* Industries: 2-col stays but tighter */
  .industry-card { padding: 14px 12px; }
  .industry-icon { font-size: 30px; margin-bottom: 8px; }
  .industry-name { font-size: 13px; }

  /* Process: single col */
  .process-step { padding: 0 4px; }

  /* Achievement badges full width */
  .achievement-badge { width: 100%; justify-content: flex-start; }

  /* CTA */
  .cta-banner { padding: 44px 0; }
  .btn-cta-banner { width: 100%; max-width: 300px; }

  /* Contact */
  .contact-section .mb-5 { margin-bottom: 20px !important; }
  .contact-panel-left { padding: 28px 20px; }
  .contact-panel-right { padding: 28px 20px; }
  .contact-info-cards { gap: 8px; }
  .contact-form-input { padding: 11px 14px; font-size: 13px; }
  .btn-contact-submit { width: 100%; text-align: center; padding: 14px 24px; }

  /* Footer */
  .footer-logo-img { height: 44px; }
}
