
/* ═══════════════════════════════════════════════════════════════════════════
   30. ENHANCED ANIMATIONS & RICH UI ELEMENTS
   Bezier-first easing · SVG illustrations · deep element polish
═══════════════════════════════════════════════════════════════════════════ */

/* ── Bezier Easing Custom Properties ────────────────────────────────────── */
:root {
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);      /* bouncy overshoot   */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);           /* dramatic ease-out  */
  --ease-out-quint:cubic-bezier(0.22, 1, 0.36, 1);          /* silky deceleration */
  --ease-in-out-circ: cubic-bezier(0.85, 0, 0.15, 1);       /* sharp in-out       */
  --ease-in-out-cubic: cubic-bezier(0.65, 0, 0.35, 1);      /* elegant in-out     */
  --ease-back:     cubic-bezier(0.68, -0.55, 0.265, 1.55);  /* retract + launch   */
  --ease-smooth:   cubic-bezier(0.25, 0.46, 0.45, 0.94);    /* smooth ease-out    */
  --ease-snap:     cubic-bezier(0.175, 0.885, 0.32, 1.275); /* snap into place    */
}

/* ── Global Keyframes ───────────────────────────────────────────────────── */
@keyframes shimmerSlide {
  0%   { background-position: -300% 0; }
  100% { background-position:  300% 0; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0px)   rotate(0deg); }
  33%       { transform: translateY(-10px) rotate(0.5deg); }
  66%       { transform: translateY(-6px)  rotate(-0.3deg); }
}
@keyframes pulseRing {
  0%   { transform: scale(1);   opacity: 0.55; }
  100% { transform: scale(2.4); opacity: 0; }
}
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes dotFloat {
  0%, 100% { transform: translate(0, 0)       scale(1);    opacity: 0.25; }
  33%       { transform: translate(18px,-22px) scale(1.15); opacity: 0.45; }
  66%       { transform: translate(-12px,14px) scale(0.88); opacity: 0.18; }
}
@keyframes gradientShift {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}
@keyframes iconBounce {
  0%         { transform: translateY(0)   scale(1); }
  30%         { transform: translateY(-9px) scale(1.15); }
  55%         { transform: translateY(-4px) scale(1.07); }
  75%         { transform: translateY(-6px) scale(1.04); }
  100%        { transform: translateY(0)   scale(1); }
}
@keyframes sparkStar {
  0%, 100% { transform: scale(1)   rotate(0deg);   opacity: 1; }
  50%       { transform: scale(1.3) rotate(10deg);  opacity: 0.75; }
}
@keyframes rippleEffect {
  to { transform: scale(5); opacity: 0; }
}
@keyframes lineGrow {
  from { width: 0; opacity: 0; }
  to   { width: 48px; opacity: 1; }
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(12px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideLeft {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes borderPulse {
  0%, 100% { opacity: 0.35; }
  50%       { opacity: 1; }
}
@keyframes morphBlob {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50%       { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(185,28,28,0.0); }
  50%       { box-shadow: 0 0 24px 8px rgba(185,28,28,0.18); }
}
@keyframes goldGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184,146,42,0.0); }
  50%       { box-shadow: 0 0 20px 6px rgba(184,146,42,0.22); }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes revealUnderline {
  from { transform: scaleX(0); transform-origin: left; }
  to   { transform: scaleX(1); transform-origin: left; }
}
@keyframes cardEntrance {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes rotateIn {
  from { opacity: 0; transform: rotate(-8deg) scale(0.85); }
  to   { opacity: 1; transform: rotate(0deg)  scale(1); }
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(185,28,28,0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(185,28,28,0); }
}
@keyframes bannerLineShimmer {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0)   translateX(0); }
  25%       { transform: translateY(-6px) translateX(3px); }
  75%       { transform: translateY(4px)  translateX(-2px); }
}

/* ── Animated Divider ───────────────────────────────────────────────────── */
.cg-divider { animation: lineGrow 0.7s var(--ease-out-quint) 0.3s both; }

