/*
Theme Name: Digimanzil
Theme URI: https://www.digimanzil.com/
Author: Digimanzil
Description: Digimanzil digital agency theme. Pixel-identical conversion of the original site, with a full admin control panel (logo, images, hero, colours, header, footer, business info, social, about, portfolio, services, SEO, custom CSS).
Version: 1.0.0
Requires at least: 5.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: digimanzil
*/

/* ============================================================
   DIGIMANZIL — Pro Digital Agency
   Palette: deep emerald, teal accent, amber highlights, warm neutrals
   Typography: Sora (headings) + Inter (body)
   ============================================================ */

:root {
  /* surfaces */
  --bg-light: #f7f9f8;
  --surface: #ffffff;
  --surface-alt: #eef3f1;
  /* brand — emerald / teal */
  --primary: #0c3d36;
  --primary-light: #15584d;
  --primary-dark: #062922;
  --accent: #0ea5a0;
  --accent-light: #14c7c0;
  --accent-soft: #e0f5f3;
  --accent-glow: #2dd4bf;
  /* secondary — amber */
  --secondary: #f59e0b;
  --secondary-soft: #fef3c7;
  --secondary-glow: #fbbf24;
  /* semantics */
  --success: #16a34a;
  --warning: #eab308;
  --error: #dc2626;
  /* text */
  --text-main: #0f1f1c;
  --text-soft: #4b5d57;
  --border-light: #d9e4e0;
  /* dark hero */
  --hero-bg: #04120f;
  --hero-accent: #14c7c0;
  --hero-amber: #fbbf24;
  --hero-mint: #34d399;
  --hero-coral: #fb7185;
  /* typography */
  --font-heading: 'Sora', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  /* spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
}

* {
  font-family: var(--font-body);
}
h1, h2, h3, h4, h5, h6, .display-3, .display-5, .display-6 {
  font-family: var(--font-heading);
}

body {
  background: var(--bg-light);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  letter-spacing: -0.005em;
}

p {
  line-height: 1.7;
  letter-spacing: -0.003em;
}

h1 { line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; }
h2 { line-height: 1.15; letter-spacing: -0.025em; font-weight: 700; }
h3 { line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; }
h4 { line-height: 1.25; letter-spacing: -0.015em; font-weight: 600; }
h5 { line-height: 1.3; letter-spacing: -0.01em; font-weight: 600; }

.display-3 { line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; }
.display-5 { line-height: 1.15; letter-spacing: -0.025em; font-weight: 700; }
.display-6 { line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; }

.text-soft { line-height: 1.65; }

/* --- utility classes --- */
.bg-surface { background-color: var(--surface); }
.bg-surface-alt { background-color: var(--surface-alt); }
.text-soft { color: var(--text-soft) !important; }
.text-accent { color: var(--accent) !important; }
.text-secondary-custom { color: var(--secondary) !important; }
.text-primary-custom { color: var(--primary) !important; }

/* --- buttons --- */
.btn-accent {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 60px;
  transition: all 0.25s ease;
}
.btn-accent:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(14, 165, 160, 0.3);
  transform: translateY(-2px);
}
.btn-outline-glow {
  border: 1.5px solid var(--accent);
  color: var(--accent);
  border-radius: 60px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.25s ease;
  background: transparent;
}
.btn-outline-glow:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-secondary-custom {
  background: var(--secondary);
  color: #fff;
  font-weight: 600;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 60px;
  transition: all 0.25s ease;
}
.btn-secondary-custom:hover {
  background: #d97706;
  color: #fff;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
  transform: translateY(-2px);
}

/* --- sections --- */
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 70px 0; }

/* --- cards --- */
.card-glow {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  transition: all 0.3s ease;
}
.card-glow:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 40px -15px rgba(14, 165, 160, 0.18);
  transform: translateY(-6px);
}

/* --- service icon --- */
.service-icon {
  width: 64px;
  height: 64px;
  background: var(--accent-soft);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.8rem;
}

/* --- stats --- */
.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

/* --- gradient text --- */
.gradient-text {
  background: linear-gradient(135deg, #0ea5a0 0%, #2dd4bf 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 0.8rem 0;
  transition: box-shadow 0.3s ease;
}
.navbar-brand {
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  color: var(--primary) !important;
}
.navbar-brand span {
  color: var(--accent);
}
.nav-link {
  color: var(--text-main) !important;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0.4rem;
  transition: 0.15s;
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--accent) !important;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* mega dropdown */
.dropdown-menu {
  border: 1px solid var(--border-light);
  border-radius: 20px;
  box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.12);
  padding: 1.5rem;
  min-width: 600px;
  margin-top: 0.5rem;
}
.dropdown-item {
  border-radius: 12px;
  padding: 0.75rem 1rem;
  transition: all 0.2s;
}
.dropdown-item:hover {
  background: var(--accent-soft);
  color: var(--accent);
}
.dropdown-item .icon-box {
  width: 40px;
  height: 40px;
  background: var(--accent-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.dropdown-item:hover .icon-box {
  background: var(--accent);
  color: #fff;
}

/* ============================================================
   PRO HERO
   ============================================================ */
.hero-pro {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse at 65% 40%, #062922 0%, #04120f 65%);
  overflow: hidden;
  padding: 140px 0 100px;
  color: #e0f0ed;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 199, 192, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 199, 192, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: 0;
  mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
}

/* ambient glows */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
}
.glow-orb.teal {
  width: 550px;
  height: 550px;
  background: rgba(20, 199, 192, 0.14);
  top: -10%;
  left: -5%;
  animation: floatOrb 14s ease-in-out infinite;
}
.glow-orb.amber {
  width: 450px;
  height: 450px;
  background: rgba(251, 191, 36, 0.08);
  bottom: -15%;
  right: 5%;
  animation: floatOrb 17s ease-in-out infinite reverse;
}
.glow-orb.mint {
  width: 350px;
  height: 350px;
  background: rgba(52, 211, 153, 0.07);
  top: 35%;
  right: 25%;
  animation: floatOrb 20s ease-in-out infinite;
}
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -50px) scale(1.12); }
}

