/* ==========================================================================
   SALEM AGRO FOODS - MODERN PREMIUM DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Brand Color Palette - Harmonized with Logo */
  --primary-dark: #0a3d24;
  --primary: #116530;
  --primary-rgb: 17, 101, 48;
  --primary-light: #2bb673;
  --primary-subtle: #e8f7ee;
  
  --secondary: #d97706;
  --secondary-light: #fbbf24;
  --secondary-subtle: #fef3c7;
  --earth-brown: #824719;
  --earth-brown-light: #a85d26;

  --accent-gold: #f59e0b;
  --accent-sun: #ffaa00;
  
  /* Neutral Palette */
  --dark: #121d15;
  --dark-soft: #243328;
  --text-primary: #192a20;
  --text-secondary: #4a5d52;
  --text-muted: #73877b;
  --bg-cream: #fbf9f4;
  --bg-white: #ffffff;
  --bg-surface: #f4f7f4;
  --border-light: rgba(17, 101, 48, 0.12);
  --border-subtle: #e4ebe6;

  /* Glassmorphism & Shadows */
  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-shadow: 0 10px 35px -5px rgba(10, 61, 36, 0.08), 0 5px 15px -3px rgba(0, 0, 0, 0.04);
  --card-shadow: 0 12px 30px rgba(17, 101, 48, 0.07);
  --card-shadow-hover: 0 20px 40px rgba(17, 101, 48, 0.15);
  --glow-primary: 0 0 25px rgba(43, 182, 115, 0.35);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Transitions & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Base Styles */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

/* Background Subtle Gradient */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(43, 182, 115, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(217, 119, 6, 0.03) 0%, transparent 40%);
  pointer-events: none;
  z-index: -1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--primary-subtle);
  color: var(--primary);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
  border: 1px solid rgba(43, 182, 115, 0.2);
}

.section-tag i {
  color: var(--primary-light);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem auto;
}

.section-title {
  font-size: 2.35rem;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section-title span {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.section-title span::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(43, 182, 115, 0.2);
  z-index: -1;
  border-radius: 4px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition-bounce);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #116530 0%, #0d5126 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(17, 101, 48, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #16803e 0%, #116530 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(17, 101, 48, 0.38);
  color: #fff;
}

.btn-secondary {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.25);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(217, 119, 6, 0.35);
  color: #fff;
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.45);
  color: #fff;
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   TOP BAR & NAVIGATION
   ========================================================================== */

.topbar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.825rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-info a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.9);
}

.topbar-info a:hover {
  color: var(--secondary-light);
}

.topbar-info i {
  color: var(--primary-light);
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  color: var(--secondary-light);
}

/* Main Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 8px 30px rgba(10, 61, 36, 0.1);
  background: rgba(255, 255, 255, 0.98);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.08));
  transition: var(--transition-bounce);
}

.nav-brand:hover .brand-logo-img {
  transform: rotate(-6deg) scale(1.08);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.brand-title span {
  color: var(--earth-brown);
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-light);
}

/* Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile Toggle Button */
.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  color: var(--primary-dark);
  font-size: 1.35rem;
  cursor: pointer;
  border: 1px solid var(--border-light);
  transition: var(--transition-bounce);
  padding: 0;
}

.mobile-toggle:hover,
.mobile-toggle:active {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.05);
}

/* ==========================================================================
   INDEPENDENT MOBILE DRAWER (ALWAYS ON TOP & TOUCH-OPTIMIZED)
   ========================================================================== */

.mobile-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 29, 18, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 310px;
  max-width: 86vw;
  height: 100vh;
  background: #ffffff;
  box-shadow: -12px 0 45px rgba(0, 0, 0, 0.28);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.4rem;
  border-bottom: 1px solid var(--border-light);
  background: #fdfdfd;
  flex-shrink: 0;
}

.mobile-drawer-header .drawer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-drawer-header .drawer-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.drawer-title-box {
  display: flex;
  flex-direction: column;
}

.drawer-title-box .drawer-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.15;
}

.drawer-title-box .drawer-subtitle {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary-light);
}

.drawer-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1f4f2;
  color: var(--dark);
  font-size: 1.2rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-bounce);
  flex-shrink: 0;
}

.drawer-close-btn:hover,
.drawer-close-btn:active {
  background: #dc2626;
  color: #ffffff;
  transform: rotate(90deg);
}

.mobile-drawer-nav {
  padding: 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex-grow: 1;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition);
  text-decoration: none;
}

.mobile-nav-link i {
  font-size: 1.15rem;
  width: 24px;
  color: var(--text-muted);
  text-align: center;
  transition: var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--primary-subtle);
  color: var(--primary);
  font-weight: 700;
}

