/* ============================================================
   WHITE CELL BIOMEDICALS - Premium Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Brand Colors – matched to White Cell logo (sky blue + magenta pink on white) */
  --primary: #5BA8D4;
  --primary-dark: #3A82B0;
  --primary-light: #7EC4E8;
  --primary-glow: rgba(91, 168, 212, 0.35);
  --accent: #C1386C;
  --accent-dark: #9A2A55;
  --accent-light: #E05590;
  --accent-glow: rgba(193, 56, 108, 0.3);

  /* Light Theme Backgrounds – boosted */
  --bg-dark: #FFFFFF;
  --bg-navy: #EAF4FF;
  --bg-navy2: #E0EEF8;
  --bg-card: rgba(255, 255, 255, 0.97);
  --bg-glass: rgba(91, 168, 212, 0.10);
  --bg-glass-hover: rgba(91, 168, 212, 0.18);
  --border-glass: rgba(91, 168, 212, 0.28);
  --border-glow: rgba(91, 168, 212, 0.5);

  /* Text – dark on light */
  --text-white: #1A2535;
  --text-light: #2D3A55;
  --text-muted: #5A6A85;
  --text-subtle: #8899B8;

  /* Light Mode */
  --bg-light: #EEF4FA;
  --bg-white: #FFFFFF;
  --bg-light-card: rgba(255, 255, 255, 0.98);
  --text-dark: #0A1628;
  --text-body: #2D3A55;

  /* Gradients – logo swoosh colors – boosted */
  --grad-primary: linear-gradient(135deg, #4A96C8, #6EB8E0);
  --grad-accent: linear-gradient(135deg, #C1386C, #E05590);
  --grad-hero: linear-gradient(135deg, #EAF4FF 0%, #F5F0FF 40%, #FDE8F2 100%);
  --grad-glass: linear-gradient(135deg, rgba(91,168,212,0.18), rgba(193,56,108,0.12));
  --grad-card: linear-gradient(145deg, rgba(235,247,255,0.98), rgba(255,240,250,0.95));

  /* Spacing */
  --section-py: 100px;
  --container-max: 1280px;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows – lighter for light theme */
  --shadow-card: 0 8px 32px rgba(91,168,212,0.15), 0 2px 8px rgba(0,0,0,0.06);
  --shadow-glow-blue: 0 0 40px rgba(91,168,212,0.25), 0 0 80px rgba(91,168,212,0.1);
  --shadow-glow-pink: 0 0 40px rgba(193,56,108,0.2), 0 0 80px rgba(193,56,108,0.1);

  /* Transitions */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition: 0.3s var(--ease-smooth);
  --transition-slow: 0.6s var(--ease-smooth);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-white);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  transition: opacity 0.5s ease;
}
body.page-loaded { opacity: 1; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }

/* ── Scroll Progress Bar ── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary-light));
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px var(--primary-glow);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #EEF4FA; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── Container ── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section Base ── */
.section { padding: var(--section-py) 0; background: #FFFFFF; }
.section-alt { background: #DCF0FF; }

/* ── Section Header ── */
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  background: linear-gradient(135deg, rgba(91,168,212,0.30) 0%, rgba(193,56,108,0.22) 100%);
  border: 1.5px solid rgba(91,168,212,0.65);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2B6A9A;
  margin-bottom: 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 16px rgba(91,168,212,0.28), 0 0 0 1px rgba(91,168,212,0.18);
  text-shadow: 0 1px 2px rgba(255,255,255,0.5);
  filter: brightness(1.08);
}
.section-tag::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px var(--accent-glow);
  flex-shrink: 0;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #0A1628;
  line-height: 1.2;
  margin-bottom: 16px;
  filter: brightness(1.05);
}
.section-title span { color: var(--primary-dark); }
.section-title .accent { color: var(--accent-dark); }
.section-subtitle {
  font-size: 1.05rem;
  color: #3A4A65;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 500;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--primary-glow);
}
.btn-accent {
  background: var(--grad-accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}
.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.4);
}
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-icon { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; }

