
/* ======================================
   LOGO — White badge on dark nav
====================================== */
.nav-logo {
  background: white;
  padding: 5px 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.nav-logo img { height: 42px; width: auto; }

/* ======================================
   NAV LINK ITEMS — Animated underline
====================================== */
.nav-link-item {
  position: relative;
  color: rgba(255,255,255,0.85) !important;
  font-size: 0.78rem !important;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.5rem 0.8rem !important;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s !important;
}
.nav-link-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0.8rem; right: 100%;
  height: 2px;
  background: var(--red);
  transition: right 0.25s ease;
}
.nav-link-item:hover { color: white !important; }
.nav-link-item:hover::after { right: 0.8rem; }

/* ======================================
   DROPDOWN NAVIGATION
====================================== */
.nav-dropdown-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-has-dropdown { cursor: pointer; }
.nav-arrow {
  font-size: 0.55rem;
  display: inline-block;
  transition: transform 0.25s;
  margin-left: 2px;
}
.nav-dropdown-wrap:hover .nav-arrow,
.nav-dropdown-wrap.open .nav-arrow { transform: rotate(180deg); }

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #0f0f0f;
  border-top: 2px solid var(--red);
  min-width: 230px;
  padding: 0.4rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 9998;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  border-radius: 0 0 4px 4px;
}
.nav-dropdown-wrap:hover .nav-dropdown-panel,
.nav-dropdown-wrap.open .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dd-item {
  display: flex !important;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem !important;
  color: rgba(255,255,255,0.75) !important;
  font-size: 0.82rem !important;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none !important;
  transition: background 0.2s, color 0.2s !important;
  border-left: 3px solid transparent;
  white-space: nowrap;
}
.nav-dd-item::after { display: none !important; }
.nav-dd-item:hover {
  background: rgba(204,0,0,0.12);
  color: white !important;
  border-left-color: var(--red);
}
.dd-icon { font-size: 1rem; width: 22px; text-align: center; flex-shrink: 0; }

@media (max-width: 960px) {
  .nav-dropdown-wrap { flex-direction: column; align-items: flex-start; width: 100%; }
  .nav-dropdown-panel {
    position: static;
    opacity: 1 !important; visibility: visible !important;
    transform: none !important;
    box-shadow: none;
    background: rgba(255,255,255,0.05);
    border-top: none;
    border-left: 3px solid var(--red);
    margin-left: 1rem;
    width: calc(100% - 1rem);
    display: none;
    padding: 0;
  }
  .nav-dropdown-wrap.open .nav-dropdown-panel { display: block; }
  .nav-dd-item { padding: 0.6rem 1rem !important; }
  .nav-link-item { width: 100%; }
  .nav-link-item::after { display: none; }
}

/* ======================================
   HERO ANIMATIONS
====================================== */
.hero-eyebrow { animation: slideInLeft 0.8s ease 0.2s both; }
.hero-title { animation: slideInLeft 0.8s ease 0.4s both; }
.hero-sub { animation: slideInLeft 0.8s ease 0.6s both; }
.hero-btns { animation: slideInLeft 0.8s ease 0.8s both; }
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  animation: bounce 2s ease-in-out infinite;
}
.hero-scroll::after {
  content: ''; width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: lineGrow 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}
@keyframes lineGrow {
  0%, 100% { height: 20px; opacity: 0.5; }
  50% { height: 40px; opacity: 1; }
}

/* ======================================
   REVEAL VARIANTS
====================================== */
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(0.92); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ======================================
   CTA BAND — Animated gradient shimmer
====================================== */
@keyframes gradShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
#cta-band {
  background: linear-gradient(270deg, #1a1a1a 0%, #3a0000 25%, #cc0000 50%, #3a0000 75%, #1a1a1a 100%);
  background-size: 300% 300%;
  animation: gradShimmer 8s ease infinite;
}
#cta-band::before { display: none; }

/* ======================================
   SERVICE CARDS — 3D tilt ready
====================================== */
.service-card {
  transition: transform 0.15s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
}

