/* =============================================================
   CloudBoolean Technology — styles.css
   Premium corporate design system · Light + Dark theme
   ============================================================= */

/* ---------- Design tokens (LIGHT — default) ---------- */
:root {
  --primary: #2563EB;
  --primary-600: #2563EB;
  --primary-700: #1D4ED8;
  --primary-glow: #06B6D4;
  --accent: #06B6D4;
  --success: #10B981;
  --warning: #F59E0B;

  --bg: #FFFFFF;
  --bg-soft: #F6F8FC;
  --bg-elev: #FFFFFF;
  --surface: rgba(255,255,255,.72);
  --surface-strong: rgba(255,255,255,.92);
  --surface-border: rgba(226,232,240,.9);

  --text: #0B1220;
  --text-strong: #0B1220;
  --heading: #0B1220;
  --muted: #5B6679;
  --border: #E5EAF2;
  --chip-bg: #F1F5FB;
  --cloud-text: #1A3065;
  --boolean-text: #4497e0;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 24px;

  --shadow-xs: 0 1px 2px rgba(15,23,42,.06);
  --shadow-sm: 0 4px 16px rgba(15,23,42,.06);
  --shadow-md: 0 14px 40px rgba(15,23,42,.10);
  --shadow-lg: 0 28px 70px rgba(15,23,42,.14);
  --shadow-glow: 0 24px 60px -20px rgba(37,99,235,.45);

  --grad-primary: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
  --grad-primary-strong: linear-gradient(135deg, #1D4ED8 0%, #0891B2 100%);
  --grad-soft: linear-gradient(135deg, rgba(37,99,235,.10), rgba(6,182,212,.10));
  --grad-hero:
    radial-gradient(60% 60% at 80% 10%, rgba(6,182,212,.20), transparent 60%),
    radial-gradient(50% 50% at 10% 30%, rgba(37,99,235,.22), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F4F7FC 100%);
  --grad-stats: linear-gradient(135deg, #0B1220 0%, #1D4ED8 60%, #06B6D4 100%);

  --footer-bg: #0B1220;
  --footer-text: #C8D2E0;
}

/* ---------- DARK theme ---------- */
[data-theme="dark"] {
  --primary: #60A5FA;
  --primary-700: #3B82F6;
  --primary-glow: #22D3EE;
  --accent: #22D3EE;

  --bg: #07091A;
  --bg-soft: #0C1024;
  --bg-elev: #0F1530;
  --surface: rgba(20, 26, 56, .55);
  --surface-strong: rgba(15, 21, 48, .92);
  --surface-border: rgba(96, 165, 250, .14);

  --text: #E6ECF7;
  --text-strong: #FFFFFF;
  --heading: #FFFFFF;
  --muted: #9AA6BD;
  --cloud-text: #d9dde7;
  --boolean-text:  #4497e0;
  --border: rgba(255,255,255,.10);
  --chip-bg: rgba(255,255,255,.06);

  --shadow-xs: 0 1px 2px rgba(0,0,0,.4);
  --shadow-sm: 0 6px 20px rgba(0,0,0,.35);
  --shadow-md: 0 18px 48px rgba(0,0,0,.45);
  --shadow-lg: 0 30px 80px rgba(0,0,0,.55);
  --shadow-glow: 0 28px 80px -20px rgba(96,165,250,.55);

  --grad-primary: linear-gradient(135deg, #3B82F6 0%, #22D3EE 100%);
  --grad-primary-strong: linear-gradient(135deg, #2563EB 0%, #0891B2 100%);
  --grad-soft: linear-gradient(135deg, rgba(96,165,250,.18), rgba(34,211,238,.14));
  --grad-hero:
    radial-gradient(60% 60% at 80% 10%, rgba(34,211,238,.18), transparent 60%),
    radial-gradient(55% 55% at 10% 25%, rgba(59,130,246,.28), transparent 60%),
    radial-gradient(40% 40% at 50% 90%, rgba(139,92,246,.18), transparent 60%),
    linear-gradient(180deg, #07091A 0%, #0A0F26 100%);
  --grad-stats: linear-gradient(135deg, #0B1024 0%, #1E3A8A 50%, #0E7490 100%);

  --footer-bg: #04060F;
  --footer-text: #9AA6BD;
}

/* Respect system preference if no explicit theme chosen */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { background: var(--bg); }
body {
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .35s ease, color .35s ease;
}

h1, h2, h3, h4, h5, .display-4, .brand-text {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--heading);
}
h2.section-title { font-size: clamp(1.9rem, 2.4vw + 1rem, 2.8rem); line-height: 1.15; }
p { color: var(--muted); }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-700); }
hr { border-color: var(--border); }

::selection { background: var(--primary); color: #fff; }

/* ---------- NAVBAR ---------- */
.navbar-glass {
  background: var(--surface);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--surface-border);
  transition: box-shadow .3s ease, background .3s ease, border-color .3s ease;
}
.navbar-glass.scrolled {
  box-shadow: var(--shadow-sm);
  background: var(--surface-strong);
}
.navbar-brand .brand-text {
  font-weight: 700;
  color: var(--cloud-text);
  letter-spacing: -0.05em;
  /* font-size: 1.18rem; */
  font-size: 1.7rem;
  /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; */
  font-family: "Poppins", sans-serif;

}
.navbar-brand .brand-text em {
  font-style: normal;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  /* color:var(--boolean-text) */
  color:transparent;
}
.navbar .nav-link {
  color: var(--text);
  font-weight: 500;
  padding: .55rem .9rem;
  border-radius: 10px;
  transition: color .2s, background .2s;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--primary);
  background: var(--grad-soft);
}
.navbar-toggler {
  border: 1px solid var(--border);
  color: var(--text);
}
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(37,99,235,.2); }

/* Theme toggle */
.theme-toggle {
  width: 40px; height: 40px;
  display: inline-grid; place-items: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--text);
  cursor: pointer;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.theme-toggle:hover { color: var(--primary); border-color: var(--primary); transform: translateY(-1px); }
.theme-toggle .bi-sun-fill { display: none; }
[data-theme="dark"] .theme-toggle .bi-sun-fill { display: inline; }
[data-theme="dark"] .theme-toggle .bi-moon-stars-fill { display: none; }

/* ---------- BUTTONS ---------- */
.btn-primary-grad {
  background: var(--grad-primary);
  color: #fff !important;
  border: none;
  font-weight: 600;
  border-radius: 12px;
  padding: .75rem 1.25rem;
  box-shadow: 0 10px 24px -10px rgba(37,99,235,.6);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-primary-grad:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 18px 34px -10px rgba(37,99,235,.7);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-weight: 600;
  padding: .7rem 1.2rem;
  transition: border-color .2s, color .2s, background .2s;
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); background: var(--grad-soft); }

