/* RESET */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* VARIABLES */

:root {
  --navy: #0b2d5c;
  --green: #5f9b35;
  --light: #f4f7fa;
  --dark: #1e1e1e;
  --white: #ffffff;
}

/* GLOBAL */

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;

  padding-top: 95px;
}

/* NAVBAR */

.navbar {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 22px 8%;

  background: #0b2d5c;

  z-index: 9999;

  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* LOGO */

.logo a {
  color: white;
  text-decoration: none;

  font-size: 2rem;
  font-weight: 800;

  font-family: 'Montserrat', sans-serif;
}

.logo span {
  color: #9be15d;
}

/* NAV LINKS */

.navbar nav {
  display: flex;
  align-items: center;
  gap: 35px;
}

.navbar nav a {
  color: white;
  text-decoration: none;

  font-weight: 600;
  font-size: 1rem;

  position: relative;

  transition: 0.3s;
}

.navbar nav a:hover {
  color: #9be15d;
}

.navbar nav a::after {
  content: '';

  position: absolute;
  left: 0;
  bottom: -6px;

  width: 0%;
  height: 2px;

  background: #9be15d;

  transition: 0.3s;
}

.navbar nav a:hover::after {
  width: 100%;
}

/* HERO */

.hero {
  min-height: 100vh;

  background:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url('images/hero-farm.jpg');

  background-size: cover;
  background-position: center;

  display: flex;
  align-items: center;

  position: relative;
}

.hero-content {
  width: 100%;
  max-width: 800px;

  padding: 0 8%;

  position: relative;
  z-index: 2;
}

.hero-subtitle {
  color: #9be15d;
  font-weight: 700;
  letter-spacing: 2px;

  margin-bottom: 20px;
}

.hero h1 {
  font-size: 5rem;
  line-height: 1.05;

  color: white;

  font-family: 'Montserrat', sans-serif;

  margin-bottom: 25px;
}

.hero-text {
  color: white;

  font-size: 1.2rem;

  max-width: 650px;

  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* BUTTONS */

.btn-primary,
.btn-secondary {
  padding: 16px 32px;

  border-radius: 8px;

  text-decoration: none;

  font-weight: 700;

  transition: 0.3s;
}

.btn-primary {
  background: var(--green);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-4px);
}

.btn-secondary {
  border: 2px solid white;
  color: white;
}

.btn-secondary:hover {
  background: white;
  color: var(--navy);
}

/* FEATURES BAR */

.features-bar {
  background: var(--navy);

  display: grid;
  grid-template-columns: repeat(4, 1fr);

  text-align: center;
}

.feature-item {
  color: white;

  padding: 25px;

  font-weight: 600;

  border-right: 1px solid rgba(255,255,255,0.15);
}

/* SECTIONS */

section {
  padding: 100px 8%;
}

.section-header {
  text-align: center;

  margin-bottom: 60px;
}

.section-subtitle {
  color: var(--green);

  font-weight: 700;
  letter-spacing: 2px;

  margin-bottom: 15px;
}

.section-header h2 {
  font-size: 3rem;

  color: var(--navy);

  font-family: 'Montserrat', sans-serif;
}

/* SERVICES */

.services-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

  gap: 30px;
}

.service-card {
  background: white;

  border-radius: 18px;

  overflow: hidden;

  box-shadow: 0 10px 30px rgba(0,0,0,0.08);

  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card img {
  width: 100%;
  height: 240px;

  object-fit: cover;
}

.service-content {
  padding: 25px;
}

.service-content h3 {
  color: var(--navy);

  font-size: 1.6rem;

  margin-bottom: 15px;

  font-family: 'Montserrat', sans-serif;
}

/* ABOUT */

.about {
  display: grid;

  grid-template-columns: 1.2fr 1fr;

  gap: 60px;

  background: var(--light);
}

.about-left h2 {
  font-size: 3rem;

  color: var(--navy);

  margin-bottom: 25px;

  font-family: 'Montserrat', sans-serif;
}

.about-left p {
  margin-bottom: 25px;
}

.about-list {
  padding-left: 20px;
}

.about-list li {
  margin-bottom: 14px;
  font-weight: 500;
}

.about-right {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 25px;
}

.stat-card {
  background: white;

  padding: 40px 25px;

  border-radius: 18px;

  text-align: center;

  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.stat-card h3 {
  color: var(--green);

  font-size: 2.2rem;

  margin-bottom: 10px;

  font-family: 'Montserrat', sans-serif;
}

/* GALLERY */

.gallery-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 20px;
}

.gallery-grid img {
  width: 100%;

  height: 350px;

  object-fit: cover;

  border-radius: 16px;

  transition: 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* CTA */

.cta {
  background:
    linear-gradient(rgba(11,45,92,0.92), rgba(11,45,92,0.92)),
    url('images/cta-bg.jpg');

  background-size: cover;
  background-position: center;
}

.cta-box {
  text-align: center;
  color: white;
}

.cta-box h2 {
  font-size: 3.5rem;

  margin-bottom: 20px;

  font-family: 'Montserrat', sans-serif;
}

.cta-text {
  max-width: 700px;

  margin: auto;
  margin-bottom: 40px;

  font-size: 1.1rem;
}

/* CONTACT GRID */

.contact-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

  gap: 20px;
}

.contact-grid a {
  background: white;
  color: var(--navy);

  text-decoration: none;

  padding: 20px;

  border-radius: 12px;

  font-weight: 700;

  transition: 0.3s;
}

.contact-grid a:hover {
  transform: translateY(-5px);

  background: #9be15d;
}

/* CONTACT FORM */

.contact-form {
  max-width: 700px;

  margin: auto;
  margin-bottom: 50px;

  display: flex;
  flex-direction: column;

  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 18px;

  border: none;
  border-radius: 10px;

  font-size: 1rem;

  font-family: inherit;
}

.contact-form textarea {
  min-height: 180px;

  resize: vertical;
}

.contact-form button {
  border: none;
  cursor: pointer;
}

/* FOOTER */

footer {
  background: #061d3d;
  color: white;

  text-align: center;

  padding: 40px 20px;
}

footer h3 {
  font-size: 1.5rem;

  margin-bottom: 10px;

  font-family: 'Montserrat', sans-serif;
}

/* MOBILE */

@media (max-width: 992px) {

  .hero h1 {
    font-size: 3.5rem;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  body {
    padding-top: 140px;
  }

  .navbar {
    flex-direction: column;
    gap: 20px;
  }

  .navbar nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .section-header h2,
  .about-left h2,
  .cta-box h2 {
    font-size: 2.2rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .features-bar {
    grid-template-columns: 1fr;
  }
}