.mobile-nav-link:hover i,
.mobile-nav-link.active i {
  color: var(--primary);
}

.mobile-drawer-footer {
  padding: 1.35rem 1.25rem;
  border-top: 1px solid var(--border-light);
  background: #f8fbf9;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  flex-shrink: 0;
}

.drawer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.drawer-info-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-secondary);
  text-decoration: none;
}

.drawer-info-row i {
  color: var(--primary-light);
  width: 16px;
  text-align: center;
}

.drawer-info-row:hover {
  color: var(--primary);
}

.drawer-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.drawer-cta-group .btn {
  width: 100%;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  position: relative;
  padding: 4.5rem 0 5.5rem 0;
  overflow: hidden;
  background: linear-gradient(180deg, #f4fbf6 0%, #fcf9f2 100%);
}

.hero-shape-bg {
  position: absolute;
  top: -15%;
  right: -10%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(43, 182, 115, 0.12) 0%, rgba(245, 158, 11, 0.08) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatBg 12s infinite alternate ease-in-out;
}

@keyframes floatBg {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-40px, 30px) scale(1.1); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #ffffff;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(17, 101, 48, 0.08);
  border: 1px solid rgba(43, 182, 115, 0.25);
  margin-bottom: 1.25rem;
}

.hero-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-light);
  display: inline-block;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.6; }
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.hero-title .highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-title .tamil-sub {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--earth-brown);
  margin-top: 0.35rem;
  letter-spacing: 0;
  line-height: 1.35;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 540px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border-light);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  font-family: var(--font-heading);
}

.stat-num span {
  color: var(--secondary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Hero Visual Showcase */
.hero-visual {
  position: relative;
}

.hero-img-wrapper {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(10, 61, 36, 0.16);
  border: 5px solid #ffffff;
}

.hero-main-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-img-wrapper:hover .hero-main-img {
  transform: scale(1.04);
}

/* Floating Badges on Hero */
.floating-badge {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 5;
  animation: floatCard 6s infinite ease-in-out;
}

.badge-top {
  top: 8%;
  left: -8%;
}

.badge-bottom {
  bottom: 8%;
  right: -6%;
  animation-delay: -3s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
  flex-shrink: 0;
}

.badge-icon.green {
  background: linear-gradient(135deg, #2bb673 0%, #116530 100%);
}

.badge-icon.amber {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-text strong {
  font-size: 0.95rem;
  color: var(--dark);
}

.badge-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   TICKER / HIGHLIGHTS BAR
   ========================================================================== */

.highlights-bar {
  background: #ffffff;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-light);
  border-top: 1px solid var(--border-light);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.highlight-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1rem;
  border-right: 1px solid var(--border-light);
}

.highlight-box:last-child {
  border-right: none;
}

.highlight-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  transition: var(--transition-bounce);
}

.highlight-box:hover .highlight-icon {
  background: var(--primary);
  color: #fff;
  transform: rotate(8deg) scale(1.05);
}

.highlight-details h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.highlight-details p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ==========================================================================
   ABOUT & FARM HERITAGE SECTION
   ========================================================================== */

.about-section {
  padding: 6.5rem 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 4.5rem;
}

.about-visual {
  position: relative;
}

.about-img-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(10, 61, 36, 0.12);
  border: 4px solid #fff;
}

.about-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, #116530 0%, #083b1c 100%);
  color: #fff;
  padding: 1.5rem 1.8rem;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(17, 101, 48, 0.35);
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 3px solid #fff;
}

.experience-badge .num {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  color: var(--secondary-light);
  font-family: var(--font-heading);
}

.experience-badge .txt {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
}

.about-content h2 {
  font-size: 2.35rem;
  margin-bottom: 1.2rem;
  letter-spacing: -0.5px;
}

.about-content .lead {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.purity-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: #ffffff;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: var(--transition);
}

.pillar-item:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
  box-shadow: 0 8px 20px rgba(17, 101, 48, 0.08);
}

.pillar-item i {
  color: var(--primary);
  font-size: 1.3rem;
  margin-top: 0.2rem;
}

.pillar-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark);
}

.pillar-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PRODUCTS SHOWCASE (THE CORE SECTION)
   ========================================================================== */

.products-section {
  padding: 6.5rem 0;
  background: linear-gradient(180deg, #f7faf7 0%, #fbf9f4 100%);
  position: relative;
}

/* Filter Nav */
.product-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.65rem 1.5rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 6px 18px rgba(17, 101, 48, 0.25);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-bounce);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(43, 182, 115, 0.4);
}

