/* 
   Bioline Vetcare - Premium Science-Backed Animal Nutrition & Health Website
   Incorporating Official Bioline Document Content & Advanced Scroll Animations
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary-blue: #004b87;
  --primary-blue-dark: #072a4a;
  --primary-blue-light: #e0f2fe;
  --accent-green: #059669;
  --accent-green-bright: #10b981;
  --accent-green-light: #ecfdf5;
  --accent-orange: #ea580c;
  --accent-orange-bright: #f97316;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-white: #ffffff;
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-dark: #0b1329;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 20px -2px rgba(0,75,135,0.08);
  --shadow-lg: 0 12px 32px -4px rgba(0,75,135,0.14);
  --shadow-glow: 0 0 25px rgba(16,185,129,0.25);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-blue-dark);
}

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

ul {
  list-style: none;
}

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

/* SCROLL PROGRESS INDICATOR BAR */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-green-bright), #0284c7, var(--accent-orange-bright));
  width: 0%;
  z-index: 2001;
  transition: width 0.1s ease-out;
}

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

.text-gradient-blue {
  background: linear-gradient(135deg, #004b87 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-green {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-orange {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  background: var(--primary-blue-light);
  color: var(--primary-blue);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.6rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 3rem auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  transition: transform 0.6s ease-out;
}

.btn:active::after {
  transform: translate(-50%, -50%) scale(1);
  transition: 0s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #0284c7 100%);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(0, 75, 135, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 75, 135, 0.45);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-bright) 100%);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.45);
}

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

.btn-outline:hover {
  background: var(--primary-blue);
  color: var(--text-white);
}

/* TOP ANNOUNCEMENT BAR */
.top-bar {
  background: var(--bg-dark);
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.top-bar-info span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.lang-select {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  outline: none;
  cursor: pointer;
}

/* HEADER & NAVBAR */
.header-main {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.header-main.scrolled {
  box-shadow: var(--shadow-md);
  padding: 0.2rem 0;
  background: rgba(255, 255, 255, 0.98);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.brand-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
  transition: transform var(--transition-fast);
}

.brand-logo:hover img {
  transform: scale(1.04);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-blue-dark);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link i:not(.fa-chevron-down) {
  display: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
  transition: width var(--transition-fast);
  border-radius: 2px;
}

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

.dropdown-container {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 260px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition-fast);
  border: 1px solid var(--border-color);
  z-index: 100;
}

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

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  transition: background var(--transition-fast);
}

.dropdown-item:hover {
  background: var(--primary-blue-light);
  color: var(--primary-blue);
}

.top-call-link {
  color: white;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.825rem;
}

.top-call-link:hover {
  color: var(--accent-green-bright);
}

.pulse-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: white;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green-bright);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: greenPulse 1.8s infinite;
}

@keyframes greenPulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

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

.mobile-cta-pill {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-bright) 100%);
  color: white;
  font-family: 'Outfit', sans-serif;
  font-size: 0.825rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
  transition: all var(--transition-fast);
}

.mobile-cta-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.45);
}

.mobile-toggle-pill {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-blue-dark);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(7, 42, 74, 0.25);
  transition: all var(--transition-fast);
}

.mobile-toggle-pill:hover {
  background: var(--primary-blue);
  transform: scale(1.05);
}

.nav-mobile-cta {
  display: none;
}

/* ANIMATED 3-BAR MORPHING HAMBURGER ICON */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10001;
}

.mobile-toggle .bar {
  width: 100%;
  height: 3px;
  background: var(--primary-blue-dark);
  border-radius: 3px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background-color 0.3s ease;
  transform-origin: center;
}

.mobile-toggle.mobile-active .bar-1 {
  transform: translateY(9.5px) rotate(45deg);
  background: var(--accent-green-bright);
}

.mobile-toggle.mobile-active .bar-2 {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.mobile-active .bar-3 {
  transform: translateY(-9.5px) rotate(-45deg);
  background: var(--accent-green-bright);
}

/* MOBILE DRAWER HEADER & CHIPS */
.mobile-drawer-header {
  display: none;
  width: 100%;
  padding-bottom: 0.75rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  justify-content: space-between;
  align-items: center;
}

.drawer-close-hint {
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
}

.mobile-drawer-chips {
  display: none;
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.75rem 0;
  border-top: 1px dashed var(--border-color);
  border-bottom: 1px dashed var(--border-color);
}

.chip-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: block;
}

.chips-flex {
  display: flex;
  gap: 0.5rem;
}

.chip-item {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--primary-blue-light);
  color: var(--primary-blue);
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  padding: 4.5rem 0 5.5rem 0;
  background: linear-gradient(180deg, #f0f7ff 0%, #f8fafc 100%);
  overflow: hidden;
}

.blob-1 {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(16,185,129,0.12) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  filter: blur(50px);
  animation: floatOrb 8s ease-in-out infinite alternate;
}