/* ── Section Eyebrow Shimmer ────────────────────────────────────────────── */
.section-eyebrow::before {
  background: linear-gradient(90deg, var(--gold), var(--crimson), var(--gold));
  background-size: 300% 100%;
  animation: shimmerSlide 3s linear infinite;
  height: 2px;
}

/* ══════════════════════════════════════════════════════════════════════════
   BUTTONS — Bezier transitions + glow + shimmer
══════════════════════════════════════════════════════════════════════════ */
.btn-cg-primary,
.btn-cg-accent,
.btn-cg-outline {
  position: relative;
  overflow: hidden;
  transition:
    transform     0.35s var(--ease-spring),
    box-shadow    0.35s var(--ease-out-quint),
    background    0.3s  var(--ease-smooth),
    border-color  0.3s  var(--ease-smooth),
    color         0.3s  var(--ease-smooth);
}
.btn-cg-primary::after,
.btn-cg-accent::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  background-size: 250% 100%;
  background-position: -200% 0;
  transition: background-position 0.55s var(--ease-out-quint);
  pointer-events: none;
  border-radius: inherit;
}
.btn-cg-primary:hover::after,
.btn-cg-accent:hover::after {
  background-position: 200% 0;
}
.btn-cg-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(185,28,28,0.4), 0 4px 12px rgba(185,28,28,0.2);
}
.btn-cg-outline:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(185,28,28,0.2);
}
.btn-cg-primary:active,
.btn-cg-accent:active,
.btn-cg-outline:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.1s;
}
.btn-ripple-span {
  position: absolute;
  border-radius: 50%;
  width: 6px; height: 6px;
  background: rgba(255,255,255,0.45);
  transform: scale(0);
  animation: rippleEffect 0.7s var(--ease-out-quint);
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════════════════
   NAVBAR — Bezier nav-link underline
══════════════════════════════════════════════════════════════════════════ */
.cg-navbar .nav-link {
  transition: color 0.28s var(--ease-smooth);
}
.cg-navbar .nav-link::after {
  background: linear-gradient(90deg, var(--crimson), var(--gold));
  height: 2px;
  transition: transform 0.32s var(--ease-out-quint), opacity 0.32s var(--ease-smooth);
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
}
.cg-navbar .nav-link:hover::after,
.cg-navbar .nav-link.active::after {
  transform: scaleX(1);
  opacity: 1;
}

/* ══════════════════════════════════════════════════════════════════════════
   HERO — Float + Badge shimmer + SVG illustration
══════════════════════════════════════════════════════════════════════════ */
.cg-hero-img-wrap {
  animation: floatY 7s var(--ease-in-out-cubic) infinite;
  will-change: transform;
}
.cg-hero-badge {
  background-size: 200% 200%;
  animation: gradientShift 5s var(--ease-smooth) infinite;
}

/* Hero illustration */
.cg-hero-illustration {
  width: 100%;
  max-width: 560px;
  display: block;
}

/* Floating stat badges in hero */
.cg-hero-float-badge {
  animation: badgeFloat 6s var(--ease-in-out-cubic) infinite;
  will-change: transform;
}
.cg-hero-float-badge:nth-child(2) { animation-delay: -2s; }
.cg-hero-float-badge:nth-child(3) { animation-delay: -4s; }

/* ══════════════════════════════════════════════════════════════════════════
   CARDS — Universal bezier hover
══════════════════════════════════════════════════════════════════════════ */
.cg-service-card,
.cg-why-card,
.cg-compliance-card,
.cg-testimonial-card {
  transition:
    transform    0.4s var(--ease-spring),
    box-shadow   0.4s var(--ease-out-quint),
    border-color 0.3s var(--ease-smooth);
  will-change: transform;
}
.cg-service-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 20px 50px rgba(185,28,28,0.12), 0 6px 16px rgba(0,0,0,0.08);
}
.cg-why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(185,28,28,0.10), 0 4px 14px rgba(0,0,0,0.07);
}
.cg-compliance-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 16px 40px rgba(185,28,28,0.12), 0 4px 12px rgba(0,0,0,0.07);
}
.cg-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.10);
}

