/* ==========================================================================
   RKB AGRO INTERNATIONAL - DESIGN SYSTEM & STYLESHEET
   Colors: Deep Forest Green (#1E4D2B), Lime Green (#7CB342), Golden Yellow (#F9A825)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&family=Pacifico&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&display=swap');

:root {
  --primary: #1E4D2B;
  --primary-dark: #12331B;
  --primary-light: #2A693C;
  --secondary: #7CB342;
  --secondary-light: #99CC60;
  --accent: #F9A825;
  --accent-light: #FBC02D;
  --bg-main: #F4F9F4;
  --bg-card: #FFFFFF;
  --text-dark: #2C2C2C;
  --text-muted: #5A6B5C;
  --organic-brown: #8D6E63;
  --border-light: rgba(124, 179, 66, 0.2);
  --shadow-sm: 0 4px 12px rgba(30, 77, 43, 0.06);
  --shadow-md: 0 8px 24px rgba(30, 77, 43, 0.1);
  --shadow-lg: 0 16px 36px rgba(30, 77, 43, 0.15);
  --shadow-glow: 0 0 20px rgba(124, 179, 66, 0.4);
  --font-heading: 'Playfair Display', 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'Pacifico', cursive;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base reset */
body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-dark);
}

.font-accent {
  font-family: var(--font-accent);
  color: var(--secondary);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

/* Top Announcement Header */
.top-bar {
  background-color: var(--primary-dark);
  color: #E2EFE5;
  font-size: 0.875rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar a {
  color: var(--accent);
  text-decoration: none;
}

.top-bar a:hover {
  text-decoration: underline;
}

/* Navbar */
.navbar-custom {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  padding: 14px 0;
}

.navbar-custom.scrolled {
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.navbar-brand .brand-logo {
  height: 80px;
  width: auto;
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--secondary);
  font-weight: 600;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  margin: 0 10px;
  position: relative;
  transition: var(--transition-smooth);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--secondary);
  transition: width 0.3s ease;
  border-radius: 2px;
}

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

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

/* Custom Buttons */
.btn-primary-green {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #FFFFFF !important;
  font-weight: 600;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(30, 77, 43, 0.3);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(30, 77, 43, 0.45);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.btn-accent-gold {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: var(--primary-dark) !important;
  font-weight: 700;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(249, 168, 37, 0.35);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-accent-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(249, 168, 37, 0.5);
  background: linear-gradient(135deg, #F57F17 0%, var(--accent) 100%);
}

.btn-pulse {
  animation: pulse-glow 2.5s infinite;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(249, 168, 37, 0.6);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(249, 168, 37, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(249, 168, 37, 0);
  }
}

/* Page Header Subbanner */
.page-header-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #FFFFFF;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.page-header-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(circle at right center, rgba(124, 179, 66, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.page-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.breadcrumb-item a {
  color: var(--secondary-light);
  text-decoration: none;
}

/* Hero Section */
.hero-wrapper {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-color: var(--primary-dark);
  overflow: hidden;
  color: #FFFFFF;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(30, 77, 43, 0.4) 0%, rgba(18, 51, 27, 0.88) 100%);
  z-index: 2;
}

#leafCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 4;
  padding: 100px 0 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 179, 66, 0.25);
  border: 1px solid rgba(124, 179, 66, 0.4);
  color: #C8E6C9;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--secondary-light);
  font-family: var(--font-accent);
  font-weight: 400;
  font-size: 3.8rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #E2EFE5;
  max-width: 680px;
  margin-bottom: 36px;
  font-weight: 300;
}

.trust-badges-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #E8F5E9;
}

.trust-badge-item i {
  color: var(--accent);
  font-size: 1.2rem;
}

/* Floating Produce Showcase Hero Widget */
.hero-glass-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-img-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 320px;
  position: relative;
}

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

.hero-img-box:hover img {
  transform: scale(1.05);
}

.floating-pills {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(30, 77, 43, 0.85);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* CEO & Team Member Styling */
.ceo-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.ceo-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, transparent 50%, rgba(124, 179, 66, 0.15) 50%);
  pointer-events: none;
}

.ceo-avatar-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid #E8F4EA;
  box-shadow: var(--shadow-md);
}

.ceo-avatar-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  height: 100%;
  overflow: hidden;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.team-img-box {
  height: 260px;
  overflow: hidden;
  background: #EAF4EC;
  position: relative;
}

.team-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-img-box img {
  transform: scale(1.06);
}

