:root {
  --orange: #f7941d;
  --yellow: #fdb813;
  --purple: #5b2c86;
  --purple-dark: #431f63;
  --charcoal: #3a3a3a;
  --gray-text: #6b6b6b;
  --bg-light: #faf9fb;
  --border: #ece7f0;
  --gradient: linear-gradient(135deg, var(--orange), var(--yellow));
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--charcoal);
  line-height: 1.6;
  background: #fff;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  max-width: 1160px;
  margin: 0 auto;
}

.logo-link { display: flex; align-items: center; gap: 10px; }
.logo-link img { height: 34px; width: auto; }

nav ul { display: flex; align-items: center; gap: 2px; }

nav a {
  font-weight: 600;
  font-size: 14px;
  color: var(--charcoal);
  position: relative;
  padding: 9px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

nav a:not(.nav-cta):hover, nav a.active:not(.nav-cta) { color: var(--purple); background: rgba(91, 44, 134, 0.07); }
nav a.active { font-weight: 700; }
.nav-cta:hover { filter: brightness(1.05); box-shadow: 0 6px 18px rgba(247, 148, 29, 0.45); }

/* Services dropdown */
nav li.has-dropdown { position: relative; }

.caret { display: inline-block; font-size: 10px; margin-left: 4px; transition: transform 0.25s ease; }
nav li.has-dropdown:hover .caret,
nav li.has-dropdown.open .caret { transform: rotate(180deg); }

nav .dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 20px 45px rgba(91, 44, 134, 0.16);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 150;
}

nav li.has-dropdown:hover .dropdown,
nav li.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

nav .dropdown a {
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 600;
}

nav .dropdown a:hover { background: var(--bg-light); color: var(--purple); }
nav .dropdown a.active { background: rgba(91, 44, 134, 0.08); color: var(--purple); }

.nav-cta {
  background: var(--gradient);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  margin-left: 10px;
  box-shadow: 0 4px 14px rgba(247, 148, 29, 0.35);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--purple);
  cursor: pointer;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #fff 0%, var(--bg-light) 100%);
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-text { flex: 1; }
.hero-visual { flex: 1; display: flex; justify-content: center; }

.eyebrow {
  display: inline-block;
  background: rgba(91, 44, 134, 0.08);
  color: var(--purple);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 46px;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 18px;
  color: var(--gray-text);
  max-width: 520px;
  margin-bottom: 32px;
}

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 6px 18px rgba(247, 148, 29, 0.35);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(247, 148, 29, 0.45); }

.btn-outline {
  background: #fff;
  color: var(--purple);
  border: 2px solid var(--purple);
}

.btn-outline:hover { background: var(--purple); color: #fff; }

.hero-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(91, 44, 134, 0.15);
  border: 1px solid var(--border);
  width: 100%;
  max-width: 380px;
}

.hero-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.hero-card .card-header span { font-weight: 700; color: var(--gray-text); font-size: 13px; }

.stat-pill {
  background: var(--gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
}

.mini-bar { display: flex; align-items: flex-end; gap: 8px; height: 90px; margin-bottom: 18px; }
.mini-bar div { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--purple), var(--purple-dark)); }
.mini-bar div:nth-child(2) { background: var(--gradient); }
.mini-bar div:nth-child(4) { background: var(--gradient); }

.hero-card .metric-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
}

.hero-card .metric-row strong { color: var(--purple); }

/* Section generic */
section { padding: 80px 0; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head .eyebrow { }
.section-head h2 { font-size: 34px; font-weight: 800; margin-bottom: 14px; }
.section-head p { color: var(--gray-text); font-size: 16px; }

/* Trust bar */
.trust-bar {
  background: var(--bg-light);
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-bar .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  text-align: center;
}

.trust-item strong { display: block; font-size: 26px; color: var(--purple); font-weight: 800; }
.trust-item span { font-size: 13px; color: var(--gray-text); font-weight: 600; }

/* Cards grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 26px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(91, 44, 134, 0.12);
  border-color: transparent;
}

a.card { display: block; }
.card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--purple);
}
.card .learn-more .arrow { transition: transform 0.25s ease; }
.card:hover .learn-more .arrow { transform: translateX(4px); }

.icon-box {
  width: 54px; height: 54px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  color: #fff;
}

.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--gray-text); font-size: 15px; }

/* Why us / feature list */
.feature-split {
  display: flex;
  gap: 60px;
  align-items: center;
}

.feature-split .col { flex: 1; }

.feature-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  align-items: flex-start;
}

