/* ============================================================
   SHARED ANIMATIONS & PROFESSIONAL ENHANCEMENTS
   Include this file in all sub-pages for consistent animations.
   ============================================================ */

:root {
  --icon-boost: 1.15;
}

/* Base FA icons — keep line-box stable (no em-relative boost on every icon) */
i.fa-solid,
i.fa-regular,
i.fa-brands,
i.fas,
i.far,
i.fab {
  line-height: 1;
  vertical-align: -0.1em;
  flex-shrink: 0;
}

/* Nav chevrons — keep compact */
.nav__link > .fa-chevron-down,
.nav__trigger > .fa-chevron-down {
  font-size: 0.75em !important;
}

/* Icon tiles — sized once on the box; child glyph matches the box */
.service-card__icon,
.benefit-card__icon {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px;
  min-height: 52px;
  flex-shrink: 0;
  overflow: hidden;
  display: grid !important;
  place-items: center;
  font-size: 1.25rem !important;
}

.service-card__icon i,
.benefit-card__icon i {
  font-size: 1.25rem !important;
  width: auto !important;
  margin: 0 !important;
}

/* Inline row icons (perk chips / hero / features) */
.hero__feature,
.why__feature,
.applicable-item,
.tagline-bar__item,
.trust__item,
.about-exist__list li {
  align-items: center;
  gap: 0.75rem;
}

.hero__feature,
.applicable-item,
.tagline-bar__item,
.trust__item {
  display: flex;
}

.hero__feature i,
.applicable-item i,
.tagline-bar__item i,
.trust__item i,
.about-exist__list i {
  flex-shrink: 0;
  width: 1.35rem;
  text-align: center;
  font-size: 1.2rem !important;
  margin: 0 !important;
}

/* Row-style perk chips (icon + label side by side) */
.perk {
  align-items: center;
}

.perk i {
  flex-shrink: 0;
}

/* Circular badge perks (ISO / GST / Spice / company hero grids — not page-hero chips) */
.iso-hero__perks .perk,
.gst-hero__perks .perk,
.spice-hero__perks .perk,
.sole-hero__perks .perk,
.tm-hero__perks .perk,
.roc-hero__perks .perk,
.s8-hero__perks .perk,
.plc-hero__perks .perk,
.pvt-hero__perks .perk,
.opc-hero__perks .perk,
.msme-hero__perks .perk,
.llp-hero__perks .perk,
.lei-hero__perks .perk,
.fssai-hero__perks .perk,
.darpan-hero__perks .perk,
.apeda-hero__perks .perk {
  display: grid !important;
  justify-items: center;
  text-align: center;
  gap: 0.5rem;
}

.iso-hero__perks .perk i,
.gst-hero__perks .perk i,
.spice-hero__perks .perk i,
.sole-hero__perks .perk i,
.tm-hero__perks .perk i,
.roc-hero__perks .perk i,
.s8-hero__perks .perk i,
.plc-hero__perks .perk i,
.pvt-hero__perks .perk i,
.opc-hero__perks .perk i,
.msme-hero__perks .perk i,
.llp-hero__perks .perk i,
.lei-hero__perks .perk i,
.fssai-hero__perks .perk i,
.darpan-hero__perks .perk i,
.apeda-hero__perks .perk i {
  width: 58px !important;
  height: 58px !important;
  min-width: 58px;
  min-height: 58px;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center;
  font-size: 1.4rem !important;
  line-height: 1;
  margin: 0 !important;
  box-sizing: border-box;
}

/* Why feature icons sit in a soft square */
.why__feature {
  display: flex;
}

.why__feature i {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px;
  border-radius: 10px;
  display: grid !important;
  place-items: center;
  font-size: 1.05rem !important;
  margin: 0 !important;
  flex-shrink: 0;
}

/* Centered card icons above titles */
.why-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.why-card > i {
  display: block;
  margin: 0 0 0.85rem !important;
  font-size: 1.65rem !important;
  line-height: 1;
  width: auto !important;
  height: auto !important;
}