/* ── Glass Cards ── */
.glass-card {
  background: #FFFFFF;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(91,168,212,0.1);
  transition: var(--transition);
}
.glass-card:hover {
  background: #F0F7FF;
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

/* ── Navigation ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(91,168,212,0.15);
  box-shadow: 0 2px 20px rgba(91,168,212,0.1);
  transition: var(--transition-slow);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(91,168,212,0.2);
  box-shadow: 0 4px 32px rgba(91,168,212,0.15);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  max-width: var(--container-max);
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  padding: 5px;
  box-shadow: 0 0 0 3px rgba(91,168,212,0.3), 0 4px 20px rgba(91,168,212,0.2);
}
.nav-logo-text { display: none; }
.nav-logo-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.nav-logo-sub {
  font-size: 0.62rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  padding: 8px 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width 0.3s var(--ease-smooth);
}
.nav-link:hover, .nav-link.active {
  color: var(--primary-dark);
}
.nav-link:hover::after, .nav-link.active::after { width: 60%; }

/* ── Nav Products Dropdown ── */
.nav-item-dropdown {
  position: relative;
}
.nav-products-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(91,168,212,0.2);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(91,168,212,0.18), 0 4px 16px rgba(0,0,0,0.08);
  backdrop-filter: blur(20px);
  padding: 16px;
  min-width: 220px;
  z-index: 2000;
  animation: dropdownFadeIn 0.2s ease;
}
@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.nav-item-dropdown:hover .nav-products-dropdown,
.nav-products-dropdown:hover {
  display: block;
}
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-dropdown-item:hover {
  background: rgba(91,168,212,0.08);
  color: var(--primary-dark);
}
.nav-dropdown-item i {
  width: 18px;
  color: var(--accent);
  font-size: 0.78rem;
}
.nav-dropdown-divider {
  height: 1px;
  background: rgba(91,168,212,0.15);
  margin: 6px 0;
}

.nav-cta { display: flex; align-items: center; gap: 10px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  background: rgba(91,168,212,0.08);
  border: 1px solid var(--border-glass);
  transition: var(--transition);
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--primary-dark);
  border-radius: 1px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(24px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-smooth);
}
.mobile-nav.open {
  display: flex;
  transform: translateX(0);
}
.mobile-nav .nav-link {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  padding: 14px 32px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
}
.mobile-nav .nav-link:hover {
  border-color: var(--border-glass);
  background: rgba(91,168,212,0.08);
}
.mobile-nav-close {
  position: absolute;
  top: 24px; right: 24px;
  background: rgba(91,168,212,0.1);
  border: 1px solid var(--border-glass);
  color: var(--text-dark);
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.mobile-nav-close:hover { background: var(--accent); color: #fff; }

/* ── Page Hero ── */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  background: linear-gradient(135deg, #C8E8FF 0%, #EAF4FF 35%, #F5EEFF 65%, #FFD6EC 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 25% 50%, rgba(91,168,212,0.35) 0%, transparent 55%),
              radial-gradient(ellipse at 75% 50%, rgba(193,56,108,0.25) 0%, transparent 55%);
}
.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 16px;
  position: relative;
}
.page-hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  position: relative;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-subtle);
  margin-bottom: 24px;
  position: relative;
}
.breadcrumb a { color: var(--primary-light); }
.breadcrumb span { color: var(--text-subtle); }

/* ── Particle Canvas ── */
#particle-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* ── Glow Orbs ── */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: orbFloat 8s ease-in-out infinite;
}
.glow-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(91,168,212,0.35) 0%, rgba(91,168,212,0.1) 50%, transparent 70%);
  top: -200px; left: -150px;
  animation-delay: 0s;
}
.glow-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(193,56,108,0.28) 0%, rgba(193,56,108,0.08) 50%, transparent 70%);
  top: -150px; right: -150px;
  animation-delay: -4s;
}
.glow-orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(91,168,212,0.22) 0%, rgba(91,168,212,0.06) 50%, transparent 70%);
  bottom: -150px; left: 50%;
  animation-delay: -2s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.05); }
  66% { transform: translate(-15px, 20px) scale(0.97); }
}

