/* ================================
   MODERN DESIGN SYSTEM - Agri Export
   ================================ */

/* ===== CSS VARIABLES ===== */
:root {
  --color-primary: #16a34a;
  --color-primary-dark: #15803d;
  --color-primary-light: #22c55e;
  --color-secondary: #059669;
  --color-accent: #f59e0b;
  --color-bg: #f9fafb;
  --color-surface: #ffffff;
  --color-text: #1f2937;
  --color-text-light: #6b7280;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== GLOBAL RESETS & BASE STYLES ===== */
* {
  scroll-behavior: smooth;
}

 body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
  }
  
  /* Bold header font style */
  .header-bold-font {
    font-family: 'Arial Black', 'Arial Bold', Gadget, sans-serif;
    font-weight: 900;
    letter-spacing: -0.5px;
    text-transform: uppercase;
  }
  
  /* For even bolder effect like the screenshot */
  @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@800;900&display=swap');
  
  .extra-bold-font {
    font-family: 'Montserrat', 'Arial Black', sans-serif;
    font-weight: 900;
    letter-spacing: -0.5px;
  }

/* ===== CAROUSEL & THUMBNAILS ===== */
.carousel-slide { 
  transition: opacity var(--transition-slow) ease-in-out, transform var(--transition-slow); 
}

.thumb-btn { 
  transition: transform var(--transition-fast), box-shadow var(--transition-base), border-color var(--transition-fast);
  border: 2px solid transparent;
  cursor: pointer;
}

.thumb-btn:hover, .thumb-btn:focus { 
  transform: translateY(-2px) scale(1.05); 
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.thumb-btn:active {
  transform: scale(0.98);
}

/* ===== PRODUCT CARDS ===== */
.product-card { 
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-fast);
  will-change: transform;
  backface-visibility: hidden;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.product-card:active {
  transform: translateY(-4px);
}

/* ===== BUTTONS & INTERACTIVE ELEMENTS ===== */
button, a {
  transition: all var(--transition-base);
}

button:focus-visible, a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ===== SMOOTH ANIMATIONS & TRANSITIONS ===== */

/* Fade In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Slide In From Top */
@keyframes slideInTop {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slide In From Bottom */
@keyframes slideInBottom {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slide In From Left */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Slide In From Right */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scale In */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Bounce In */
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Float Animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Pulse Animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Glow Animation */
@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(34, 197, 94, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.6);
  }
}

/* Apply animations to sections */
section {
  animation: fadeIn var(--transition-slow) ease-in-out;
}

/* Hero section animations */
.hero-section h1 {
  animation: slideInTop 0.8s ease-out;
}

.hero-section p {
  animation: slideInBottom 0.8s ease-out 0.2s backwards;
}

.hero-section .btn, 
.hero-section button {
  animation: slideInBottom 0.8s ease-out 0.4s backwards;
}

/* Product card hover animations */
.product-card {
  transition: all var(--transition-base);
}

.product-card:hover {
  animation: float 0.6s ease-in-out infinite;
}

/* Image animations */
img {
  transition: transform var(--transition-base), filter var(--transition-base);
}

img:hover {
  transform: scale(1.02);
  filter: brightness(1.05);
}

/* Text elements smooth transition */
h1, h2, h3, h4, h5, h6 {
  transition: color var(--transition-base), text-shadow var(--transition-base);
}

/* Form elements */
input, textarea, select {
  transition: border-color var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base);
}

input:focus, textarea:focus, select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

/* Link hover effects */
a {
  transition: color var(--transition-base), text-decoration var(--transition-base);
}

a:hover {
  text-decoration-skip-ink: auto;
}

/* Smooth color transitions */
.bg-hover-primary {
  transition: background-color var(--transition-base);
}

.bg-hover-primary:hover {
  background-color: var(--color-primary);
}

/* Smooth opacity transitions */
.opacity-hover {
  transition: opacity var(--transition-base);
}

.opacity-hover:hover {
  opacity: 0.8;
}

/* Transform smooth transitions */
.transform-hover {
  transition: transform var(--transition-base);
}

.transform-hover:hover {
  transform: translateY(-2px);
}

/* Shadow transitions */
.shadow-hover {
  transition: box-shadow var(--transition-base);
}

.shadow-hover:hover {
  box-shadow: var(--shadow-lg);
}

/* Smooth page transitions */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Stagger animations for lists */
@keyframes staggerFadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.stagger-item {
  animation: staggerFadeIn 0.5s ease-out forwards;
}

.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }
.stagger-item:nth-child(5) { animation-delay: 0.5s; }
.stagger-item:nth-child(6) { animation-delay: 0.6s; }

/* Smooth backdrop transitions */
.backdrop-smooth {
  transition: backdrop-filter var(--transition-base);
}

/* Loader animation */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:active {
  transform: scale(0.98);
}