.benefit-card,
.service-card {
  gap: 0.75rem;
}

.benefit-card h3,
.service-card h3,
.why-card h3 {
  position: relative;
  z-index: 1;
}

/* Stats icons stay large + white */
.stats__item i {
  font-size: 2.15rem !important;
  color: #ffffff !important;
  width: 2.4rem;
  flex-shrink: 0;
}

.docs-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
}

.docs-icon-item i {
  font-size: 1.45rem !important;
  margin: 0 !important;
  width: auto !important;
}

.top-bar__social a i,
.site-footer__social a i {
  font-size: 1rem !important;
}

.process__steps li > i,
.benefit i {
  font-size: 1.25rem !important;
  flex-shrink: 0;
}

/* Checklist / footer / contact rows — prevent icon/text collide */
.doc-list li,
.tr-docs__list li,
.info-card ol li,
.info-card ul li,
.footer__info a,
.footer__info p,
.site-footer__contact li,
.map-section__address {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.doc-list li > i,
.tr-docs__list li > i,
.info-card li > i,
.footer__info i,
.site-footer__contact i,
.map-section__address i {
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* ============================
   ENHANCED BUTTONS (ripple + lift)
   ============================ */
.btn {
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease,
    transform 0.3s ease, box-shadow 0.3s ease;
}

.btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.btn:hover::after {
  width: 300px;
  height: 300px;
}

.btn--primary {
  box-shadow: 0 4px 16px rgba(26, 122, 76, 0.2);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26, 122, 76, 0.32);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(26, 122, 76, 0.2);
}

.btn i {
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: translateX(3px);
}

/* ============================
   STICKY SITE CHROME (top bar + navbar stay visible)
   ============================ */
.site-chrome {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white, #ffffff);
  overflow: visible;
}

.site-chrome .navbar {
  position: relative !important;
  top: auto !important;
  overflow: visible !important;
}

.site-chrome .navbar__inner {
  overflow: visible !important;
}

/* ============================
   TOP BAR SHIMMER
   ============================ */
.top-bar {
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-mid, #123a62) 100%) !important;
  position: relative;
  overflow: hidden;
  z-index: 110;
}

.top-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 8s linear infinite;
}

.top-bar__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-bar__social {
  display: flex;
  gap: 0.85rem;
}

.top-bar__social a {
  transition: color 0.3s ease, transform 0.3s ease;
}

.top-bar__social a:hover {
  transform: translateY(-2px) scale(1.15);
}

/* ============================
   NAVBAR ENHANCEMENTS
   ============================ */
.navbar {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom-color: rgba(226, 232, 240, 0.7) !important;
  transition: box-shadow 0.35s ease, background 0.35s ease !important;
}

.navbar.scrolled {
  box-shadow: 0 8px 32px rgba(11, 42, 74, 0.1) !important;
  background: rgba(255, 255, 255, 0.97) !important;
}

.logo {
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo__img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  border-radius: 8px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover .logo__img {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 10px rgba(11, 42, 74, 0.18));
}

.logo--footer .logo__img {
  width: 48px;
  height: 48px;
}