/* ── Grid Overlay ── */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(91,168,212,0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,168,212,0.14) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ── Gradient Divider ── */
.gradient-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
  margin: 0;
  opacity: 0.4;
}

/* ── Badge / Pill ── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-primary { background: rgba(26,92,184,0.15); color: var(--primary-light); border: 1px solid rgba(26,92,184,0.3); }
.badge-accent { background: rgba(233,30,140,0.12); color: var(--accent-light); border: 1px solid rgba(233,30,140,0.25); }
.badge-success { background: rgba(16,185,129,0.12); color: #10B981; border: 1px solid rgba(16,185,129,0.25); }
.badge-warning { background: rgba(245,158,11,0.12); color: #F59E0B; border: 1px solid rgba(245,158,11,0.25); }

/* ── Icon Box ── */
.icon-box {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.icon-box-primary { background: rgba(26,92,184,0.15); border: 1px solid rgba(26,92,184,0.25); }
.icon-box-accent { background: rgba(233,30,140,0.12); border: 1px solid rgba(233,30,140,0.22); }
.icon-box-lg { width: 72px; height: 72px; font-size: 2rem; border-radius: var(--radius-lg); }

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
  /* Fallback: auto-show after 2s in case IntersectionObserver is slow */
  animation: revealFallback 0.7s ease 2s forwards;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  animation: none;
}
@keyframes revealFallback {
  to { opacity: 1; transform: translateY(0); }
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── Stats ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 64px 0;
}
.stat-item {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  border: 1px solid var(--border-glass);
  box-shadow: 0 4px 20px rgba(91,168,212,0.1);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Footer ── */
.footer {
  background: #1A2535;
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.footer-logo img {
  width: 160px;
  height: 60px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 6px 10px;
}
.footer-logo-text { display: none; }
.footer-logo-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: #FFFFFF;
}
.footer-logo-sub {
  font-size: 0.6rem;
  color: var(--accent-light);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-desc {
  color: #A0B0C8;
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 24px;
}
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.footer-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 32px; height: 2px;
  background: var(--grad-primary);
  border-radius: 1px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link {
  color: #A0B0C8;
  font-size: 0.88rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-link:hover { color: var(--primary-light); transform: translateX(4px); }
.footer-link::before {
  content: '→';
  font-size: 0.75rem;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}
.footer-link:hover::before { opacity: 1; }
.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.footer-contact-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--primary-light);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-text { font-size: 0.85rem; color: #A0B0C8; line-height: 1.6; }
.footer-contact-text a { color: var(--primary-light); }
.footer-contact-text a:hover { color: #FFFFFF; }
.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  color: #6A7A95;
  font-size: 0.83rem;
}
.footer-copy span { color: var(--primary-light); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-link {
  color: #6A7A95;
  font-size: 0.83rem;
  transition: color 0.2s;
}
.footer-bottom-link:hover { color: var(--primary-light); }

/* ── WhatsApp Float ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.whatsapp-float-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  transition: var(--transition);
  animation: pulse 2s infinite;
}
.whatsapp-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
}
.whatsapp-float-label {
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--border-glass);
  color: var(--text-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}
.whatsapp-float:hover .whatsapp-float-label { opacity: 1; transform: translateX(0); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 40px rgba(37,211,102,0.7); }
}

/* ── Tag Line Animation ── */
@keyframes slideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes shimmer {
  from { background-position: 200% center; }
  to { background-position: -200% center; }
}

/* ── Gradient Text ── */
.gradient-text {
  background: linear-gradient(135deg, #3A72A8, #C1386C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.shimmer-text {
  background: linear-gradient(90deg, #3A72A8, #C1386C, #5A9FD4, #3A72A8);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

/* ── Product Card ── */
.product-card {
  background: #FFFFFF;
  border: 1px solid rgba(91,168,212,0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  box-shadow: 0 4px 20px rgba(91,168,212,0.08);
}
.product-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(91,168,212,0.2), 0 0 40px rgba(91,168,212,0.1);
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-smooth);
}
.product-card:hover::before { transform: scaleX(1); }
.product-card-img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.4s var(--ease-smooth);
}
.product-card:hover .product-card-img { transform: scale(1.05); }
.product-card-img-wrap {
  overflow: hidden;
  position: relative;
  background: #ffffff;
  border-bottom: 1px solid rgba(91,168,212,0.12);
}
.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(91,168,212,0.7) 100%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s;
}
.product-card:hover .product-card-overlay { opacity: 1; }
.product-card-body { padding: 20px; }
.product-card-cat {
  font-size: 0.73rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.product-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}
.product-card-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Service Cards ── */
.service-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  border: 1px solid rgba(91,168,212,0.2);
  box-shadow: 0 4px 20px rgba(91,168,212,0.08);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-smooth);
  transform-origin: left;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  background: #F0F7FF;
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.service-card-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  background: var(--grad-glass);
  border: 1px solid rgba(26,92,184,0.2);
}
.service-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.service-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Category Filter ── */
.cat-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.cat-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.87rem;
  font-weight: 600;
  background: #FFFFFF;
  border: 1px solid rgba(91,168,212,0.25);
  color: var(--text-muted);
  transition: var(--transition);
}
.cat-btn:hover, .cat-btn.active {
  background: var(--grad-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 16px var(--primary-glow);
}

/* ── Search Bar ── */
.search-bar {
  position: relative;
  max-width: 480px;
  margin: 0 auto 32px;
}
.search-bar input {
  width: 100%;
  padding: 14px 52px 14px 20px;
  background: #FFFFFF;
  border: 1.5px solid rgba(91,168,212,0.25);
  border-radius: var(--radius-full);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.93rem;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(91,168,212,0.08);
}
.search-bar input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
  background: #F0F7FF;
}
.search-bar input::placeholder { color: var(--text-subtle); }
.search-icon {
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* ── Products Grid ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

/* ── Contact Form ── */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}
.form-control {
  padding: 13px 18px;
  background: #FFFFFF;
  border: 1.5px solid rgba(91,168,212,0.25);
  border-radius: var(--radius-md);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.93rem;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
  background: #F0F7FF;
}
.form-control::placeholder { color: var(--text-subtle); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { appearance: none; cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Map ── */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(91,168,212,0.2);
  height: 380px;
  box-shadow: 0 4px 20px rgba(91,168,212,0.1);
}
.map-container iframe {
  width: 100%;
  height: 100%;
}

/* ── Timeline ── */
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #FFFFFF;
  box-shadow: 0 0 10px var(--primary-glow);
}
.timeline-year {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.timeline-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Spec Table ── */
.spec-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.spec-table tr { border-bottom: 1px solid var(--border-glass); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td {
  padding: 12px 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.spec-table td:first-child {
  font-weight: 600;
  color: var(--text-light);
  width: 40%;
}
.spec-table tr:hover td { background: rgba(26,92,184,0.05); }

/* ── Tabs ── */
.tabs { display: flex; gap: 4px; margin-bottom: 24px; border-bottom: 1px solid var(--border-glass); }
.tab-btn {
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: transparent;
  transition: var(--transition);
  position: relative;
}
.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.tab-btn.active { color: var(--primary-light); }
.tab-btn.active::after { transform: scaleX(1); }
.tab-btn:hover { color: var(--text-light); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ── Process Steps ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 32px; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.4;
}
.process-step { text-align: center; padding: 0 12px; }
.process-step-num {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-glow-blue);
}
.process-step-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}
.process-step-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Contact Cards ── */
.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-method {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  transition: var(--transition);
  text-decoration: none;
}
.contact-method:hover {
  border-color: rgba(26,92,184,0.35);
  background: var(--bg-glass-hover);
  transform: translateX(4px);
}
.contact-method-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-method-text {}
.contact-method-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.contact-method-value {
  font-size: 0.95rem;
  color: var(--text-white);
  font-weight: 600;
  margin-top: 2px;
}

/* ══════════════════════════════════════════
   RESPONSIVE – COMPREHENSIVE MOBILE FIX
   ══════════════════════════════════════════ */

/* ── Global overflow fix ── */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
* { box-sizing: border-box; }

/* ── Tablet (≤ 1024px) ── */
@media (max-width: 1024px) {
  :root { --section-py: 80px; }
  .container { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .section-title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
}

/* ── Mobile (≤ 768px) ── */
@media (max-width: 768px) {
  :root { --section-py: 56px; }

  /* Container */
  .container { padding: 0 16px; }

  /* Navbar */
  .nav-inner { padding: 14px 16px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-logo-name { font-size: 0.95rem; }
  .nav-logo-sub { font-size: 0.56rem; }
  .nav-logo-img { width: 58px; height: 58px; }

  /* Section headers */
  .section-header { margin-bottom: 32px; }
  .section-title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .section-subtitle { font-size: 0.9rem; }

  /* Page Hero */
  .page-hero { padding: 110px 0 52px; }
  .page-hero-title { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .page-hero-subtitle { font-size: 0.9rem; padding: 0 8px; }

  /* Stats */
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 40px 0; }
  .stat-item { padding: 24px 12px; }
  .stat-number { font-size: 2rem; }

  /* Product grid */
  .products-grid { grid-template-columns: 1fr; gap: 20px; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer { padding: 56px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 40px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 10px; }
  .footer-bottom-links { justify-content: center; }

  /* Buttons */
  .btn-lg { padding: 13px 22px; font-size: 0.92rem; }
  .hero-actions { gap: 10px; }

  /* WhatsApp float */
  .whatsapp-float { bottom: 16px; right: 16px; }
  .whatsapp-float-btn { width: 50px; height: 50px; font-size: 1.35rem; }

  /* Category filter chips – scrollable on mobile */
  .cat-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cat-filters::-webkit-scrollbar { display: none; }
  .cat-btn { flex-shrink: 0; font-size: 0.8rem; padding: 7px 14px; }

  /* Search bar */
  .search-bar { max-width: 100%; }

  /* Process steps */
  .process-steps { grid-template-columns: 1fr 1fr; gap: 16px; }

  /* Glow orbs – reduce size to prevent overflow */
  .glow-orb-1 { width: 280px; height: 280px; }
  .glow-orb-2 { width: 220px; height: 220px; }
  .glow-orb-3 { width: 180px; height: 180px; }

  /* Grid overlay reduce on mobile */
  .grid-overlay { background-size: 40px 40px; }
}

/* ── Small mobile (≤ 480px) ── */
@media (max-width: 480px) {
  :root { --section-py: 48px; }

  /* Container tighter */
  .container { padding: 0 14px; }

  /* Navbar – even tighter */
  .nav-inner { padding: 12px 14px; }
  .nav-logo-img { width: 52px; height: 52px; }
  .nav-logo-name { font-size: 0.88rem; }

  /* Section title */
  .section-title { font-size: clamp(1.4rem, 7vw, 1.9rem); }

  /* Stats grid */
  .stats-row { grid-template-columns: 1fr 1fr; gap: 10px; margin: 32px 0; }
  .stat-item { padding: 20px 8px; }
  .stat-number { font-size: 1.7rem; }
  .stat-label { font-size: 0.75rem; }

  /* CTA actions */
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* Hero actions */
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Hero trust bar – stack on very small */
  .hero-trust { flex-wrap: wrap; gap: 12px; }
  .hero-trust-divider { display: none; }

  /* Product card footer */
  .product-card-footer { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* Buttons */
  .btn-lg { padding: 13px 20px; font-size: 0.9rem; width: auto; }

  /* Process steps */
  .process-steps { grid-template-columns: 1fr; gap: 20px; }

  /* WhatsApp float */
  .whatsapp-float { bottom: 12px; right: 12px; }
  .whatsapp-float-btn { width: 48px; height: 48px; font-size: 1.3rem; }

  /* Page hero */
  .page-hero { padding: 100px 0 44px; }
  .page-hero-title { font-size: clamp(1.6rem, 8vw, 2.2rem); }

  /* Footer bottom */
  .footer-copy { font-size: 0.75rem; text-align: center; }
  .footer-bottom-links { gap: 12px; }
  .footer-bottom-link { font-size: 0.75rem; }

  /* Map */
  .map-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .map-header h3 { font-size: 0.9rem; }
}

/* ══════════════════════════════════════════
   ANIMATION SYSTEM
   ══════════════════════════════════════════ */

/* ── Extra Reveal Variants ── */
.reveal-zoom {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-bounce);
}
.reveal-zoom.visible { opacity: 1; transform: scale(1); }

.reveal-flip {
  opacity: 0;
  transform: perspective(600px) rotateX(20deg);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}
.reveal-flip.visible { opacity: 1; transform: perspective(600px) rotateX(0deg); }

/* ── Section Tag Pulse ── */
.tag-animate {
  animation: tagPulse 3s ease-in-out infinite;
}
@keyframes tagPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(58,114,168,0); }
  50%      { box-shadow: 0 0 0 6px rgba(58,114,168,0.12); }
}
.section-tag::before {
  animation: dotBlink 2s ease-in-out infinite;
}
@keyframes dotBlink {
  0%,100% { opacity:1; transform: scale(1); }
  50%      { opacity:0.4; transform: scale(1.4); }
}

/* ── Typing Cursor ── */
.type-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--accent);
  margin-left: 2px;
  vertical-align: middle;
  animation: blink 0.85s step-end infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0; }
}