/* ===== ANIMATIONS ===== */
@keyframes fade-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fade-in 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes scale-in {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.animate-scale-in {
  animation: scale-in 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-up {
  animation: slideUp 1s ease-out;
}

@keyframes slide-in-left {
  from { transform: translateX(-30px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.animate-slide-in-left {
  animation: slide-in-left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slide-in-right {
  from { transform: translateX(30px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.animate-slide-in-right {
  animation: slide-in-right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes bounce-subtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.animate-bounce-subtle {
  animation: bounce-subtle 2s ease-in-out infinite;
}

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

.animate-spin-slow {
  animation: rotate 3s linear infinite;
}

/* ===== SKELETON LOADING ===== */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite ease-in-out;
  border-radius: var(--radius-md);
}

.skeleton-card {
  min-height: 300px;
  animation: pulse 1.5s ease-in-out infinite;
}

.skeleton-text {
  height: 1rem;
  margin-bottom: 0.5rem;
  border-radius: var(--radius-sm);
}

/* ===== PAGE TRANSITIONS ===== */
body {
  animation: fade-in 0.3s ease-in;
}

.page-enter {
  animation: fade-in 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== TEXT UTILITIES ===== */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.6;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BADGES & LABELS ===== */
.badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
  transition: transform var(--transition-fast);
}

.badge:hover {
  transform: scale(1.05);
}

.badge-new {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.badge-featured {
  background: linear-gradient(135deg, var(--color-accent), #d97706);
  color: white;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* ===== CARDS & SURFACES ===== */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-interactive {
  cursor: pointer;
}

.card-interactive:active {
  transform: translateY(-2px);
}

/* ===== GLASSMORPHISM ===== */
.glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== GRADIENTS ===== */
.gradient-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
}

.gradient-secondary {
  background: linear-gradient(135deg, var(--color-secondary), #047857);
}

.gradient-accent {
  background: linear-gradient(135deg, var(--color-accent), #d97706);
}

.gradient-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
}

/* ===== HOVER EFFECTS ===== */
.hover-lift {
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.hover-glow {
  position: relative;
  transition: box-shadow var(--transition-base);
}

.hover-glow:hover {
  box-shadow: 0 0 20px rgba(22, 163, 74, 0.4);
}

/* ===== FORM ELEMENTS ===== */
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
  transition: all var(--transition-fast);
}

input::placeholder, textarea::placeholder {
  color: #9ca3af;
  transition: opacity var(--transition-fast);
}

input:focus::placeholder, textarea:focus::placeholder {
  opacity: 0.5;
}

.form-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

/* ===== LOADING STATES ===== */
.loading-spinner {
  border: 3px solid rgba(22, 163, 74, 0.1);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  animation: rotate 0.8s linear infinite;
}

.loading-dots span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  margin: 0 4px;
  animation: pulse 1.4s ease-in-out infinite;
}

.loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: 5px;
  transition: background var(--transition-base);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-dark);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-enter {
  animation: slide-in-right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
  .mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: white;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    z-index: 100;
    overflow-y: auto;
  }
}

/* ===== RESPONSIVE UTILITIES ===== */
@media (max-width: 640px) {
  .product-card:hover {
    transform: translateY(-4px);
  }
  
  .hover-lift:hover {
    transform: translateY(-3px);
  }
}

/* ===== ACCESSIBILITY ===== */
.focus-visible:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ===== UTILITY CLASSES ===== */
.blur-sm {
  filter: blur(4px);
}

.blur-md {
  filter: blur(8px);
}

.transform-gpu {
  transform: translateZ(0);
  will-change: transform;
}

/* ===== PRINT STYLES ===== */
@media print {
  .no-print {
    display: none !important;
  }
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #16a34a 0%, #15803d 100%);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #15803d;
}

/* ===== FORM ELEMENTS ===== */
input:focus, textarea:focus, select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
  border-color: #16a34a;
}

input.border-red-500, textarea.border-red-500 {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* ===== BADGES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-new {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
  animation: pulse 2s ease-in-out infinite;
}

/* ===== CARDS ===== */
.card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transform: translateY(-4px);
}

/* ===== GRADIENTS ===== */
.gradient-green {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.gradient-overlay {
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%);
}

/* ===== LOADING STATES ===== */
.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.6;
}

.loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: white;
  opacity: 0.5;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== HOVER EFFECTS ===== */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* ===== RESPONSIVE UTILITIES ===== */
@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ===== ACCESSIBILITY ===== */
.focus-visible:focus {
  outline: 2px solid #16a34a;
  outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
  header, footer, .no-print {
    display: none;
  }
}

/* ===== UTILITY CLASSES ===== */
.text-shadow {
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.backdrop-blur {
  backdrop-filter: blur(10px);
}

.glass-effect {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
/* ===== UNIQUE FEATURES ===== */

/* Floating Cards Animation */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Gradient Text Animation */
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.text-gradient-animated {
  background: linear-gradient(270deg, #16a34a, #059669, #22c55e, #16a34a);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 6s ease infinite;
}

/* Glow Effects */
.glow-green {
  box-shadow: 0 0 20px rgba(22, 163, 74, 0.5), 0 0 40px rgba(22, 163, 74, 0.3);
}

.glow-primary {
  box-shadow: 0 0 30px rgba(22, 163, 74, 0.4), 0 0 60px rgba(22, 163, 74, 0.2);
}

/* Star Rating Style */
.star-rating {
  display: flex;
  gap: 2px;
  align-items: center;
}

.star {
  font-size: 1.25rem;
  color: #fbbf24;
  transition: transform 0.2s ease;
}

.star:hover {
  transform: scale(1.2) rotate(15deg);
}

/* Trust Badge */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.1), rgba(34, 197, 94, 0.1));
  border: 1px solid rgba(22, 163, 74, 0.3);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #16a34a;
  transition: all 0.3s ease;
}

.trust-badge:hover {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.15), rgba(34, 197, 94, 0.15));
  box-shadow: 0 0 15px rgba(22, 163, 74, 0.2);
}

/* Testimonial Card */
.testimonial-card {
  position: relative;
  padding: 2rem;
  background: white;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 4rem;
  color: rgba(22, 163, 74, 0.1);
  font-weight: bold;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  border-color: rgba(22, 163, 74, 0.2);
}

/* Enhanced Product Card */
.product-card-enhanced {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.product-card-enhanced:hover {
  box-shadow: 0 12px 40px rgba(22, 163, 74, 0.2);
  transform: translateY(-10px);
}

.product-card-enhanced::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0) 0%, rgba(22, 163, 74, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card-enhanced:hover::after {
  opacity: 1;
}

/* Rating Indicator */
.rating-container {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(135deg, #fef3c7, #fef08a);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #92400e;
}

/* Counter Animation */
@keyframes count-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.counter-item {
  text-align: center;
  padding: 2rem 1rem;
  animation: count-up 0.6s ease forwards;
}

.counter-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #16a34a;
}

.counter-label {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

/* Pulse Ring Animation */
@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(22, 163, 74, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
  }
}

.pulse-ring {
  animation: pulse-ring 2s infinite;
}

/* Feature Icon Box */
.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.1), rgba(34, 197, 94, 0.1));
  color: #16a34a;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.feature-box:hover .feature-icon {
  transform: scale(1.2) rotate(-15deg);
  background: linear-gradient(135deg, #16a34a, #059669);
  color: white;
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.3);
}

/* Section Divider */
.section-divider {
  height: 4px;
  width: 60px;
  background: linear-gradient(90deg, #16a34a, #22c55e);
  border-radius: 2px;
  margin: 0 auto 1.5rem;
  opacity: 0;
  animation: fade-in 0.6s ease forwards;
}

/* Scroll Indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounce-subtle 2s ease-in-out infinite;
}

/* Live Badge */
.live-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #ef4444;
  color: white;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.live-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

/* Parallax Effect */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  background: white;
  border-left: 4px solid #16a34a;
  border-radius: 0.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  animation: slide-in-right 0.3s ease;
  z-index: 9999;
}

.toast.error {
  border-left-color: #ef4444;
}

.toast.success {
  border-left-color: #10b981;
}

/* Shake Animation for Errors */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.animate-shake {
  animation: shake 0.5s ease-in-out;
}
/* Social Media Sidebar */
/* Social Media Sidebar - Bottom Version */
.side-social {
  position: fixed;
  right: 0px;
  bottom: 40%;
  display: flex;
  flex-direction: column;
  gap: 0px;
  z-index: 9999;
  overflow: hidden;
}

.side-social a {
  width: 44px;
  height: 44px;
  /* border-radius: 50%; */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.5s ease;
  /* border: 2px solid #2f6f4e; */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-size: 18px;
}

.side-social i {
  font-size: 22px;
  pointer-events: none; /* icon won't block click */
}

.side-social a:hover {
  transform: translateY(-3px);
  background: #066d0b;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.goog-te-gadget {
  font-size: 13px;
  color: rgb(255, 255, 255);
}

.goog-te-combo {
  padding: 4px 6px;
  border-radius: 4px;
  border: 1px solid #d1d5db;
  background: rgb(49, 3, 3);
  color: #111827;
}

.goog-logo-link,
.goog-te-gadget span {
  display: none !important;
}

.language-select {
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #1f7a4f;
  background-color: #f6fff9;
  color: #1f7a4f;
  font-weight: 500;
}
#google_translate_element {
  display: flex;
  align-items: center;
  margin-top: 8px; /* tweak: 1–3px max */
}
.goog-te-gadget select {
  height: 40px;
  border-radius: 999px;
  /* padding: 0 14px; */
  border: 1px solid #1f7a4f;
  background: #f6fff9;
  font-weight: 500;
  max-width: 135px;
}
#google_translate_element iframe {
  vertical-align: middle !important;
}

@media (max-width: 640px) {
  #topheader {
    grid-template-columns: repeat(2, 1fr);
  }
}