.nav__link {
  position: relative;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav__link i {
  transition: transform 0.3s ease;
}

.nav__dropdown:hover > .nav__trigger i,
.nav__dropdown.open > .nav__trigger i {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(12px);
  border-radius: 12px !important;
  box-shadow: 0 16px 48px rgba(11, 42, 74, 0.12) !important;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease !important;
}

.nav__dropdown-menu a {
  transition: background 0.25s ease, color 0.25s ease, padding-left 0.25s ease;
}

.nav__dropdown-menu a:hover,
.nav__dropdown-menu a.is-active {
  padding-left: 1rem;
}

.nav-toggle {
  transition: background 0.3s ease;
}

.nav-toggle:hover {
  background: var(--bg);
}

.nav-toggle span {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ============================
   PAGE HERO ENHANCEMENTS
   ============================ */
.page-hero {
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 88% 18%, rgba(26, 122, 76, 0.07), transparent 62%),
    radial-gradient(ellipse 45% 40% at 8% 78%, rgba(18, 58, 98, 0.06), transparent 58%);
}

.page-hero__content h1 {
  animation: fadeUp 0.7s ease both;
}

.page-hero__content h1 em {
  background: linear-gradient(135deg, var(--green) 0%, #2ba868 50%, var(--green-dark, #14603c) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientText 4s ease-in-out infinite;
}

.page-hero__banner {
  animation: fadeSlideRight 0.7s ease 0.1s both;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.page-hero__banner::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  animation: expandWidth 0.8s ease 0.3s both;
  flex-shrink: 0;
}

.page-hero__text {
  animation: fadeUp 0.7s ease 0.16s both;
}

.page-hero__perks {
  animation: fadeUp 0.7s ease 0.24s both;
}

.page-hero__content .btn {
  animation: fadeUp 0.7s ease 0.32s both;
}

/* Enhanced perks (hero feature pills) */
.perk {
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.perk:hover {
  transform: translateY(-4px) scale(1.02);
}

.perk i {
  transition: transform 0.3s ease;
}

.perk:hover i {
  transform: scale(1.2) rotate(-5deg);
}

/* Hero image visual enhancements — same zoom in/out on every page */
.page-hero__visual,
.opc-hero__visual,
.llp-hero__visual,
.plc-hero__visual,
.pvt-hero__visual,
.s8-hero__visual,
.tr-hero__visual,
.msme-hero__visual,
.lei-hero__visual,
.fssai-hero__visual,
.darpan-hero__visual,
.apeda-hero__visual,
.iso-hero__visual,
.gst-hero__visual,
.spice-hero__visual,
.sole-hero__visual,
.tm-hero__visual,
.roc-hero__visual,
.hero__visual {
  animation: fadeScaleIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.page-hero__glow {
  animation: glowPulse 4s ease-in-out infinite;
}

.page-hero__figure,
.opc-hero__figure,
.llp-hero__figure,
.plc-hero__figure,
.pvt-hero__figure,
.s8-hero__figure,
.msme-hero__figure,
.lei-hero__figure,
.fssai-hero__figure,
.darpan-hero__figure,
.apeda-hero__figure,
.iso-hero__figure,
.gst-hero__figure,
.spice-hero__figure,
.sole-hero__figure,
.tm-hero__figure,
.roc-hero__figure,
.tr-hero__photo-frame,
.hero__figure {
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
}

.page-hero__figure img,
.opc-hero__img,
.llp-hero__img,
.plc-hero__img,
.pvt-hero__img,
.s8-hero__img,
.tr-hero__img,
.msme-hero__img,
.lei-hero__img,
.fssai-hero__img,
.darpan-hero__img,
.apeda-hero__img,
.iso-hero__img,
.gst-hero__img,
.spice-hero__img,
.sole-hero__img,
.tm-hero__img,
.roc-hero__img,
.hero__figure img,
.hero__image,
.tr-hero__photo-frame img {
  animation: heroZoom 6.5s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform;
  filter: saturate(1.05) contrast(1.02);
}

/* ============================
   SECTION TITLE ENHANCEMENTS
   ============================ */
.section-title {
  position: relative;
  display: inline-block;
  width: 100%;
}

/* ============================
   CARD ENHANCEMENTS (benefits, docs, why)
   ============================ */

/* Benefit cards */
.benefit-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--navy-mid, #123a62));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  border-radius: 12px 12px 0 0;
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(11, 42, 74, 0.1);
  border-color: rgba(26, 122, 76, 0.2);
}

.benefit-card__icon {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.benefit-card:hover .benefit-card__icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--icon) 20%, transparent);
}

/* Doc cards — hover + touch animation (all pages) */
.doc-card,
.docs-card,
.docs-panel,
.reqs-panel,
.tr-docs__panel,
.tr-req__panel,
.document-card,
.info-card:has(.doc-list),
.info-card:has(> ol) {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
  -webkit-tap-highlight-color: transparent;
  cursor: default;
  touch-action: manipulation;
}

.doc-card:hover,
.docs-card:hover,
.docs-panel:hover,
.reqs-panel:hover,
.tr-docs__panel:hover,
.tr-req__panel:hover,
.document-card:hover,
.info-card:has(.doc-list):hover,
.info-card:has(> ol):hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(11, 42, 74, 0.12);
}