/* ── Button Ripple ── */
.btn-ripple {
  position: absolute;
  width: 6px; height: 6px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  transform: translate(-50%,-50%) scale(0);
  animation: rippleOut 0.55s ease-out forwards;
  pointer-events: none;
}
@keyframes rippleOut {
  to { transform: translate(-50%,-50%) scale(40); opacity: 0; }
}

/* ── Stat item counting glow ── */
.stat-item.counting {
  box-shadow: 0 0 0 2px rgba(58,114,168,0.4), 0 0 24px rgba(58,114,168,0.2);
}
.stat-item {
  transition: box-shadow 0.4s ease, transform 0.3s ease;
}
.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 2px rgba(58,114,168,0.3), var(--shadow-card);
}

/* ── Gradient underline section title ── */
.section-title {
  position: relative;
  display: inline-block;
}

/* ── Blob float keyframe (used by JS) ── */
@keyframes blobFloat {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(30px, 20px) scale(1.08); }
}

/* ── Card shine sweep on hover ── */
.glass-card, .product-card, .service-card, .why-card, .cat-card {
  overflow: hidden;
}
.glass-card::after,
.product-card::after,
.service-card::after,
.why-card::after,
.cat-card::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -80%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255,255,255,0.06) 50%,
    transparent 60%
  );
  transform: skewX(-20deg);
  transition: left 0.7s ease;
  pointer-events: none;
  z-index: 1;
}
.glass-card:hover::after,
.product-card:hover::after,
.service-card:hover::after,
.why-card:hover::after,
.cat-card:hover::after {
  left: 130%;
}