/* Card entrance animation */
[data-aos] .cg-service-card,
[data-aos] .cg-why-card {
  animation: cardEntrance 0.6s var(--ease-out-quint) both;
}

/* ══════════════════════════════════════════════════════════════════════════
   LINKS — Animated underline reveal
══════════════════════════════════════════════════════════════════════════ */
.cg-about-intro-link,
.cg-footer-links a,
a.cg-text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.28s var(--ease-smooth), gap 0.3s var(--ease-spring);
}
.cg-about-intro-link::after,
.cg-footer-links a::after,
a.cg-text-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s var(--ease-out-quint);
}
.cg-about-intro-link:hover::after,
.cg-footer-links a:hover::after,
a.cg-text-link:hover::after { transform: scaleX(1); }
.cg-about-intro-link:hover { gap: 8px; }

/* ══════════════════════════════════════════════════════════════════════════
   TRUSTED STRIP → Infinite Marquee
══════════════════════════════════════════════════════════════════════════ */
.cg-trusted-logos {
  overflow: hidden;
  flex-wrap: nowrap !important;
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  position: relative;
}
.cg-trusted-logos-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  animation: marqueeScroll 22s linear infinite;
  will-change: transform;
  flex-shrink: 0;
  min-width: max-content;
  transition: animation-play-state 0.3s;
}
.cg-trusted-logos-track span {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.28s var(--ease-smooth), transform 0.28s var(--ease-spring);
  white-space: nowrap;
  flex-shrink: 0;
  cursor: default;
}
.cg-trusted-logos-track span:hover {
  color: var(--crimson);
  transform: scale(1.08);
}
.cg-trusted-logos:hover .cg-trusted-logos-track { animation-play-state: paused; }

/* ══════════════════════════════════════════════════════════════════════════
   STATS SECTION
══════════════════════════════════════════════════════════════════════════ */
.cg-stats-section { display: block !important; }
.cg-stat-number {
  background: linear-gradient(135deg, #fff 20%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: background 0.45s var(--ease-out-quint);
  animation: countUp 0.8s var(--ease-out-expo) both;
}
.cg-stat-item {
  position: relative;
  cursor: default;
  transition: transform 0.35s var(--ease-spring);
}
.cg-stat-item:hover { transform: translateY(-4px); }
.cg-stat-item::after {
  content: '';
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 36px; height: 2px;
  background: linear-gradient(90deg, var(--crimson), var(--gold));
  border-radius: 99px;
  transition: transform 0.35s var(--ease-out-quint), opacity 0.35s;
  opacity: 0;
}
.cg-stat-item:hover::after {
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
}
.cg-stat-item:hover .cg-stat-number {
  background: linear-gradient(135deg, #fff 10%, #ffd97a 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* ══════════════════════════════════════════════════════════════════════════
   PROCESS STEPS
══════════════════════════════════════════════════════════════════════════ */
.cg-process-step {
  overflow: visible;
  transition: transform 0.4s var(--ease-spring);
}
.cg-process-step:hover { transform: translateY(-5px); }

.cg-process-step-icon {
  font-size: 1.35rem;
  color: rgba(185,28,28,0.22);
  margin-bottom: 0.75rem;
  display: block;
  transition: color 0.35s var(--ease-smooth), transform 0.4s var(--ease-spring);
}
.cg-process-step:hover .cg-process-step-icon {
  color: var(--gold);
  transform: scale(1.15) rotate(-5deg);
  animation: iconBounce 0.7s var(--ease-spring);
}

.cg-process-number-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: transform 0.4s var(--ease-spring);
}
.cg-process-step:hover .cg-process-number-wrap { transform: scale(1.08); }
.cg-process-number-wrap::before,
.cg-process-number-wrap::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: rgba(185,28,28,0.08);
  animation: pulseRing 3s var(--ease-out-expo) infinite;
}
.cg-process-number-wrap::after {
  animation-delay: 1.5s;
  background: rgba(184,146,42,0.06);
}
.cg-process-number { position: relative; z-index: 1; margin: 0; }

.cg-process-step:not(:last-child)::after {
  background: none;
  border-top: 2px dashed var(--border);
  height: 0;
  top: calc(2.25rem + 30px);
  animation: borderPulse 2.5s var(--ease-in-out-cubic) infinite;
}

/* ══════════════════════════════════════════════════════════════════════════
   WHY-CORRIGER CARDS
══════════════════════════════════════════════════════════════════════════ */
.cg-why-card {
  background-image: url('../image/why-bg-pattern.svg');
  background-size: cover;
  background-position: center;
}
.cg-why-card::after {
  content: attr(data-num);
  position: absolute;
  bottom: 0.5rem; right: 0.85rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--border-fine);
  line-height: 1;
  pointer-events: none;
  transition: color 0.4s var(--ease-out-quint), transform 0.4s var(--ease-spring);
  user-select: none;
}
.cg-why-card:hover::after {
  color: rgba(185,28,28,0.08);
  transform: scale(1.08) translateX(-4px);
}
.cg-why-title { font-style: normal !important; }
.cg-why-card:hover .cg-why-icon i { animation: iconBounce 0.7s var(--ease-spring); }