.doc-card:active,
.docs-card:active,
.docs-panel:active,
.reqs-panel:active,
.tr-docs__panel:active,
.tr-req__panel:active,
.document-card:active,
.info-card:has(.doc-list):active,
.info-card:has(> ol):active,
.doc-card.is-touching,
.docs-card.is-touching,
.docs-panel.is-touching,
.reqs-panel.is-touching,
.tr-docs__panel.is-touching,
.tr-req__panel.is-touching,
.document-card.is-touching,
.info-card:has(.doc-list).is-touching,
.info-card:has(> ol).is-touching {
  transform: translateY(-2px) scale(0.985);
  box-shadow: 0 10px 28px rgba(11, 42, 74, 0.14);
  transition-duration: 0.15s;
}

/* Header — shimmer + green flash on touch/hover (matches recording) */
.doc-card__head,
.docs-card h3,
.docs-panel > header,
.docs-panel .panel-title,
.reqs-panel > header,
.tr-docs__header {
  position: relative;
  overflow: hidden;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.doc-card__head::after,
.docs-card h3::after,
.docs-panel > header::after,
.docs-panel .panel-title::after,
.reqs-panel > header::after,
.tr-docs__header::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transition: left 0.55s ease;
  pointer-events: none;
  z-index: 1;
}

