p {
  text-align: justify;
}

.sub-heading {
  font-size: 4vh;
  color: white;
  background: var(--color-navy);
  border-radius: 40px;
  width: fit-content;
  padding-left: 40px;
  padding-right: 40px;
  margin: auto;
  margin-top: 10px;
}

.agricultural-articles {
  padding: 0px;
}

.articles .photo {
  background-repeat: no-repeat; 
  background-position: right top; 
  background-size: cover; 
  min-height: 600px;
}

.articles h1 {
  color: var(--color-blue);
  font-weight: bold;
}

.articles h2 {
  color: var(--color-navy) !important;
}

.articles .content {
  padding: 50px;
  padding-top: 50px;
}

.articles .content {
  padding: 50px;
  padding-top: 50px;
  text-align: left;
}

.articles .content p {
  text-align: justify !important;
}

.service-offering {
  display: flex;
  justify-content: center;
  cursor: default;
}

.service-offering .service-container {
  padding: 30px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.service-offering .content:hover > h4 {
  background-color: var(--color-blue);
}

.service-offering .content:hover > img {
  opacity: 1 !important;
}

.service-offering .content:hover > p {
  color: #333;
}

.service-offering .content:hover {
  /* border: 1px solid var(--color-navy); */
  box-shadow: var(--bs-box-shadow);
}

.service-offering .content h4 {
  line-height: 1.8rem;
  height: 70px;
  background-color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color:#fff;
  padding: 10px;
  text-shadow: -1px 1px 2px rgba(2, 6, 4, 0.3);
  transition: all .2s;
}

.service-offering .content {
  border-radius: 10px;
  border: 1px solid #ccc;
  height: 100%;
  transition: all .3s;
}

.service-offering .content img {
  width: 80px;
  margin-bottom: 40px;
  margin-top: 40px;
  opacity: 0.5;
}

.service-offering .content p {
  padding: 10px;
  padding-top: 15px;
  padding-left: 20px;
  padding-right: 20px;
  text-align: center;
}

.col-20 {
  width: calc(100% / 5);
}

@media screen and (min-width: 690px) and (max-width: 820px) {
  .header-container, .our-clients-support, .testimonials {
    background-attachment: scroll !important;
  }

  .our-clients-support, .testimonials {
    background-position: top !important;
  }

  .service-offering .service-container {
    padding: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .col-20 {
    width: calc(100% / 2);
    margin-bottom: 20px;
  }
}

@media screen and (min-width: 882px) and (max-width: 912px) {
  .col-20 {
    width: calc(100% / 3);
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .sub-heading {
    font-size: 3vh;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .service-offering .service-container {
    padding: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .col-20 {
    width: 100%;
    margin-bottom: 20px;
  }
}

.header-text h1 {
    font-size: 4vw;
    color:#4EB7F5;
    font-weight: bold;
    line-height: 1em;
    margin-bottom: 1vw;
  }

  .header-text h2 {
    font-size: 1.3vw;
    color: #ffffff;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  .header-container {
    display: flex; 
    min-height: 100vh; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    background-repeat: no-repeat; 
    background-position: left; 
    background-size: cover;
    background-attachment: fixed;
    /* background-image:url(/images/slide-05.jpg); */
    /* background-image:url(/images/slide-01.webp); */
  }

  .article-title-text, .article-title-text-small {
    color:#d2c4ad; font-size: 4vw; line-height: 3.5vw;
  }

  @media screen and (max-width: 480px) {
     .article-title-text {
        color:#d2c4ad; font-size: 18vw !important; line-height: 18vw !important;
    }

    .article-title-text-small {
        color:#d2c4ad; font-size: 13vw !important; line-height: 13vw !important;
    }
    
    .header-container {
        background-position: left !important;
        background:linear-gradient( rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5)), url(/images/slide-01.webp) !important;
    }
    
    .header-text h1 {
      font-size: 9vw !important;
    }

    .header-text h2 {
      margin-top: 20px !important;
      width: 100% !important;
      font-size: 4.5vw !important;
      padding-left: 10px !important;
      padding-right: 10px !important;
    }

    .header-container .header-column {
      padding:10px !important;
    }
  }

  @media screen and (min-width: 690px) and (max-width: 690px) {
    .header-container {
        background-position: left !important;
    }

    .header-container h1 {
      font-size: 3rem !important;
    }

    .header-container .header-column {
      padding:10px !important;
    }

    .header-container .header-column h2 {
      font-size: 1.2rem !important;
      padding:0px !important;
    }
  }

  @media screen and (min-width: 768px) and (max-width: 1024px) {
    .header-text h1 {
      font-size: 8vw !important;
    }

    .header-text h2 {
      margin-top: 20px;
      width: 100% !important;
      font-size: 3vw !important;
    }
  }

  @media (min-width: 900px) {
    .problem-grid {
        grid-template-columns: 1.6fr 1fr;
    }
}

@media (max-width: 450px) {
    p {
      text-align: start;
    }

    .hero-content {
      max-width: unset !important;
      padding-right: 20px;
    }
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}

.tag-rail {
    border-left: 2px solid var(--color-green);
    padding-left: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.eyebrow {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-green);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-left: 4px solid var(--color-green);
    padding-left: 8px;
}

.tag-rail .tag-item {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-dim);
    font-weight: 600;
}

.tag-rail .tag-item span {
    display: block;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    font-size: 14.5px;
    margin-top: 3px;
    color: var(--text);
}

.tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
    margin-top: 44px;
}

.tile {
    background: #ececf0;
    border-radius: 10px;
    padding: 28px 24px;
    text-align: center !important;
    border-top: 3px solid var(--color-blue);
}

.tile .icon {
    width: 40px;
    height: 40px;
    color: var(--color-green);
    margin-bottom: 18px;
}

.tile p, .closing-copy p {
  text-align: center !important;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 44px;
}

.industry-card {
    background: #fff;
    border: 1px solid #ccc;
    border-top: 3px solid var(--color-green);
    padding: 30px 26px;
    text-align: left;
    border-radius: 10px;
}

.industry-card .icon {
    width: 34px;
    height: 34px;
    color: var(--color-navy);
    margin-bottom: 16px;
}

.industry-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.industry-card p {
    color: var(--text-dim);
    margin: 0;
    text-align: start !important;
}

.closing-copy {
  margin-left: auto;
  margin-right: auto;
    margin-top: 48px;
    text-align: center;
    max-width: 800px;
}

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #0f172a;
}

.parallax-farm,
.parallax-boardroom {
  position: absolute;
  inset: -5%;
  will-change: transform;
}

.parallax-farm {
  background-image: url('/images/slide-01.jpg');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.parallax-boardroom {
  background-size: cover;
  background-position: center bottom;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;

  background:
    linear-gradient(
      90deg,
      rgba(10,20,30,.85) 0%,
      rgba(10,20,30,.65) 35%,
      rgba(10,20,30,.20) 65%,
      rgba(10,20,30,0) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 4;

  max-width: 1050px;
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding-left: 8%;
  color: white;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.05;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255,255,255,.85);
  max-width: 650px;
}

.btn-primary {
  background: #6DB33F;
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,.3);
}

.hero-content {
  animation: heroReveal 1s ease-out;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}