/* Colors & Design Variables */
:root {
  --primary: #0a3a24;
  --primary-light: #155737;
  --primary-glow: rgba(21, 87, 55, 0.08);
  
  --onion: #581831;
  --onion-light: #7d264a;
  
  --potato: #8b6240;
  --potato-light: #c09d7d;
  --potato-bg: #f5efe7;
  
  --bg-white: #ffffff;
  --bg-light: #f7f9f7;
  --text-dark: #191c1a;
  --text-muted: #5b625d;
  
  --border-light: #e2e8e4;
  --border-focus: #155737;
  
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.02);
  --shadow-md: 0 4px 20px rgba(10, 58, 36, 0.05);
  --shadow-lg: 0 10px 30px rgba(10, 58, 36, 0.08);
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: var(--potato-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--potato);
}

/* Layout Utilities */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg-white);
}
.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 58, 36, 0.2);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-secondary:hover {
  background-color: var(--primary-glow);
  transform: translateY(-2px);
}

.btn-onion {
  background-color: var(--onion);
  color: var(--bg-white);
}
.btn-onion:hover {
  background-color: var(--onion-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(88, 24, 49, 0.2);
}

.btn-potato {
  background-color: var(--potato);
  color: var(--bg-white);
  border: none;
}
.btn-potato:hover {
  background-color: var(--potato-light);
  transform: translateY(-2px);
}

/* Header & Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 15px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--potato));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--text-dark);
}

.nav-links a:hover {
  color: var(--primary-light);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--primary);
  cursor: pointer;
}

/* Mobile Dropdown Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background-color: white;
  border-bottom: 1px solid var(--border-light);
  padding: 20px 24px;
  z-index: 999;
  box-shadow: var(--shadow-md);
}

.mobile-menu ul {
  list-style: none;
  display: grid;
  gap: 16px;
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  display: block;
}

.mobile-menu.active {
  display: block;
}

/* Google Translate Adjust */
#google_translate_element {
  display: inline-block;
  vertical-align: middle;
}
.goog-te-gadget-simple {
  border: 1px solid var(--border-light) !important;
  border-radius: 4px !important;
  padding: 4px 8px !important;
  background-color: var(--bg-light) !important;
  font-family: var(--font-body) !important;
  font-size: 13px !important;
}
.goog-te-banner-frame {
  display: none !important;
}
body {
  top: 0 !important;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, rgba(10,58,36,0.02) 0%, rgba(139,98,64,0.02) 100%);
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
}

.hero-content {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-glow);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(21, 87, 55, 0.15);
}

.hero-title {
  font-size: 52px;
  line-height: 1.15;
  margin-bottom: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.accent-onion {
  color: var(--onion);
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Stats Bar */
.stats-bar {
  background-color: var(--primary);
  color: white;
  padding: 32px 0;
  border-top: 4px solid var(--potato-light);
}

.stats-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
  text-align: center;
}

.stat-item h3 {
  color: white;
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 4px;
}

.stat-item p {
  color: var(--potato-light);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* WhatsApp Alert Sourcing Card */
.whatsapp-alert-box {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  background-color: var(--primary);
  color: white;
  border-radius: 16px;
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.whatsapp-alert-text h2 {
  color: white;
  font-size: 32px;
  margin-bottom: 16px;
  line-height: 1.25;
}

.whatsapp-alert-text p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  margin-bottom: 24px;
}

.badge-light {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--potato-light);
  border-color: rgba(255, 255, 255, 0.15);
}

.whatsapp-features-list {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
}

.whatsapp-alert-form-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 32px;
}

/* Forms styling */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--potato-light);
}

#inquiryForm .form-group label, #franchiseForm .form-group label {
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  transition: var(--transition-smooth);
}

.whatsapp-alert-form-card .form-control {
  background-color: rgba(255, 255, 255, 0.05);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-alert-form-card .form-control:focus {
  outline: none;
  border-color: var(--potato-light);
  box-shadow: 0 0 0 3px rgba(192, 157, 125, 0.2);
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

/* Captcha integration layout */
.captcha-group {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  align-items: center;
}

.captcha-render-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.captcha-render-box canvas {
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: #f5efe7;
}

#inquiryForm canvas, #franchiseForm canvas {
  border-color: var(--border-light);
}

.btn-refresh {
  background: transparent;
  border: none;
  color: var(--potato-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

#inquiryForm .btn-refresh, #franchiseForm .btn-refresh {
  color: var(--text-muted);
}

.btn-refresh:hover {
  transform: rotate(180deg);
}

.error-msg {
  color: #ff5252;
  font-size: 12px;
  margin-top: -10px;
  margin-bottom: 12px;
}

.form-success-box {
  text-align: center;
  padding: 24px 0;
}

.form-success-box svg {
  color: #48c78e;
  margin-bottom: 16px;
}

.form-success-box h4 {
  color: white;
  font-size: 18px;
  margin-bottom: 8px;
}

#inquirySuccess h4, #franchiseSuccess h3 {
  color: var(--primary);
}

.form-success-box p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13.5px;
}

