/* CSS Variables for light/dark mode */
:root {
  --bg: #f8f9fa;
  --bg-alt: #e9ecef;
  --text: #212529;
  --primary: #2e8b57; /* Sea Green - representing growth and agriculture */
  --accent: #4682b4; /* Steel Blue - complementary to green */
  --card-bg: #fff;
  --border: #dee2e6;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --cta: #3a86ff; /* Bright blue for calls to action */
  --cta-text: #fff;
  --link: #3a86ff;
  --hero-overlay: rgba(46,139,87,0.65); /* Semi-transparent primary color */
  --testimonial-bg: #fff;
  --card-hover: #f0f7f4; /* Light green tint for hover states */
}

[data-theme="dark"] {
  --bg: #121212;
  --bg-alt: #1e1e1e;
  --text: #f8f9fa;
  --primary: #4ade80; /* Bright green for dark mode */
  --accent: #60a5fa; /* Bright blue for dark mode */
  --card-bg: #1e1e1e;
  --border: #333;
  --shadow: 0 4px 12px rgba(0,0,0,0.3);
  --cta: #60a5fa;
  --cta-text: #121212;
  --link: #60a5fa;
  --hero-overlay: rgba(74,222,128,0.4); /* Semi-transparent primary color */
  --testimonial-bg: #1e1e1e;
  --card-hover: #2a3b2d; /* Dark green tint for hover states */
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

/* Loading Animation */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading.hidden {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* Navbar */
header {
  background: var(--card-bg);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  width: 100%;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  width: 100%;
  position: relative;
  min-height: 70px;
}

.navbar > * {
  flex-shrink: 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
  text-decoration: none;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  z-index: 1001;
}

.logo:hover {
  transform: scale(1.05);
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 0.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: nowrap;
  overflow: visible;
  flex-shrink: 1;
  min-width: 0;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: 0.7rem 1rem;
  border-radius: 0.8rem;
  transition: all 0.3s ease;
  position: relative;
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  white-space: nowrap;
  min-width: fit-content;
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 1px;
}

.nav-links a:hover::before,
.nav-links a:focus::before {
  width: 80%;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--primary);
  background: var(--card-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Active link styling */
.nav-links a.active {
  color: var(--primary);
  background: var(--card-hover);
}

.nav-links a.active::before {
  width: 80%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--accent);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: background 0.3s ease;
  flex-shrink: 0;
  z-index: 1001;
}

.nav-toggle:hover {
  background: var(--card-hover);
}

#mode-toggle {
  background: none;
  border: 2px solid var(--border);
  font-size: 1.2rem;
  margin-left: 1rem;
  cursor: pointer;
  color: var(--accent);
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#mode-toggle:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: rotate(180deg);
}

/* Large Tablet Navigation */
@media (max-width: 1200px) {
  .navbar {
    padding: 1rem 1rem;
  }
  
  .nav-links {
    gap: 0.2rem;
  }
  
  .nav-links a {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }
}

/* Medium Tablet Navigation */
@media (max-width: 900px) {
  .nav-links a {
    padding: 0.5rem 0.6rem;
    font-size: 0.8rem;
  }
  
  .logo {
    font-size: 1.6rem;
  }
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    box-shadow: var(--shadow);
    border-top: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }
  
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links li {
    width: 100%;
  }
  
  .nav-links a {
    padding: 1rem 1.5rem;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }
  
  .nav-links a:last-child {
    border-bottom: none;
  }
  
  .nav-links a::before {
    display: none;
  }
  
  .nav-links a:hover {
    background: var(--card-hover);
    transform: none;
    box-shadow: none;
    padding-left: 2rem;
  }
  
  #mode-toggle {
    margin-left: 0.5rem;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .cta-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
  
  .section {
    margin: 2rem auto;
    padding: 2.5rem 1.5rem;
  }
  
  .section h2 {
    font-size: 2.2rem;
  }
  
  .cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0;
  }
}