/* ── Navbar logo spin on hover ── */
.nav-logo:hover .nav-logo-img {
  animation: logoBounce 0.5s var(--ease-bounce);
}
@keyframes logoBounce {
  0%   { transform: scale(1) rotate(0deg); }
  40%  { transform: scale(1.12) rotate(-6deg); }
  70%  { transform: scale(0.96) rotate(4deg); }
  100% { transform: scale(1) rotate(0deg); }
}

/* ── Hero badge animated border ── */
@keyframes borderGlow {
  0%,100% { border-color: rgba(193,56,108,0.25); }
  50%     { border-color: rgba(193,56,108,0.6); box-shadow: 0 0 12px rgba(193,56,108,0.2); }
}
.hero-badge { animation: slideIn 0.8s var(--ease-smooth) both, borderGlow 3s ease-in-out 1s infinite; }

/* ── Gradient text animation ── */
.shimmer-text {
  background: linear-gradient(90deg, #3A72A8, #C1386C, #5A9FD4, #E05590, #3A72A8);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer {
  from { background-position: 300% center; }
  to   { background-position: -300% center; }
}

/* ── Footer link hover ── */
.footer-link {
  transition: color 0.2s, transform 0.2s, padding-left 0.2s;
}
.footer-link:hover {
  color: var(--primary-light);
  transform: translateX(6px);
  padding-left: 4px;
}

/* ── WhatsApp float bounce on load ── */
.whatsapp-float-btn {
  animation: pulse 2.5s ease-in-out infinite, waBounceIn 0.8s var(--ease-bounce) 1.5s both;
}
@keyframes waBounceIn {
  from { transform: scale(0) rotate(-180deg); opacity:0; }
  to   { transform: scale(1) rotate(0deg);   opacity:1; }
}

/* ── Section divider glow pulse ── */
.gradient-divider {
  animation: dividerPulse 4s ease-in-out infinite;
}
@keyframes dividerPulse {
  0%,100% { opacity: 0.35; }
  50%     { opacity: 0.7; }
}

/* ── Page transition ── */
.page-transition-overlay {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--bg-navy);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

/* ── Utility ── */
.text-center { text-align: center; }
.text-left { text-align: left; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-4 { gap: 4px; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }
.w-full { width: 100%; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ══════════════════════════════════════
   CATEGORY CARD HOVER PRODUCT DROPDOWN
══════════════════════════════════════ */
.cat-card-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* arrow indicator */
.cat-hover-arrow {
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--primary);
  opacity: 0.6;
  transition: opacity 0.3s, transform 0.3s;
}
.cat-card-wrap:hover .cat-hover-arrow {
  opacity: 1;
  transform: translateY(-3px);
}

/* the dropdown panel */
.cat-dropdown {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(12px) scale(0.96);
  width: 240px;
  background: #fff;
  border: 1.5px solid rgba(91,168,212,0.3);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(91,168,212,0.25), 0 4px 16px rgba(0,0,0,0.08);
  padding: 12px 8px 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 100;
}
.cat-card-wrap:hover .cat-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* dropdown triangle pointer */
.cat-dropdown::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #fff;
  filter: drop-shadow(0 2px 4px rgba(91,168,212,0.2));
}

.cat-dropdown-header {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 10px 8px;
  border-bottom: 1px solid rgba(91,168,212,0.15);
  margin-bottom: 6px;
}

.cat-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  line-height: 1.3;
}
.cat-dropdown-item i {
  font-size: 0.5rem;
  color: var(--primary);
  flex-shrink: 0;
}
.cat-dropdown-item:hover {
  background: rgba(91,168,212,0.1);
  color: var(--primary-dark);
  transform: translateX(4px);
}