/* ======================================
   FLOAT BADGE
====================================== */
.float-badge {
  position: absolute;
  top: 2rem; right: 2rem;
  background: var(--red);
  color: white;
  border-radius: 50%;
  width: 90px; height: 90px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(204,0,0,0.4);
  animation: floatBadge 3s ease-in-out infinite;
  line-height: 1.3;
  z-index: 5;
}
.float-badge strong { font-size: 1.2rem; display: block; letter-spacing: 0; }
@keyframes floatBadge {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-10px) rotate(-5deg); }
}

/* ======================================
   WHY CARDS — Enhanced hover
====================================== */
.why-card {
  border-bottom: 3px solid transparent;
}
.why-card:hover {
  border-bottom-color: var(--red);
}
.why-icon {
  transition: transform 0.3s ease;
}
.why-card:hover .why-icon { transform: scale(1.15) rotate(-5deg); }

/* ======================================
   BLOG CARDS — Enhanced
====================================== */
.blog-card {
  border-bottom: 3px solid transparent;
}
.blog-card:hover {
  border-bottom-color: var(--red);
}

/* ======================================
   CERTIFICATIONS PAGE
====================================== */
.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 3rem;
}
.cert-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--red);
  transition: transform 0.3s, box-shadow 0.3s;
}
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cert-badge {
  width: 72px; height: 72px;
  background: rgba(204,0,0,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin-bottom: 1.25rem;
}
.cert-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.5rem; }
.cert-card p { color: var(--gray); font-size: 0.9rem; line-height: 1.75; margin-bottom: 1.25rem; }
.cert-list { list-style: none; margin: 0; }
.cert-list li {
  font-size: 0.87rem; color: var(--text);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--light-gray);
  display: flex; align-items: center; gap: 0.6rem;
}
.cert-list li::before { content: '\2713'; color: var(--red); font-weight: 700; }
@media (max-width: 768px) { .cert-grid { grid-template-columns: 1fr; } }

/* ======================================
   HERO EYEBROW
====================================== */
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red-light);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-eyebrow::before {
  content: '';
  width: 30px; height: 2px;
  background: var(--red);
  display: inline-block;
  flex-shrink: 0;
}

/* ======================================
   PULSE ANIMATION
====================================== */
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.pulse-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: pulseDot 1.5s ease-in-out infinite;
  margin-right: 6px;
  vertical-align: middle;
}

/* ======================================
   COUNTER STAT BOXES
====================================== */
.stat-box:hover { transform: translateY(-4px); }
.stat-row .stat-box { transition: transform 0.3s; }


/* ══ Service page section heading centering ══════════════════════════════ */
.why-choose .section-title,
.why-choose > .container > h2,
.process-section .section-title,
.process-section > .container > h2,
.faq-section .section-title,
.faq-section > .container > h2,
section > .container > h2.section-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.why-choose .section-subtitle,
.process-section .section-subtitle,
.faq-section .section-subtitle {
  text-align: center;
  display: block;
}