/* Additional responsive breakpoints */
@media (max-width: 480px) {
  .navbar {
    padding: 0.8rem 1rem;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  .hero-content {
    padding: 2.5rem 1.5rem;
    margin: 1rem;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .section {
    padding: 2rem 1rem;
  }
  
  .section h2 {
    font-size: 1.8rem;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.9);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  background: rgba(0,0,0,0.3);
  padding: 4rem 3rem;
  border-radius: 1.5rem;
  max-width: 700px;
  margin: 2rem auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.2);
  animation: fadeInUp 1.2s ease-out;
}

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

.hero-content h1 {
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
  color: #fff;
  text-stroke: 1px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
  color: #fff;
  font-weight: 500;
}

.cta-btn {
  background: linear-gradient(135deg, var(--cta), var(--primary));
  color: var(--cta-text);
  padding: 1.2rem 2.8rem;
  border: none;
  border-radius: 3rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.cta-btn:hover::before {
  left: 100%;
}

.cta-btn:hover,
.cta-btn:focus {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.3);
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

/* Sections */
.section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 4rem 2rem;
  border-radius: 1.5rem;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section h2 {
  font-size: 2.8rem;
  margin-bottom: 2rem;
  color: var(--primary);
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.section-intro {
  text-align: center;
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 3rem auto;
  color: var(--text);
  opacity: 0.9;
}

.alt-bg {
  background: var(--card-bg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* Section-specific styling removed for simplicity */

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin: 3rem 0;
  padding: 0 1rem;
}

.card {
  background: var(--card-bg);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  padding: 0;
  text-align: center;
  transition: all 0.4s ease;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  cursor: pointer;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.card h3 {
  color: var(--primary);
  margin: 1.5rem 1.5rem 1rem 1.5rem;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.3;
}

.card p {
  padding: 0 1.5rem 1.5rem 1.5rem;
  line-height: 1.6;
  color: var(--text);
  opacity: 0.9;
  font-size: 0.95rem;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border-color: var(--primary);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: all 0.4s ease;
  filter: brightness(0.9);
}

.card:hover img {
  transform: scale(1.05);
  filter: brightness(1);
}

/* Card animation */
.card-animated {
  opacity: 1;
  animation: slideInUp 0.6s ease-out;
}

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

/* Practices List */
/* Sustainable Agriculture Section Styling */
.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text);
}

.sustainable-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: start;
}

.sustainable-image {
  position: relative;
}

.main-sustainable-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.sustainability-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
  background: var(--card-bg);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text);
}

.sustainable-practices {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sustainable-practices h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.sustainable-practices h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
}

.practice-card {
  display: flex;
  gap: 1rem;
  background: var(--card-bg);
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 1rem;
}

.practice-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  border-color: var(--primary);
}

.practice-icon {
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
}

.practice-content h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.practice-content p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
}

.sustainability-cta {
  background: var(--bg-alt);
  border-radius: 1rem;
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  margin-top: 2rem;
}

.sustainability-cta h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.sustainability-cta p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
  font-size: 1.1rem;
}

@media (max-width: 900px) {
  .sustainable-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .main-sustainable-img {
    height: 300px;
  }
  
  .sustainability-stats {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }
  
  .stat-item {
    flex: 1 1 30%;
  }
  
  .section {
    padding: 3rem 1.5rem;
  }
  
  .section h2 {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }
  
  .card {
    max-width: 100%;
  }
  
  .section h2 {
    font-size: 1.8rem;
  }
}

/* General section image style for other sections */
.section-img {
  width: 100%;
  max-width: 500px;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  display: block;
  margin: 0 auto;
}

/* IoT Demo */
.iot-demo {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.iot-value {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0.5rem 0;
}
#refresh-iot {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 1.5rem;
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 1rem;
  transition: background 0.2s;
}
#refresh-iot:hover,
#refresh-iot:focus {
  background: var(--accent);
}
.live-dot {
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  background: #e53935;
  border-radius: 50%;
  margin-left: 0.5em;
  animation: pulse 1.2s infinite;
}
@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.3; }
  100% { opacity: 1; }
}

/* AI Section */
.ai-content {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}
.ai-content img {
  width: 180px;
  border-radius: 1rem;
  box-shadow: var(--shadow);
}
.ai-content ul {
  margin-top: 1rem;
  list-style: disc inside;
}