.blob-2 {
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(0,75,135,0.1) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  filter: blur(60px);
  animation: floatOrb 10s ease-in-out infinite alternate-reverse;
}

@keyframes floatOrb {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(20px) scale(1.08); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--accent-green);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  max-width: 100%;
  line-height: 1.35;
  animation: pulseBadge 2.5s infinite;
}

@keyframes pulseBadge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.hero-headline {
  font-size: clamp(1.85rem, 4.5vw, 3.25rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: var(--primary-blue-dark);
  line-height: 1.2;
}

.hero-quote-box {
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 2rem;
  border-left: 3px solid var(--accent-green-bright);
  padding-left: 1rem;
  line-height: 1.6;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

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

.hero-banner-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid white;
  background: white;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.hero-banner-card:hover {
  transform: translateY(-8px) rotate(0.5deg);
  box-shadow: 0 25px 50px -10px rgba(0,75,135,0.25);
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* VALUE PILLARS SECTION (From Bioline Document) */
.pillars-section {
  padding: 5rem 0;
  background: white;
  position: relative;
}

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

.pillar-card {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-green-bright));
  transform: scaleX(0);
  transition: transform var(--transition-smooth);
  transform-origin: left;
}

.pillar-card:hover {
  transform: translateY(-8px);
  background: white;
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,75,135,0.2);
}

.pillar-card:hover::before {
  transform: scaleX(1);
}

.pillar-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem auto;
  border-radius: var(--radius-md);
  background: var(--primary-blue-light);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  transition: transform var(--transition-smooth);
}

.pillar-card:hover .pillar-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--accent-green-light);
  color: var(--accent-green);
}

.pillar-title {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ABOUT US & SCIENCE GRID SECTION */
.about-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #edf4fc 100%);
  position: relative;
}

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

.science-img-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid white;
  background: white;
}

.science-img-box img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.science-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(11, 19, 41, 0.85);
  backdrop-filter: blur(8px);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.science-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.sc-feature-item {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: white;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.sc-feature-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-green-bright);
}

.sc-feature-icon {
  font-size: 1.5rem;
  color: var(--accent-green-bright);
  margin-bottom: 0.5rem;
}

.sc-feature-title {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--primary-blue-dark);
}

.sc-feature-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

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

.vmg-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  position: relative;
  transition: all var(--transition-smooth);
}

.vmg-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-green-bright);
}

.vmg-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-blue-dark);
  margin-bottom: 1rem;
}

.vmg-badge i {
  color: var(--accent-green-bright);
}

.vmg-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* HOW WE WORK (4-Step Process From Bioline Document) */
.process-section {
  padding: 6rem 0;
  background: var(--bg-dark);
  color: white;
  position: relative;
  overflow: hidden;
}

.process-section .section-title {
  color: white;
}

.process-section .section-subtitle {
  color: #94a3b8;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-top: 3.5rem;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 0;
}

.process-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  position: relative;
  z-index: 1;
  transition: all var(--transition-smooth);
}

.process-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-green-bright);
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.process-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-bright) 100%);
  color: white;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 20px rgba(16,185,129,0.4);
}

.process-title {
  font-size: 1.3rem;
  color: white;
  margin-bottom: 0.75rem;
}

.process-desc {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.6;
}

/* SCROLL REVEAL ANIMATIONS */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  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-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  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.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  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.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger Delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* PRODUCT PORTFOLIO SECTION */
.portfolio-section {
  padding: 6rem 0;
  background: white;
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.tab-btn {
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  background: #f1f5f9;
  color: var(--text-main);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  background: var(--primary-blue-light);
  color: var(--primary-blue);
}

.tab-btn.active {
  background: var(--primary-blue);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 75, 135, 0.25);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.product-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,75,135,0.2);
}

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

.product-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.product-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background: var(--primary-blue-light);
  color: var(--primary-blue);
}

.product-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: #f1f5f9;
  color: var(--text-muted);
}

.product-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.product-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.product-bullets {
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-bullets li {
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
  font-weight: 500;
}

.product-bullets li i {
  color: var(--accent-green);
  font-size: 1rem;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
}

/* ANIMAL CATEGORY MATRIX */
.animal-section {
  padding: 6rem 0;
  background: #f8fafc;
}

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

.animal-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 380px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.animal-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.animal-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(11,19,41,0.2) 0%, rgba(11,19,41,0.88) 100%);
  transition: background var(--transition-fast);
}

.animal-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  color: white;
  z-index: 2;
  transition: transform var(--transition-fast);
}

.animal-card-title {
  font-size: 1.6rem;
  color: white;
  margin-bottom: 0.5rem;
}

.animal-card-desc {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.animal-card:hover .animal-card-bg {
  transform: scale(1.1);
}

.animal-card:hover .animal-card-overlay {
  background: linear-gradient(180deg, rgba(0,75,135,0.4) 0%, rgba(7,42,74,0.95) 100%);
}

.animal-card:hover .animal-card-content {
  transform: translateY(-5px);
}

/* FEED ROI / DOSAGE CALCULATOR SECTION */
.calc-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary-blue-dark) 0%, #0b1329 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.calc-section .section-title {
  color: white;
}