.cg-why-icon {
  transition: transform 0.35s var(--ease-spring);
}
.cg-why-card:hover .cg-why-icon {
  transform: scale(1.1);
}

/* ══════════════════════════════════════════════════════════════════════════
   COMPLIANCE CARDS
══════════════════════════════════════════════════════════════════════════ */
.cg-compliance-card-icon {
  position: relative;
  overflow: hidden;
  transition:
    transform  0.4s var(--ease-spring),
    box-shadow 0.35s var(--ease-out-quint);
}
.cg-compliance-card-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
  background-size: 220% 100%;
  background-position: -220% 0;
  border-radius: 8px;
  transition: background-position 0.55s var(--ease-out-quint);
}
.cg-compliance-card:hover .cg-compliance-card-icon {
  transform: scale(1.12) rotate(-4deg);
  box-shadow: 0 8px 24px rgba(185,28,28,0.35);
}
.cg-compliance-card:hover .cg-compliance-card-icon::after {
  background-position: 220% 0;
}

/* ══════════════════════════════════════════════════════════════════════════
   SERVICE TIERS WRAP
══════════════════════════════════════════════════════════════════════════ */
.cg-svc-tiers-wrap {
  position: relative;
  transition: box-shadow 0.4s var(--ease-out-quint), transform 0.35s var(--ease-spring);
}
.cg-svc-tiers-wrap::before {
  content: '';
  position: absolute;
  left: 0; top: 1.5rem; bottom: 1.5rem;
  width: 3px;
  background: linear-gradient(180deg, var(--crimson) 0%, var(--gold) 100%);
  border-radius: 99px;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: opacity 0.4s var(--ease-out-quint), transform 0.4s var(--ease-out-quint);
}
.cg-svc-tiers-wrap:hover::before { opacity: 1; transform: scaleY(1); }
.cg-svc-tiers-wrap:hover {
  box-shadow: 0 18px 44px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

/* ══════════════════════════════════════════════════════════════════════════
   SUBJECT CHIPS
══════════════════════════════════════════════════════════════════════════ */
.cg-subject-chip {
  animation: fadeSlideIn 0.5s var(--ease-out-expo) both;
  transition:
    transform    0.32s var(--ease-spring),
    box-shadow   0.32s var(--ease-out-quint),
    background   0.28s var(--ease-smooth),
    border-color 0.28s var(--ease-smooth);
}
.cg-subject-chip:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 6px 18px rgba(185,28,28,0.15);
}
.cg-subject-chip:hover i {
  animation: iconBounce 0.6s var(--ease-spring);
  color: var(--crimson);
}