/* ---------- HERO ---------- */
.hero { position: relative; padding: 150px 0 10px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: -10% -10% auto -10%; height: 120%;
  background: var(--grad-hero);
  z-index: -1;
  animation: floatBg 16s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  opacity: .35;
}
@keyframes floatBg { from{transform:translateY(0);} to{transform:translateY(-22px);} }

.hero-copy .badge-pill {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .4rem .85rem; border-radius: 999px;
  background: var(--grad-soft); color: var(--primary);
  font-weight: 600; font-size: .85rem;
  border: 1px solid rgba(37,99,235,.18);
}
.hero h1 { color: var(--heading); }
.hero h1 .gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero .lead { color: var(--muted); }
.trust-row { display: flex; flex-wrap: wrap; gap: 1.25rem; color: var(--muted); font-size: .92rem; }
.trust-row > div { display: inline-flex; align-items: center; gap: .4rem; }

.hero-visual { position: relative; }
.hero-visual img {
  width: 100%; height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--surface-border);
}
.float-card {
  position: absolute; display: flex; align-items: center; gap: .65rem;
  padding: .8rem 1.05rem; border-radius: 14px;
  background: var(--surface-strong);
  color: var(--text);
  backdrop-filter: blur(14px);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-md);
  animation: floatY 6s ease-in-out infinite;
}
.float-card strong { color: var(--heading); }
.float-card small { color: var(--muted) !important; }
.float-card.card-1 { top: 6%; left: -24px; }
.float-card.card-2 { bottom: 10%; right: -14px; animation-delay: -2s; }
.float-card.card-3 { top: 48%; right: 18%; animation-delay: -4s; }
@keyframes floatY { 0%,100%{transform: translateY(0);} 50%{transform: translateY(-12px);} }

