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

:root {
  --color-primary: #1B5E20; /* Deep forest green */
  --color-bg: #F4F6F0; /* Off-white */
  --color-cta: #FF8F00; /* Amber orange */
  --color-problem: #B71C1C; /* Dark red */
  --color-weedcut: #2E7D32; /* Product 1 */
  --color-nemato: #00695C; /* Product 2 */
  --color-grow: #1565C0; /* Product 3 */
  --color-combo: #E65100; /* Burnt orange */
  --color-notes: #1A237E; /* Deep indigo */
  --color-text-dark: #333333;
  --color-text-light: #ffffff;
  --color-text-muted: #666666;
  --color-text-light-green: #A5D6A7;
  --color-text-faint-green: #C8E6C9;

  --font-heading: 'Poppins', sans-serif;
  --font-telugu: 'Noto Sans Telugu', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(27, 94, 32, 0.08);
  --shadow-lg: 0 20px 40px rgba(27, 94, 32, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: 1px solid rgba(255, 255, 255, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text-dark);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Typography for Telugu text */
.telugu-text {
  font-family: var(--font-telugu);
  line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.section {
  padding: 100px 0;
  position: relative;
}

/* Premium Utilities */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: var(--glass-border);
  box-shadow: var(--shadow-md);
  border-radius: 16px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, #4CAF50 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: var(--font-telugu);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 44px; /* Minimum touch target size */
}

.btn:disabled {
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-cta) 0%, #FF6F00 100%);
  color: var(--color-text-light);
  border: none;
  box-shadow: 0 4px 15px rgba(255, 143, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 143, 0, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text-light);
  border: 2px solid var(--color-text-light);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: white;
  border: none;
}

.btn-whatsapp:hover {
  background-color: #1DA851;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid currentColor;
}

.btn-outline:hover {
  background-color: rgba(27, 94, 32, 0.06);
  transform: translateY(-2px);
}

.btn-weedcut { color: var(--color-weedcut); }
.btn-nemato { color: var(--color-nemato); }
.btn-grow { color: var(--color-grow); }

.btn-combo {
  background-color: white;
  color: var(--color-combo);
}

.btn-large {
  font-size: 18px;
  padding: 15px 40px;
}

.section-white {
  background-color: white;
}

.section-soft {
  background-color: #f9fbf9;
}

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: all 0.3s ease;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%);
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 15px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.nav-brand-text {
  min-width: 0;
}

.brand-logo {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 12px;
  border: 2px solid var(--color-cta);
  flex: 0 0 auto;
}

.nav-brand-text h1 {
  color: var(--color-text-light);
  font-size: 24px;
  margin: 0;
  transition: color 0.3s ease;
}

.navbar.scrolled .nav-brand-text h1 {
  color: var(--color-primary);
}

.nav-brand-tagline {
  font-size: 12px;
  font-style: italic;
  color: var(--color-text-faint-green);
  transition: color 0.3s ease;
}

.navbar.scrolled .nav-brand-tagline {
  color: var(--color-primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-menu a {
  color: var(--color-text-light);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s ease;
}

.navbar.scrolled .nav-menu a {
  color: var(--color-text-dark);
}

.navbar.scrolled .nav-menu a.active,
.nav-menu a.active {
  color: var(--color-cta);
}

.nav-menu a.btn-primary,
.navbar.scrolled .nav-menu a.btn-primary {
  color: var(--color-text-light);
}

.nav-menu a:hover {
  color: var(--color-cta);
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--color-text-light);
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}

.hamburger-symbol {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.hamburger[aria-expanded="true"] .hamburger-symbol {
  font-size: 0;
}

.hamburger[aria-expanded="true"] .hamburger-symbol::before {
  content: '×';
  font-size: 32px;
  line-height: 1;
}

.navbar.scrolled .hamburger {
  color: var(--color-primary);
}

/* Floating Elements */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  animation: pulse 2s infinite;
  transition: transform 0.3s ease;
}

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

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Footer */
.footer {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h2 {
  font-size: 24px;
  margin-bottom: 5px;
}

.footer-brand .tagline {
  color: var(--color-text-light-green);
  font-style: italic;
  margin-bottom: 15px;
}

.footer-brand p {
  color: var(--color-text-faint-green);
  font-size: 14px;
}

.footer-links h3, .footer-contact h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--color-text-light);
}

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

.footer-links ul li a {
  color: var(--color-text-faint-green);
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: var(--color-cta);
}

.footer-contact .contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: var(--color-text-faint-green);
}

.footer-contact .contact-item a {
  color: var(--color-text-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text-light-green);
  font-size: 14px;
}

.social-icons {
  display: flex;
  justify-content: flex-start;
  gap: 15px;
  margin-top: 15px;
}