/* ══ Mobile menu — slide + backdrop ════════════════════════════════════ */
@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    top: 0; right: -320px;
    width: 300px; height: 100vh;
    background: #111;
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 1.5rem 2rem;
    gap: 0;
    overflow-y: auto;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 32px rgba(0,0,0,0.4);
    z-index: 9990;
    border-left: 3px solid var(--red);
  }
  .nav-links.open {
    right: 0;
  }
  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 9989;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }
  .nav-backdrop.visible { display: block; animation: fadeInBd 0.25s ease both; }
  @keyframes fadeInBd { from { opacity: 0; } to { opacity: 1; } }

  .nav-links a.nav-link-item,
  .nav-links .nav-cta {
    width: 100%;
    padding: 0.85rem 0.5rem;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s;
  }
  .nav-links.open a.nav-link-item,
  .nav-links.open .nav-cta {
    opacity: 1;
    transform: none;
  }
  /* Stagger delay for each item */
  .nav-links a:nth-child(1)  { transition-delay: 0.05s; }
  .nav-links a:nth-child(2)  { transition-delay: 0.10s; }
  .nav-links a:nth-child(3)  { transition-delay: 0.15s; }
  .nav-links a:nth-child(4)  { transition-delay: 0.20s; }
  .nav-links a:nth-child(5)  { transition-delay: 0.25s; }
  .nav-links a:nth-child(6)  { transition-delay: 0.30s; }
  .nav-links a:nth-child(7)  { transition-delay: 0.35s; }
  .nav-links a:nth-child(8)  { transition-delay: 0.40s; }
  .nav-links .nav-cta {
    margin-top: 1.25rem;
    text-align: center;
    border-bottom: none;
    border-radius: 3px;
  }

  /* Hamburger → X animation */
  .nav-toggle {
    z-index: 9995;
    position: relative;
  }
  .nav-toggle span {
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
  }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Nav dropdown inside mobile */
  .nav-dropdown-wrap { width: 100%; }
}

/* ══ Footer copyright year ══════════════════════════════════════════════ */


/* == .container -- centered content wrapper ======================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* == Nav text bigger =============================================== */
.nav-link-item {
  font-size: 0.88rem !important;
  letter-spacing: 0.03em !important;
}
.nav-dd-item {
  font-size: 0.88rem !important;
}

/* == CTA band fix -- class version (service pages use .cta-band not #cta-band) */
.cta-band {
  background: var(--dark);
  text-align: center;
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(204,0,0,0.15) 0%, transparent 70%);
}
.cta-band .container {
  position: relative;
  z-index: 1;
}
.cta-band h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: white;
  margin-bottom: 0.75rem;
}
.cta-band p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  margin-bottom: 2rem;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-block;
  background: var(--red);
  color: white !important;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(204,0,0,0.3); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: white !important;
  padding: 0.9rem 2rem;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.btn-secondary:hover { border-color: white; background: rgba(255,255,255,0.08); transform: translateY(-2px); }

/* == Service detail sections -- text alignment fix ================= */
.service-detail .container,
.why-choose .container,
.process-section .container,
.faq-section .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* == Service checklist styling ===================================== */
.service-checklist {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.service-checklist li {
  font-size: 0.9rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.service-checklist li::before {
  content: '\2713';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .service-checklist { grid-template-columns: 1fr; }
}

/* == Service detail 2-column layout ================================ */
.service-detail .service-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 2rem;
}
.service-detail .service-detail-row.reverse {
  direction: rtl;
}
.service-detail .service-detail-row.reverse > * {
  direction: ltr;
}
.service-detail-img {
  border-radius: 8px;
  overflow: hidden;
}
.service-detail-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1) !important;
}
.service-detail-img:hover img {
  transform: scale(1.06) !important;
}
.service-detail-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.service-detail-text p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.service-detail-alt {
  background: var(--offwhite);
}
@media (max-width: 768px) {
  .service-detail .service-detail-row,
  .service-detail .service-detail-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 1.5rem;
  }
}

