/* =============================================
   FACEWISE — Main Landing Page Stylesheet
   Stack: HTML + Bootstrap 5 + Vanilla CSS + JS
   ============================================= */

/* ── Google Fonts are loaded via <link> in HTML ── */

/* ======================
   CSS CUSTOM PROPERTIES
   ====================== */
:root {
  /* Brand Colors — Facewise Purple-Indigo Theme */
  --primary:        #667eea;
  --primary-hover:  #5568d3;
  --primary-dark:   #4553c0;
  --primary-light:  #eef0fd;
  --primary-medium: #dde0fb;

  /* Gradient (matches Facewise Attendance exactly) */
  --primary-gradient:       linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --primary-gradient-hover: linear-gradient(135deg, #5568d3 0%, #653a91 100%);
  --hero-gradient:          linear-gradient(135deg, #eef0fd 0%, #f4f0fb 50%, #ffffff 100%);

  /* Accent Colors */
  --accent-teal:   #10b981;
  --accent-gold:   #f59e0b;
  --accent-orange: #ef4444;
  --accent-purple: #764ba2;
  --accent-violet: #a855f7;
  --accent-pink:   #ec4899;
  --accent-blue:   #3b82f6;

  /* Text */
  --text-dark:  #1e293b;
  --text-muted: #64748b;
  --text-light: #f8fafc;

  /* Backgrounds */
  --bg-dark:   #1e1b4b;
  --bg-light:  #eef0fd;
  --bg-medium: #dde0fb;
  --bg-white:  #ffffff;
  --bg-gray:   #f9fafb;

  /* Borders */
  --border-light: #e0e4f8;
  --border-med:   #c7cdf5;

  /* Typography */
  --ff-heading: 'Raleway', sans-serif;
  --ff-body:    'Open Sans', sans-serif;

  /* Shadows (purple-tinted) */
  --shadow-sm: 0 1px 3px rgba(102,126,234,.10);
  --shadow-md: 0 4px 16px rgba(102,126,234,.16), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 32px rgba(102,126,234,.20), 0 4px 12px rgba(0,0,0,.08);
  --shadow-xl: 0 20px 48px rgba(102,126,234,.25), 0 8px 20px rgba(0,0,0,.10);

  /* Radii */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  18px;
  --radius-xl:  24px;
  --radius-pill: 999px;

  /* Transitions */
  --transition: all .25s ease;
  --transition-slow: all .4s ease;
}

/* ======================
   BASE / RESET
   ====================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  color: var(--text-dark);
  background: var(--bg-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  font-weight: 700;
  color: var(--text-dark);
}

a { text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ======================
   UTILITY CLASSES
   ====================== */
.text-muted-custom { color: var(--text-muted) !important; }
.text-primary-custom { color: var(--primary) !important; }
.ff-heading { font-family: var(--ff-heading); }

.bg-primary-custom { background: var(--primary) !important; }
.bg-dark-custom    { background: var(--bg-dark) !important; }
.bg-light-custom   { background: var(--bg-light) !important; }

/* ======================
   NAVBAR
   ====================== */
#mainNavbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-slow);
  z-index: 1050;
}

#mainNavbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.navbar-brand img { height: 68px; transition: var(--transition); }
.navbar-brand:hover img { opacity: 0.85; }

.nav-link-custom {
  font-weight: 600;
  color: var(--text-dark) !important;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 0.5rem 0.75rem !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform .25s ease;
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after { transform: translateX(-50%) scaleX(1); }

.nav-link-custom:hover { color: var(--primary) !important; }

/* Dropdown */
.dropdown-menu {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  min-width: 220px;
}

.dropdown-item {
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: var(--transition);
  padding: 0.6rem 1rem;
}

.dropdown-item:hover {
  background: var(--bg-light);
  color: var(--primary);
}

.dropdown-item .product-badge {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 99px;
  font-weight: 700;
  margin-left: 6px;
}

/* Navbar CTA Button */
.btn-navbar-cta {
  background: var(--primary);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: var(--radius-md);
  padding: 0.5rem 1.2rem;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-navbar-cta:hover {
  background: var(--primary-hover);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(102,126,234,.40);
}

/* Navbar Login Button */
.btn-navbar-login {
  background: transparent;
  color: var(--primary) !important;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: var(--radius-md);
  padding: calc(0.5rem - 2px) 1.2rem;
  border: 2px solid var(--primary);
  transition: var(--transition);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.btn-navbar-login:hover {
  background: var(--primary);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(102,126,234,.30);
}

/* ======================
   BUTTONS
   ====================== */
.btn-primary-fw {
  background: var(--primary);
  border: 2px solid var(--primary);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: 14px 28px;
  font-family: var(--ff-heading);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary-fw:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(102,126,234,.40);
}

.btn-outline-fw {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: 14px 28px;
  font-family: var(--ff-heading);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-fw:hover {
  background: var(--bg-light);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-light-fw {
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.6);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: 14px 28px;
  font-family: var(--ff-heading);
  backdrop-filter: blur(8px);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-light-fw:hover {
  background: rgba(255,255,255,.25);
  border-color: rgba(255,255,255,.9);
  color: #fff;
  transform: translateY(-2px);
}

/* ======================
   BADGES / PILLS
   ====================== */
.badge-pill-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-medium);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-pill);
  font-family: var(--ff-heading);
}

/* ======================
   HERO SECTION
   ====================== */
.hero-wrap {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--hero-gradient);
  overflow: hidden;
}

/* Animated blobs */
.blob {
  position: absolute;
  border-radius: var(--radius-pill);
  filter: blur(52px);
  animation: float-blob 8s ease-in-out infinite;
}

.blob-a {
  width: 300px; height: 300px;
  top: 80px; right: 60px;
  background: var(--accent-violet);
  opacity: .12;
  animation-delay: 0s;
}

.blob-b {
  width: 420px; height: 420px;
  bottom: 60px; left: 40px;
  background: var(--primary);
  opacity: .10;
  animation-delay: 3s;
}

.blob-c {
  width: 200px; height: 200px;
  top: 200px; left: 30%;
  background: var(--accent-pink);
  opacity: .08;
  animation-delay: 5s;
}

@keyframes float-blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(20px, -25px) scale(1.05); }
  66%       { transform: translate(-15px, 15px) scale(0.97); }
}