.team-role-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--primary);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.team-body {
  padding: 22px;
}

.team-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.team-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Stats Counter Bar */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #FFFFFF;
  padding: 40px 0;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 5;
}

.stat-box {
  text-align: center;
  padding: 15px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: #D0E8D4;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Section Titles */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-accent);
  color: var(--secondary);
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 12px auto 0;
  border-radius: 2px;
}

.section-description {
  color: var(--text-muted);
  max-width: 650px;
  margin: 14px auto 0;
  font-size: 1.05rem;
}

/* Cards & Layout */
.custom-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  height: 100%;
  overflow: hidden;
}

.custom-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-light);
}

/* Product Cards */
.product-card {
  display: flex;
  flex-direction: column;
}

.product-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #EAF4EC;
}

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

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

.badge-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--organic-brown);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.badge-tag.badge-organic {
  background: var(--primary);
}

.badge-tag.badge-seasonal {
  background: var(--accent);
  color: var(--primary-dark);
}

.badge-tag.badge-exotic {
  background: #7B1FA2;
}

.product-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

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

.product-origin {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed #E0EAE2;
}

.product-price {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary);
}

.product-price span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* Category Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.btn-filter {
  background: #E8F3EA;
  color: var(--primary-dark);
  border: 1px solid transparent;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: var(--transition-smooth);
}

.btn-filter:hover,
.btn-filter.active {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(30, 77, 43, 0.2);
}

/* Search and Sort controls */
.catalog-controls {
  background: #FFFFFF;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 35px;
}

/* Quality Process Timeline */
.process-box {
  padding: 30px 24px;
  text-align: center;
  position: relative;
}

.process-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-glow);
}

/* Why Choose Us Cards */
.feature-icon-box {
  width: 70px;
  height: 70px;
  background: #EAF4EC;
  color: var(--primary);
  font-size: 1.8rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.custom-card:hover .feature-icon-box {
  background: var(--primary);
  color: var(--accent);
  transform: rotate(-6deg) scale(1.08);
}

/* Harvest Calendar Table */
.harvest-matrix {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.harvest-matrix th {
  background: var(--primary-dark);
  color: #FFFFFF;
  font-weight: 600;
  text-align: center;
  padding: 12px 8px;
  font-size: 0.85rem;
}

.harvest-matrix td {
  padding: 14px 10px;
  vertical-align: middle;
  font-size: 0.9rem;
}

.harvest-status {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.status-peak {
  background-color: var(--secondary);
  box-shadow: 0 0 8px rgba(124, 179, 66, 0.6);
}

.status-available {
  background-color: var(--accent);
}

.status-off {
  background-color: #E0E0E0;
}

/* Bulk Order / Calculator Section */
.calculator-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--secondary-light);
}

.range-slider {
  accent-color: var(--primary);
  height: 8px;
}

.calc-price-display {
  background: #EAF4EC;
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  border: 1px solid var(--border-light);
}

.calc-price-value {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-dark);
}

/* Testimonial Cards */
.testimonial-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  position: relative;
}

.testimonial-card::before {
  content: '“';
  font-family: var(--font-heading);
  font-size: 5rem;
  color: #E0EFE3;
  position: absolute;
  top: 10px;
  right: 20px;
  line-height: 1;
}

.user-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--secondary);
}

/* Floating WhatsApp Chat Widget */
.whatsapp-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25D366;
  color: #FFFFFF;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.whatsapp-widget:hover {
  transform: scale(1.1) rotate(10deg);
  color: #FFFFFF;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: #FFFFFF;
  color: var(--text-dark);
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.whatsapp-widget:hover .whatsapp-tooltip {
  opacity: 1;
}

/* Footer */
.footer-main {
  background: var(--primary-dark);
  color: #C8DCD0;
  padding: 70px 0 30px;
  border-top: 4px solid var(--secondary);
}

.footer-title {
  color: #FFFFFF;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
}

.footer-title::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--accent);
  margin-top: 8px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #C8DCD0;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  margin-right: 10px;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.social-icon:hover {
  background: var(--secondary);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

/* Utility Animations */
.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Media Queries */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.6rem;
  }

  .hero-title span {
    font-size: 2.8rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .calculator-card {
    padding: 24px;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-title span {
    font-size: 2.2rem;
  }

  .hero-content {
    padding: 60px 0 40px;
  }

  .stat-number {
    font-size: 2.2rem;
  }
}