/* hero content */
.hero-content-pro { position: relative; z-index: 5; }

.hero-badge-pro {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.7rem 1.5rem;
  border-radius: 60px;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.8s ease 0.1s both;
}
.hero-badge-pro .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hero-accent);
  position: relative;
  flex-shrink: 0;
}
.hero-badge-pro .pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--hero-accent);
  animation: pulseRing 2s ease-out infinite;
}
@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}
.hero-badge-pro span:last-child {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #9cc5c0;
}

.hero-title-pro {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 1.75rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.gradient-text-hero {
  background: linear-gradient(135deg, #14c7c0 0%, #34d399 50%, #14c7c0 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 4s linear infinite;
}
@keyframes shimmerText {
  to { background-position: 200% center; }
}

.hero-sub-pro {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  color: #8aaca6;
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-weight: 400;
  letter-spacing: -0.003em;
  animation: fadeInUp 0.8s ease 0.35s both;
}

.hero-btns-pro {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease 0.5s both;
}
.btn-hero-primary-pro {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--hero-accent);
  color: #04120f;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 14px;
  border: none;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  letter-spacing: -0.01em;
}
.btn-hero-primary-pro::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.btn-hero-primary-pro:hover::before { transform: translateX(100%); }
.btn-hero-primary-pro:hover {
  background: #0fd4ce;
  color: #04120f;
  box-shadow: 0 12px 40px rgba(20, 199, 192, 0.45);
  transform: translateY(-3px);
}
.btn-hero-secondary-pro {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #c0d8d4;
  font-weight: 500;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  letter-spacing: -0.01em;
}
.btn-hero-secondary-pro:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  transform: translateY(-3px);
}
.btn-hero-secondary-pro i { font-size: 1.3rem; }

/* hero trust bar */
.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  animation: fadeInUp 0.8s ease 0.7s both;
}
.hero-trust-item { text-align: left; }
.hero-trust-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 4px;
}
.hero-trust-num i { color: var(--secondary-glow); font-size: 0.9rem; }
.hero-trust-label {
  font-size: 0.75rem;
  color: #7a9994;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-top: 2px;
}
.hero-trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
}

/* hero visual — glassmorphism dashboard */
.hero-visual-pro {
  position: relative;
  z-index: 3;
  animation: fadeIn 1.2s ease 0.5s both;
}
.hero-dashboard {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(24px);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
  animation: floatDashboard 6s ease-in-out infinite;
}
@keyframes floatDashboard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.dashboard-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.dashboard-dots { display: flex; gap: 6px; }
.dashboard-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dashboard-dots span:nth-child(1) { background: #ff5f57; }
.dashboard-dots span:nth-child(2) { background: #febc2e; }
.dashboard-dots span:nth-child(3) { background: #28c840; }
.dashboard-url {
  font-size: 0.75rem;
  color: #7a9994;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.35rem 1rem;
  border-radius: 8px;
  flex: 1;
  text-align: center;
  letter-spacing: 0.01em;
}
.dashboard-body { padding: 1.5rem; }
.dashboard-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.dash-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.dash-stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.dash-stat-val {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}
.dash-stat-unit { font-size: 0.8rem; font-weight: 600; color: #7a9994; margin-left: 2px; }
.dash-stat-label {
  font-size: 0.7rem;
  color: #7a9994;
  font-weight: 500;
  margin-top: 2px;
}

.dashboard-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 120px;
  padding: 0.5rem 0;
  margin-bottom: 1.5rem;
}
.chart-bar {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: rgba(20, 199, 192, 0.15);
  position: relative;
  animation: barRise 1.2s ease both;
  animation-delay: calc(var(--bar-i, 0) * 0.08s);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.chart-bar span {
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(20, 199, 192, 0.25), rgba(20, 199, 192, 0.08));
  border-radius: 6px 6px 2px 2px;
  transition: background 0.3s;
}
.chart-bar.active-bar span {
  background: linear-gradient(to top, var(--hero-accent), rgba(20, 199, 192, 0.3));
  box-shadow: 0 0 20px rgba(20, 199, 192, 0.3);
}
@keyframes barRise {
  from { transform: scaleY(0); transform-origin: bottom; }
  to { transform: scaleY(1); transform-origin: bottom; }
}

.dashboard-rows { display: flex; flex-direction: column; gap: 0.75rem; }
.dash-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
}
.dash-row:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}
.dash-row-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dash-row-text { font-size: 0.85rem; color: #c0d8d4; font-weight: 500; flex: 1; }
.dash-row-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  letter-spacing: 0.02em;
}

/* floating accent cards */
.hero-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(4, 18, 15, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border-radius: 14px;
  padding: 0.85rem 1.25rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  z-index: 15;
  animation: floatTag 5s ease-in-out infinite;
}
.hero-float-icon {
  width: 40px;
  height: 40px;
  background: rgba(20, 199, 192, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hero-accent);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.hero-float-title { font-size: 0.85rem; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.hero-float-sub { font-size: 0.7rem; color: #7a9994; font-weight: 500; }
.hero-float-1 { top: 8%; left: -8%; animation-delay: 0s; }
.hero-float-2 { bottom: 12%; right: -6%; animation-delay: 1.5s; }

@keyframes floatTag {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-14px) translateX(5px); }
}

/* scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
  animation: fadeIn 1s ease 1.5s both;
}
.hero-scroll-indicator span {
  font-size: 0.7rem;
  color: #7a9994;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--hero-accent);
  border-radius: 2px;
  animation: scrollWheel 2s ease infinite;
}
@keyframes scrollWheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

/* ============================================================
   LIGHT HERO (inner pages)
   ============================================================ */
.hero-section {
  background: linear-gradient(135deg, #eef3f1 0%, #ffffff 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14, 165, 160, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

/* hero title (inner pages) */
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--primary);
}

/* ============================================================
   PORTFOLIO CARDS
   ============================================================ */
.portfolio-card {
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-light);
  transition: all 0.3s;
  height: 100%;
}
.portfolio-card:hover {
  border-color: var(--accent);
  box-shadow: 0 25px 50px -15px rgba(14, 165, 160, 0.18);
  transform: translateY(-6px);
}
.portfolio-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-card:hover img { transform: scale(1.04); }

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.3s;
  height: 100%;
}
.blog-card:hover {
  border-color: var(--accent);
  box-shadow: 0 25px 50px -15px rgba(14, 165, 160, 0.18);
  transform: translateY(-6px);
}
.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.blog-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.8rem;
  border-radius: 60px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* ============================================================
   JOB CARDS
   ============================================================ */
