/* ── Nyra Seeds India — Global Stylesheet ── */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600&family=DM+Sans:wght@400;500&display=swap');

/* ── Design tokens ── */
:root {
  --color-dark:       #1d1e20;
  --color-dark-2:     #0d141a;
  --color-body:       #1d1e20;
  --color-muted:      #565862;
  --color-white:      #ffffff;
  --color-green-dark: #223A29;
  --color-green-mid:  #3C6F46;
  --color-green-light:#EEF3EE;
  --color-border:     #dadce0;

  --font-heading: 'Roboto', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --radius-btn:   28px;
  --radius-pill:  50px;
  --radius-card:  12px;
  --max-width:    1240px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-body);
  background: var(--color-white);
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

/* ── Layout helpers ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header / Nav ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo img { height: 48px; width: auto; }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  color: var(--color-dark-2);
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--color-green-mid); }
.nav-links a.active { border-bottom: 2px solid var(--color-green-mid); padding-bottom: 2px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark-2);
  border-radius: 2px;
  transition: .3s;
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--color-white);
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    padding: 16px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 12px 24px; font-size: 16px; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  border-radius: var(--radius-btn);
  border: 1px solid currentColor;
  cursor: pointer;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.btn-outline-white {
  color: var(--color-white);
  background: transparent;
  border-color: var(--color-white);
}
.btn-outline-white:hover { background: var(--color-white); color: var(--color-dark); }
.btn-outline-dark {
  color: var(--color-dark-2);
  background: transparent;
  border-color: var(--color-dark-2);
}
.btn-outline-dark:hover { background: var(--color-dark-2); color: var(--color-white); }
.btn-solid-dark {
  color: var(--color-white);
  background: var(--color-dark);
  border-color: var(--color-dark);
  border-radius: var(--radius-pill);
}
.btn-solid-dark:hover { background: #333; border-color: #333; }
.btn-solid-green {
  color: var(--color-white);
  background: var(--color-green-mid);
  border-color: var(--color-green-mid);
  border-radius: var(--radius-pill);
}
.btn-solid-green:hover { background: #2f5938; border-color: #2f5938; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: var(--color-white);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(29,30,32,.50);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: .9;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 768px) {
  .hero { min-height: 420px; }
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 16px; }
  .hero-content { padding: 60px 16px; }
}

/* ── Feature strip ── */
.feature-strip {
  position: relative;
  z-index: 2;
  margin-top: -40px;
  padding-bottom: 0;
}
.feature-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-card);
  padding: 20px 24px;
  color: var(--color-white);
}
.feature-card h3 { font-family: var(--font-heading); font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.feature-card p { font-size: 14px; opacity: .85; }
@media (max-width: 768px) {
  .feature-strip .container { grid-template-columns: 1fr; margin-top: 0; }
  .feature-card { background: var(--color-green-dark); border-color: transparent; }
  .feature-strip { margin-top: 0; }
}

/* Feature strip that sits below hero (white bg) */
.feature-strip-white {
  padding: 40px 0;
}
.feature-strip-white .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card-white {
  background: var(--color-green-light);
  border-radius: var(--radius-card);
  padding: 28px 24px;
}
.feature-card-white h3 { font-family: var(--font-heading); font-size: 17px; font-weight: 600; margin-bottom: 6px; color: var(--color-dark); }
.feature-card-white p { font-size: 14px; color: var(--color-muted); }
@media (max-width: 768px) {
  .feature-strip-white .container { grid-template-columns: 1fr; }
}

/* ── Sections ── */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
@media (max-width: 768px) {
  .section { padding: 56px 0; }
}

.section-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-green-mid);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--color-muted);
  margin-bottom: 40px;
  max-width: 600px;
}
@media (max-width: 768px) {
  .section-title { font-size: 32px; }
  .section-sub { font-size: 16px; }
}

/* ── About section (home) ── */
.about-home {
  background: var(--color-white);
}
.about-home .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-home img {
  width: 100%;
  border-radius: var(--radius-card);
  object-fit: cover;
}
@media (max-width: 768px) {
  .about-home .container { grid-template-columns: 1fr; gap: 32px; }
}

/* ── Stats ── */
.stats-box {
  background: var(--color-green-mid);
  border-radius: var(--radius-card);
  padding: 32px 40px;
  display: flex;
  gap: 48px;
  margin-top: 32px;
}
.stat { color: var(--color-white); }
.stat-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
}
.stat-label {
  font-size: 14px;
  opacity: .85;
  margin-top: 4px;
}
@media (max-width: 480px) {
  .stats-box { flex-direction: column; gap: 24px; padding: 24px; }
  .stat-number { font-size: 40px; }
}