.social-icons a {
  color: var(--color-text-faint-green);
  font-size: 20px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: white;
}

.social-icons a:focus-visible,
.floating-whatsapp:focus-visible,
.nav-menu a:focus-visible,
.btn:focus-visible,
.hamburger:focus-visible {
  outline: 3px solid rgba(255, 143, 0, 0.45);
  outline-offset: 3px;
}

/* Global Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Media Queries for Navbar & Footer */
/* Scroll-to-top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #2E7D32 100%);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 998;
  box-shadow: 0 4px 15px rgba(27,94,32,0.35);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.scroll-top-btn:hover {
  background: linear-gradient(135deg, #2E7D32 0%, var(--color-primary) 100%);
  box-shadow: 0 6px 20px rgba(27,94,32,0.45);
  transform: translateY(-3px);
}

/* Bigger, animated social icons in footer */
.social-icons a {
  color: var(--color-text-faint-green);
  font-size: 24px;
  transition: color 0.3s, transform 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
}

.social-icons a:hover {
  color: white;
  transform: translateY(-3px) scale(1.12);
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
}

/* Form validation error state */
.form-control.error {
  border-bottom-color: #d32f2f;
}

.form-hint {
  font-size: 12px;
  color: #d32f2f;
  margin-top: 4px;
  display: none;
  font-family: var(--font-body);
}

.form-hint.visible {
  display: block;
}

/* Toast notification */
.toast-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--color-primary);
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-telugu);
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(27,94,32,0.35);
  z-index: 9999;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 1300px) {
  .nav-menu {
    display: none; /* Hide default menu on mobile */
  }
  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  .nav-menu.active a {
    color: var(--color-text-dark);
  }
  .nav-menu.active a.btn-primary {
    color: var(--color-text-light);
    width: 100%;
  }
  .hamburger {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 18px;
  }
  .navbar {
    padding: 16px 0;
  }
  .navbar.scrolled {
    padding: 12px 0;
  }
  .brand-logo {
    width: 42px;
    height: 42px;
    margin-right: 6px;
  }
  .nav-brand-text h1 {
    font-size: 22px;
    white-space: nowrap;
  }
  .nav-brand-tagline {
    font-size: 11px;
    white-space: nowrap;
  }
  .floating-whatsapp {
    right: 18px;
    bottom: 22px;
    width: 54px;
    height: 54px;
    font-size: 27px;
  }
  .scroll-top-btn {
    right: 18px;
    bottom: 88px;
  }
  .toast-notification {
    width: calc(100% - 36px);
    justify-content: center;
    white-space: normal;
    text-align: center;
    border-radius: 12px;
    padding: 12px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
/* Caution Box */
.caution-box {
    background-color: white;
    border: 1px solid #E8F5E9;
    border-radius: 12px;
    padding: 30px 40px;
    margin: 40px 0;
    box-shadow: var(--shadow-md);
}
.caution-box h3 {
    color: var(--color-primary);
    font-size: 26px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.caution-list {
    list-style: none;
    padding-left: 0;
}
.caution-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 18px;
    color: var(--color-text-dark);
    font-size: 17px;
    line-height: 1.7;
}
.caution-list li::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f111"; /* Circle dot */
    color: var(--color-cta);
    font-size: 10px;
    position: absolute;
    left: 8px;
    top: 6px;
}
.caution-list li.caution-highlight {
    font-size: 20px;
    font-weight: 800;
    color: #D84315;
    background: #FFF3E0;
    padding: 15px 15px 15px 45px;
    border-radius: 8px;
    border: 1px solid #FFE0B2;
    margin-top: 25px;
}
.caution-list li.caution-highlight::before {
    content: "\f071"; /* Exclamation triangle */
    font-size: 18px;
    color: #D84315;
    left: 15px;
    top: 17px;
}

/* ── Collaborators Section (Shared) ─────────────────── */
.collaborators-section {
  padding: 60px 0;
  background-color: #F7FAF5;
  border-top: 1px solid #E0E8DD;
  border-bottom: 1px solid #E0E8DD;
  text-align: center;
}

.collaborators-title {
  font-family: var(--font-telugu);
  font-size: 26px;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.collaborators-subtitle {
  font-family: var(--font-telugu);
  color: var(--color-text-muted);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 40px;
}

.collab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.collab-card {
  background: white;
  border-radius: 12px;
  padding: 24px 15px;
  border: 1px solid #EAEAEA;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.collab-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.1);
  border-color: var(--color-text-light-green);
}

.collab-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #F1F8E9;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 15px;
  border: 2px dashed var(--color-text-light-green);
}

.collab-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 5px;
}

.collab-link {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-weedcut);
  font-weight: 500;
}

.collab-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .collab-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .collab-grid {
    grid-template-columns: 1fr;
  }
}