.calc-section .section-subtitle {
  color: #94a3b8;
}

.calc-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.calc-form-group {
  margin-bottom: 1.75rem;
}

.calc-label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: #e2e8f0;
}

.calc-select, .calc-input {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.calc-select option {
  background: #0b1329;
  color: white;
}

.calc-select:focus, .calc-input:focus {
  border-color: var(--accent-green-bright);
}

.calc-range-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.calc-range {
  flex: 1;
  accent-color: var(--accent-green-bright);
}

.calc-range-val {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent-green-bright);
  min-width: 80px;
}

.calc-result-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.res-header {
  font-size: 1.25rem;
  color: white;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.res-metric-item {
  margin-bottom: 1.25rem;
}

.res-metric-label {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 0.25rem;
}

.res-metric-value {
  font-family: 'Outfit', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent-green-bright);
}

/* QUICK SOLUTION FINDER WIZARD */
.finder-section {
  padding: 5rem 0;
  background: var(--primary-blue-light);
}

.finder-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.finder-step {
  display: none;
}

.finder-step.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

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

.option-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-color);
  background: white;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.option-card:hover, .option-card.selected {
  border-color: var(--accent-green);
  background: var(--accent-green-light);
  transform: translateY(-3px);
}

.option-card i {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 0.75rem;
}

/* MODAL DIALOG */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 19, 41, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

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

.modal-box {
  background: white;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform var(--transition-fast);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.modal-close:hover {
  background: #e2e8f0;
}

.modal-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-blue);
}

/* FLOATING CONTACT WIDGET */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition-fast);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  color: white;
}

/* FOOTER */
.footer-main {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

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

.footer-brand img {
  height: 48px;
  margin-bottom: 1.25rem;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-title {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-green-bright);
}

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

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .hero-grid, .calc-container, .pillars-grid, .vmg-grid, .process-grid, .science-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .animal-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .process-grid::before {
    display: none;
  }
}

@media (max-width: 768px) {
  /* Scroll reveal safety on mobile */
  .reveal-left, .reveal-right {
    transform: translateY(30px) !important;
  }
  .reveal-left.revealed, .reveal-right.revealed {
    transform: translateY(0) !important;
  }

  /* Top Bar */
  .top-bar-info span:not(:first-child) {
    display: none;
  }
  .top-bar-right span {
    display: none;
  }
  .top-bar-inner {
    justify-content: space-between;
  }

  /* Header & Navigation */
  .brand-logo img {
    height: 46px;
  }
  .header-cta {
    display: none !important;
  }
  .mobile-cta-pill {
    display: flex !important;
  }
  .mobile-toggle-pill {
    display: flex !important;
  }
  .mobile-toggle {
    display: none !important;
  }
  .nav-mobile-cta {
    display: flex !important;
    width: 100%;
    margin-top: 0.75rem;
    justify-content: center;
  }
  .nav-link i:not(.fa-chevron-down) {
    display: inline-block !important;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    border-bottom: 3px solid var(--accent-green-bright);
    z-index: 9999;
  }
  .nav-menu.mobile-active {
    display: flex !important;
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 0.75rem;
    width: 100%;
    background: transparent;
  }

  /* Hero Section */
  .hero-section {
    padding: 2.25rem 0 3.25rem 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-badge {
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
    margin-bottom: 1rem;
  }
  .hero-desc {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
  }
  .hero-quote-box {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    padding-left: 0.75rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.25rem;
  }

  /* Hero Stats Row */
  .hero-stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1.25rem 1rem;
    margin-top: 2rem;
  }
  .stat-num {
    font-size: 1.4rem;
  }
  .stat-label {
    font-size: 0.75rem;
  }
  .stat-icon {
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }

  /* Sections & Titles */
  .section-title {
    font-size: 1.85rem;
  }
  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }
  .section-tag {
    font-size: 0.75rem;
    padding: 0.3rem 0.85rem;
  }

  /* All Main Grids */
  .pillars-grid, .vmg-grid, .process-grid, .animal-grid, .portfolio-grid, .science-grid, .science-features {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .science-img-box img {
    height: 250px;
  }

  /* Filter Tabs horizontal scrolling */
  .filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    gap: 0.5rem;
  }
  .tab-btn {
    white-space: nowrap;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  /* Feed Calculator */
  .calc-container {
    grid-template-columns: 1fr;
    padding: 1.5rem 1rem;
    gap: 1.5rem;
  }
  .res-metric-value {
    font-size: 1.75rem;
  }

  /* Solution Finder & Contact */
  .finder-card {
    padding: 1.5rem 1rem;
  }
  .option-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-stats-row {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 1.65rem;
  }
  .container {
    padding: 0 1rem;
  }
}
