/* Ravi Chemicals — custom styles (Tailwind handles layout) */

:root {
  --deep: #2F8F5B;
  --emerald: #22C55E;
  --slate-dark: #1F2937;
}

html {
  scroll-behavior: smooth;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: var(--deep);
  color: #fff;
  border-radius: 0.5rem;
}

/* Navbar states */
#site-header {
  transition: background-color 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
}

#site-header.nav-transparent {
  background: transparent;
  box-shadow: none;
}

#site-header.nav-solid {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(31, 41, 55, 0.1);
}

#site-header.nav-transparent {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

#site-header.nav-transparent .nav-link,
#site-header.nav-transparent .nav-brand-text,
#site-header.nav-transparent .menu-btn {
  color: #fff;
}

#site-header.nav-solid .nav-link,
#site-header.nav-solid .nav-brand-text,
#site-header.nav-solid .menu-btn {
  /* color: var(--slate-dark); */
  color: #fff;

}

#site-header.nav-solid .nav-link:hover {
  color: var(--deep);
}

#site-header.nav-solid #mobile-menu nav {
  border-color: rgba(31, 41, 55, 0.1);
}

#site-header.nav-solid .menu-btn:hover {
  background: rgba(47, 143, 91, 0.08);
}

#site-header.nav-transparent .nav-link:hover {
  color: var(--emerald);
}

/* Hero */
.hero-section {
  background-image:
    linear-gradient(135deg, rgba(47, 143, 91, 0.92) 0%, rgba(31, 41, 55, 0.88) 55%, rgba(34, 197, 94, 0.75) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: cover, auto;
  background-position: center;
}

@media (min-width: 768px) {
  .hero-parallax {
    background-attachment: fixed;
  }
}

/* Floating shapes */
.float-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.35;
  filter: blur(1px);
}

.float-shape-1 {
  width: 120px;
  height: 120px;
  top: 18%;
  left: 8%;
  background: radial-gradient(circle, var(--emerald) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}

.float-shape-2 {
  width: 80px;
  height: 80px;
  top: 55%;
  right: 12%;
  background: radial-gradient(circle, #fff 0%, transparent 70%);
  animation: float 10s ease-in-out infinite 1s;
}

.float-shape-3 {
  width: 160px;
  height: 160px;
  bottom: 15%;
  left: 20%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: rgba(34, 197, 94, 0.25);
  animation: float 12s ease-in-out infinite 2s;
}

.float-shape-4 {
  width: 60px;
  height: 60px;
  top: 30%;
  right: 25%;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: rgba(255, 255, 255, 0.15);
  animation: float 9s ease-in-out infinite 0.5s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-24px) rotate(6deg);
  }
}

/* Glass cards */
.glass-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 32px rgba(47, 143, 91, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(47, 143, 91, 0.18);
}

/* Gradient border cards */
.card-gradient {
  position: relative;
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--deep), var(--emerald), var(--deep));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.6;
  transition: opacity 0.35s ease;
}

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

.card-gradient:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 36px rgba(47, 143, 91, 0.15);
}

.card-gradient-inner {
  position: relative;
  z-index: 1;
  background: #fff;
  margin: 2px;
  border-radius: calc(1rem - 2px);
  height: calc(100% - 4px);
}

/* Section reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Hex watermark */
.hex-watermark {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 0L56 16v32L28 64 0 48V16z' fill='none' stroke='%2322C55E' stroke-width='0.5' opacity='0.12'/%3E%3C/svg%3E");
  background-size: 56px 100px;
}

/* About section photo */
.about-visual {
  position: relative;
  overflow: hidden;
  display: block;
}

.about-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.about-visual:hover .about-visual-img {
  transform: scale(1.03);
}