/* Logo strip */
.logo-strip {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px dashed var(--border);
  display: flex; flex-wrap: wrap; gap: 2rem 3rem;
  align-items: center; justify-content: space-between;
  color: var(--muted); font-weight: 600;
  font-size: .95rem; letter-spacing: .02em;
}
.logo-strip span { opacity: .75; }

/* ---------- SECTIONS ---------- */
.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--bg-soft); }
.section-head { max-width: 760px; margin: 0 auto; }
.eyebrow {
  display: inline-block; padding: .35rem .8rem; border-radius: 999px;
  background: var(--grad-soft); color: var(--primary);
  font-weight: 600; font-size: .78rem;
  letter-spacing: .08em; text-transform: uppercase;
}
.section-sub { color: var(--muted); margin-top: .9rem; font-size: 1.05rem; }

/* ---------- GLASS CARD ---------- */
.glass {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s;
}
[data-theme="dark"] .glass {
  background: var(--surface);
  backdrop-filter: blur(12px);
}
.glass:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in oklab, var(--primary) 40%, var(--border));
}

/* ---------- FEATURES ---------- */
.feature { padding: 1.6rem; }
.feature .ico-wrap {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--grad-soft); color: var(--primary);
  font-size: 1.3rem; margin-bottom: .9rem;
}
.feature h3 { font-size: 1.08rem; margin-top: .25rem; color: var(--heading); }
.feature p { font-size: .94rem; margin-bottom: 0; }

/* ---------- SERVICES ---------- */
.service-card { padding: 1.9rem; }
.service-card .ico {
  width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center;
  font-size: 1.65rem; color: #fff;
  background: var(--grad-primary);
  box-shadow: 0 12px 26px -10px rgba(37,99,235,.55);
}
.service-card h3 { margin-top: 1rem; font-size: 1.22rem; color: var(--heading); }
.service-card p { font-size: .95rem; }
.service-card .bullets {
  list-style: none; padding: 0; margin: .9rem 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: .35rem .9rem;
}
.service-card .bullets li {
  position: relative; padding-left: 1.1rem;
  font-size: .9rem; color: var(--text);
}
.service-card .bullets li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: .45rem; height: .45rem; border-radius: 50%;
  background: var(--accent);
}

/* ---------- STACK / CHIPS ---------- */
.stack { padding: 1.6rem; height: 100%; }
.stack h3 { font-size: 1.1rem; display: flex; align-items: center; gap: .55rem; color: var(--heading); }
.stack h3 i { color: var(--primary); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .8rem; }
.chips span {
  background: var(--chip-bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .35rem .8rem;
  font-size: .85rem; color: var(--text);
  font-weight: 500;
}

/* ---------- INDUSTRIES ---------- */
.industry {
  padding: 1.25rem;
  display: flex; align-items: center; gap: .85rem;
  font-weight: 600; color: var(--heading);
}
.industry i {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--grad-soft); color: var(--primary);
  font-size: 1.15rem;
}

/* ---------- ENGAGEMENT MODELS ---------- */
.model { padding: 1.75rem; height: 100%; position: relative; }
.model .tag {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .25rem .55rem; border-radius: 999px;
  background: var(--chip-bg); color: var(--primary);
}
.model h3 { font-size: 1.2rem; margin: .8rem 0 .4rem; color: var(--heading); }
.model ul { list-style: none; padding: 0; margin: .85rem 0 0; }
.model ul li {
  padding: .35rem 0 .35rem 1.5rem; position: relative;
  font-size: .92rem; color: var(--text);
}
.model ul li::before {
  content: "\F26B"; font-family: "bootstrap-icons";
  position: absolute; left: 0; top: .35rem; color: var(--success);
}
.model.featured {
  border-color: color-mix(in oklab, var(--primary) 55%, var(--border));
  box-shadow: var(--shadow-glow);
}

