/* Chandradev Foods v1.2 Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Poppins", Arial, sans-serif;
  background: #f8f9fa;
  color: #333;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: min(1200px, 92%);
  margin: auto;
}
.top-bar {
  background: #0c5c2d;
  color: #fff;
  padding: 10px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo img {
  height: 60px;
}
nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
}
nav a {
  font-weight: 600;
}
.active,
nav a:hover {
  color: #b71c1c;
}
.hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("../images/factory.JPG") center/cover;
  min-height: 80vh;
  display: flex;
  align-items: center;
  color: #fff;
}
.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-right img {
  border-radius: 16px;
}
.badge {
  display: inline-block;
  background: #d4a017;
  padding: 8px 16px;
  border-radius: 30px;
  color: #222;
  font-weight: 700;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 3rem;
}
.hero h3 {
  color: #ffd86b;
  margin: 16px 0;
}
.btn,
.btn-outline {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 30px;
  margin-right: 12px;
  font-weight: 600;
}
.btn {
  background: #b71c1c;
  color: #fff;
}
.btn-outline {
  border: 2px solid #fff;
  color: #fff;
}
.section {
  padding: 70px 0;
}
.light {
  background: #fff;
}
.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.center-text {
  max-width: 900px;
  margin: auto;
  text-align: center;
}
.product-grid,
.feature-grid,
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.product-card,
.feature-box,
.video-box {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}
.product-card img {
  height: 220px;
  object-fit: contain;
  margin: auto;
}
.video-box iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
}
.infra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.markets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.markets span {
  background: #0c5c2d;
  color: #fff;
  padding: 8px 14px;
  border-radius: 20px;
}
.cta-box {
  text-align: center;
  background: #0c5c2d;
  color: #fff;
  padding: 50px;
  border-radius: 18px;
}
.footer {
  background: #222;
  color: #fff;
  padding-top: 50px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}
.footer-logo {
  height: 70px;
}
.copyright {
  text-align: center;
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 30px;
}
@media (max-width: 768px) {
  .header-flex,
  .hero-content,
  .infra-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
}