/* ══════════════════════════════════════════════════════════════════════════
   ASSESSMENT BOX — Floating Orbs
══════════════════════════════════════════════════════════════════════════ */
.cg-assessment-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: dotFloat var(--orb-dur, 8s) var(--ease-in-out-cubic) infinite var(--orb-delay, 0s);
}
.cg-assessment-orb-1 {
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(185,28,28,0.05), transparent 70%);
  top: -70px; right: -50px;
  --orb-dur: 7s; --orb-delay: 0s;
}
.cg-assessment-orb-2 {
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(184,146,42,0.06), transparent 70%);
  bottom: -40px; left: 25%;
  --orb-dur: 10s; --orb-delay: -4s;
}
.cg-assessment-orb-3 {
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(185,28,28,0.04), transparent 70%);
  top: 35%; right: 28%;
  --orb-dur: 13s; --orb-delay: -6s;
}

.cg-check-list li {
  transition: background 0.28s var(--ease-smooth), padding-left 0.28s var(--ease-out-quint);
  border-radius: 0;
}
.cg-check-list li:hover {
  background: var(--crimson-soft);
  border-radius: var(--r-sm);
  padding-left: 0.75rem;
}
.cg-check-list li i {
  transition: transform 0.35s var(--ease-spring);
}
.cg-check-list li:hover i { transform: scale(1.3) rotate(-10deg); }

/* ══════════════════════════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════════════════════════ */
.cg-testimonial-stars i {
  display: inline-block;
  animation: sparkStar 2.2s var(--ease-in-out-cubic) infinite;
  transition: transform 0.3s var(--ease-spring);
}
.cg-testimonial-stars i:nth-child(1) { animation-delay: 0.00s; }
.cg-testimonial-stars i:nth-child(2) { animation-delay: 0.20s; }
.cg-testimonial-stars i:nth-child(3) { animation-delay: 0.40s; }
.cg-testimonial-stars i:nth-child(4) { animation-delay: 0.60s; }
.cg-testimonial-stars i:nth-child(5) { animation-delay: 0.80s; }
.cg-testimonial-stars:hover i { animation-play-state: paused; transform: scale(1.2); }

.cg-testimonial-verified {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.22);
  color: #16a34a;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 99px;
  margin-left: 0.4rem;
  vertical-align: middle;
  transition: background 0.28s var(--ease-smooth), transform 0.3s var(--ease-spring);
}
.cg-testimonial-verified:hover {
  background: rgba(34,197,94,0.18);
  transform: scale(1.05);
}

.cg-testimonial-card {
  position: relative;
}
.cg-testimonial-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--crimson), var(--gold), transparent);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out-quint);
}
.cg-testimonial-card:hover::after { transform: scaleX(1); }

/* ══════════════════════════════════════════════════════════════════════════
   CTA PARTICLES
══════════════════════════════════════════════════════════════════════════ */
.cg-cta-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: dotFloat var(--p-dur, 10s) var(--ease-in-out-cubic) infinite var(--p-delay, 0s);
}
.cg-cta-particle-1 {
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(184,146,42,0.07), transparent 70%);
  top: -60px; left: 4%;
  --p-dur: 9s; --p-delay: 0s;
}
.cg-cta-particle-2 {
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(185,28,28,0.05), transparent 70%);
  bottom: -40px; right: 8%;
  --p-dur: 11s; --p-delay: -5s;
}
.cg-cta-particle-3 {
  width: 90px; height: 90px;
  background: radial-gradient(circle, rgba(184,146,42,0.04), transparent 70%);
  top: 45%; left: 48%;
  --p-dur: 15s; --p-delay: -8s;
}

/* ══════════════════════════════════════════════════════════════════════════
   ABOUT INTRO
══════════════════════════════════════════════════════════════════════════ */
.cg-about-intro-prop {
  position: relative;
  overflow: hidden;
  transition: background 0.3s var(--ease-smooth);
}
.cg-about-intro-prop::after {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 0;
  background: linear-gradient(180deg, var(--crimson), var(--gold));
  border-radius: 0 99px 99px 0;
  transition: width 0.35s var(--ease-out-quint);
}
.cg-about-intro-prop:hover::after { width: 3px; }