/* Hero image wrapper */
.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transition: transform .5s ease;
}

.hero-img-wrap:hover { transform: scale(1.02); }

.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,27,75,.50), transparent);
}

/* Floating stat cards */
.stat-float {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  width: 200px;
  animation: float-card 4s ease-in-out infinite;
}

.stat-float.stat-bottom { left: -14px; bottom: -14px; animation-delay: 0s; }
.stat-float.stat-top    { right: -14px; top: -14px; animation-delay: 2s; }

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

@media (max-width: 991.98px) {
  .stat-float { display: none; }
}

/* ======================
   SECTION COMMON
   ====================== */
.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--bg-medium);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.25;
}

.top-accent-bar {
  height: 5px;
  background: linear-gradient(90deg, var(--accent-violet), var(--primary), var(--accent-pink));
}

/* ======================
   PRODUCT CARDS (Hero Products Section)
   ====================== */
.product-card {
  border-radius: var(--radius-xl);
  border: 2px solid var(--border-light);
  background: linear-gradient(145deg, var(--bg-light), #fff);
  box-shadow: var(--shadow-md);
  transition: var(--transition-slow);
  overflow: hidden;
  height: 100%;
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-teal));
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover::before { opacity: 1; }

.product-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
}

.product-card-events::before {
  background: linear-gradient(90deg, var(--accent-violet), var(--primary));
}

.product-card-attendance::before {
  background: linear-gradient(90deg, var(--primary), var(--accent-purple));
}

.product-icon-wrap {
  width: 72px; height: 72px;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  transition: var(--transition);
}

.product-card:hover .product-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
}

.product-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: var(--transition-slow);
}

.product-card:hover .product-img { transform: scale(1.04); }

/* Feature check list */
.feat-list { list-style: none; padding: 0; margin: 0; }

.feat-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.feat-list li i {
  color: var(--accent-teal);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Product CTA button */
.btn-product {
  border-radius: var(--radius-md);
  font-weight: 700;
  padding: 12px 24px;
  font-family: var(--ff-heading);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  width: 100%;
  justify-content: center;
}

.btn-product-events {
  background: var(--primary-gradient);
  border: 2px solid transparent;
  color: #fff;
}

.btn-product-events:hover {
  background: var(--primary-gradient-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102,126,234,.45);
}

.btn-product-attendance {
  background: var(--primary);
  border: 2px solid var(--primary);
  color: #fff;
}

.btn-product-attendance:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102,126,234,.45);
}

/* ======================
   FEATURE CARDS
   ====================== */
.feature-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  background: linear-gradient(135deg, var(--bg-light), #fff);
  padding: 28px;
  transition: var(--transition-slow);
  height: 100%;
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  transition: var(--transition);
  margin-bottom: 16px;
}

.feature-card:hover .feature-icon { transform: scale(1.12) rotate(-5deg); }

/* ======================
   HOW IT WORKS
   ====================== */
.how-step {
  position: relative;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 2.5rem 2rem 2rem;
  border: 2px solid transparent;
  transition: var(--transition-slow);
  height: 100%;
}