.check-icon {
  min-width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(91, 44, 134, 0.1);
  color: var(--purple);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 14px;
}

.feature-list h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.feature-list p { color: var(--gray-text); font-size: 14px; }

.stat-box {
  background: var(--bg-light);
  border-radius: 18px;
  padding: 36px;
}

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stat-grid .stat strong { display: block; font-size: 30px; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-grid .stat span { font-size: 13px; color: var(--gray-text); font-weight: 600; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { text-align: center; position: relative; }
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  margin: 0 auto 16px;
  font-size: 18px;
}
.step h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--gray-text); }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  border-radius: 24px;
  padding: 60px;
  text-align: center;
  margin: 0 24px;
}

.cta-band h2 { font-size: 30px; font-weight: 800; margin-bottom: 14px; }
.cta-band p { opacity: 0.85; margin-bottom: 30px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-band .btn-primary { background: var(--gradient); }
.cta-band .btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); }
.cta-band .btn-outline:hover { background: rgba(255,255,255,0.12); }

/* Page header (inner pages) */
.page-header {
  background: linear-gradient(180deg, var(--bg-light), #fff);
  padding: 60px 0 50px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-header .eyebrow { margin-bottom: 14px; }
.page-header h1 { font-size: 38px; font-weight: 800; margin-bottom: 12px; }
.page-header p { color: var(--gray-text); max-width: 560px; margin: 0 auto; }

.breadcrumb { font-size: 13px; color: var(--gray-text); margin-bottom: 16px; }
.breadcrumb a { color: var(--purple); font-weight: 600; }

/* Values / about */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.timeline { border-left: 3px solid var(--border); padding-left: 30px; margin-left: 10px; }
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -38px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gradient);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--orange);
}
.timeline-item strong { display: block; color: var(--purple); font-size: 14px; margin-bottom: 4px; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card { text-align: center; }
.avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  font-weight: 800;
  margin: 0 auto 16px;
}
.team-card h4 { font-size: 16px; font-weight: 700; }
.team-card span { font-size: 13px; color: var(--gray-text); }

/* Services detail */
.service-detail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-detail .card { display: flex; gap: 20px; align-items: flex-start; padding: 28px; }
.service-detail .icon-box { flex-shrink: 0; margin-bottom: 0; }

/* Contact page */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }

.contact-info-card {
  background: var(--bg-light);
  border-radius: 18px;
  padding: 36px;
}

.contact-line { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-line .icon-box { width: 44px; height: 44px; font-size: 18px; margin-bottom: 0; flex-shrink: 0; }
.contact-line h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.4px; color: var(--gray-text); }
.contact-line p, .contact-line a { font-size: 15px; font-weight: 600; }

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }

label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--charcoal); }

input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 18px;
  transition: border-color 0.2s;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--purple);
}

textarea { resize: vertical; min-height: 110px; }

.map-embed {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 40px;
}
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; }

/* FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 14px;
}
.faq-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--purple); }
.faq-item p { font-size: 14px; color: var(--gray-text); }

/* Testimonials */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
}
.testimonial-card .quote-mark {
  font-size: 46px;
  color: var(--orange);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  font-family: Georgia, serif;
}
.testimonial-card .quote-text {
  color: var(--charcoal);
  font-size: 15px;
  margin-bottom: 22px;
  line-height: 1.7;
}
.testimonial-footer { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}
.testimonial-name { font-size: 14px; font-weight: 700; }
.testimonial-role { font-size: 12px; color: var(--gray-text); }
.testimonial-stars { color: var(--orange); font-size: 13px; margin-top: 4px; letter-spacing: 1px; }

/* Footer */
footer {
  background: var(--charcoal);
  color: #d8d5db;
  padding: 72px 0 0;
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 1fr 1fr 1fr 1.3fr;
  gap: 30px;
  padding-bottom: 40px;
}