/* ── Services ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.service-card {
  background: var(--color-green-light);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.service-card-body { padding: 20px 24px 24px; }
.service-card h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.service-card p { font-size: 15px; color: var(--color-muted); }
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card img { height: 180px; }
}

/* ── Gallery grid ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}
.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
}
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid img { height: 160px; }
}

/* ── Research cards ── */
.research-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.research-card {
  background: var(--color-green-light);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.research-card img { width: 100%; height: 240px; object-fit: cover; }
.research-card-body { padding: 24px; }
.research-card h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.research-card p { font-size: 15px; color: var(--color-muted); margin-bottom: 20px; }
@media (max-width: 768px) {
  .research-grid { grid-template-columns: 1fr; }
}

/* ── Blog / Insights ── */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
.blog-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 28px;
}
.blog-card .meta { font-size: 13px; color: var(--color-muted); margin-bottom: 12px; }
.blog-card h3 { font-family: var(--font-heading); font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.blog-card p { font-size: 15px; color: var(--color-muted); }
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ── About hero layout ── */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-hero-grid img { width: 100%; border-radius: var(--radius-card); object-fit: cover; max-height: 500px; }
@media (max-width: 768px) {
  .about-hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ── Locations ── */
.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
.location-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 24px;
}
.location-card h3 { font-family: var(--font-heading); font-size: 18px; font-weight: 600; margin-bottom: 8px; color: var(--color-green-mid); }
.location-card p { font-size: 15px; color: var(--color-muted); margin-bottom: 4px; }
.locations-grid--single { grid-template-columns: minmax(0, 480px); }
@media (max-width: 768px) {
  .locations-grid { grid-template-columns: 1fr; }
}

/* ── FAQ ── */
.faq-list { margin-top: 32px; }
.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
}
.faq-item summary {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after { content: '+'; font-size: 22px; color: var(--color-green-mid); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { font-size: 15px; color: var(--color-muted); margin-top: 12px; line-height: 1.7; }

/* ── Lead-gen / Stay Connected form ── */
.stay-connected {
  background: var(--color-green-light);
}
.lead-form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-dark);
}
.form-field input,
.form-field textarea,
.form-field select {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-dark);
  background: var(--color-white);
  transition: border-color .2s;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-green-mid);
}
.form-field textarea { min-height: 100px; }
.form-submit { align-self: center; }
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ── Contact / Footer section ── */
.contact-section {
  background: var(--color-green-dark);
  color: var(--color-white);
}
.contact-section .section-title { color: var(--color-white); }
.contact-section .section-sub { color: rgba(255,255,255,.7); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-info-item {}
.contact-info-item h4 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 8px;
}
.contact-info-item p,
.contact-info-item a {
  font-size: 17px;
  color: var(--color-white);
  font-weight: 500;
}
.contact-info-item a:hover { text-decoration: underline; }

.contact-info-row {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

/* Contact form (dark bg) */
.contact-form .form-field label { color: rgba(255,255,255,.8); }
.contact-form .form-field input,
.contact-form .form-field textarea {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
  color: var(--color-white);
}
.contact-form .form-field input::placeholder,
.contact-form .form-field textarea::placeholder { color: rgba(255,255,255,.4); }
.contact-form .form-field input:focus,
.contact-form .form-field textarea:focus { border-color: rgba(255,255,255,.6); }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-info-row { gap: 32px; }
}

/* ── Social links ── */
.social-links { display: flex; gap: 16px; margin-top: 24px; }
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  color: var(--color-white);
  font-size: 16px;
  transition: background .2s;
}
.social-links a:hover { background: rgba(255,255,255,.15); }

/* ── Footer bar ── */
.footer-bar {
  background: var(--color-green-dark);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 24px;
  text-align: center;
  color: rgba(255,255,255,.6);
  font-size: 14px;
}

/* ── Dark hero (products/research) ── */
.hero-dark {
  background: var(--color-green-dark);
  color: var(--color-white);
  padding: 80px 0 64px;
}
.hero-dark .section-title { color: var(--color-white); }
.hero-dark .section-sub { color: rgba(255,255,255,.75); }

/* ── About-page expertise ── */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.expertise-item {
  border-left: 3px solid var(--color-green-mid);
  padding-left: 16px;
}
.expertise-item h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 600; color: var(--color-green-mid); margin-bottom: 6px; }
.expertise-item p { font-size: 15px; color: var(--color-muted); }
@media (max-width: 768px) {
  .expertise-grid { grid-template-columns: 1fr; }
}

/* ── Article ── */
.article-card {
  max-width: 800px;
}
.article-card .meta {
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 12px;
}
.article-card .section-title {
  margin-bottom: 32px;
}
.article-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-body);
}
.article-body p {
  margin-bottom: 20px;
}
.article-body h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--color-dark);
}
.article-body a {
  color: var(--color-green-mid);
  text-decoration: underline;
}
.article-body a:hover {
  color: #2f5938;
}

/* ── Utility ── */
.text-center { text-align: center; }
.text-white { color: var(--color-white); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