/* Blog/News */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.blog-article {
  background: var(--card-bg);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 0;
  max-width: 350px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.blog-img-container {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

.blog-article:hover .blog-img-container img {
  transform: scale(1.05);
}

.blog-article h3, 
.blog-article p, 
.blog-article a {
  padding: 0 1.2rem;
}
.blog-article:hover {
  transform: translateY(-6px) scale(1.02);
}
.blog-article h3 {
  font-size: 1.2rem;
  margin: 1.2rem 0 0.8rem;
  color: var(--primary);
}
.blog-article p {
  font-size: 0.98rem;
  color: var(--text);
  margin-bottom: 0.8rem;
}
.blog-article a {
  color: var(--link);
  text-decoration: none;
  margin: 1rem 0 1.2rem;
  font-size: 0.95rem;
  font-weight: 500;
  display: inline-block;
}
.blog-article a:hover {
  text-decoration: underline;
}
.loader {
  color: var(--accent);
  font-size: 1.1rem;
  text-align: center;
  margin: 2rem 0;
}

/* Success Stories Section */
.success-stories-container {
  display: flex;
  overflow-x: hidden;
  scroll-behavior: smooth;
  margin: 2rem 0;
  position: relative;
  max-width: 100%;
}

.success-story {
  min-width: 100%;
  display: flex;
  gap: 2rem;
  padding: 1rem;
  transition: transform 0.5s ease;
}

.success-story-image {
  flex: 0 0 40%;
}

.success-story-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.success-story-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.success-story-content h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.success-location {
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.success-quote {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-style: italic;
  color: var(--text);
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid var(--primary);
}

.success-farmer {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.success-metrics {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
}

.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--card-bg);
  padding: 1rem;
  border-radius: 0.7rem;
  box-shadow: var(--shadow);
  min-width: 100px;
}

.metric-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

.metric-label {
  font-size: 0.9rem;
  color: var(--text);
  text-align: center;
}

.success-stories-nav {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

.story-nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.story-nav-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

@media (max-width: 900px) {
  .success-story {
    flex-direction: column;
  }
  
  .success-story-image {
    flex: 0 0 auto;
  }
  
  .success-story-image img {
    height: 250px;
  }
  
  .success-metrics {
    justify-content: center;
  }
}

/* Map */
#map-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
}
#map-container img {
  width: 100%;
  max-width: 800px;
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

/* Weather Widget */
#weather-widget {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: center;
  min-height: 80px;
}
.weather-icon {
  width: 48px;
  height: 48px;
}
.weather-info {
  font-size: 1.1rem;
}

/* Chatbot */
.chatbot-container {
  max-width: 500px;
  margin: 0 auto;
  background: var(--card-bg);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 1.5rem;
}
.chat-window {
  min-height: 120px;
  max-height: 220px;
  overflow-y: auto;
  margin-bottom: 1rem;
  background: var(--bg-alt);
  border-radius: 0.7rem;
  padding: 1rem;
  font-size: 1rem;
}
.chat-msg {
  margin-bottom: 0.7rem;
}
.chat-msg.user {
  text-align: right;
  color: var(--accent);
}
.chat-msg.bot {
  text-align: left;
  color: var(--primary);
}
#chat-form {
  display: flex;
  gap: 0.7rem;
}
#chat-input {
  flex: 1;
  padding: 0.7rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  font-size: 1rem;
}
#chat-form button {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 1.5rem;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
#chat-form button:hover,
#chat-form button:focus {
  background: var(--accent);
}

/* Newsletter */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
}
.newsletter-form input[type="email"] {
  padding: 0.7rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  font-size: 1rem;
}
.newsletter-form button {
  background: var(--cta);
  color: var(--cta-text);
  border: none;
  border-radius: 1.5rem;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.newsletter-form button:hover,
.newsletter-form button:focus {
  background: var(--primary);
}
.newsletter-msg {
  font-size: 1rem;
  min-height: 1.2em;
  color: var(--primary);
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--card-bg), var(--bg-alt));
  color: var(--text);
  text-align: center;
  padding: 3rem 2rem 2rem 2rem;
  font-size: 1rem;
  border-top: 3px solid var(--primary);
  margin-top: 4rem;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--link);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  font-weight: 500;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--primary);
  background: var(--card-hover);
  transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px);}
  to { opacity: 1; transform: none;}
}

.card-animated {
  animation: cardEntrance 0.8s ease-out;
  animation-fill-mode: backwards;
}

.card-animated:nth-child(1) {
  animation-delay: 0.1s;
}

.card-animated:nth-child(2) {
  animation-delay: 0.3s;
}

.card-animated:nth-child(3) {
  animation-delay: 0.5s;
}

.card-animated:nth-child(4) {
  animation-delay: 0.7s;
}