/* Product Image & Badges */
.product-img-box {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #f1f3f0;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--secondary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.product-badge.gold {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.product-badge.green {
  background: linear-gradient(135deg, #2bb673 0%, #116530 100%);
}

.quick-view-trigger {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  color: var(--primary);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  opacity: 0.9;
}

.product-card:hover .quick-view-trigger {
  transform: scale(1.1);
  background: var(--primary);
  color: #fff;
  opacity: 1;
}

/* Product Info */
.product-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.product-category {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: #f59e0b;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.tamil-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--earth-brown);
  margin-bottom: 0.65rem;
}

.product-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.product-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.feat-tag {
  background: var(--primary-subtle);
  color: var(--primary-dark);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.feat-tag i {
  color: var(--primary-light);
}

.pack-options {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  padding: 0.5rem 0;
  border-top: 1px dashed var(--border-subtle);
  border-bottom: 1px dashed var(--border-subtle);
  display: flex;
  justify-content: space-between;
}

.pack-options strong {
  color: var(--dark);
}

/* Card Actions */
.product-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: auto;
}

.product-actions .btn {
  flex: 1;
}

/* ==========================================================================
   WHY CHOOSE US / COMPARISON SECTION
   ========================================================================== */

.comparison-section {
  padding: 6.5rem 0;
  background: #ffffff;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.comp-card {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
}

.comp-card.market {
  background: #fffafa;
  border: 1px solid #fed7d7;
}

.comp-card.salem-agro {
  background: linear-gradient(145deg, #f0fdf4 0%, #f7fef9 100%);
  border: 2px solid var(--primary-light);
  box-shadow: 0 15px 35px rgba(17, 101, 48, 0.1);
  position: relative;
}

.comp-card-badge {
  position: absolute;
  top: -14px;
  right: 2rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(17, 101, 48, 0.3);
}

.comp-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.comp-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.market .comp-card-icon {
  background: #fee2e2;
  color: #dc2626;
}

.salem-agro .comp-card-icon {
  background: var(--primary-subtle);
  color: var(--primary);
}

.comp-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.comp-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
}

.market .comp-item i {
  color: #dc2626;
  font-size: 1.1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.salem-agro .comp-item i {
  color: var(--primary);
  font-size: 1.15rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* ==========================================================================
   WHOLESALE & B2B SUPPLY SECTION
   ========================================================================== */

.wholesale-section {
  padding: 6.5rem 0;
  background: linear-gradient(135deg, #0f4826 0%, #082915 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.wholesale-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.wholesale-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 2;
}

.wholesale-content .section-tag {
  background: rgba(255, 255, 255, 0.12);
  color: var(--secondary-light);
  border-color: rgba(255, 255, 255, 0.2);
}

.wholesale-content h2 {
  color: #fff;
  font-size: 2.6rem;
  margin-bottom: 1.25rem;
}

.wholesale-content p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.wholesale-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.w-feat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.w-feat i {
  color: var(--secondary-light);
  font-size: 1.2rem;
}

.wholesale-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.wholesale-card h3 {
  color: #fff;
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}

.wholesale-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   TESTIMONIALS / CUSTOMER EXPERIENCES
   ========================================================================== */

.testimonials-section {
  padding: 6.5rem 0;
  background: var(--bg-cream);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.review-card {
  background: #ffffff;
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  transition: var(--transition-bounce);
}

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

.review-stars {
  color: #f59e0b;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.25rem;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.reviewer-name h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.reviewer-name span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ SECTION (ACCORDION)
   ========================================================================== */

.faq-section {
  padding: 6rem 0;
  background: #ffffff;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  background: var(--bg-surface);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary-light);
  box-shadow: 0 4px 15px rgba(17, 101, 48, 0.06);
}

.faq-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: #ffffff;
  user-select: none;
  gap: 1rem;
}

.faq-header h3 {
  font-size: 1.05rem;
  color: var(--dark);
  font-weight: 600;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--primary);
  color: #fff;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-body {
  max-height: 350px;
  padding: 1.25rem 1.5rem;
}

/* ==========================================================================
   CONTACT & LOCATION SECTION (WITH GOOGLE MAP)
   ========================================================================== */

.contact-section {
  padding: 6.5rem 0 5rem 0;
  background: linear-gradient(180deg, #f8faf8 0%, #f2f7f3 100%);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 4rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card-item {
  background: #ffffff;
  padding: 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: var(--transition);
}

.contact-card-item:hover {
  transform: translateY(-3px);
  border-color: var(--primary-light);
  box-shadow: 0 8px 20px rgba(17, 101, 48, 0.08);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.contact-card-body h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.contact-card-body p,
.contact-card-body a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.contact-card-body a:hover {
  color: var(--primary);
}

/* Inquiry Form */
.inquiry-form-card {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--glass-shadow);
}

.inquiry-form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.inquiry-form-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.8rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--bg-surface);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(43, 182, 115, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* ==========================================================================
   MAP CONTAINER (USER REQUEST: "last la maps add panniko naanu iframe later update panre")
   ========================================================================== */

.map-wrapper {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(10, 61, 36, 0.08);
  border: 1px solid var(--border-light);
  position: relative;
}

.map-header-bar {
  padding: 1.25rem 2rem;
  background: linear-gradient(90deg, #ffffff 0%, #f4f8f4 100%);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.map-header-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.map-header-title i {
  color: var(--primary);
  font-size: 1.35rem;
}

.map-header-title h4 {
  font-size: 1.1rem;
  margin: 0;
  color: var(--dark);
}

.map-header-title span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.map-frame-container {
  width: 100%;
  height: 420px;
  position: relative;
  background: #e5e3df;
}

.map-frame-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ==========================================================================
   MODAL - QUICK PRODUCT VIEW
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 29, 18, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 1rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  transform: translateY(20px) scale(0.95);
  transition: var(--transition-bounce);
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1f3f1;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: #dc2626;
  color: #fff;
}

.modal-content-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
}

.modal-image-col {
  height: 100%;
  min-height: 360px;
  background: #f8faf8;
}

.modal-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-details-col {
  padding: 2.2rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: #092113;
  color: rgba(255, 255, 255, 0.8);
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand .brand-logo-img {
  width: 62px;
  height: 62px;
}

.footer-brand .brand-title {
  color: #ffffff;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--primary-light);
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--secondary-light);
  transform: translateX(4px);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
  color: var(--primary-light);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   FLOATING BUTTONS & UTILITIES
   ========================================================================== */

.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  z-index: 1000;
  transition: var(--transition-bounce);
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
  color: #fff;
}

.floating-whatsapp::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: pulseRipple 2s infinite;
  opacity: 0;
}

@keyframes pulseRipple {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

.floating-whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: #111;
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}

.floating-whatsapp:hover .floating-whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.back-to-top {
  position: fixed;
  bottom: 6.5rem;
  right: 2.3rem;
  width: 44px;
  height: 44px;
  background: #ffffff;
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border-light);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-4px);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE-FIRST OPTIMIZED)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .highlight-box:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 992px) {
  .topbar {
    display: none;
  }
  
  .desktop-menu {
    display: none !important;
  }

  .desktop-only-btn {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
  }

  /* Grid Stack on Mobile */
  .hero-grid,
  .about-grid,
  .wholesale-grid,
  .comparison-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }
  
  .hero {
    padding: 3rem 0 4rem 0;
  }

  .hero-visual {
    order: -1;
  }

  .hero-main-img {
    height: 340px;
  }
  
  .badge-top {
    top: 5%;
    left: 4%;
  }
  
  .badge-bottom {
    bottom: 5%;
    right: 4%;
  }
  
  .about-img {
    height: 360px;
  }
  
  .experience-badge {
    bottom: -15px;
    right: 15px;
    padding: 1rem 1.4rem;
  }

  .experience-badge .num {
    font-size: 2.2rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-content-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-image-col {
    height: 220px;
    min-height: auto;
  }

  .modal-details-col {
    padding: 1.5rem;
  }

  /* Horizontal swipe for product category filters */
  .product-filters {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.75rem;
    margin-bottom: 2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .product-filters::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 2.15rem;
  }
  
  .hero-title .tamil-sub {
    font-size: 1.2rem;
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-main-img {
    height: 270px;
  }

  /* Make floating badges fit nicely on tiny phones */
  .floating-badge {
    padding: 0.6rem 0.9rem;
    gap: 0.6rem;
    border-radius: var(--radius-md);
  }

  .floating-badge .badge-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .floating-badge .badge-text strong {
    font-size: 0.8rem;
  }

  .floating-badge .badge-text span {
    font-size: 0.68rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .stat-num {
    font-size: 1.45rem;
  }

  .stat-label {
    font-size: 0.72rem;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .highlights-grid {
    grid-template-columns: 1fr;
  }
  
  .highlight-box {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 0.85rem 0.5rem;
  }
  
  .highlight-box:last-child {
    border-bottom: none;
  }

  .about-content h2,
  .section-title,
  .wholesale-content h2 {
    font-size: 1.85rem;
  }
  
  .purity-pillars {
    grid-template-columns: 1fr;
  }

  .wholesale-features {
    grid-template-columns: 1fr;
  }

  .wholesale-card,
  .inquiry-form-card,
  .comp-card {
    padding: 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }

  .map-frame-container {
    height: 300px;
  }

  .map-header-bar {
    padding: 1rem;
  }

  /* Compact floating buttons on mobile */
  .floating-whatsapp {
    width: 52px;
    height: 52px;
    font-size: 1.7rem;
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .back-to-top {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
    bottom: 5.25rem;
    right: 1.5rem;
  }
}
