/* ===== ROOT VARIABLES ===== */
:root {
  --green:        #2d8a4e;
  --green-dark:   #1f6b3b;
  --green-light:  #e8f5ee;
  --teal:         #0d9488;
  --orange:       #f97316;
  --navy:         #1e3a5f;
  --gray:         #6b7280;
  --light:        #f9fafb;
  --white:        #ffffff;
  --shadow-sm:    0 2px 8px rgba(0,0,0,.08);
  --shadow-md:    0 8px 24px rgba(0,0,0,.12);
  --shadow-lg:    0 16px 48px rgba(0,0,0,.16);
  --radius:       12px;
  --transition:   all .3s ease;
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #1f2937;
  line-height: 1.7;
  background: var(--white);
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ===== NAVBAR ===== */
.site-nav {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding: 0 0;
  transition: var(--transition);
}
.site-nav .container { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.4rem; color: var(--green); }
.nav-logo .logo-icon { width: 38px; height: 38px; background: var(--green); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; }
.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.nav-links a { padding: 8px 16px; border-radius: 8px; font-weight: 500; font-size: .95rem; color: #374151; transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { background: var(--green-light); color: var(--green); }
.nav-links .btn-nav { background: var(--green); color: #fff !important; padding: 8px 20px; }
.nav-links .btn-nav:hover { background: var(--green-dark); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.4rem; color: var(--green); cursor: pointer; }
@media(max-width:768px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid #e5e7eb; padding: 16px; gap: 4px; }
  .nav-links.open { display: flex; }
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f4c2a 0%, #1a7a40 40%, #2d8a4e 70%, #34d399 100%);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 100px 0 60px;
}
.hero::before {
  content: '';
  position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
  background: rgba(255,255,255,.05); border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute; bottom: -30%; left: -10%; width: 400px; height: 400px;
  background: rgba(255,255,255,.04); border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.15); color: #fff; padding: 6px 16px; border-radius: 30px; font-size: .85rem; font-weight: 500; margin-bottom: 20px; backdrop-filter: blur(8px); }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 20px; }
.hero h1 span { color: #a7f3d0; }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,.85); max-width: 540px; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary-hero { background: #fff; color: var(--green); padding: 14px 32px; border-radius: 50px; font-weight: 700; font-size: 1rem; transition: var(--transition); box-shadow: 0 4px 20px rgba(0,0,0,.2); }
.btn-primary-hero:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.25); }
.btn-outline-hero { border: 2px solid rgba(255,255,255,.6); color: #fff; padding: 14px 32px; border-radius: 50px; font-weight: 600; font-size: 1rem; transition: var(--transition); }
.btn-outline-hero:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.hero-visual { position: relative; z-index: 1; }
.phone-mockup-wrap { display: flex; justify-content: center; gap: 20px; align-items: flex-end; }
.phone-screen {
  overflow: hidden;
  border-radius: 28px;
  position: relative;
}

.phone-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
}

/* Overlay text like your design */
.screen-text-overlay {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  text-align: center;
  font-weight: 600;
  font-size: 18px;
  color: #222;
  background: rgba(255,255,255,0.6);
  padding: 8px 0;
  backdrop-filter: blur(4px);
  border-radius: 12px;
}
.phone-screen .screen-icon { font-size: 2.5rem; }
.phone-notch { width: 60px; height: 8px; background: #333; border-radius: 4px; margin: 0 auto 8px; }

/* ===== STATS BAR ===== */
.stats-bar { background: var(--navy); padding: 40px 0; }
.stat-item { text-align: center; }
.stat-item .num { font-size: 2.5rem; font-weight: 800; color: #fff; line-height: 1; }
.stat-item .num span { color: #34d399; }
.stat-item .lbl { font-size: .9rem; color: rgba(255,255,255,.65); margin-top: 4px; }

/* ===== SECTIONS ===== */
section { padding: 80px 0; }
.section-label { display: inline-block; background: var(--green-light); color: var(--green); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 5px 14px; border-radius: 30px; margin-bottom: 12px; }
.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; color: var(--navy); line-height: 1.2; margin-bottom: 14px; }
.section-sub { color: var(--gray); font-size: 1.05rem; max-width: 560px; }
.section-sub.center { margin: 0 auto; }
.text-center .section-sub { margin: 0 auto; }

/* ===== APP CARDS ===== */
.app-card {
  background: #fff; border-radius: var(--radius); padding: 36px 28px;
  box-shadow: var(--shadow-sm); border: 1px solid #f0f0f0;
  transition: var(--transition); height: 100%;
}
.app-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.app-card .card-icon { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 20px; }
.app-card.farmer .card-icon { background: #dcfce7; color: #16a34a; }
.app-card.agro   .card-icon { background: #ccfbf1; color: #0d9488; }
.app-card.mfg    .card-icon { background: #fef3c7; color: #d97706; }
.app-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; color: var(--navy); }
.app-card p { color: var(--gray); font-size: .95rem; margin-bottom: 20px; }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: #374151; padding: 5px 0; border-bottom: 1px solid #f3f4f6; }
.feature-list li:last-child { border-bottom: none; }
.feature-list li i { color: var(--green); font-size: .8rem; flex-shrink: 0; }
.app-card .card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; margin-top: 20px; color: var(--green); transition: var(--transition); }
.app-card .card-link:hover { gap: 10px; }

/* ===== WHY US ===== */
.why-us { background: var(--light); }
.why-item { display: flex; gap: 18px; margin-bottom: 32px; }
.why-icon { width: 52px; height: 52px; background: var(--green); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.2rem; flex-shrink: 0; }
.why-item h4 { font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.why-item p { color: var(--gray); font-size: .9rem; margin: 0; }
.why-visual { background: linear-gradient(135deg, var(--green), var(--teal)); border-radius: 20px; padding: 48px 36px; color: #fff; text-align: center; }
.why-visual .big-num { font-size: 5rem; font-weight: 900; line-height: 1; color: rgba(255,255,255,.9); }
.why-visual p { color: rgba(255,255,255,.8); font-size: 1.05rem; }

/* ===== CTA SECTION ===== */
.cta-section { background: linear-gradient(135deg, var(--green-dark), var(--teal)); text-align: center; padding: 80px 0; }
.cta-section h2 { font-size: 2.2rem; font-weight: 800; color: #fff; margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 500px; margin: 0 auto 32px; }
.btn-cta { background: #fff; color: var(--green); padding: 14px 36px; border-radius: 50px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; transition: var(--transition); }
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero { background: linear-gradient(135deg, var(--navy), var(--green-dark)); padding: 120px 0 60px; text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: #fff; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 1.1rem; }
.breadcrumb-custom { display: flex; justify-content: center; gap: 8px; list-style: none; padding: 0; margin-top: 16px; }
.breadcrumb-custom li { color: rgba(255,255,255,.55); font-size: .9rem; }
.breadcrumb-custom li a { color: rgba(255,255,255,.8); }
.breadcrumb-custom li + li::before { content: '/'; margin-right: 8px; }

/* ===== ABOUT PAGE ===== */
.about-story img, .about-story .img-placeholder {
  border-radius: 20px; width: 100%; aspect-ratio: 4/3; object-fit: cover;
  background: linear-gradient(135deg, #e8f5ee, #d1fae5);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; color: var(--green);
}
.value-card { background: #fff; border-radius: var(--radius); padding: 28px; text-align: center; box-shadow: var(--shadow-sm); border: 1px solid #f0f0f0; transition: var(--transition); }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card .vi { width: 56px; height: 56px; border-radius: 14px; background: var(--green-light); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin: 0 auto 16px; }
.value-card h4 { font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.value-card p { color: var(--gray); font-size: .9rem; margin: 0; }
.team-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); text-align: center; transition: var(--transition); }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-avatar { width: 100%; height: 200px; background: linear-gradient(135deg, #e8f5ee, #d1fae5); display: flex; align-items: center; justify-content: center; font-size: 3.5rem; color: var(--green); }
.team-card .team-info { padding: 20px; }
.team-card h5 { font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.team-card span { color: var(--green); font-size: .85rem; font-weight: 500; }

/* ===== FEATURES PAGE ===== */
.feature-tab-btn { padding: 12px 24px; border-radius: 50px; font-weight: 600; font-size: .95rem; border: 2px solid #e5e7eb; background: #fff; color: var(--gray); cursor: pointer; transition: var(--transition); }
.feature-tab-btn.active, .feature-tab-btn:hover { border-color: var(--green); background: var(--green); color: #fff; }
.feature-block { display: none; }
.feature-block.active { display: block; }
.feat-item { display: flex; gap: 16px; padding: 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 16px; border: 1px solid #f0f0f0; transition: var(--transition); }
.feat-item:hover { box-shadow: var(--shadow-md); }
.feat-item .fi { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.feat-item.farmer .fi { background: #dcfce7; color: #16a34a; }
.feat-item.agro   .fi { background: #ccfbf1; color: #0d9488; }
.feat-item.mfg    .fi { background: #fef3c7; color: #d97706; }
.feat-item h5 { font-weight: 700; color: var(--navy); margin-bottom: 4px; font-size: 1rem; }
.feat-item p { color: var(--gray); font-size: .88rem; margin: 0; }
.screen-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); }
.screen-card .screen-placeholder { background: linear-gradient(135deg, #e8f5ee, #d1fae5); height: 220px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; color: var(--green); font-weight: 600; font-size: .9rem; }
.screen-card .screen-placeholder i { font-size: 2.5rem; }
.screen-card .sc-label { padding: 14px; text-align: center; font-weight: 600; font-size: .9rem; color: var(--navy); }

/* ===== CONTACT PAGE ===== */
.contact-card { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); border: 1px solid #f0f0f0; height: 100%; }
.contact-card .cc-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--green-light); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 16px; }
.contact-card h5 { font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.contact-card p, .contact-card a { color: var(--gray); font-size: .95rem; }
.contact-form { background: #fff; border-radius: 20px; padding: 40px; box-shadow: var(--shadow-md); }
.form-label-custom { font-weight: 600; color: var(--navy); font-size: .9rem; margin-bottom: 6px; display: block; }
.form-control-custom {
  width: 100%; padding: 12px 16px; border: 2px solid #e5e7eb; border-radius: 10px;
  font-size: .95rem; transition: var(--transition); outline: none;
  font-family: inherit; background: #fafafa;
}
.form-control-custom:focus { border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px rgba(45,138,78,.1); }
.btn-submit { background: var(--green); color: #fff; padding: 14px 36px; border-radius: 50px; font-weight: 700; border: none; font-size: 1rem; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: var(--transition); font-family: inherit; }
.btn-submit:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(45,138,78,.35); }

/* ===== FOOTER ===== */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 60px 0 0; }
.footer-logo { font-size: 1.5rem; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo .logo-icon { width: 36px; height: 36px; background: var(--green); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; }
.site-footer p { font-size: .9rem; max-width: 300px; }
.footer-heading { color: #fff; font-weight: 700; font-size: 1rem; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.65); font-size: .9rem; transition: var(--transition); }
.footer-links a:hover { color: #34d399; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding: 20px 0; text-align: center; font-size: .85rem; color: rgba(255,255,255,.4); }

/* ===== UTILITIES ===== */
.text-green { color: var(--green); }
.bg-light-green { background: var(--green-light); }
.rounded-20 { border-radius: 20px; }
.divider { height: 3px; width: 60px; background: var(--green); border-radius: 2px; margin: 16px 0 24px; }
.divider.center { margin: 16px auto 24px; }