.cat-dropdown-view {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #5BA8D4, #C1386C);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.cat-dropdown-view:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

/* ══════════════════════════════════════
   RICH ANIMATIONS — ALL PAGES
══════════════════════════════════════ */

/* 1. Floating animated blobs in page hero */
.page-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: blobFloat 6s ease-in-out infinite;
  pointer-events: none;
}
.page-hero-blob-1 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(91,168,212,0.6), transparent 70%);
  top: -80px; left: -60px;
  animation-delay: 0s;
}
.page-hero-blob-2 {
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(193,56,108,0.5), transparent 70%);
  top: -40px; right: -40px;
  animation-delay: -3s;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%  { transform: translate(15px, -20px) scale(1.06); }
  66%  { transform: translate(-10px, 15px) scale(0.96); }
}

/* 2. Section tag pulse ring */
.section-tag {
  position: relative;
}
.section-tag::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(91,168,212,0.35);
  animation: tagPulse 2.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes tagPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%  { opacity: 0; transform: scale(1.12); }
}

/* 3. Button shimmer sweep on hover */
.btn-primary::after, .btn-accent::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.btn-primary:hover::after, .btn-accent:hover::after {
  left: 160%;
}

/* 4. Card 3D tilt on hover (product & service cards) */
.product-card, .service-card, .why-card {
  transform-style: preserve-3d;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.product-card:hover {
  transform: perspective(800px) rotateY(-3deg) translateY(-8px);
}
.service-card:hover {
  transform: perspective(800px) rotateY(3deg) translateY(-6px);
}
.why-card:hover {
  transform: perspective(800px) rotateX(-4deg) translateY(-6px);
}

/* 5. Animated gradient border on service-preview cards */
.service-preview-card {
  position: relative;
  background: #fff;
}
.service-preview-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(135deg, #5BA8D4, #C1386C, #5BA8D4);
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
  animation: gradientShift 3s linear infinite paused;
}
.service-preview-card:hover::after {
  opacity: 1;
  animation-play-state: running;
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 6. Stat numbers count-up animation pulse */
.stat-number {
  animation: statPop 0.6s var(--ease-bounce) both;
}
@keyframes statPop {
  0%   { transform: scale(0.7); opacity: 0; }
  80%  { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}

/* 7. Staggered entrance for grid items */
.why-grid .why-card:nth-child(1) { animation-delay: 0.0s; }
.why-grid .why-card:nth-child(2) { animation-delay: 0.1s; }
.why-grid .why-card:nth-child(3) { animation-delay: 0.2s; }
.why-grid .why-card:nth-child(4) { animation-delay: 0.3s; }

/* 8. Animated scroll-down chevron on hero */
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 10;
  animation: scrollBounce 2s ease-in-out infinite;
  cursor: pointer;
  text-decoration: none;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}
.scroll-hint i { font-size: 1.2rem; }
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* 9. Nav link slide-in on page load */
.nav-link {
  animation: navSlideIn 0.5s var(--ease-smooth) both;
}
.nav-links li:nth-child(1) .nav-link { animation-delay: 0.05s; }
.nav-links li:nth-child(2) .nav-link { animation-delay: 0.10s; }
.nav-links li:nth-child(3) .nav-link { animation-delay: 0.15s; }
.nav-links li:nth-child(4) .nav-link { animation-delay: 0.20s; }
.nav-links li:nth-child(5) .nav-link { animation-delay: 0.25s; }
@keyframes navSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 10. Footer link hover animated underline */
.footer-link {
  position: relative;
}
.footer-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--primary-light);
  transition: width 0.3s ease;
}
.footer-link:hover::after { width: 100%; }