.doc-card:hover .doc-card__head,
.docs-card:hover h3,
.docs-panel:hover > header,
.docs-panel:hover .panel-title,
.reqs-panel:hover > header,
.tr-docs__panel:hover .tr-docs__header,
.doc-card.is-touching .doc-card__head,
.docs-card.is-touching h3,
.docs-panel.is-touching > header,
.docs-panel.is-touching .panel-title,
.reqs-panel.is-touching > header,
.tr-docs__panel.is-touching .tr-docs__header {
  background: var(--green, #1a7a4c) !important;
  color: #fff !important;
  border-color: var(--green, #1a7a4c) !important;
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.12);
}

.doc-card:hover .doc-card__head::after,
.docs-card:hover h3::after,
.docs-panel:hover > header::after,
.docs-panel:hover .panel-title::after,
.reqs-panel:hover > header::after,
.tr-docs__panel:hover .tr-docs__header::after,
.doc-card.is-touching .doc-card__head::after,
.docs-card.is-touching h3::after,
.docs-panel.is-touching > header::after,
.docs-panel.is-touching .panel-title::after,
.reqs-panel.is-touching > header::after,
.tr-docs__panel.is-touching .tr-docs__header::after {
  left: 100%;
}

/* Document list rows — touch/hover highlight */
.doc-card ol li,
.doc-card ul li,
.docs-card ol li,
.docs-card ul li,
.docs-panel ol li,
.docs-panel ul li,
.reqs-panel ol li,
.reqs-panel ul li,
.tr-docs__list li,
.doc-list li,
.info-card ol li {
  border-radius: 8px;
  margin: 0 -0.35rem;
  padding-left: 0.35rem;
  padding-right: 0.35rem;
  transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  -webkit-tap-highlight-color: transparent;
  cursor: default;
}

.doc-card ol li:hover,
.doc-card ul li:hover,
.docs-card ol li:hover,
.docs-card ul li:hover,
.docs-panel ol li:hover,
.docs-panel ul li:hover,
.reqs-panel ol li:hover,
.reqs-panel ul li:hover,
.tr-docs__list li:hover,
.doc-list li:hover,
.info-card ol li:hover,
.doc-card ol li:active,
.doc-card ul li:active,
.docs-card ol li:active,
.docs-card ul li:active,
.docs-panel ol li:active,
.docs-panel ul li:active,
.reqs-panel ol li:active,
.reqs-panel ul li:active,
.tr-docs__list li:active,
.doc-list li:active,
.info-card ol li:active,
.doc-card ol li.is-touching,
.doc-card ul li.is-touching,
.docs-card ol li.is-touching,
.docs-card ul li.is-touching,
.docs-panel ol li.is-touching,
.docs-panel ul li.is-touching,
.reqs-panel ol li.is-touching,
.reqs-panel ul li.is-touching,
.tr-docs__list li.is-touching,
.doc-list li.is-touching,
.info-card ol li.is-touching {
  background: var(--green-soft, #e8f5ee);
  color: var(--green-dark, #14603c);
  transform: translateX(4px);
  box-shadow: inset 3px 0 0 var(--green, #1a7a4c);
}

.doc-num {
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.doc-card:hover .doc-num,
.doc-card.is-touching .doc-num {
  transform: scale(1.1);
  background: var(--green);
  color: var(--white);
}

/* Touch ripple on document cards */
.doc-touch-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(26, 122, 76, 0.18);
  transform: scale(0);
  animation: docTouchRipple 0.55s ease-out forwards;
  pointer-events: none;
  z-index: 2;
}

@keyframes docTouchRipple {
  to {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* Income Tax icon document tiles */
.docs-icon-item {
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  cursor: default;
}

.docs-icon-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(11, 42, 74, 0.1);
  border-color: var(--green, #1a7a4c);
}

.docs-icon-item:active,
.docs-icon-item.is-touching {
  transform: translateY(-1px) scale(0.97);
  background: var(--green-soft, #e8f5ee);
  transition-duration: 0.15s;
}

.docs-icon-item:hover i,
.docs-icon-item.is-touching i {
  color: var(--green, #1a7a4c);
  transform: scale(1.12);
}

.docs-icon-item i {
  transition: color 0.3s ease, transform 0.3s ease;
}

/* Why cards */
.why-card {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--navy-mid, #123a62));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s ease;
}

.why-card:hover::before {
  transform: scaleX(1);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(11, 42, 74, 0.1);
  border-color: rgba(26, 122, 76, 0.2);
}

.why-card i {
  transition: transform 0.4s ease, color 0.4s ease;
}

.why-card:hover i {
  transform: scale(1.2) rotate(-10deg);
  color: var(--green-dark, #14603c);
}

/* ============================
   PROCESS STEP ENHANCEMENTS
   ============================ */
.process__track {
  position: relative;
}

.process__num {
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  position: relative;
}

.process__num::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(26, 122, 76, 0.2);
  transition: border-color 0.4s ease, transform 0.4s ease;
}

.process__step:hover .process__num {
  transform: scale(1.12);
  box-shadow: 0 12px 28px rgba(26, 122, 76, 0.38);
  background: var(--navy);
}

.process__step:hover .process__num::after {
  border-color: rgba(11, 42, 74, 0.3);
  transform: scale(1.1);
}

.process__step h3 {
  transition: color 0.3s ease;
}

.process__step:hover h3 {
  color: var(--green);
}

.process__arrow {
  animation: arrowBounce 2s ease-in-out infinite;
}

/* ============================
   STATS BAR ENHANCEMENTS
   ============================ */
.stats {
  background: transparent !important;
  position: relative;
  overflow: visible;
}

.stats::before {
  display: none !important;
  animation: none !important;
}

.stats__bar,
.stats__grid {
  position: relative;
  overflow: hidden;
}

.stats__bar::after,
.stats__grid::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(125, 207, 159, 0.04) 25%,
    rgba(125, 207, 159, 0.08) 50%,
    rgba(125, 207, 159, 0.04) 75%,
    transparent 100%
  );
  animation: shimmer 6s linear infinite;
}

.stats__item {
  transition: transform 0.3s ease;
}

.stats__item:hover {
  transform: translateY(-3px);
}

.stats__item i {
  transition: transform 0.4s ease, color 0.4s ease;
}

.stats__item:hover i {
  transform: scale(1.18);
  color: #ffffff !important;
}

/* ============================
   FOOTER ENHANCEMENTS
   ============================ */
.footer {
  background: linear-gradient(180deg, var(--navy-deep, #071f38) 0%, #050f1a 100%) !important;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26, 122, 76, 0.4), transparent);
}

.footer__info a {
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer__info a:hover {
  transform: translateX(4px);
}

.footer__info i {
  transition: transform 0.3s ease;
}

.footer__info a:hover i {
  transform: scale(1.2);
}

.footer__address {
  line-height: 1.45;
  max-width: 32rem;
}

.footer__address > span {
  display: inline;
}

.footer__address strong {
  color: #9fe0bc;
  font-weight: 700;
}

.footer__address-bar {
  padding: 0.85rem 0 0.25rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
}

.footer__address-bar .footer__address {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.footer__address-bar i {
  color: #7dcf9f;
  margin-top: 0.2rem;
}

/* ============================
   MODAL ENHANCEMENTS
   ============================ */
.modal {
  backdrop-filter: blur(4px);
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal__panel {
  border-radius: 18px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal.open .modal__panel {
  transform: scale(1) translateY(0);
}

.modal__close {
  transition: background 0.3s ease, transform 0.3s ease;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
}

.modal__close:hover {
  background: var(--line);
  transform: rotate(90deg);
}

.modal__panel input,
.modal__panel textarea,
.modal__panel select {
  border-radius: 10px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.modal__panel input:focus,
.modal__panel textarea:focus,
.modal__panel select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(26, 122, 76, 0.12);
}

.modal__success.show {
  animation: fadeUp 0.4s ease;
}

/* ============================
   BACK TO TOP BUTTON
   ============================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green, #1a7a4c);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  box-shadow: 0 6px 20px rgba(26, 122, 76, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease,
    background 0.3s ease;
  z-index: 9999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(11, 42, 74, 0.25);
}

/* ============================
   REVEAL ANIMATIONS (scroll-triggered)
   ============================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Keep doc-card touch/hover lift above reveal transform reset */
.doc-card.reveal.visible:hover,
.docs-card.reveal.visible:hover,
.docs-panel.reveal.visible:hover,
.reqs-panel.reveal.visible:hover,
.tr-docs__panel.reveal.visible:hover,
.tr-req__panel.reveal.visible:hover,
.document-card.reveal.visible:hover,
.info-card.reveal.visible:hover {
  transform: translateY(-6px);
}

.doc-card.reveal.visible:active,
.docs-card.reveal.visible:active,
.docs-panel.reveal.visible:active,
.reqs-panel.reveal.visible:active,
.tr-docs__panel.reveal.visible:active,
.tr-req__panel.reveal.visible:active,
.document-card.reveal.visible:active,
.info-card.reveal.visible:active,
.doc-card.reveal.visible.is-touching,
.docs-card.reveal.visible.is-touching,
.docs-panel.reveal.visible.is-touching,
.reqs-panel.reveal.visible.is-touching,
.tr-docs__panel.reveal.visible.is-touching,
.tr-req__panel.reveal.visible.is-touching,
.document-card.reveal.visible.is-touching,
.info-card.reveal.visible.is-touching {
  transform: translateY(-2px) scale(0.985);
}

.reveal--left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal--left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal--right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal--right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal--scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal--scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays for cards */
.benefit-card.reveal:nth-child(1),
.doc-card.reveal:nth-child(1),
.docs-card.reveal:nth-child(1),
.docs-panel.reveal:nth-child(1),
.reqs-panel.reveal:nth-child(1),
.why-card.reveal:nth-child(1) { transition-delay: 0s; }
.benefit-card.reveal:nth-child(2),
.doc-card.reveal:nth-child(2),
.docs-card.reveal:nth-child(2),
.docs-panel.reveal:nth-child(2),
.reqs-panel.reveal:nth-child(2),
.why-card.reveal:nth-child(2) { transition-delay: 0.08s; }
.benefit-card.reveal:nth-child(3),
.doc-card.reveal:nth-child(3),
.docs-card.reveal:nth-child(3),
.docs-panel.reveal:nth-child(3),
.reqs-panel.reveal:nth-child(3),
.why-card.reveal:nth-child(3) { transition-delay: 0.16s; }
.benefit-card.reveal:nth-child(4),
.doc-card.reveal:nth-child(4),
.docs-card.reveal:nth-child(4),
.why-card.reveal:nth-child(4) { transition-delay: 0.24s; }
.benefit-card.reveal:nth-child(5),
.why-card.reveal:nth-child(5) { transition-delay: 0.32s; }
.benefit-card.reveal:nth-child(6),
.why-card.reveal:nth-child(6) { transition-delay: 0.40s; }

.process__step.reveal:nth-child(1) { transition-delay: 0s; }
.process__step.reveal:nth-child(2) { transition-delay: 0.1s; }
.process__step.reveal:nth-child(3) { transition-delay: 0.2s; }
.process__step.reveal:nth-child(4) { transition-delay: 0.3s; }
.process__step.reveal:nth-child(5) { transition-delay: 0.4s; }

/* ============================
   KEYFRAME ANIMATIONS
   ============================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideRight {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeScaleIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes expandWidth {
  from { width: 0; }
  to { width: 28px; }
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes gradientText {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 200% center; }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes heroZoom {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes arrowBounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

@keyframes playPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(26, 122, 76, 0.3); }
  50% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 0 0 14px rgba(26, 122, 76, 0); }
}


/* ============================
   UNIVERSAL HERO ANIMATIONS (match home — all page heroes)
   ============================ */
.opc-hero h1,
.llp-hero h1,
.plc-hero h1,
.pvt-hero h1,
.s8-hero h1,
.msme-hero h1,
.lei-hero h1,
.fssai-hero h1,
.darpan-hero h1,
.apeda-hero h1,
.iso-hero h1,
.gst-hero h1,
.spice-hero h1,
.sole-hero h1,
.tm-hero h1,
.roc-hero h1,
.tr-hero__title,
.about-hero h1,
.contact-hero h1 {
  animation: fadeUp 0.7s ease both;
}

.opc-hero h1 em,
.llp-hero h1 em,
.plc-hero h1 em,
.pvt-hero h1 em,
.s8-hero h1 em,
.msme-hero h1 em,
.lei-hero h1 em,
.fssai-hero h1 em,
.darpan-hero h1 em,
.apeda-hero h1 em,
.iso-hero h1 em,
.gst-hero h1 em,
.spice-hero h1 em,
.sole-hero h1 em,
.tm-hero h1 em,
.roc-hero h1 em,
.tr-hero__title-green,
.about-hero h1 em {
  background: linear-gradient(135deg, var(--green) 0%, #2ba868 50%, var(--green-dark, #14603c) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientText 4s ease-in-out infinite;
}

.opc-hero__banner,
.llp-hero__tag,
.plc-hero__tag,
.pvt-hero__tag,
.s8-hero__tag,
.tr-hero__pill,
.about-hero__subtitle {
  animation: fadeSlideRight 0.7s ease 0.1s both;
}

.opc-hero__text,
.llp-hero__text,
.plc-hero__text,
.pvt-hero__text,
.s8-hero__text,
.tr-hero__text,
.about-hero p,
.contact-hero p {
  animation: fadeUp 0.7s ease 0.16s both;
}

.opc-hero__perks,
.llp-hero__perks,
.plc-hero__perks,
.pvt-hero__perks,
.s8-hero__perks,
.msme-hero__perks,
.lei-hero__perks,
.fssai-hero__perks,
.darpan-hero__perks,
.apeda-hero__perks,
.iso-hero__perks,
.gst-hero__perks,
.spice-hero__perks,
.sole-hero__perks,
.tm-hero__perks,
.roc-hero__perks,
.tr-hero__icons {
  animation: fadeUp 0.7s ease 0.24s both;
}

.opc-hero .btn,
.llp-hero .btn,
.plc-hero .btn,
.pvt-hero .btn,
.s8-hero .btn,
.tr-hero .btn,
.about-hero .btn,
.contact-hero .btn {
  animation: fadeUp 0.7s ease 0.32s both;
}

.opc-hero__visual,
.llp-hero__visual,
.plc-hero__visual,
.pvt-hero__visual,
.s8-hero__visual,
.tr-hero__visual,
.about-hero__figure {
  animation: fadeScaleIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.opc-hero__figure,
.llp-hero__figure,
.plc-hero__figure,
.pvt-hero__figure,
.s8-hero__figure,
.tr-hero__photo-wrap {
  animation: fadeScaleIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.reveal.revealed,
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================
   PREFERS REDUCED MOTION
   ============================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal--left,
  .reveal--right,
  .reveal--scale {
    opacity: 1;
    transform: none;
  }
}

/* ============================
   RESPONSIVE TWEAKS
   ============================ */
@media (max-width: 900px) {
  .page-hero__figure,
  .opc-hero__figure,
  .llp-hero__figure,
  .plc-hero__figure,
  .pvt-hero__figure,
  .s8-hero__figure {
    animation: none;
  }

  .page-hero__figure img,
  .opc-hero__img,
  .llp-hero__img,
  .plc-hero__img,
  .pvt-hero__img,
  .s8-hero__img,
  .tr-hero__img,
  .msme-hero__img,
  .lei-hero__img,
  .fssai-hero__img,
  .darpan-hero__img,
  .apeda-hero__img,
  .iso-hero__img,
  .gst-hero__img,
  .spice-hero__img,
  .sole-hero__img,
  .tm-hero__img,
  .roc-hero__img,
  .hero__figure img,
  .hero__image,
  .tr-hero__photo-frame img {
    animation: heroZoom 6.5s ease-in-out infinite;
  }

  body.nav-open {
    overflow: hidden;
  }

  .nav {
    left: 50% !important;
    right: auto !important;
    width: 100vw !important;
    max-width: 100vw !important;
    transform: translateX(-50%);
    max-height: min(70vh, calc(100dvh - 8rem));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    z-index: 250;
  }

  .nav.open {
    animation: fadeUp 0.3s ease;
    display: flex !important;
  }

  .nav__link,
  .nav__trigger {
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
  }

  .nav__link:focus,
  .nav__trigger:focus,
  .nav__link:focus-visible,
  .nav__trigger:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    color: var(--green, #1a7a4c);
  }

  .nav__dropdown:hover > .nav__dropdown-menu,
  .nav__dropdown:focus-within > .nav__dropdown-menu,
  .nav__dropdown--wide:hover > .nav__dropdown-menu,
  .nav__dropdown--wide:focus-within > .nav__dropdown-menu {
    display: none !important;
  }

  .nav__dropdown.open > .nav__dropdown-menu,
  .nav__dropdown.open > .nav__dropdown-menu--cols {
    display: block !important;
    transform: none !important;
  }
}

@media (max-width: 480px) {
  .back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 42px;
    height: 42px;
  }
}

/* Footer developer credit (shared across pages) */
.footer__bottom .container,
.footer-bottom .container,
.footer .container.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
}

.footer__credit {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__credit a {
  color: #9fe0bc;
  font-weight: 600;
  text-decoration: none;
}

.footer__credit a:hover {
  color: #fff;
  text-decoration: underline;
}