/* ---------- PROCESS ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.step { padding: 1.4rem; position: relative; }
.step .num {
  display: inline-block; font-weight: 700; font-size: .82rem; color: #fff;
  background: var(--grad-primary); border-radius: 999px;
  padding: .2rem .6rem;
}
.step h3 { font-size: 1.05rem; margin: .65rem 0 .3rem; color: var(--heading); }
.step p { font-size: .9rem; margin: 0; }

/* ---------- PORTFOLIO ---------- */
.case { padding: 1.85rem; position: relative; overflow: hidden; }
.case::before {
  content: ""; position: absolute; inset: auto -30% -50% auto;
  width: 60%; height: 120%;
  background: var(--grad-soft);
  transform: rotate(15deg); border-radius: 50%; z-index: 0;
}
.case > * { position: relative; z-index: 1; }
.case-tag {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem .65rem; border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--primary);
}
.case h3 { margin: .9rem 0 .45rem; font-size: 1.22rem; color: var(--heading); }
.case .result {
  margin-top: 1.1rem; padding-top: 1.1rem;
  border-top: 1px dashed var(--border);
  font-size: .95rem; color: var(--text);
  display: flex; align-items: center; gap: .5rem;
}

/* ---------- STATS ---------- */
.stats-section {
  background: var(--grad-stats);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.08), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,.06), transparent 40%);
}
.stats-section .container { position: relative; z-index: 1; }
.stats-section .stat .num {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700; line-height: 1;
  font-family: 'Space Grotesk', sans-serif;
}
.stats-section .stat span { display: block; margin-top: .45rem; opacity: .92; font-weight: 500; }

/* ---------- ABOUT ---------- */
.mvv { display: grid; gap: 1rem; }
.mvv-item { display: flex; gap: 1rem; padding: 1.2rem; align-items: flex-start; }
.mvv-item i { font-size: 1.55rem; color: var(--primary); }
.mvv-item h3 { font-size: 1.05rem; margin: 0 0 .25rem; color: var(--heading); }
.mvv-item p { margin: 0; font-size: .92rem; }
.trust-list { padding: 1.85rem; }
.trust-list h3 { color: var(--heading); }
.trust-list ul { list-style: none; padding: 0; margin: .65rem 0 0; }
.trust-list li {
  padding: .65rem 0;
  border-bottom: 1px dashed var(--border);
  color: var(--text);
  display: flex; align-items: center; gap: .55rem;
}
.trust-list li:last-child { border-bottom: none; }
.trust-list li i { color: var(--success); }

/* ---------- TESTIMONIALS ---------- */
.testimonial { padding: 1.7rem; display: flex; flex-direction: column; gap: .85rem; }
.testimonial .stars { color: var(--warning); letter-spacing: 2px; font-size: 1rem; }
.testimonial p { font-size: .98rem; color: var(--text); margin: 0; line-height: 1.55; }
.testimonial .author { display: flex; align-items: center; gap: .75rem; margin-top: auto; }
.testimonial .author strong { color: var(--heading); }
.testimonial .author small { color: var(--muted); }
.testimonial .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-primary); color: #fff;
  display: grid; place-items: center; font-weight: 700;
}

/* ---------- FAQ ---------- */
.accordion-item.glass {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-elev);
}
.accordion-button {
  background: transparent;
  font-weight: 600;
  color: var(--heading);
}
.accordion-button:not(.collapsed) {
  background: var(--grad-soft);
  color: var(--primary);
  box-shadow: none;
}
.accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(37,99,235,.2); }
.accordion-body { color: var(--text); }
[data-theme="dark"] .accordion-button::after {
  filter: invert(1) brightness(1.5);
}

/* ---------- CONTACT ---------- */
.contact-info { padding: 1.85rem; }
.contact-info h3 { font-size: 1.18rem; color: var(--heading); }
.contact-info p { color: var(--text); }
.contact-info .map {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}
.contact-info .map iframe { width: 100%; height: 100%; border: 0; }
[data-theme="dark"] .contact-info .map iframe { filter: invert(.92) hue-rotate(180deg) saturate(.85); }

