:root {
  --primary-color: #f08a24;
  --secondary-color: #2f9b56;
  --accent-color: #2f7bda;
  --text-color: #1f2933;
  --muted-text: #5b6670;
  --bg-color: #f8fafb;
  --card-bg: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 14px;
  --transition: all 0.25s ease;
}

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

body {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  color: var(--text-color);
  background: var(--bg-color);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(31, 41, 51, 0.05);
}

.topbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.brand img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.topbar nav {
  flex: 1;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 0;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 12px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(31, 41, 51, 0.05);
  justify-content: space-between;
  width: 100%;
}

nav li {
  flex: 1;
  display: flex;
}

nav a {
  position: relative;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--text-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 2px;
  line-height: 1.1;
  width: 100%;
}

.active-link {
  color: var(--primary-color);
}

nav a:hover {
  color: var(--primary-color);
}

.nav-top {
  font-size: 0.95rem;
}

.nav-sub {
  font-size: 0.95rem;
  color: var(--muted-text);
  line-height: 1.1;
}

nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  opacity: 0;
  transform: translateY(4px);
  transition: var(--transition);
}

nav a:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.menu-toggle {
  display: none;
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.hero {
  background: linear-gradient(120deg, rgba(47, 155, 86, 0.2), rgba(240, 138, 36, 0.14)), radial-gradient(circle at 20% 20%, rgba(240, 138, 36, 0.22), transparent 35%);
  padding: 90px 20px 100px;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  gap: 40px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 14px;
}

.hero p {
  color: var(--muted-text);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 18px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: var(--primary-color);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #d7771f;
}

.btn-secondary {
  background: #fff;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
  background: rgba(47, 155, 86, 0.08);
}

.hero-visual {
  min-height: clamp(260px, 38vw, 420px);
  background: linear-gradient(135deg, rgba(240, 138, 36, 0.25), rgba(47, 155, 86, 0.18));
  border-radius: 20px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-about {
  padding-bottom: 70px;
}

.about-visual {
  background: linear-gradient(135deg, rgba(47, 155, 86, 0.25), rgba(240, 138, 36, 0.2));
}

.about-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

main section {
  padding: 70px 20px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 28px;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3.3vw, 2.4rem);
  margin-bottom: 8px;
}

.section-header p {
  color: var(--muted-text);
  max-width: 720px;
  margin: 0 auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.mission-grid .card {
  text-align: left;
}

.livestock-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.livestock-row {
  display: grid;
  gap: 20px;
}

.top-row {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.bottom-row {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  justify-content: center;
}

.bottom-row .livestock-card {
  max-width: 360px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .top-row {
    grid-template-columns: repeat(3, minmax(240px, 1fr));
  }

  .bottom-row {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    justify-content: center;
  }
}

.card {
  background: var(--card-bg);
  border-top: 4px solid var(--secondary-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(47, 155, 86, 0.14);
  color: var(--primary-color);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  width: fit-content;
}

.card p {
  color: var(--muted-text);
}

.dg-message {
  background: rgba(47, 155, 86, 0.06);
  padding-top: 50px;
  padding-bottom: 50px;
}

.dg-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.dg-text p {
  margin-bottom: 14px;
}

.dg-signature {
  font-weight: 600;
  color: var(--text-color);
}

.dg-signature span {
  font-weight: 400;
  color: var(--muted-text);
}

.dg-photo figure {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 18px;
  text-align: center;
}

.dg-photo img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
}

.dg-photo figcaption {
  margin-top: 10px;
  font-weight: 600;
  color: var(--secondary-color);
}

.badge-soft {
  background: rgba(47, 123, 218, 0.1);
  color: var(--accent-color);
}

.about-overview {
  background: #fff;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.mission-card {
  background: rgba(47, 155, 86, 0.08);
  border: 1px solid rgba(47, 155, 86, 0.2);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 16px;
}

.values {
  background: rgba(47, 123, 218, 0.04);
}

.value-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.value-card h3 {
  margin-bottom: 8px;
}

.offerings .offer-list {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}

.offer-item {
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--secondary-color);
}

.reasons {
  background: rgba(240, 138, 36, 0.05);
}

.reasons-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.benefits {
  list-style: none;
  display: grid;
  gap: 6px;
  color: var(--text-color);
}

.benefits li::before {
  content: "•";
  color: var(--secondary-color);
  margin-right: 8px;
}

.card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.btn-ghost {
  background: transparent;
  color: var(--secondary-color);
  border: 1px solid rgba(47, 155, 86, 0.4);
}

.btn-ghost:hover {
  background: rgba(47, 155, 86, 0.08);
}

.icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(47, 123, 218, 0.1);
  color: var(--accent-color);
  display: grid;
  place-items: center;
  font-size: 1.8rem;
}

.livestock-divider {
  text-align: center;
  color: var(--muted-text);
  font-size: 1.6rem;
  letter-spacing: 0.2em;
}

.fresh-intro {
  background: rgba(47, 155, 86, 0.08);
  border: 1px solid rgba(47, 155, 86, 0.2);
  border-radius: 18px;
  padding: 24px;
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.price-pill {
  width: fit-content;
  padding: 8px 18px;
  border-radius: 999px;
  background: #fff;
  border: 2px dashed rgba(240, 138, 36, 0.6);
  font-weight: 700;
  color: var(--primary-color);
}

.fresh-cta {
  margin-top: 20px;
}

.advantages {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.adv-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  display: grid;
  gap: 8px;
  align-items: center;
  grid-template-columns: 48px 1fr;
}

.adv-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(47, 155, 86, 0.12);
  color: var(--secondary-color);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  font-weight: 700;
}

.about {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.about-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

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

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

.timeline {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.timeline-item {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: center;
}

.timeline-year {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.team-card .btn-ghost {
  margin-top: 10px;
  justify-content: center;
}

.cta-panel {
  background: linear-gradient(120deg, rgba(47, 155, 86, 0.15), rgba(240, 138, 36, 0.15));
  padding: 60px 20px;
}

.cta-content {
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow);
  text-align: center;
}

.tips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.tip {
  background: rgba(47, 123, 218, 0.06);
  border: 1px solid rgba(47, 123, 218, 0.2);
  padding: 16px;
  border-radius: var(--radius);
  color: var(--text-color);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  align-items: start;
}

form {
  background: #fff;
  padding: 22px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

label {
  font-weight: 600;
  font-size: 0.95rem;
}

input, select, textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #d4dce4;
  font-size: 1rem;
  transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(47, 155, 86, 0.15);
}

textarea { min-height: 110px; resize: vertical; }

footer {
  background: #101820;
  color: #e8edf2;
  padding: 40px 20px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.footer-inner a {
  color: #e8edf2;
}

.socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.socials a {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  transition: var(--transition);
}

.socials a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  margin-top: 20px;
  text-align: center;
  color: #9aa5b1;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  nav ul {
    position: absolute;
    top: 70px;
    right: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    padding: 16px;
    border-radius: 14px;
    flex-direction: column;
    align-items: flex-start;
    width: min(240px, 80vw);
    display: none;
    gap: 12px;
    justify-content: flex-start;
  }

  nav li {
    width: 100%;
    flex: unset;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .dg-wrapper {
    grid-template-columns: 1fr;
  }

  nav ul.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: 16px 14px;
  }
  .hero {
    padding: 70px 16px 80px;
  }
  main section {
    padding: 60px 16px;
  }
  .section-header {
    text-align: left;
  }
}