.job-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 1.75rem;
  transition: all 0.3s;
}
.job-card:hover {
  border-color: var(--accent);
  box-shadow: 0 15px 30px -10px rgba(14, 165, 160, 0.12);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(105deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(20, 199, 192, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-section {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.85);
}
.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-link:hover { color: #fff; }

/* ============================================================
   PAGE SECTION (SPA)
   ============================================================ */
.page-section { display: none; }
.page-section.active { display: block; }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
  animation: whatsappPulse 2.5s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}
@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0.1); }
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-step {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-soft);
  letter-spacing: -0.04em;
  z-index: 0;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-stars {
  color: var(--secondary-glow);
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ============================================================
   FILTER BUTTONS
   ============================================================ */
.filter-btn.active {
  background: var(--accent) !important;
  color: #fff !important;
  border-color: var(--accent) !important;
}
.portfolio-item, .blog-item {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.portfolio-item.hidden, .blog-item.hidden {
  display: none;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   TEAM CARDS
   ============================================================ */
.team-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}
.team-card:hover {
  border-color: var(--accent);
  box-shadow: 0 25px 50px -15px rgba(14, 165, 160, 0.18);
  transform: translateY(-6px);
}
.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.team-card:hover img { transform: scale(1.05); }
.team-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 280px;
  background: linear-gradient(to bottom, rgba(12, 61, 54, 0) 50%, rgba(12, 61, 54, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.team-card:hover .team-overlay { opacity: 1; }
.team-socials {
  display: flex;
  gap: 0.5rem;
}
.team-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.team-socials a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-item {
  border: 1px solid var(--border-light);
  border-radius: 14px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item:hover { border-color: var(--accent); }
.faq-item .accordion-button {
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  color: var(--primary);
}
.faq-item .accordion-button:not(.collapsed) {
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: none;
}
.faq-item .accordion-button:focus { box-shadow: none; }
.faq-item .accordion-body { padding: 1rem 1.5rem 1.5rem; }

/* ============================================================
   CONTACT SIDEBAR
   ============================================================ */
.contact-sidebar {
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 24px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact-sidebar::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(20, 199, 192, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-glow);
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.contact-sidebar .fw-semibold { color: #fff; }
.contact-sidebar .text-soft { color: rgba(255, 255, 255, 0.7) !important; }
.contact-sidebar hr { border-color: rgba(255, 255, 255, 0.15) !important; }
.contact-social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.contact-social:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}

/* ============================================================
   PRICING CARDS
   ============================================================ */
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  transition: all 0.3s ease;
  position: relative;
}
.pricing-card:hover {
  border-color: var(--accent);
  box-shadow: 0 25px 50px -15px rgba(14, 165, 160, 0.15);
  transform: translateY(-6px);
}
.pricing-featured {
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  border: none;
  box-shadow: 0 30px 60px -15px rgba(12, 61, 54, 0.35);
}
.pricing-featured:hover {
  border-color: none;
  box-shadow: 0 35px 70px -15px rgba(12, 61, 54, 0.4);
}
.pricing-badge {
  width: 56px;
  height: 56px;
  background: var(--accent-soft);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}
.pricing-featured .pricing-badge {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent-glow);
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding: 1rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.pricing-featured .pricing-price {
  border-color: rgba(255, 255, 255, 0.12);
}
.pricing-popular-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================
   NEWSLETTER SECTION
   ============================================================ */
.newsletter-section {
  background: linear-gradient(135deg, var(--accent-soft) 0%, #e8fbf9 100%);
  position: relative;
  overflow: hidden;
}
.newsletter-glow {
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(14, 165, 160, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.newsletter-icon {
  width: 64px;
  height: 64px;
  background: var(--surface);
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.8rem;
  box-shadow: 0 10px 30px -10px rgba(14, 165, 160, 0.2);
}

/* ============================================================
   ENTRANCE ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .dropdown-menu { min-width: 100%; border: none; box-shadow: none; padding: 0.5rem; }
  .hero-pro { padding: 120px 0 60px; min-height: auto; }
  .hero-visual-pro { margin-top: 2.5rem; }
  .hero-float-1 { left: 0; }
  .hero-float-2 { right: 0; }
  .hero-scroll-indicator { display: none; }
  .hero-trust-bar { flex-wrap: wrap; gap: 1rem; }
  .navbar-brand { font-size: 1.4rem; }
}
@media (max-width: 768px) {
  .navbar-brand { font-size: 1.25rem; white-space: nowrap; }
  .navbar { padding: 0.6rem 0; }
  .navbar-toggler { padding: 0.25rem 0.5rem; }
  .section-pad { padding: 60px 0; }
  .hero-title { font-size: 2.2rem; }
  .stat-number { font-size: 1.8rem; }
  .hero-title-pro { font-size: 2.2rem; }
  .hero-dashboard { max-width: 420px; margin: 0 auto; }
  .dashboard-stats { grid-template-columns: 1fr; }
  .hero-trust-bar { gap: 0.75rem; }
  .hero-trust-num { font-size: 1.2rem; }
  .hero-trust-label { font-size: 0.68rem; }
  .hero-float-card { display: none; }
  .pricing-popular-badge { position: static; display: inline-block; margin-bottom: 1rem; }
}
@media (max-width: 575px) {
  .navbar-brand { font-size: 1.05rem; }
  .navbar-container { padding: 0 0.5rem; }
  .btn-hero-primary-pro, .btn-hero-secondary-pro { padding: 0.85rem 1.6rem; font-size: 0.9rem; }
  .hero-btns-pro { flex-direction: column; }
  .hero-btns-pro a { width: 100%; justify-content: center; }
  .hero-trust-divider { display: none; }
  .whatsapp-float { width: 50px; height: 50px; font-size: 1.5rem; bottom: 20px; left: 20px; }
}

/* ============================================================
   SERVICE DETAIL PAGES
   ============================================================ */
.service-icon-sm {
  width: 42px;
  height: 42px;
  background: var(--accent-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.service-process {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}
.service-process::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-soft));
  opacity: 0.3;
}
.service-step {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}
.service-step-num {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(14, 165, 160, 0.25);
}
.service-step h6 { margin-bottom: 0.25rem; }
details summary {
  cursor: pointer;
  list-style: none;
  padding: 0.5rem 0;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: '+';
  float: right;
  color: var(--accent);
  font-weight: 700;
}
details[open] summary::after { content: '−'; }
details { border-bottom: 1px solid var(--border-light); }

/* ============================================================
   LEGAL & FAQ PAGES
   ============================================================ */
.legal-hero {
  padding: 140px 0 50px;
  background: linear-gradient(135deg, var(--surface-alt) 0%, var(--surface) 100%);
}
.legal-hero h1 { font-size: 2.5rem; font-weight: 800; }
.legal-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-soft);
}
.legal-body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}
.legal-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.legal-body p { margin-bottom: 1rem; }
.legal-body ul, .legal-body ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.legal-body li { margin-bottom: 0.4rem; line-height: 1.6; }
.legal-body a { color: var(--accent); text-decoration: none; }
.legal-body a:hover { text-decoration: underline; }
.legal-toc {
  background: var(--surface-alt);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
}
.legal-toc h6 { font-weight: 700; margin-bottom: 0.75rem; color: var(--primary); }
.legal-toc ol { padding-left: 1.1rem; margin: 0; }
.legal-toc li { margin-bottom: 0.35rem; }
.legal-toc a { color: var(--text-soft); text-decoration: none; font-size: 0.9rem; }
.legal-toc a:hover { color: var(--accent); }
.faq-category-pill {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item:hover { border-color: var(--accent); }
.faq-item .accordion-button {
  font-weight: 600;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
}
.faq-item .accordion-button:not(.collapsed) {
  background: var(--accent-soft);
  color: var(--accent);
}
.faq-item .accordion-body { padding: 1rem 1.25rem 1.25rem; font-size: 0.9rem; }


/* ============================================================
   WordPress additions (do not affect the original design)
   ============================================================ */
body.admin-bar .navbar.fixed-top { top: 32px; }
@media (max-width: 782px) { body.admin-bar .navbar.fixed-top { top: 46px; } }
.iws-notice { position: fixed; top: 0; left: 0; right: 0; z-index: 1031; min-height: 38px; padding: 8px 16px; text-align: center; font-size: .85rem; background: var(--accent); color: #fff; }
.iws-notice a { color: #fff; font-weight: 700; margin-left: .5rem; text-decoration: underline; }
body.iws-has-notice { padding-top: 38px; }
body.iws-has-notice .navbar.fixed-top { top: 38px; }
body.admin-bar .iws-notice { top: 32px; }
body.admin-bar.iws-has-notice .navbar.fixed-top { top: 70px; }
@media (max-width: 782px) { body.admin-bar .iws-notice { top: 46px; } body.admin-bar.iws-has-notice .navbar.fixed-top { top: 84px; } }
.iws-content { max-width: 860px; margin: 0 auto; }
.iws-content img { max-width: 100%; height: auto; border-radius: 16px; }
.iws-content > * + * { margin-top: 1rem; }
.navbar-brand img { display: block; }
.iws-skip { position: absolute; left: -9999px; top: 0; z-index: 2000; background: #fff; color: #000; padding: 10px 16px; }
.iws-skip:focus { left: 8px; top: 8px; }
.iws-cur { position: fixed; left: 16px; bottom: 18px; z-index: 1040; display: flex; background: #fff; border: 1px solid var(--border-light); border-radius: 999px; box-shadow: 0 6px 24px rgba(0,0,0,.12); padding: 4px; }
.iws-cur button { border: 0; background: transparent; border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: .82rem; color: var(--text-soft); cursor: pointer; }
.iws-cur button.active { background: var(--primary); color: #fff; }

/* ---- Hero headline animation ---- */
.hero-title-pro .iws-w { display: inline-block; opacity: 0; transform: translateY(.55em); filter: blur(6px); animation: iwsWordIn .75s cubic-bezier(.2,.7,.2,1) calc(.3s + var(--i, 0) * .13s) forwards; }
.hero-title-pro span.gradient-text-hero.iws-w { display: inline; transform: none; filter: none; animation: iwsGradIn .9s ease calc(.3s + var(--i, 0) * .13s) forwards, shimmerText 4s linear infinite; }
@keyframes iwsWordIn { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes iwsGradIn { to { opacity: 1; } }

/* ---- Scroll animation for sections ---- */
.iws-anim { opacity: 0; transform: translateY(48px) scale(.96); transition: opacity .8s ease var(--d, 0s), transform .8s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }
.iws-anim.iws-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .iws-anim { opacity: 1; transform: none; transition: none; }
  .hero-title-pro .iws-w, .hero-title-pro span.gradient-text-hero.iws-w { opacity: 1; transform: none; filter: none; animation: none; }
}

/* ---- Industries (flip cards) ---- */
.iws-ind-search { max-width: 640px; margin: 0 auto 1.5rem; position: relative; }
.iws-ind-search i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--text-soft); }
.iws-ind-search input { width: 100%; padding: 16px 20px 16px 52px; border: 1px solid var(--border-light); border-radius: 16px; background: #fff; font-size: 1rem; outline: none; box-shadow: 0 2px 10px rgba(12,61,54,.05); }
.iws-ind-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.iws-ind-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 2.5rem; }
.iws-ind-filters button { border: 1px solid var(--border-light); background: #fff; color: var(--text-soft); border-radius: 999px; padding: 10px 22px; font-weight: 600; font-size: .95rem; cursor: pointer; transition: all .25s ease; }
.iws-ind-filters button i { margin-right: 6px; }
.iws-ind-filters button:hover { border-color: var(--accent); color: var(--accent); }
.iws-ind-filters button.active { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(14,165,160,.3); }
.iws-flip { perspective: 1100px; height: 280px; outline: none; cursor: pointer; }
.iws-flip-inner { position: relative; width: 100%; height: 100%; transition: transform .7s cubic-bezier(.4,.2,.2,1); transform-style: preserve-3d; }
.iws-flip:hover .iws-flip-inner, .iws-flip:focus .iws-flip-inner, .iws-flip.is-flipped .iws-flip-inner { transform: rotateY(180deg); }
.iws-flip-front, .iws-flip-back { position: absolute; inset: 0; border-radius: 24px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px; text-align: center; }
.iws-flip-front { background: #fff; border: 1px solid var(--border-light); box-shadow: 0 4px 20px rgba(12,61,54,.06); }
.iws-ind-icon { width: 96px; height: 96px; border-radius: 28px; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; margin-bottom: 20px; background: #eef2f1; color: var(--c, var(--accent)); background: color-mix(in srgb, var(--c, #0ea5a0) 14%, #fff); }
.iws-flip-front h3 { font-size: 1.2rem; font-weight: 700; color: var(--primary); margin: 0 0 16px; font-family: var(--font-heading); }
.iws-ind-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; color: var(--c, var(--accent)); border: 1px solid var(--c, var(--accent)); background: #f6faf9; background: color-mix(in srgb, var(--c, #0ea5a0) 8%, #fff); }
.iws-flip-back { background: linear-gradient(145deg, var(--primary-dark), var(--primary)); color: #fff; transform: rotateY(180deg); align-items: flex-start; text-align: left; justify-content: flex-start; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 20px 40px rgba(6,41,34,.25); }
.iws-flip-back h4 { font-size: 1.1rem; font-weight: 700; color: #fff; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); }
.iws-flip-back h4 i { color: var(--accent-glow); }
.iws-flip-back p { color: rgba(255,255,255,.78); font-size: .95rem; line-height: 1.7; margin: 0; overflow-y: auto; }

/* ---- Inquiry popup / career form ---- */
.iws-popup .modal-content { border: 0; border-radius: 20px; overflow: hidden; position: relative; }
.iws-popup-close { position: absolute; top: 16px; right: 16px; z-index: 5; background-color: #fff; border-radius: 50%; padding: 10px; opacity: 1; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.iws-popup-img { background: var(--accent-soft); }
.iws-popup-img img { width: 100%; height: 100%; object-fit: cover; min-height: 520px; display: block; }
.iws-popup-body { padding: 48px 44px; }
.iws-popup-body h2 { font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.15; color: var(--primary); margin-bottom: 12px; }
.iws-popup-sub { color: var(--text-soft); margin-bottom: 1.5rem; }
.iws-popup label { display: block; font-size: .95rem; color: var(--text-main); margin-bottom: 2px; }
.iws-popup .req { color: #dc2626; margin-left: 2px; }
.iws-line { width: 100%; border: 0; border-bottom: 2px solid var(--border-light); border-radius: 0; background: transparent; padding: 8px 0; outline: none; font-size: 1rem; color: var(--text-main); transition: border-color .2s; }
.iws-line:focus { border-bottom-color: var(--accent); }
textarea.iws-line { resize: vertical; }
@media (max-width: 575px) { .iws-popup-body { padding: 56px 24px 32px; } }

/* ---- Chatbot ---- */
.iws-bot { position: fixed; bottom: 28px; z-index: 1050; font-family: var(--font-body, inherit); }
.iws-bot-right { right: 28px; } .iws-bot-left { left: 100px; }
.iws-bot-launch { width: 62px; height: 62px; border-radius: 50%; border: 0; background: linear-gradient(135deg, var(--accent), var(--primary)); color: #fff; font-size: 1.7rem; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 10px 28px rgba(14,165,160,.45); transition: transform .25s; animation: iwsBotPulse 2.6s ease-in-out infinite; }
.iws-bot-launch:hover { transform: scale(1.08); }
@keyframes iwsBotPulse { 0%,100% { box-shadow: 0 10px 28px rgba(14,165,160,.45); } 50% { box-shadow: 0 10px 28px rgba(14,165,160,.45), 0 0 0 12px rgba(14,165,160,.12); } }
.iws-bot-panel { position: absolute; bottom: 78px; right: 0; width: 370px; max-width: calc(100vw - 32px); height: 540px; max-height: calc(100vh - 130px); background: #fff; border-radius: 22px; box-shadow: 0 24px 60px rgba(6,41,34,.28); display: none; flex-direction: column; overflow: hidden; border: 1px solid var(--border-light); }
.iws-bot-left .iws-bot-panel { right: auto; left: 0; }
.iws-bot.open .iws-bot-panel { display: flex; animation: iwsBotIn .3s ease; }
@keyframes iwsBotIn { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.iws-bot-head { background: linear-gradient(135deg, var(--primary-dark), var(--primary) 60%, var(--accent)); color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.iws-bot-avatar { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.iws-bot-head strong { display: block; font-size: 1rem; line-height: 1.2; }
.iws-bot-head small { opacity: .8; font-size: .78rem; }
.iws-bot-head small:before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; margin-right: 6px; }
.iws-bot-close { margin-left: auto; background: transparent; border: 0; color: #fff; font-size: 1.2rem; cursor: pointer; opacity: .85; }
.iws-bot-body { flex: 1; overflow-y: auto; padding: 16px; background: var(--bg-light); display: flex; flex-direction: column; gap: 10px; }
.iws-msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: .92rem; line-height: 1.55; white-space: pre-line; animation: iwsBotIn .25s ease; }
.iws-msg.bot { background: #fff; border: 1px solid var(--border-light); border-top-left-radius: 4px; align-self: flex-start; color: var(--text-main); }
.iws-msg.user { background: var(--accent); color: #fff; border-top-right-radius: 4px; align-self: flex-end; }
.iws-msg a.iws-msg-btn { display: inline-block; margin-top: 8px; padding: 6px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--primary); font-weight: 600; font-size: .85rem; text-decoration: none; white-space: normal; }
.iws-typing { display: inline-flex; gap: 4px; padding: 14px; }
.iws-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-soft); opacity: .5; animation: iwsDot 1s infinite; }
.iws-typing i:nth-child(2) { animation-delay: .15s; } .iws-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes iwsDot { 0%,80%,100% { transform: translateY(0); } 40% { transform: translateY(-5px); } }
.iws-bot-opts { border-top: 1px solid var(--border-light); background: #fff; padding: 10px 12px 12px; max-height: 210px; overflow-y: auto; }
.iws-bot-search { width: 100%; border: 1px solid var(--border-light); border-radius: 999px; padding: 8px 14px; font-size: .85rem; margin-bottom: 8px; outline: none; }
.iws-bot-search:focus { border-color: var(--accent); }
.iws-chip { display: inline-block; margin: 0 6px 6px 0; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--accent); background: #fff; color: var(--primary); font-size: .84rem; font-weight: 600; cursor: pointer; transition: all .2s; text-align: left; }
.iws-chip:hover { background: var(--accent); color: #fff; }
.iws-chip.cta { background: var(--primary); color: #fff; border-color: var(--primary); }
@media (max-width: 575px) { .iws-bot-right { right: 16px; bottom: 16px; } .iws-bot-left { left: 82px; bottom: 16px; } .iws-bot-launch { width: 54px; height: 54px; } .iws-bot-panel { bottom: 68px; } }

/* WhatsApp sits above the currency switcher (both at the left) */
body.iws-has-cur .whatsapp-float { bottom: 84px; }
@media (max-width: 768px) { body.iws-has-cur .whatsapp-float { bottom: 76px; } }

/* ---- Chatbot login (Name / Email / Phone) ---- */
.iws-bot-login { background: #fff; border-radius: 18px; padding: 22px 20px; margin: auto 0; box-shadow: 0 6px 24px rgba(6,41,34,.10); display: flex; flex-direction: column; gap: 14px; }
.iws-bot-login h3 { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 800; color: var(--primary); margin: 0; }
.iws-bot-login p { margin: -6px 0 2px; font-size: .88rem; color: var(--text-soft); }
.iws-bot-login input, .iws-bot-login select { width: 100%; border: 1px solid var(--text-main); border-radius: 14px; padding: 13px 16px; font-size: .95rem; background: #fff; outline: none; transition: border-color .2s, box-shadow .2s; }
.iws-bot-login input:focus, .iws-bot-login select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.iws-bot-phone { display: flex; gap: 8px; } .iws-bot-phone select { width: 112px; flex: none; padding-left: 10px; padding-right: 6px; } .iws-bot-phone input { flex: 1; min-width: 0; }
.iws-bot-go { border: 0; border-radius: 12px; padding: 14px; font-weight: 700; font-size: 1.05rem; color: #fff; background: var(--accent); box-shadow: 0 8px 18px rgba(14,165,160,.28); cursor: pointer; transition: transform .2s, box-shadow .2s; }
.iws-bot-go:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(14,165,160,.35); }
.iws-bot-go:disabled { opacity: .6; cursor: wait; }
.iws-bot-err { background: #fef2f2; color: #dc2626; border-radius: 10px; padding: 8px 12px; font-size: .82rem; }
.iws-bot-logout { margin-left: auto; background: transparent; border: 0; color: #fff; font-size: 1.1rem; cursor: pointer; opacity: .85; }
.iws-bot-logout + .iws-bot-close { margin-left: 8px; }

/* ---- Motion: directional reveal, image zoom, hover lift, back to top ---- */
.iws-anim.iws-from-l { transform: translateX(-60px); }
.iws-anim.iws-from-r { transform: translateX(60px); }
.iws-anim.iws-from-l.iws-in, .iws-anim.iws-from-r.iws-in { transform: none; }
.iws-anim img { transform: scale(1.08); transition: transform 1.1s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }
.iws-anim.iws-in img { transform: none; }
.card-glow, .pricing-card, .blog-card, .portfolio-card { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
.card-glow:hover, .blog-card:hover { transform: translateY(-8px); }
.btn-accent { position: relative; overflow: hidden; }
.btn-accent::after { content: ''; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); }
.btn-accent:hover::after { left: 130%; transition: left .7s ease; }
.navbar { transition: padding .3s ease, background-color .3s ease, box-shadow .3s ease; }
.navbar.iws-compact { padding-top: .35rem; padding-bottom: .35rem; }
.iws-top { position: fixed; right: 28px; bottom: 104px; z-index: 1040; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--primary); color: #fff; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(0,0,0,.2); opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .3s, transform .3s, visibility .3s; cursor: pointer; }
.iws-top.show { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 575px) { .iws-top { right: 16px; bottom: 84px; } }
@media (prefers-reduced-motion: reduce) {
  .iws-anim.iws-from-l, .iws-anim.iws-from-r, .iws-anim img { transform: none; }
  .card-glow:hover, .blog-card:hover { transform: none; }
  .btn-accent::after { display: none; }
}
/* Faster paint: skip rendering of sections far below the fold */
main > .page-section > section:nth-of-type(n+3) { content-visibility: auto; contain-intrinsic-size: auto 700px; }

/* ============================================================
   Premium motion (only active when JS adds .iws-motion)
   ============================================================ */
html { scroll-behavior: smooth; }
.iws-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 2100; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--accent), var(--primary), var(--accent-glow, var(--accent))); pointer-events: none; will-change: transform; }
body.admin-bar .iws-progress { top: 32px; }
@media (max-width: 782px) { body.admin-bar .iws-progress { top: 46px; } }

/* Page entrance */
.iws-motion main { animation: iwsPage .8s cubic-bezier(.2,.7,.2,1) backwards; }
.iws-motion .navbar.fixed-top { animation: iwsNavIn .8s cubic-bezier(.2,.7,.2,1) backwards; }
@keyframes iwsPage { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes iwsNavIn { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: none; } }

/* Headline words rise out of a mask */
.iws-split .iws-m { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .05em .16em; margin: 0 -.05em -.16em; }
.iws-split .iws-wd { display: inline-block; transform: translateY(112%) rotate(4deg); transform-origin: 0 100%; opacity: 0; transition: transform .95s cubic-bezier(.16,1,.3,1) calc(var(--i, 0) * 70ms), opacity .6s ease calc(var(--i, 0) * 70ms); }
.iws-split .iws-wd.iws-wd-unit { transform: none; filter: blur(8px); transition: opacity .9s ease calc(var(--i, 0) * 70ms), filter .9s ease calc(var(--i, 0) * 70ms); }
.iws-split.iws-split-in .iws-wd { transform: none; opacity: 1; }
.iws-split.iws-split-in .iws-wd.iws-wd-unit { filter: blur(0); }

/* Premium gradient shimmer on accent text inside headings */
.iws-split .text-accent, .iws-split .gradient-text, .iws-split .gradient-text-hero { background: linear-gradient(100deg, var(--accent) 0%, var(--primary) 35%, var(--accent-glow, var(--accent)) 60%, var(--accent) 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: iwsShine 5s linear infinite; }
@keyframes iwsShine { to { background-position: -250% 0; } }

/* Images: curtain wipe + settle, hover zoom, soft parallax */
.iws-motion .iws-img { clip-path: inset(0 0 100% 0); scale: 1.22; opacity: .01; transition: clip-path 1.15s cubic-bezier(.77,0,.18,1), scale 1.7s cubic-bezier(.16,1,.3,1), opacity .5s ease; will-change: clip-path, scale; }
.iws-motion .iws-img.iws-img-in { clip-path: inset(0 0 0 0); scale: 1; opacity: 1; }
.iws-motion .iws-img.iws-done { clip-path: none; will-change: auto; transition: scale .9s cubic-bezier(.16,1,.3,1), translate .2s linear; }
.iws-motion .iws-img.iws-done:hover { scale: 1.06; }
.iws-motion .iws-img.iws-par.iws-done { scale: 1.1; translate: 0 var(--py, 0px); }
.iws-motion .iws-img.iws-par.iws-done:hover { scale: 1.16; }

/* Cards: 3D tilt (mouse) */
.iws-tilting { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-8px) !important; transition: transform .15s ease-out, box-shadow .35s ease !important; box-shadow: 0 28px 60px rgba(6,41,34,.18); will-change: transform; }

/* Magnetic buttons */
.iws-mag { transition: translate .25s cubic-bezier(.2,.7,.2,1), background-color .25s, box-shadow .25s; }

/* Floating orbs behind inner-page heroes */
.hero-section > .container { position: relative; z-index: 2; }
.iws-orb { position: absolute; z-index: 1; border-radius: 50%; filter: blur(48px); pointer-events: none; opacity: .55; animation: iwsFloat 14s ease-in-out infinite alternate; }
.iws-orb-a { width: 340px; height: 340px; left: -90px; bottom: -120px; background: radial-gradient(circle, rgba(14,165,160,.35), transparent 70%); }
.iws-orb-b { width: 280px; height: 280px; right: 6%; top: -80px; background: radial-gradient(circle, rgba(245,158,11,.28), transparent 70%); animation-duration: 18s; animation-delay: -6s; }
@keyframes iwsFloat { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(40px,-30px,0) scale(1.15); } }

/* Smooth accordion + list polish */
.accordion-collapse { transition: height .45s cubic-bezier(.2,.7,.2,1); }
.accordion-button { transition: background-color .3s, color .3s, padding .3s; }
.accordion-button:not(.collapsed) { padding-left: 1.6rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .iws-motion main, .iws-motion .navbar.fixed-top, .iws-orb { animation: none; }
  .iws-split .iws-wd, .iws-motion .iws-img { transform: none; opacity: 1; clip-path: none; scale: 1; filter: none; transition: none; }
}


/* ---- Popup: all admin options (layout, size, position, animation, colours) ---- */
.iws-popup .modal-content { background: var(--iws-pop-bg, #fff); border-radius: var(--iws-pop-radius, 20px); }
.iws-popup .btn-accent.iws-popup-btn { background: var(--iws-pop-btn, var(--accent)); border-color: var(--iws-pop-btn, var(--accent)); }
.modal-backdrop.show { --bs-backdrop-bg: #000; }
body:has(#iwsPopup.show) .modal-backdrop { background: var(--iws-pop-overlay, rgba(0,0,0,.5)); opacity: 1; }
.iws-popup-badge { display: inline-block; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: .8rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.iws-popup-note { margin: 12px 0 0; font-size: .8rem; color: var(--text-soft); }
.iws-popup select.iws-line { appearance: auto; background: transparent; }
.iws-popup-img-top img { min-height: 0; height: 220px; }
.iws-pop-layout-top .iws-popup-body { padding-top: 32px; }
.iws-pop-bottom { align-items: flex-end; min-height: calc(100% - 1rem); display: flex; }
.iws-pop-anim-slide.fade .modal-dialog { transform: translateY(60px); transition: transform .4s ease; }
.iws-pop-anim-slide.show .modal-dialog { transform: none; }
.iws-pop-anim-zoom.fade .modal-dialog { transform: scale(.85); transition: transform .35s ease; }
.iws-pop-anim-zoom.show .modal-dialog { transform: none; }
.iws-pop-anim-none, .iws-pop-anim-none .modal-dialog { transition: none !important; }
.iws-popup.iws-fb { overflow-y: auto; opacity: 1; }
.iws-page-banner img { background: var(--accent-soft); }