@keyframes cardEntrance {
  from {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Responsive Design */
@media (max-width: 900px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }
  .card {
    max-width: 100%;
    width: 100%;
  }
  .ai-content {
    flex-direction: column;
    align-items: center;
  }
  .ai-content img {
    margin-bottom: 1.5rem;
    max-width: 220px;
  }
  .tech-infographic {
    flex-direction: column;
    padding: 1.5rem;
  }
  .tech-infographic img {
    max-width: 100%;
    margin-bottom: 1.5rem;
  }
  .blog-list {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .blog-article {
    max-width: 100%;
    width: 100%;
  }
}
@media (max-width: 700px) {
  .navbar {
    flex-wrap: wrap;
    padding: 0.5rem 1rem;
  }
  .nav-links {
    flex-direction: column;
    gap: 0.7rem;
    background: var(--card-bg);
    position: absolute;
    top: 60px;
    right: 1rem;
    min-width: 160px;
    box-shadow: var(--shadow);
    border-radius: 0.7rem;
    padding: 1rem;
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
}
@media (max-width: 500px) {
  .hero-content {
    padding: 1.5rem 0.7rem;
  }
  .section {
    padding: 2rem 0.7rem;
  }
  .testimonial {
    padding: 1rem 0.5rem;
  }
}

/* Improved tech-infographic layout */
.tech-infographic {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 3rem;
  background: var(--card-bg);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.tech-infographic img {
  display: block;
  max-width: 45%;
  height: auto;
  border-radius: 0.7rem;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.tech-infographic div {
  flex: 1;
}

/* Back to Top Button */
#topBtn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

#topBtn.visible {
  opacity: 1;
  visibility: visible;
}

#topBtn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

@media (max-width: 768px) {
  #topBtn {
    bottom: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
}


.bg-image-content {
  background: rgba(255,255,255,0.85); /* Optional: white overlay for readability */
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  max-width: 500px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.bg-image-content img {
  max-width: 100%;
  height: auto;
  margin-top: 1rem;
}
#topBtn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  transition: opacity 0.3s ease;
}
#topBtn:hover {
  background: var(--primary);
}
.section {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
  will-change: opacity, transform;
}
.section.visible {
  opacity: 1;
  transform: translateY(0);
}
.ai-tip-section {
  padding: 1rem;
  text-align: center;
}
.ai-tip-banner {
  background: var(--primary);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  font-weight: 600;
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  animation: fadeIn 0.8s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.map-controls select {
  padding: 0.4rem 0.6rem;
  margin: 0 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--accent);
  background: var(--bg);
  color: var(--text);
  font-size: 0.9rem;
}
#map-container {
  text-align: center;
  margin: 1rem auto;
}

#map-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 1rem;
  display: block;
  margin: 1rem auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
/* Seasonal Crop Calendar Styling */
.calendar-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  color: var(--text);
}

.season-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.season-tab {
  background: var(--card-bg);
  color: var(--text);
  border: 2px solid var(--primary);
  border-radius: 2rem;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.season-tab:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.season-tab.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.calendar-container {
  position: relative;
  min-height: 350px;
}

.season-content {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  animation: fadeIn 0.5s ease-in-out;
}

.season-content.active {
  display: grid;
}

.month-card {
  background: var(--card-bg);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
}

.month-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  border-color: var(--primary);
}

.month-icon {
  background: var(--primary);
  color: white;
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.month-emoji {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.month-name {
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.month-activities {
  padding: 1.5rem;
}

.month-activities ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.month-activities li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.7rem;
  line-height: 1.4;
}

.month-activities li:before {
  content: "•";
  color: var(--primary);
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: -2px;
}

@media (max-width: 768px) {
  .season-content {
    grid-template-columns: 1fr;
  }
  
  .season-tab {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}
header {
  position: relative;
  z-index: 10;
}

.hero {
  position: relative;
  margin-top: 80px; /* adjust to match your header height */
}

.hero video.hero-bg {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  max-height: 90vh; /* optional: limit height on large screens */
  display: block;
}
.ai-alert-banner {
  background: #ffd54f;
  color: #333;
  text-align: center;
  padding: 1rem 1.5rem;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
  max-width: 800px;
  margin: 0 auto 1rem;
  animation: fadeIn 0.5s ease-out both;
}
#image-preview img {
  max-width: 300px;
  margin-top: 1rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
}
.yield-form {
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  text-align: left;
}

.yield-form label {
  font-weight: bold;
}

.yield-form input,
.yield-form select {
  padding: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--accent);
  font-size: 1rem;
}

.yield-form button {
  padding: 0.6rem;
  font-weight: bold;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
}

.yield-result {
  text-align: center;
  font-size: 1.1rem;
  margin-top: 1rem;
  font-weight: bold;
}
.map-sim-wrapper {
  position: relative;
  max-width: 800px;
  margin: 1rem auto;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.farm-map {
  width: 100%;
  display: block;
}

.drone {
  position: absolute;
  width: 32px;
  height: 32px;
  background: url('public/images/drone-icon.png') no-repeat center/contain;
  top: 10%;
  left: 5%;
  animation: flyPath 10s linear infinite;
}

@keyframes flyPath {
  0% { transform: translate(0, 0); }
  25% { transform: translate(300px, 100px); }
  50% { transform: translate(600px, 200px); }
  75% { transform: translate(300px, 300px); }
  100% { transform: translate(0, 400px); }
}
.zone {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 8px;
  font-size: 0.8rem;
  font-weight: bold;
  border-radius: 0.5rem;
  text-align: center;
}

.zone1 { top: 20%; left: 10%; }
.zone2 { top: 50%; left: 60%; }
.zone3 { top: 70%; left: 30%; }

.zone span {
  display: block;
  font-weight: normal;
  font-size: 0.75rem;
  color: #444;
}
.game-screen {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  padding: 1rem;
  border-radius: 1rem;
  background: #f8f8f8;
  box-shadow: var(--shadow);
}

#game-log p {
  margin: 0.5rem 0;
}

#game-stage select,
#game-stage button {
  padding: 0.5rem;
  margin-top: 1rem;
  border-radius: 0.5rem;
  font-size: 1rem;
}
.dashboard {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  max-width: 800px;
  margin: 1rem auto;
}

.device-card {
  background: var(--card-bg, #fff);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: 0.3s;
}

.device-card h3 {
  margin-bottom: 0.5rem;
}

.device-card .status,
.device-card span {
  font-weight: bold;
}

.device-card button {
  margin-top: 0.5rem;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  border: none;
  background-color: var(--primary);
  color: white;
  border-radius: 0.5rem;
  cursor: pointer;
}
/* Field Simulation Area */
.field-visual {
  position: relative;
  height: 200px;
  background: linear-gradient(#eef8ee, #d0e6d0);
  border-radius: 1rem;
  margin: 1rem auto;
  max-width: 800px;
  overflow: hidden;
}

/* AgriBot Animation */
.agri-bot {
  width: 40px;
  height: 40px;
  background: url('public/images/bot-icon.png') no-repeat center/contain;
  position: absolute;
  bottom: 10px;
  left: -50px;
  animation: moveBot 6s linear infinite;
}

@keyframes moveBot {
  0%   { left: -50px; bottom: 10%; transform: rotate(0deg); }
  20%  { left: 100%; bottom: 10%; transform: rotate(0deg); }
  25%  { left: 100%; bottom: 30%; transform: rotate(180deg); }
  45%  { left: -50px; bottom: 30%; transform: rotate(180deg); }
  50%  { left: -50px; bottom: 50%; transform: rotate(0deg); }
  70%  { left: 100%; bottom: 50%; transform: rotate(0deg); }
  75%  { left: 100%; bottom: 70%; transform: rotate(180deg); }
  95%  { left: -50px; bottom: 70%; transform: rotate(180deg); }
  100% { left: -50px; bottom: 10%; transform: rotate(0deg); }
}
/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(to right, #e8f5e9, #f1f8e9);
  padding: 3rem 1rem;
  text-align: center;
  border-top: 2px solid #c8e6c9;
  border-bottom: 2px solid #c8e6c9;
}

.newsletter-section h2 {
  font-size: 2rem;
  color: #2e7d32;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  padding: 0.75rem 1rem;
  border: 2px solid #a5d6a7;
  border-radius: 5px;
  font-size: 1rem;
  flex: 1;
  min-width: 250px;
  outline: none;
}

.newsletter-form input[type="email"]:focus {
  border-color: #66bb6a;
  box-shadow: 0 0 0 2px rgba(102, 187, 106, 0.2);
}

.newsletter-form button {
  background-color: #2e7d32;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #1b5e20;
}

.newsletter-message {
  margin-top: 1rem;
  font-weight: 500;
  font-size: 1rem;
}
.sensor-data {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.sensor-card {
  background: #f1f8e9;
  border: 2px solid #c5e1a5;
  padding: 1rem 2rem;
  border-radius: 10px;
  font-size: 1.25rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  text-align: center;
  font-weight: 600;
}
.yield-form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 0 auto;
  gap: 1rem;
}

.yield-form input,
.yield-form button {
  padding: 0.75rem;
  font-size: 1rem;
  border: 2px solid #c8e6c9;
  border-radius: 5px;
}

.yield-form button {
  background-color: #2e7d32;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.yield-form button:hover {
  background-color: #1b5e20;
}

.yield-result {
  margin-top: 1rem;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
}
/* === Modal Overlay === */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.modal.hidden {
  display: none;
}

/* === Modal Box === */
.modal-content {
  background: #fff;
  max-width: 700px;
  width: 90%;
  padding: 2rem;
  border-radius: 12px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  animation: slideIn 0.3s ease-out;
}

/* === Close Button === */
#modal-close {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 2rem;
  color: #444;
  cursor: pointer;
  font-weight: bold;
}

#modal-close:hover {
  color: #000;
}

/* === Responsive Video === */
.modal-content video {
  width: 100%;
  margin-top: 1rem;
  border-radius: 8px;
}

/* === Animation === */
@keyframes slideIn {
  from {
    transform: translateY(-40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
body.modal-open {
  overflow: hidden;
}
.modal-content video {
  width: 100%;
  max-width: 640px;
  height: auto;
  aspect-ratio: 16 / 9; /* Keeps the size consistent */
  display: block;
  margin: 1rem auto 0;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-content {
  animation: zoomIn 0.3s ease-out;
}
.card.card-animated:active {
  transform: scale(0.97);
  box-shadow: 0 0 0 transparent;
}
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 1rem;
}

.card.card-animated {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 300px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 1rem;
}

.card.card-animated img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card.card-animated h3 {
  font-size: 1.2rem;
  margin: 1rem 0 0.5rem;
  color: #2e7d32;
}

.card.card-animated p {
  font-size: 0.95rem;
  color: #555;
  padding: 0 1rem;
}

.card.card-animated:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Optional subtle glow on focus or click */
.card.card-animated:active {
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.2);
  transform: scale(0.99);
}
.card.card-animated {
  background: var(--card-bg, #ffffff);
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 300px;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  border: 2px solid transparent;
}

.card.card-animated img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.card.card-animated h3 {
  font-size: 1.15rem;
  margin: 1rem 0 0.3rem;
  color: var(--accent-color, #2e7d32);
}

.card.card-animated p {
  font-size: 0.95rem;
  color: var(--text-secondary, #555);
  padding: 0 1rem 1.2rem;
  line-height: 1.4;
}

.card.card-animated:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(56, 142, 60, 0.25);
  border-color: #81c784;
}

/* Dark mode support */
[data-theme="dark"] .card.card-animated {
  background: #1e1e1e;
  color: #ddd;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .card.card-animated h3 {
  color: #a5d6a7;
}

[data-theme="dark"] .card.card-animated p {
  color: #bbb;
}

/* Contact Info Box - Light/Dark Theme Support */
.contact-info {
  margin-top: 2rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(135deg, var(--card-bg) 80%, var(--bg-alt) 100%);
  color: var(--text);
  padding: 1.5rem 2rem;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
  border: 2.5px solid var(--primary);
  transition: background 0.3s, color 0.3s, border 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.contact-info h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.35rem;
  letter-spacing: 1px;
  text-shadow: 0 1px 4px var(--bg-alt);
}
.contact-info p {
  font-size: 1.08rem;
  margin-bottom: 0.7rem;
  color: var(--text);
  text-shadow: 0 1px 2px var(--bg-alt);
}
.contact-info b {
  color: var(--accent);
  text-shadow: 0 1px 2px var(--bg-alt);
}
[data-theme="dark"] .contact-info {
  background: linear-gradient(135deg, #23272f 80%, #181a20 100%);
  color: #f8f9fa;
  border: 2.5px solid var(--accent);
  box-shadow: 0 2px 18px rgba(0,0,0,0.25);
}
[data-theme="dark"] .contact-info h3 {
  color: var(--accent);
  text-shadow: 0 1px 6px #111a;
}
[data-theme="dark"] .contact-info p {
  color: #f8f9fa;
  text-shadow: 0 1px 4px #111a;
}
[data-theme="dark"] .contact-info b {
  color: var(--primary);
  text-shadow: 0 1px 4px #111a;
}