#inquirySuccess p {
  color: var(--text-muted);
}

.hidden {
  display: none !important;
}

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-lead {
  font-size: 17px;
  color: var(--text-dark);
  margin-bottom: 16px;
  font-weight: 500;
}

.values-card {
  background: linear-gradient(135deg, var(--potato-bg), var(--bg-light));
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.values-card h3 {
  margin-bottom: 20px;
  font-size: 20px;
}

.values-list {
  list-style: none;
  display: grid;
  gap: 16px;
  font-size: 14px;
}

.values-list li {
  position: relative;
  padding-left: 20px;
}

.values-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--onion);
  font-weight: bold;
}

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

.section-title h2 {
  font-size: 32px;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--potato-light);
  border-radius: 2px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 550px;
  margin: 0 auto;
}

/* Franchise Benefits */
.franchise-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.benefit-card {
  background-color: white;
  padding: 32px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--potato-light);
}

.benefit-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.benefit-card h4 {
  margin-bottom: 12px;
  font-size: 18px;
}

.benefit-card p {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* Product Cards */
.product-card {
  background-color: white;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--potato-light);
}

.product-img {
  height: 180px;
  background-color: var(--bg-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.product-origin {
  position: absolute;
  bottom: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.product-info {
  padding: 24px;
}

.product-info h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.product-info p {
  font-size: 13.5px;
  color: var(--text-muted);
}

.badge {
  display: inline-block;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.badge-onion { background-color: rgba(88, 24, 49, 0.1); color: var(--onion); }
.badge-potato { background-color: rgba(139, 98, 64, 0.1); color: var(--potato); }
.badge-garlic { background-color: rgba(30, 86, 50, 0.12); color: #1e5632; }
.badge-coconut { background-color: rgba(139, 69, 19, 0.12); color: #8b4513; }
.badge-primary { background-color: rgba(10, 58, 36, 0.1); color: var(--primary); }

/* Produce SEO Specs Table */
.specs-table-container {
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
  margin-top: 36px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.specs-table th {
  background-color: var(--bg-light);
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 16px 20px;
  border-bottom: 2px solid var(--border-light);
  white-space: nowrap;
}

.specs-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.specs-table tr:hover {
  background-color: rgba(10, 58, 36, 0.02);
}

/* FAQ Styles */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}

.faq-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.faq-card:hover {
  border-color: var(--potato-light);
  transform: translateY(-2px);
}

.faq-card h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Service Area Tags */
.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.area-tag {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background-color: var(--potato-light);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  right: -7px;
  background-color: white;
  border: 3px solid var(--primary);
  top: 18px;
  border-radius: 50%;
  z-index: 1;
}

.left { left: 0; }
.right { left: 50%; }
.right::after { left: -7px; }

.timeline-content {
  padding: 20px 28px;
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 8px;
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--onion);
  margin-bottom: 4px;
}

.timeline-content h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.timeline-content p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Testimonials */
.testimonial-card {
  background-color: white;
  padding: 32px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.testimonial-card p {
  font-style: italic;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.testimonial-card h5 {
  font-size: 15px;
  font-weight: 600;
}

.testimonial-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: stretch;
}

.contact-details {
  margin-top: 32px;
  display: grid;
  gap: 20px;
}

.contact-detail-item {
  display: flex;
  gap: 16px;
  align-items: center;
}

.contact-detail-item .icon {
  width: 38px;
  height: 38px;
  background-color: var(--primary-glow);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.contact-detail-item h5 {
  font-size: 13.5px;
  color: var(--text-muted);
}

.contact-detail-item p {
  font-weight: 600;
  font-size: 15px;
}

.inquiry-form-container {
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 40px;
}

.inquiry-form-container h3 {
  margin-bottom: 20px;
}

/* Footer */
.footer {
  background-color: #09100c;
  color: var(--text-muted);
  padding: 60px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer h4 {
  color: white;
  font-size: 16px;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 13.5px;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal-content {
  background-color: white;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  padding: 32px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  color: var(--primary);
}

.modal-content h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Sticky WhatsApp */
.sticky-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  z-index: 999;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.sticky-whatsapp:hover {
  transform: scale(1.1);
}

/* Responsive Grid overrides */
@media (max-width: 992px) {
  .whatsapp-alert-box {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px;
  }
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 38px;
  }
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .timeline::after {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 48px;
    padding-right: 0;
  }
  .timeline-item::after {
    left: 13px;
  }
  .right {
    left: 0;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
}