/* Fallback if image fails to load */
.about-visual:not(:has(img)) {
  background: linear-gradient(145deg, var(--deep) 0%, #1a5c3a 50%, var(--emerald) 100%);
}

/* Partner badge */
.partner-badge {
  background: linear-gradient(135deg, var(--deep), var(--emerald));
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Testimonial slider look */
.testimonial-featured {
  box-shadow: 0 20px 50px rgba(47, 143, 91, 0.2);
}

.testimonial-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(47, 143, 91, 0.3);
  display: inline-block;
  margin: 0 4px;
}

.testimonial-dots span.active {
  background: var(--deep);
  width: 24px;
  border-radius: 4px;
}

/* CTA glow */
.cta-banner {
  background: linear-gradient(120deg, var(--deep) 0%, #268f5a 40%, var(--emerald) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Button transitions */
.btn-primary {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(47, 143, 91, 0.35);
}

.btn-outline-light {
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-outline-light:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
}

/* Mobile menu */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

#mobile-menu.open {
  max-height: 520px;
}

/* Industry scroll snap */
.industries-scroll {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.industries-scroll>* {
  scroll-snap-align: start;
}

/* Inner page hero */
.page-hero {
  background: linear-gradient(135deg, var(--deep) 0%, #1a5c3a 45%, var(--emerald) 100%);
  padding-top: 5rem;
}

@media (min-width: 768px) {
  .page-hero {
    padding-top: 6rem;
  }
}

/* Breadcrumbs */
.breadcrumbs a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: #fff;
}

.breadcrumbs span {
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0.5rem;
}

/* Nav dropdown */
.nav-dropdown {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  color: var(--slate-dark);
}

.nav-dropdown a:hover {
  background: rgba(47, 143, 91, 0.08);
  color: var(--deep);
}

/* Active nav link */
.nav-link.is-active {
  color: var(--deep) !important;
  font-weight: 600;
}

#site-header.nav-transparent .nav-link.is-active {
  color: var(--emerald) !important;
}

/* Product lists */
.product-group {
  border-left: 3px solid var(--emerald);
  padding-left: 1rem;
}

.product-group h3 {
  color: var(--deep);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.product-list {
  display: grid;
  gap: 0.35rem;
}

@media (min-width: 640px) {
  .product-list.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-list li {
  color: #4b5563;
  font-size: 0.9375rem;
  padding-left: 1rem;
  position: relative;
}

.product-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--emerald);
}

/* Mobile products sub-menu */
#mobile-products-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

#mobile-products-sub.open {
  max-height: 320px;
}

/* Hub card link overlay */
.hub-card {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* Contact cards */
.contact-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(47, 143, 91, 0.15);
}

/* ========== Premium Homepage ========== */

.nav-link-p {
  position: relative;
}

.nav-link-p::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--deep), var(--emerald));
  border-radius: 2px;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link-p:hover::after,
.nav-link-p.is-active::after {
  width: 100%;
}

#site-header.nav-transparent .nav-link-p::after {
  background: linear-gradient(90deg, #fff, var(--emerald));
}