/* 11. Product card image zoom */
.product-card-img {
  transition: transform 0.5s ease, filter 0.3s ease;
}
.product-card:hover .product-card-img {
  transform: scale(1.08) rotate(-1deg);
  filter: brightness(1.05) saturate(1.1);
}

/* 12. Ripple on CTA buttons */
@keyframes ripple {
  to { transform: scale(3); opacity: 0; }
}
.btn-whatsapp:active::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255,255,255,0.4);
  animation: ripple 0.5s ease-out;
}

/* 13. Coming Soon Card Premium Styles & Animations */
.coming-soon-card {
  background: linear-gradient(135deg, rgba(26, 92, 184, 0.02), rgba(233, 30, 140, 0.02)) !important;
  border: 1px dashed rgba(91, 168, 212, 0.35) !important;
  padding: 50px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 320px;
  grid-column: 1 / -1; /* spans full width of the grid */
  position: relative;
  overflow: hidden;
  box-shadow: none !important;
  transition: border-color 0.3s ease, background 0.3s ease !important;
}

.coming-soon-card:hover {
  transform: none !important; /* disabled float lift */
  border-color: var(--primary) !important;
  background: linear-gradient(135deg, rgba(26, 92, 184, 0.04), rgba(233, 30, 140, 0.04)) !important;
}

.coming-soon-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, transparent 30%, rgba(255, 255, 255, 0.08) 40%, transparent 50%);
  background-size: 200% 200%;
  animation: shine-sweep 4.5s infinite linear;
  pointer-events: none;
}

@keyframes shine-sweep {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.coming-soon-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(26, 92, 184, 0.07);
  border: 1px solid rgba(26, 92, 184, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-light);
  margin-bottom: 22px;
  animation: float-slow 4s ease-in-out infinite;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.coming-soon-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.coming-soon-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 460px;
  line-height: 1.68;
  margin-bottom: 24px;
}

.animated-pulse {
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.35);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 15px 4px rgba(245, 158, 11, 0.18);
    transform: scale(1.04);
  }
}