.footer-logo { height: 44px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-grid p { font-size: 14px; color: #aaa4ad; }
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; }
.footer-grid ul li { margin-bottom: 13px; }
.footer-grid a { font-size: 14px; color: #aaa4ad; transition: color 0.2s; }
.footer-grid a:hover { color: var(--yellow); }

.footer-contact li { display: flex; gap: 10px; font-size: 14px; margin-bottom: 14px; color: #aaa4ad; }

.newsletter-form {
  display: flex;
  margin-top: 8px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
}
.newsletter-form input {
  flex: 1;
  min-width: 0;
  border: none;
  margin-bottom: 0;
  border-radius: 0;
  background: rgba(255,255,255,0.06);
  color: #fff;
  padding: 12px 14px;
  font-size: 13px;
}
.newsletter-form input::placeholder { color: #8a848d; }
.newsletter-form input:focus { outline: none; }
.newsletter-form button {
  border: none;
  padding: 0 18px;
  background: var(--gradient);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
  white-space: nowrap;
}
.footer-note { font-size: 12px; color: #a3d9a5; margin-top: 10px; }

.footer-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 26px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #d8d5db;
  background: rgba(255,255,255,0.05);
  padding: 9px 16px;
  border-radius: 20px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 13px;
  color: #8a848d;
  flex-wrap: wrap;
  gap: 10px;
}

.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: background 0.2s;
}
.social-row a:hover { background: var(--gradient); }

/* Responsive */

/* Tablet: collapse nav to hamburger with a safe margin above where it would
   start wrapping, give 3-col grids a proper 2-col tablet state, stack hero
   and feature-split layouts */
@media (max-width: 920px) {
  header nav ul {
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 0 24px;
    gap: 6px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.35s ease;
  }
  nav ul li { width: 100%; }
  nav a { display: block; }
  .nav-cta { margin-left: 0; text-align: center; }

  .menu-toggle { display: block; transition: transform 0.25s ease; }
  .menu-toggle.open { transform: rotate(90deg); }

  nav.open ul {
    max-height: 70vh;
    opacity: 1;
    padding: 16px 24px 20px;
    overflow-y: auto;
    pointer-events: auto;
  }

  nav .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--bg-light);
    min-width: 0;
    margin-top: 4px;
    max-height: 0;
    overflow: hidden;
    padding: 0 0 0 12px;
    transition: max-height 0.3s ease;
  }
  nav li.has-dropdown.open .dropdown { max-height: 400px; padding: 8px 0 8px 12px; }

  .hero .container { flex-direction: column; align-items: stretch; }
  .hero-text { text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .btn-row { justify-content: center; }
  .hero h1 { font-size: 38px; }
  .section-head h2 { font-size: 28px; }

  .feature-split { flex-direction: column; align-items: stretch; gap: 40px; }
  .contact-wrap { grid-template-columns: 1fr; }

  .grid-3, .team-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile: single-column everything, tighter spacing */
@media (max-width: 640px) {
  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: 30px; }
  section { padding: 56px 0; }
  .section-head h2 { font-size: 24px; }
  .page-header h1 { font-size: 28px; }
  .cta-band { padding: 40px 24px; margin: 0 16px; }
  .cta-band h2 { font-size: 24px; }

  .steps { grid-template-columns: 1fr; }
  .grid-3, .grid-2, .value-grid, .service-detail, .team-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }

  .hero-card { padding: 20px; max-width: 100%; }
  .hero-card .card-header { flex-wrap: wrap; row-gap: 6px; }
  .hero-card .card-header span { font-size: 12px; }
  .hero-card .metric-row { flex-wrap: wrap; row-gap: 4px; }

  footer { padding: 48px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding-bottom: 32px; }
  .footer-badges-row { padding: 20px 0; gap: 10px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding: 18px 0; }
}

/* =========================
   Animations
   ========================= */

html { scroll-behavior: smooth; }

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.22,.61,.36,1), transform 0.7s cubic-bezier(.22,.61,.36,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

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

@keyframes blobMove {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.08); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes growBar {
  from { height: 0; }
  to { height: var(--h); }
}

@keyframes popIn {
  from { transform: scale(0.85); opacity: 0.4; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(91, 44, 134, 0.45); }
  70% { box-shadow: 0 0 0 14px rgba(91, 44, 134, 0); }
  100% { box-shadow: 0 0 0 0 rgba(91, 44, 134, 0); }
}

/* Hero decorative blobs */
.hero { position: relative; overflow: hidden; }
.hero::before, .hero::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
  animation: blobMove 13s ease-in-out infinite;
}
.hero::before { background: var(--orange); top: -100px; right: -60px; }
.hero::after { background: var(--purple); bottom: -120px; left: -60px; animation-delay: 3s; }
.hero .container { position: relative; z-index: 1; }