/* About illustration */
.cg-about-illustration {
  width: 100%;
  max-width: 520px;
  animation: floatY 8s var(--ease-in-out-cubic) infinite;
  will-change: transform;
}
.cg-about-intro-sub {
  position: relative;
}
.cg-about-intro-sub::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--crimson), var(--gold), transparent);
  opacity: 0.3;
}

/* ══════════════════════════════════════════════════════════════════════════
   COMPLIANCE DELIVERABLES
══════════════════════════════════════════════════════════════════════════ */
.cg-compliance-deliverables-title {
  position: relative;
  padding-left: 14px;
}
.cg-compliance-deliverables-title::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 4px; height: 65%;
  background: linear-gradient(180deg, var(--crimson), var(--gold));
  border-radius: 99px;
  transition: transform 0.4s var(--ease-spring);
}
.cg-compliance-deliverables-title:hover::before { transform: translateY(-50%) scaleY(1); }

/* ══════════════════════════════════════════════════════════════════════════
   INPUT FIELDS — Bezier focus
══════════════════════════════════════════════════════════════════════════ */
input, textarea, select {
  transition:
    border-color 0.3s var(--ease-smooth),
    box-shadow   0.3s var(--ease-out-quint),
    transform    0.25s var(--ease-spring) !important;
}
input:focus, textarea:focus, select:focus {
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════════════════════════
   FOOTER LINKS — Slide-right on hover
══════════════════════════════════════════════════════════════════════════ */
.cg-footer-links a {
  transition:
    color       0.28s var(--ease-smooth),
    padding-left 0.3s var(--ease-out-quint),
    opacity     0.28s;
}
.cg-footer-links a:hover { padding-left: 6px; }

/* Social icons */
.cg-social-link {
  transition:
    transform    0.35s var(--ease-spring),
    background   0.28s var(--ease-smooth),
    color        0.28s var(--ease-smooth),
    box-shadow   0.35s var(--ease-out-quint);
}
.cg-social-link:hover {
  transform: translateY(-4px) scale(1.12);
  box-shadow: 0 8px 20px rgba(185,28,28,0.3);
}

/* ══════════════════════════════════════════════════════════════════════════
   SECTION HEADINGS — Underline reveal
══════════════════════════════════════════════════════════════════════════ */
.section-title::after {
  transition: width 0.55s var(--ease-out-expo) 0.1s;
}

/* ══════════════════════════════════════════════════════════════════════════
   DROPDOWN — Bezier entrance
══════════════════════════════════════════════════════════════════════════ */
.cg-dropdown {
  animation: fadeSlideIn 0.28s var(--ease-out-expo) both;
  transform-origin: top;
}
.cg-dropdown .dropdown-item {
  transition:
    background    0.22s var(--ease-smooth),
    padding-left  0.25s var(--ease-out-quint),
    color         0.22s var(--ease-smooth);
}
.cg-dropdown .dropdown-item:hover { padding-left: 20px; }

/* ══════════════════════════════════════════════════════════════════════════
   SECTION BACKGROUNDS — Image enhancements
══════════════════════════════════════════════════════════════════════════ */

/* Hero: illustration column */
.cg-hero-right-col {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* About section illustration */
.cg-about-img-col {
  position: relative;
}
.cg-about-img-col::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185,28,28,0.06) 0%, transparent 70%);
  animation: glowPulse 4s var(--ease-in-out-cubic) infinite;
  pointer-events: none;
}

/* Process section */
.cg-process-section {
  position: relative;
}
.cg-process-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../image/process-bg.svg');
  background-repeat: no-repeat;
  background-position: center 60%;
  background-size: 90% auto;
  opacity: 0.3;
  pointer-events: none;
}

/* Page banner illustration slot */
.cg-page-banner-img {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 45%;
  opacity: 0.08;
  object-fit: cover;
  pointer-events: none;
  mask-image: linear-gradient(to left, transparent, black 60%);
  -webkit-mask-image: linear-gradient(to left, transparent, black 60%);
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — Reduce motion
══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
  .cg-hero-img-wrap,
  .cg-about-illustration { animation: none; }
  .cg-process-number-wrap::before,
  .cg-process-number-wrap::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