/* == Why-choose grid ============================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s, border-color 0.3s;
  border-bottom: 3px solid transparent;
}
.why-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--red);
}
.why-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}
.why-card:hover .why-icon { transform: scale(1.2) rotate(-8deg); }
.why-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.why-card p {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* == Process steps ================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.process-step {
  text-align: center;
  padding: 1.5rem;
}
.step-num {
  width: 48px;
  height: 48px;
  border: 2px solid var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--red);
  margin: 0 auto 1.25rem;
  transition: all 0.3s ease;
}
.process-step:hover .step-num {
  background: var(--red);
  color: white;
  transform: scale(1.1);
}
.process-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.process-step p {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* == FAQ section ================================================== */
.faq-list {
  max-width: 800px;
  margin: 2rem auto 0;
}
.faq-item {
  border-bottom: 1px solid var(--light-gray);
  padding: 1.5rem 0;
  transition: padding-left 0.3s ease, opacity 0.5s ease, transform 0.5s ease;
}
.faq-item:hover {
  padding-left: 0.5rem;
}
.faq-q {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.faq-a {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* == Page hero styling (service pages) ============================= */
.page-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0000 50%, #0a0a0a 100%);
  padding: 8rem 2rem 3.5rem;
  text-align: center;
  animation: heroGradient 12s ease infinite;
  background-size: 200% 200%;
}
@keyframes heroGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.page-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: white;
  margin-bottom: 0.75rem;
  animation: slideInLeft 0.8s ease 0.2s both;
}
.page-hero .hero-subtitle,
.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  line-height: 1.7;
  animation: slideInLeft 0.8s ease 0.4s both;
}
.breadcrumb {
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  animation: slideInLeft 0.6s ease 0.1s both;
}
.breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--red); }
.bc-sep { color: rgba(255,255,255,0.3); margin: 0 0.5rem; }
.breadcrumb span:last-child { color: rgba(255,255,255,0.8); }

/* == ENHANCED ANIMATIONS ========================================== */

/* Animated service cards on homepage -- staggered scale-up with glow */
.service-card {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
              transform 0.7s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.4s ease !important;
}
.service-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.service-card:hover {
  box-shadow: 0 20px 60px rgba(204,0,0,0.2), 0 8px 24px rgba(0,0,0,0.15) !important;
  transform: translateY(-8px) scale(1.02) !important;
}
/* Stagger service cards */
.service-card:nth-child(1) { transition-delay: 0s; }
.service-card:nth-child(2) { transition-delay: 0.15s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.45s; }

/* Service card body -- slide up on hover */
.service-card-body {
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.service-card:hover .service-card-body {
  transform: translateY(-8px);
}

/* Red glow line under card number on hover */
.service-card-num {
  position: relative;
  transition: color 0.3s;
}
.service-card:hover .service-card-num {
  color: var(--red) !important;
}

/* Animated why-choose cards -- count up entrance */
.why-choose .why-card {
  opacity: 0;
  transform: translateY(30px);
}
.why-choose.visible .why-card {
  opacity: 1;
  transform: translateY(0);
}
.why-choose.visible .why-card:nth-child(1) { transition-delay: 0.05s; }
.why-choose.visible .why-card:nth-child(2) { transition-delay: 0.15s; }
.why-choose.visible .why-card:nth-child(3) { transition-delay: 0.25s; }
.why-choose.visible .why-card:nth-child(4) { transition-delay: 0.35s; }

/* Process steps entrance */
.process-step {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.process-section.visible .process-step {
  opacity: 1;
  transform: translateY(0);
}
.process-section.visible .process-step:nth-child(1) { transition-delay: 0.05s; }
.process-section.visible .process-step:nth-child(2) { transition-delay: 0.15s; }
.process-section.visible .process-step:nth-child(3) { transition-delay: 0.25s; }
.process-section.visible .process-step:nth-child(4) { transition-delay: 0.35s; }

/* FAQ items -- slide in from left */
.faq-section .faq-item {
  opacity: 0;
  transform: translateX(-20px);
}
.faq-section.visible .faq-item {
  opacity: 1;
  transform: translateX(0);
}
.faq-section.visible .faq-item:nth-child(1) { transition-delay: 0.05s; }
.faq-section.visible .faq-item:nth-child(2) { transition-delay: 0.15s; }
.faq-section.visible .faq-item:nth-child(3) { transition-delay: 0.25s; }
.faq-section.visible .faq-item:nth-child(4) { transition-delay: 0.35s; }

/* CTA band pulse glow */
.cta-band,
#cta-band {
  background: linear-gradient(270deg, #1a1a1a 0%, #3a0000 25%, #cc0000 50%, #3a0000 75%, #1a1a1a 100%) !important;
  background-size: 300% 300% !important;
  animation: gradShimmer 8s ease infinite !important;
}

/* Blog cards -- stagger entrance */
.blog-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s, box-shadow 0.3s !important;
}
.blog-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.blog-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  transform: translateY(-4px) !important;
}