/* Solid brand CTA — avoids broken Tailwind gradient when emerald is customized */
.btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #fff !important;
  text-decoration: none;
  background: linear-gradient(135deg, #14532d 0%, var(--deep) 42%, #1d9a56 78%, var(--emerald) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 4px 18px rgba(47, 143, 91, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-brand:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow:
    0 10px 28px rgba(47, 143, 91, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-brand .learn-more-arrow {
  transition: transform 0.25s ease;
}

.btn-brand:hover .learn-more-arrow {
  transform: translateX(4px);
}

/* Icon / text gradients (safe with custom emerald scale) */
.icon-gradient-bg {
  background: linear-gradient(135deg, #15803d 0%, var(--deep) 50%, var(--emerald) 100%);
}

.text-gradient-brand {
  background: linear-gradient(135deg, #15803d, var(--deep), var(--emerald));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn-premium {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(105deg,
      transparent 0%,
      transparent 40%,
      rgba(255, 255, 255, 0.18) 50%,
      transparent 60%,
      transparent 100%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
  pointer-events: none;
}

.btn-premium:hover::before {
  transform: translateX(120%);
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(34, 197, 94, 0.4);
}

/* Shine only on hover — keeps fill solid at rest */
.btn-premium.btn-brand::before {
  opacity: 0;
}

.btn-premium.btn-brand:hover::before {
  opacity: 1;
}

/* Hero premium */
.hero-premium {
  min-height: 100vh;
  min-height: 100dvh;
}

.hero-bg-image {
  background-image: url("https://images.unsplash.com/photo-1581093458797-5d3096acddad?w=1920&q=80");
  background-size: cover;
  background-position: center;
}

.hero-overlay-layer {
  background: linear-gradient(115deg,
      rgba(15, 45, 30, 0.94) 0%,
      rgba(31, 41, 55, 0.88) 45%,
      rgba(47, 143, 91, 0.75) 100%);
}

.hero-overlay-layer2 {
  background: linear-gradient(115deg,
      rgba(15, 45, 30, 0.94) 0%,
      rgba(31, 41, 55, 0.88) 45%,
      rgba(47, 143, 92, 0.952) 100%);
}

.hero-mesh {
  background-image:
    radial-gradient(circle at 20% 50%, rgba(34, 197, 94, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  animation: particle-float 15s ease-in-out infinite;
}

@keyframes particle-float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }

  33% {
    transform: translate(12px, -24px) scale(1.1);
    opacity: 0.6;
  }

  66% {
    transform: translate(-8px, 16px) scale(0.9);
    opacity: 0.4;
  }
}

.hero-glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 20;
}

.stat-pop {
  opacity: 0;
  transform: scale(0.85);
}

.stat-strip .stat-pop,
.hero-premium .stat-pop,
.reveal.visible .stat-pop {
  animation: statPop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: var(--delay, 0s);
}

.hero-premium {
  background: radial-gradient(circle at 30% 35%, #123C26 0%, #081B11 60%, #040E09 100%);
  position: relative;
}

@keyframes statPop {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Stats strip */
.stats-strip {
  background: linear-gradient(90deg, #1a4d32 0%, var(--deep) 50%, #15803d 100%);
}

/* Section label */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  background: rgba(47, 143, 91, 0.1);
  border: 1px solid rgba(47, 143, 91, 0.2);
  color: var(--deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-tag-light {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* About floating cards */
.about-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 20px 50px rgba(47, 143, 91, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.8);
  animation: float 6s ease-in-out infinite;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--deep), var(--emerald));
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

/* Partner logo band */
.partner-logo-tile {
  filter: grayscale(100%) opacity(0.65);
  transition: filter 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.partner-logo-tile:hover {
  filter: grayscale(0%) opacity(1);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(47, 143, 91, 0.15);
}

/* Premium product card */
.premium-product-card {
  position: relative;
  background: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.premium-product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--deep), var(--emerald), #86efac);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  transition: opacity 0.4s ease;
}

.premium-product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 48px rgba(47, 143, 91, 0.2);
}

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

.premium-product-card .card-body {
  position: relative;
  z-index: 1;
  background: #fff;
  margin: 2px;
  border-radius: calc(1.5rem - 2px);
  height: calc(100% - 4px);
}

.learn-more-arrow {
  transition: transform 0.3s ease;
}

.premium-product-card:hover .learn-more-arrow {
  transform: translateX(4px);
}

/* Hex industry card */
.hex-card {
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%);
  background: linear-gradient(145deg, #fff 0%, #f0fdf4 100%);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  aspect-ratio: 1 / 1.12;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hex-card:hover {
  transform: scale(1.06);
  box-shadow: 0 16px 40px rgba(47, 143, 91, 0.2);
}

.hex-card-inner {
  text-align: center;
  padding: 2rem 1.5rem;
}

/* Glass feature */
.glass-feature {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 32px rgba(47, 143, 91, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.glass-feature:hover {
  transform: scale(1.04);
  box-shadow: 0 16px 48px rgba(34, 197, 94, 0.18), 0 0 40px rgba(34, 197, 94, 0.08);
}

.icon-glow {
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.35);
}

/* Process timeline */
.process-line {
  position: absolute;
  top: 2rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--deep), var(--emerald), var(--deep));
  opacity: 0.3;
}

@media (max-width: 1023px) {
  .process-line {
    display: none;
  }
}

.process-step-num {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--deep), var(--emerald));
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(47, 143, 91, 0.35);
}

/* CTA mega */
.cta-mega {
  background: linear-gradient(125deg, #14532d 0%, var(--deep) 35%, var(--emerald) 70%, #4ade80 100%);
  position: relative;
  overflow: hidden;
}

.cta-mega::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation: cta-pulse 8s ease-in-out infinite;
}

@keyframes cta-pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

/* Footer premium */
.footer-premium {
  /* background: linear-gradient(180deg, #111827 0%, #0f172a 100%); */
  background: radial-gradient(circle at 30% 35%, #123C26 0%, #081B11 60%, #040E09 100%);

}

.footer-link {
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-link:hover {
  color: var(--emerald);
  padding-left: 4px;
}

/* Curve section */
.curve-top {
  margin-top: -1px;
}

/* Zigzag offset */
.section-offset-right {
  margin-right: clamp(0px, 5vw, 80px);
}

.section-offset-left {
  margin-left: clamp(0px, 5vw, 80px);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .float-shape,
  .particle,
  .about-float-card {
    animation: none;
  }

  .glass-card:hover,
  .card-gradient:hover,
  .premium-product-card:hover,
  .glass-feature:hover,
  .hex-card:hover {
    transform: none;
  }

  .btn-primary:hover,
  .btn-outline-light:hover,
  .btn-premium:hover {
    transform: none;
  }

  .stat-pop {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.light-glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(34, 197, 94, 0.12);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.light-glass-card:hover {
  background: #ffffff;
  border-color: rgba(34, 197, 94, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 25px 50px -12px rgba(17, 58, 36, 0.08), 0 0 30px rgba(34, 197, 94, 0.05);
}

.hero-mesh {
  background-color: #031c13;
  background-image:
    radial-gradient(at 15% 15%, rgba(16, 185, 129, 0.15) 0px, transparent 60%),
    radial-gradient(at 85% 85%, rgba(5, 150, 105, 0.12) 0px, transparent 60%),
    radial-gradient(at 50% 50%, rgba(4, 35, 24, 0.8) 0px, transparent 100%);
}

.hero-glass-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  box-shadow: 0 30px 50px rgba(34, 197, 94, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.orbit-container {
  position: relative;
}

.orbit-ring {
  position: absolute;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation: spin 20s linear infinite;
}

.orbit-ring-1 {
  width: 150px;
  height: 60px;
  transform: rotate(-30deg);
  top: 15px;
  left: -15px;
}

.orbit-ring-2 {
  width: 150px;
  height: 60px;
  transform: rotate(40deg);
  top: 15px;
  left: -15px;
  animation-duration: 25s;
  animation-direction: reverse;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* Floating Animation */
.floating-element {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* Dropdown states */
.nav-dropdown {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
}

.nav-dropdown-trigger:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Custom glow text */
.text-glow {
  text-shadow: 0 0 15px rgba(34, 197, 94, 0.5);
}

.text-brand-white {
  color: #fff;
}

/* Meha  */
/* Modern Scrollbar customization for long product lists */
.mega-scrollbar::-webkit-scrollbar {
  width: 4px;
}

.mega-scrollbar::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.02);
  border-radius: 4px;
}

.mega-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(47, 143, 91, 0.2);
  border-radius: 4px;
}

.mega-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(47, 143, 91, 0.4);
}

/* Smooth slide-down & fade animation for Desktop Mega Menu */
@media (min-width: 1024px) {
  .nav-group:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) translateX(-50%);
    pointer-events: auto;
  }

  .nav-dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) translateX(-50%);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
  }
}

/* Mobile specific transition styles */
.mobile-accordion {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-accordion.open {
  max-height: 500px;
}

/* Backdrop blur and styling matching style.css theme */
.glass-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.mega-menu-container {
  position: absolute;
  top: 100%;
  left: 75%;
  transform: translateX(-50%);
  margin-top: 1.25rem;
  width: 100vw;
  max-width: 80rem;
  padding-left: 1rem;
  padding-right: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  transform: translateX(-50%) translateY(0.5rem);
}

.mega-menu-container:hover,
.group:hover .mega-menu-container {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 1280px) {

  /* Extra large screens - 4 columns */
  .mega-menu-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1024px) {

  /* Large tablets - 3 columns */
  .mega-menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {

  /* Tablets - 2 columns */
  .mega-menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* Adjust mega menu positioning for tablets */
  .mega-menu-container {
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100vw !important;
    max-width: 100vw !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

@media (max-width: 1535px) {
  .mega-menu-container {
    left: 250px !important;
    transform: translateX(-50%) !important;
    width: 85vw !important;
    max-width: 92vw !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

@media (max-width: 480px) {

  /* Mobile phones - 1 column */
  .mega-menu-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* Adjust mega menu positioning for mobile */
  .mega-menu-container {
    left: 0 !important;
    transform: none !important;
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 0.5rem !important;
  }

  .mega-menu-header h4 {
    font-size: 1rem !important;
  }

  .mega-menu-header p {
    font-size: 0.875rem !important;
  }

  .mega-menu-column h5 {
    font-size: 0.875rem !important;
  }

  .mega-menu-item {
    padding: 0.5rem !important;
  }

  .mega-menu-item span {
    font-size: 0.8rem !important;
  }
}

/* Enhanced wave animation */
.wave-path {
  stroke-width: 3;
  stroke-dasharray: 8, 4;
  animation: wave-flow 3s linear infinite;
}

@keyframes wave-flow {
  0% {
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dashoffset: -24;
  }
}

.glass-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-lg);
  transition: all 0.35s var(--transition-smooth);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(255,106,0,0.1) 50%,
        transparent 100%
    ); */
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  border-color: rgba(255, 106, 0, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 106, 0, 0.15), var(--shadow-glow);
}

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

/* Gradient Text */
.text-gradient {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Premium gradient text (hero only) */
.text-gradient-premium {
  background: linear-gradient(90deg, #FF8A00, #FF5E00, #00C853, #64DD17);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}













.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: var(--deep);
  color: #fff;
  border-radius: 0.5rem;
}

/* Sticky Header Transition Settings */
#site-header {
  transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    backdrop-filter 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#site-header.nav-transparent {
  background-color: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

#site-header.nav-solid {
  background-color: rgba(3, 28, 19, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 35px -10px rgba(0, 0, 0, 0.35);
}

/* Scrollbar Design for Sub-Menus */
.mega-scrollbar::-webkit-scrollbar {
  width: 4px;
}

.mega-scrollbar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
}

.mega-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(34, 197, 94, 0.25);
  border-radius: 4px;
}

.mega-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(34, 197, 94, 0.45);
}

/* Smooth slide-down & fade animation for Desktop Mega Menu */
@media (min-width: 1024px) {
  .nav-group:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) translateX(-50%);
    pointer-events: auto;
  }

  .nav-dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) translateX(-50%);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
  }
}

/* Mobile / Tablet Accordion Transitions */
.mobile-products-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-products-wrapper.open {
  max-height: 1200px;
}

.mobile-sub-cat-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-sub-cat-wrapper.open {
  max-height: 350px;
}



/* Floating Molecular Animations */
.floating-element {
  animation: floatOrbit 8s ease-in-out infinite alternate;
}

@keyframes floatOrbit {
  0% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }

  100% {
    transform: translateY(-20px) rotate(4deg) scale(1.02);
  }
}

@keyframes rotateRing {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Partner Badge styling */
.partner-card {
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-card:hover {
  transform: translateY(-8px);
}
