/* Base */

:root {
  --color-bg: #f5f7f2;
  --color-surface: #ffffff;
  --color-soft: #eef1e7;
  --color-primary: #556b2f; /* olive green */
  --color-primary-dark: #3e4f22;
  --color-accent: #a4c639;
  --color-text: #1f2933;
  --color-muted: #6b7280;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  scroll-behavior: smooth;
}

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

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navbar */

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(245, 247, 242, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(85, 107, 47, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.logo {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-primary-dark);
}

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

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  font-size: 0.98rem;
}

.nav-links a {
  position: relative;
  color: var(--color-muted);
  font-weight: 500;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--color-accent),
    var(--color-primary-dark)
  );
  transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary-dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Mobile nav */

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background-color: var(--color-primary-dark);
  border-radius: 999px;
}

/* Hero */

.hero {
  background: radial-gradient(circle at top left, #a4c63933, transparent 55%),
    radial-gradient(circle at bottom right, #556b2f33, transparent 55%),
    linear-gradient(135deg, #eef1e7 0%, #f5f7f2 50%, #e8ecde 100%);
  padding: 3.5rem 0 4.5rem 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3.2fr) minmax(0, 2.3fr);
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: clamp(2.3rem, 3vw, 2.9rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: var(--color-primary-dark);
}

hero-content p {
  font-size: 1.02rem;
  max-width: 34rem;
  color: var(--color-muted);
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--color-accent),
    var(--color-primary-dark)
  );
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--color-primary-dark);
  border-color: rgba(85, 107, 47, 0.3);
}

.btn-outline:hover {
  background-color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.btn-full {
  width: 100%;
}

/* Hero visual */

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.hero-badge {
  background-color: rgba(85, 107, 47, 0.1);
  color: var(--color-primary-dark);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-card {
  background-color: var(--color-surface);
  border-radius: 20px;
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-soft);
  max-width: 260px;
}

.hero-card h3 {
  margin: 0 0 0.6rem 0;
  font-size: 1.02rem;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  margin-right: 0.4rem;
}

.dot-good {
  background-color: var(--color-accent);
}

.dot-medium {
  background-color: #eab308;
}

/* Sections */

.section {
  padding: 3.5rem 0;
}

.section-soft {
  background-color: var(--color-soft);
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 1.9rem;
  margin: 0 0 0.6rem 0;
  color: var(--color-primary-dark);
}

.section-header p {
  margin: 0;
  max-width: 34rem;
  margin-inline: auto;
  color: var(--color-muted);
}

/* Cards & grids */

.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-soft);
}

.grid {
  display: grid;
  gap: 1.4rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card h3 {
  margin-top: 0.9rem;
  margin-bottom: 0.6rem;
}

.service-card p,
.why-card p {
  color: var(--color-muted);
  font-size: 0.96rem;
}

.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(164, 198, 57, 0.12),
    rgba(85, 107, 47, 0.08)
  );
}

.icon-circle span {
  font-size: 1.1rem;
}

.icon-circle.subtle {
  background: rgba(164, 198, 57, 0.09);
}

.industry-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-block: 1.1rem;
}

/* About */

.narrow {
  max-width: 720px;
}

.lead {
  font-size: 1.02rem;
  color: var(--color-muted);
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-card {
  padding: 1.75rem 1.9rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-group label span {
  color: #b91c1c;
}

input,
textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font: inherit;
  background-color: #f9fafb;
  transition: border-color 0.16s ease, box-shadow 0.16s ease,
    background-color 0.16s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(85, 107, 47, 0.85);
  box-shadow: 0 0 0 1px rgba(164, 198, 57, 0.5);
  background-color: #ffffff;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1.5rem;
  font-size: 0.9rem;
}

.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.checkbox-grid input {
  width: auto;
}

.error-msg {
  display: block;
  color: #b91c1c;
  font-size: 0.78rem;
  margin-top: 0.2rem;
  min-height: 0.85rem;
}

.form-success {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: #166534;
}

/* Contact side */

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-card h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.info-list li {
  display: flex;
  gap: 0.65rem;
}

.info-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background-color: rgba(164, 198, 57, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.info-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  margin-bottom: 0.1rem;
}

.highlight-card {
  background: linear-gradient(
    135deg,
    var(--color-primary-dark),
    var(--color-accent)
  );
  color: #ffffff;
}

.highlight-card h3 {
  margin-top: 0;
}

/* Footer */

.footer {
  border-top: 1px solid rgba(85, 107, 47, 0.12);
  background-color: #f3f4ec;
  padding: 1.2rem 0;
}

.footer-inner {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* Responsive */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    align-items: flex-start;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background-color: rgba(245, 247, 242, 0.98);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
  }

  nav.open {
    max-height: 260px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }

  .nav-links {
    flex-direction: column;
    padding: 0.75rem 1.5rem 1rem;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .section {
    padding: 2.8rem 0;
  }

  .hero-content h1 {
    font-size: 2.1rem;
  }

  .hero-card {
    max-width: 100%;
  }
}