.contact-form { padding: 1.85rem; }
.form-control, .form-select {
  border-radius: 10px;
  padding: .7rem .9rem;
  background: var(--bg);
  border-color: var(--border);
  color: var(--text);
}
.form-control::placeholder { color: var(--muted); }
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 .2rem rgba(37,99,235,.18);
  background: var(--bg);
  color: var(--text);
}
.form-label { font-weight: 500; color: var(--heading); }
/* [data-theme="dark"] .form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2360A5FA' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
} */

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 80px 0 30px;
}
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li a { color: var(--footer-text); display: inline-block; padding: .28rem 0; }
.site-footer li a:hover { color: #fff; }
.site-footer .brand-text { color: #fff; }
.site-footer hr { border-color: rgba(255,255,255,.1); }
.socials a {
  color: #fff; background: rgba(255,255,255,.08);
  width: 38px; height: 38px;
  display: inline-grid; place-items: center;
  border-radius: 10px; margin-right: .4rem;
  transition: background .2s, transform .2s;
}
.socials a:hover { background: var(--primary); transform: translateY(-2px); }

/* ---------- BACK TO TOP ---------- */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 1050;
  width: 48px; height: 48px; border-radius: 50%; border: none; color: #fff;
  background: var(--grad-primary);
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .25s, transform .25s;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--bg-elev);
    padding: 1rem;
    border-radius: 14px;
    margin-top: .5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
  }
  .navbar .btn-primary-grad { width: 100%; margin-top: .5rem; }
  .nav-utils { justify-content: flex-start !important; margin-top: .5rem; }
  .hero { padding: 120px 0 70px; }
  .float-card { display: none; }
  .service-card .bullets { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- BRAND LOGO ---------- */
.brand-logo {
  filter: drop-shadow(0 6px 16px rgba(37,99,235,.35));
  transition: transform .25s ease, filter .25s ease;
}
.navbar-brand:hover .brand-logo { transform: rotate(-6deg) scale(1.05); }
.site-footer .brand-logo { filter: drop-shadow(0 6px 16px rgba(34,211,238,.45)); }

/* ---------- PORTFOLIO IMAGE CARDS ---------- */
.case-img { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.case-img::before { display: none; }
.case-img .case-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}
.case-img .case-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.case-img:hover .case-media img { transform: scale(1.06); }
.case-img .case-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11,18,32,.55) 100%);
  pointer-events: none;
}
.case-img .case-media .case-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--surface-strong);
  backdrop-filter: blur(10px);
  z-index: 2;
}
.case-img .case-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.case-img .case-body h3 { margin: 0 0 .45rem; font-size: 1.18rem; color: var(--heading); }
.case-img .case-body .result { margin-top: auto; padding-top: 1rem; }

/* ---------- ABOUT MEDIA ---------- */
.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--surface-border);
}
.about-media img { width: 100%; height: auto; display: block; }
.about-media-badge {
  position: absolute; left: 18px; bottom: 18px;
  background: var(--surface-strong);
  backdrop-filter: blur(14px);
  border: 1px solid var(--surface-border);
  border-radius: 14px;
  padding: .75rem 1rem;
  display: flex; align-items: center; gap: .65rem;
  box-shadow: var(--shadow-md);
  color: var(--text);
}
.about-media-badge i { color: var(--primary); font-size: 1.6rem; }
.about-media-badge strong { color: var(--heading); }
.about-media-badge small { color: var(--muted); }

/* ---------- CTA BANNER ---------- */
.cta-banner {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.cta-banner .cta-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(120deg, rgba(11,18,32,.92) 0%, rgba(29,78,216,.85) 55%, rgba(8,145,178,.85) 100%),
    url('assets/images/cta-cloud.jpg') center / cover no-repeat;
}
.cta-banner .eyebrow-on-dark {
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
}
.cta-banner .cta-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: clamp(1.9rem, 2.6vw + 1rem, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.cta-banner .cta-title .gradient-text {
  background: linear-gradient(135deg, #7DD3FC 0%, #67E8F9 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta-banner .cta-sub {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  max-width: 640px;
  margin-top: .75rem;
}
.cta-banner .cta-meta {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  display: inline-flex; flex-wrap: wrap; gap: 1rem;
  justify-content: flex-end;
}
.cta-banner .cta-meta i { color: #67E8F9; margin-right: .25rem; }
@media (max-width: 991.98px) {
  .cta-banner { padding: 70px 0; text-align: left; }
  .cta-banner .cta-meta { justify-content: flex-start; }
}