/* Animated underline grow on section titles */
.section-title::after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background: var(--red);
  margin: 0.75rem auto 0;
  border-radius: 2px;
  transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
}
.visible .section-title::after,
.section-title.visible::after {
  width: 60px;
}

/* Cert cards bounce-in */
.cert-card {
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s;
}
.cert-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Gallery items hover zoom */
.gallery-item img {
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1) !important;
}
.gallery-item:hover img {
  transform: scale(1.06) !important;
}

/* Footer links hover animation */
footer a {
  transition: color 0.3s, padding-left 0.3s !important;
}
footer a:hover {
  padding-left: 4px !important;
}

/* Scroll progress bar glow */
#scroll-progress {
  transition: width 0.15s ease-out;
  box-shadow: 0 0 8px rgba(204,0,0,0.4);
}

/* == Restore Your Trim / CTA text sections on service pages ======= */
.cta-band .container h2,
.cta-band .container p,
.cta-band .container a {
  position: relative;
  z-index: 1;
}

/* == Animated number counter effect for stat boxes ================= */
@keyframes countPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.stat-box.visible .stat-num {
  animation: countPulse 0.6s ease;
}

/* ══ NAV CTA — Glitter sparkle button ═══════════════════════════════════ */
.nav-cta {
  position: relative;
  overflow: hidden;
  background: var(--red) !important;
  color: white !important;
  padding: 0.55rem 1.2rem !important;
  border-radius: 4px !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  margin-left: 0.5rem;
  transition: background 0.3s, transform 0.25s, box-shadow 0.3s !important;
  animation: ctaPulse 3s ease-in-out infinite;
}
.nav-cta:hover {
  background: var(--red-dark) !important;
  transform: translateY(-2px) scale(1.04) !important;
  box-shadow: 0 6px 20px rgba(204,0,0,0.45) !important;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(204,0,0,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(204,0,0,0); }
}

/* Glitter sparkle particles on hover */
.nav-cta .glitter-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: white;
  pointer-events: none;
  opacity: 0;
  animation: glitterFly 0.7s ease-out forwards;
}
@keyframes glitterFly {
  0%   { opacity: 1; transform: translate(0,0) scale(1); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.3); }
}

/* ══ Feature cards as links ════════════════════════════════════════════ */
a.feature-card {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}
a.feature-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 40px rgba(204,0,0,0.12) !important;
  border-bottom: 2px solid var(--red) !important;
}
a.feature-card .feature-icon {
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), color 0.3s;
}
a.feature-card:hover .feature-icon {
  transform: scale(1.2) rotate(-10deg);
  color: var(--red);
}
a.feature-card h3 {
  transition: color 0.3s;
}
a.feature-card:hover h3 {
  color: var(--red);
}

/* Font Awesome feature icons */
.feature-icon i {
  font-size: 1.6rem;
  color: var(--dark);
  transition: color 0.3s, transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
a.feature-card:hover .feature-icon i {
  color: var(--red);
  transform: scale(1.2) rotate(-10deg);
}
/* FA icons in nav */
.nav-link-item i,
.nav-dd-item i {
  width: 16px;
  text-align: center;
  font-size: 0.85em;
}
/* FA icons in why-icon */
.why-icon i {
  font-size: 1.8rem;
  color: var(--red);
}
/* FA icons in dd-icon */
.dd-icon i {
  font-size: 0.95rem;
}

/* ══ All red buttons — same pulse + glitter as nav CTA ══════════════════ */
.btn-red,
.btn-primary {
  position: relative;
  overflow: hidden;
  animation: ctaPulse 3s ease-in-out infinite;
  transition: transform 0.25s, box-shadow 0.3s, background 0.3s !important;
}
.btn-red:hover,
.btn-primary:hover {
  transform: translateY(-3px) scale(1.04) !important;
  box-shadow: 0 8px 24px rgba(204,0,0,0.4) !important;
}