.page-header { position: relative; overflow: hidden; }
.page-header::before {
  content: "";
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: var(--orange);
  filter: blur(90px);
  opacity: 0.15;
  top: -120px; right: 10%;
  animation: blobMove 14s ease-in-out infinite;
  pointer-events: none;
}
.page-header .container { position: relative; z-index: 1; }

/* Hero card float + bar grow */
.hero-card { animation: float 5s ease-in-out infinite; }

.mini-bar div { animation: growBar 0.9s cubic-bezier(.22,.61,.36,1) both; transform-origin: bottom; }
.mini-bar div:nth-child(1) { animation-delay: 0.05s; }
.mini-bar div:nth-child(2) { animation-delay: 0.15s; }
.mini-bar div:nth-child(3) { animation-delay: 0.25s; }
.mini-bar div:nth-child(4) { animation-delay: 0.35s; }
.mini-bar div:nth-child(5) { animation-delay: 0.45s; }
.mini-bar div:nth-child(6) { animation-delay: 0.55s; }

/* Header on scroll */
header { transition: box-shadow 0.3s ease; }
header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.07); }

/* Button shine sweep */
.btn { position: relative; overflow: hidden; }
.btn::before {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn:hover::before { left: 125%; }

/* Card icon micro-interaction */
.icon-box { transition: transform 0.35s ease; }
.card:hover .icon-box { transform: scale(1.1) rotate(-6deg); }

/* Stat pop-in */
.trust-item.in-view strong,
.stat-grid .stat.in-view strong { animation: popIn 0.5s ease; }

/* Logo hover */
.logo-link img { transition: transform 0.3s ease; }
.logo-link:hover img { transform: scale(1.05); }

/* Tags / trust badges */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
}
.tag {
  background: #fff;
  color: var(--purple);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(91, 44, 134, 0.06);
}

/* Quick-jump chips (used on privacy page) */
.jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.jump-nav a {
  font-size: 13px;
  font-weight: 700;
  color: var(--purple);
  background: var(--bg-light);
  padding: 8px 16px;
  border-radius: 20px;
  transition: background 0.2s ease, color 0.2s ease;
}
.jump-nav a:hover { background: var(--gradient); color: #fff; }

section[id], .policy-section { scroll-margin-top: 90px; }

/* Value card accent */
.value-grid .card, .service-detail .card { border-top: 3px solid transparent; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.value-grid .card:hover, .service-detail .card:hover { border-top-color: var(--orange); }

/* Related services strip */
.related-services .card { text-align: left; }
.related-services .card h3 { font-size: 16px; }
.related-services .card p { font-size: 13px; }

/* Small stat card (used on service/about pages) */
.mini-stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(91, 44, 134, 0.1);
}
.mini-stat-card .mini-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.mini-stat-card .mini-stat-row:last-child { border-bottom: none; }
.mini-stat-card .mini-stat-row span:first-child { font-size: 13px; color: var(--gray-text); font-weight: 600; }
.mini-stat-card .mini-stat-row span:last-child { font-weight: 800; color: var(--purple); }

/* Back to top button */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: 0 8px 20px rgba(247, 148, 29, 0.4);
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 200;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); }

/* Floating call button */
.float-call {
  position: fixed;
  left: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--purple);
  color: #fff;
  padding: 10px 18px 10px 10px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 26px rgba(91, 44, 134, 0.35);
  z-index: 200;
  animation: pulseRing 2.6s infinite;
}
.float-call .call-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .float-call .call-text { display: none; }
  .float-call { padding: 12px; }
  .back-to-top { right: 16px; bottom: 16px; }
  .float-call { left: 16px; bottom: 16px; }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
