/* ===== RESET ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== VARIABLES ===== */
:root {
  --primary: #1d7a47;
  --secondary: #25a560;
  --dark: #0f4c29;
  --light-bg: #f0fff8;
  --border: #e5e7eb;
  --radius: 12px;
  --transition: 0.3s ease;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  width: 100%;
  background: var(--dark);
  z-index: 9999;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo-img {
  height: 40px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: url('../img/hero-bg.webp') center/cover no-repeat;
  padding: 100px 20px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(6,78,59,0.85),
    rgba(6,78,59,0.5)
  );
}

.hero > * {
  position: relative;
  z-index: 2;
}

/* ===== BUTTON ===== */
.btn {
  padding: 12px 24px;
  border-radius: 50px;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  background: var(--dark);
}

/* ===== FORM ===== */
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
}

/* ===== GRID SYSTEM ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap:20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap:20px; }

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 25px;
}

.service-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

/* ===== SAFETY ===== */
.safety-section {
  background: #EEF7F2;
  padding: 80px 20px;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

/* ===== CONTACT ===== */
.contact-page {
  padding: 120px 0;
  background: var(--light-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
}

/* ===== FOOTER ===== */
.footer {
  background: #0a2e19;
  color: #fff;
  padding: 60px 0;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

  .grid-2,
  .grid-3,
  .services-grid,
  .safety-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 120px 20px 60px;
  }

  .nav-links {
    display: none;
  }
}