.how-step:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.step-number {
  position: absolute;
  top: -22px;
  left: 28px;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.step-icon-wrap {
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  background: var(--bg-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  transition: var(--transition);
}

.how-step:hover .step-icon-wrap { transform: scale(1.1); }

/* ======================
   STATS BANNER
   ====================== */
.stats-wrap {
  background: var(--primary-gradient);
  position: relative;
  overflow: hidden;
}

.stats-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: .12;
  background: #fff;
}

.stat-item { text-align: center; }

.stat-value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  font-family: var(--ff-heading);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,.82);
  font-weight: 500;
  margin-top: 6px;
}

.stat-divider {
  width: 1px;
  background: rgba(255,255,255,.2);
}

/* ======================
   CTA SECTION
   ====================== */
.cta-wrap {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 60%, #f093fb 100%);
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(56px);
}

.cta-orb-1 {
  width: 400px; height: 400px;
  background: rgba(255,255,255,.12);
  top: -150px; right: -100px;
}

.cta-orb-2 {
  width: 450px; height: 450px;
  background: var(--accent-pink);
  opacity: .12;
  bottom: -180px; left: -120px;
}

/* ======================
   FOOTER
   ====================== */
.footer-wrap {
  background: var(--bg-dark);
  color: rgba(255,255,255,.85);
}

.footer-heading {
  color: #fff;
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.2rem;
}

.footer-link {
  color: rgba(255,255,255,.68);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-link:hover {
  color: #a5b4fc;
  padding-left: 4px;
}

.footer-divider {
  border-color: rgba(255,255,255,.12);
  margin: 2rem 0 1.5rem;
}

.social-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
}

.social-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* Product links in footer */
.footer-product-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  color: rgba(255,255,255,.9);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-product-badge:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.3);
  color: #fff;
  transform: translateY(-2px);
}

/* ======================
   ABOUT PAGE
   ====================== */
.about-hero {
  background: linear-gradient(135deg, var(--bg-light), #ffffff);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.team-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  background: #fff;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  overflow: hidden;
}

.team-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-color: var(--primary);
}

.team-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: var(--bg-medium);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
}

.value-card {
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
  border: 1px solid var(--border-light);
  background: linear-gradient(135deg, var(--bg-light), #fff);
  transition: var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

/* ======================
   POLICY PAGES
   ====================== */
.policy-hero {
  background: linear-gradient(135deg, var(--bg-dark), #1a2a38);
  padding: 4rem 0 3rem;
  color: #fff;
}

.policy-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.policy-body h2 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-light);
}

.policy-body h3 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.policy-body p, .policy-body li {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

.policy-body ul { padding-left: 1.5rem; }
.policy-body ul li { margin-bottom: 0.5rem; }

.policy-toc {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border-light);
  margin-bottom: 2.5rem;
}

.policy-toc ol {
  padding-left: 1.5rem;
  margin: 0;
}

.policy-toc li { margin-bottom: 0.4rem; }
.policy-toc a { color: var(--primary); font-weight: 600; text-decoration: none; }
.policy-toc a:hover { color: var(--primary-hover); text-decoration: underline; }

.policy-callout {
  background: linear-gradient(135deg, var(--bg-medium), var(--bg-light));
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  color: var(--text-dark);
  font-size: 0.93rem;
}

.policy-callout.warning {
  background: #fff8e6;
  border-left-color: var(--accent-gold);
}

.policy-callout.important {
  background: #fff0ee;
  border-left-color: var(--accent-orange);
}

/* ======================
   SCROLL REVEAL ANIMATION
   ====================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }
.reveal-delay-6 { transition-delay: .6s; }

/* ======================
   PAGE HERO (inner pages)
   ====================== */
.page-hero {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
  color: #fff;
}

/* Force all text inside page-hero to be white */
.page-hero h1,
.page-hero h2,
.page-hero h3,
.page-hero p,
.page-hero strong,
.page-hero span {
  color: #fff !important;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(168,85,247,.10);
  filter: blur(50px);
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -120px; left: -80px;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: rgba(236,72,153,.08);
  filter: blur(50px);
}

/* ======================
   BREADCRUMB
   ====================== */
.breadcrumb-item a { color: rgba(255,255,255,.7); text-decoration: none; }
.breadcrumb-item a:hover { color: #c4b5fd; }
.breadcrumb-item.active { color: rgba(255,255,255,.5); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ======================
   BACK TO TOP
   ====================== */
#backToTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px; height: 46px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
  display: flex; align-items: center; justify-content: center;
}

#backToTop.visible { opacity: 1; pointer-events: all; }
#backToTop:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ======================
   RESPONSIVE
   ====================== */
@media (max-width: 991.98px) {
  .hero-wrap { min-height: auto; padding: 4rem 0; }
  .navbar-collapse { padding: 1rem 0; }
  .nav-link-custom::after { display: none; }
}

@media (max-width: 767.98px) {
  .stat-divider { display: none !important; }
}
