@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap");
:root {
  --primaryText: #242526;
  --bodyTextColor: #4a4a68;
  --primaryButton: #31640c;
  --SecondaryButton: #0b0bda;

  --titleHeader: 6.2rem;
  --SecondtitleHeader: 35px;
  --bodyText: 16px;
  --Primaryfont: "Montserrat", sans-serif;
  --fontBold: 900;
  --fontLight: 300;
  --generalMargin: 2rem 7rem;
  --shadow: 0px 0px 25px 0px #f4e7db;
  --headerlineheight: 1.4;
  --plineheight: 36px;
}
html {
  scroll-behavior: smooth;
}
body {
  overflow-x: hidden;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--Primaryfont);
}

nav {
  position: absolute;
  z-index: 99;
  width: 100%;

  background: #f3f3f3;
}
nav .wrapper {
  position: relative;
  max-width: 1300px;
  padding: 0px 30px;
  height: 70px;
  line-height: 70px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wrapper .logo a {
  color: var(--bodyTextColor);
  font-size: var(--bodyText);
  font-weight: 600;
  text-decoration: none;
  align-self: center;
}
.wrapper .logo {
  align-self: center;
  align-items: center;
}
.wrapper .logo img {
  padding-top: 30px;
  width: 4rem;
  height: 5rem;
  object-fit: contain;
}
.wrapper .nav-links {
  display: inline-flex;
}
.nav-links li {
  list-style: none;
}
.nav-links li a {
  color: var(--primaryText);
  text-decoration: none;
  font-size: var(--bodyText);
  font-weight: 500;
  padding: 9px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.nav-links li a:hover {
  background: var(--primaryButton);
  color: #f2f2f2;
}
.nav-links .mobile-item {
  display: none;
}

.nav-links li:hover .drop-menu,
.nav-links li:hover .mega-box {
  transition: all 0.3s ease;
  top: 70px;
  opacity: 1;
  visibility: visible;
}
.drop-menu li a {
  width: 100%;
  display: block;
  padding: 0 0 0 15px;
  font-weight: 400;
  border-radius: 0px;
}

.wrapper .btn {
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: none;
}
.wrapper .btn.close-btn {
  position: absolute;
  right: 30px;
  top: 10px;
}
nav input {
  display: none;
}

.containerr-bj {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 2rem;
  background-color: #fafafa;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.background {
  position: relative;
}

.background .containerr {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.background .containerr h1 {
  color: #fff;
  font-size: 5em;
  line-height: 105%;
  margin-bottom: 0;
  text-align: center;
}

.background .containerr h2 {
  color: #fff;
  font-size: 3em;
  line-height: 105%;
  margin-bottom: 0;
  text-align: center;
}

.background .containerr p {
  margin-top: 0;
  color: #fff;
  text-align: center;
}

.jumbotron {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3)),
    url("farmingL.jpg");
  height: 600px;
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  margin-top: 0;
}
.section2 {
  background-color: #f3f3f3;
  padding: 1rem;
  display: flex;
  justify-content: center;
  height: 100vh;
  gap: 40px;
}
.section2 .para {
  max-width: 460px;
  margin-right: 5rem;
  align-self: center;
  align-items: center;
}
.section2 .baner {
  text-align: left;
  max-width: 460px;
  padding: 1rem;
  align-items: center;
  align-self: center;
  margin-left: 5rem;
}
.section2 h1 {
  font-family: var(--Primaryfont);
  font-size: 2rem;
  font-weight: 400;
  color: var(--bodyTextColor);
  line-height: var(--headerlineheight);
}
.section2 p {
  font-family: var(--Primaryfont);
  font-size: 1rem;
  font-weight: 300;
  color: var(--bodyTextColor);
  padding-top: 1.5rem;
  line-height: var(--plineheight);
}
.wrapper {
  margin: auto;
}
.col ul li {
  color: var(--bodyTextColor);
  font-size: 16px;
  font-family: inherit;
  font-weight: bold;
  padding: 5px 0px 5px 0px;
  cursor: pointer;
  transition: 0.2s;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  list-style: none;
  align-self: center;
  align-items: center;
  display: flex;
  gap: 20px;
}

.square {
  position: absolute;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(181%, 11%);
  opacity: 0.2;
}
.social-containerr {
  text-align: center;

  align-self: center;
}
.social-txt {
  width: 100%;
  align-self: center;
}

.social img {
  width: 40px;
  height: 40px;
}
.social-links {
  margin-top: 1rem;
}
.social ul li {
  display: inline-block;
  padding-right: 5px !important;
}
.social ul li a {
  text-decoration: none;
  width: 32px;
  height: 32px;
}
.social i {
  text-decoration: none;
  width: 32px;
  height: 32px;
}
.col h1 {
  font-weight: 500;
}
.col img {
  width: 40px;
  height: 40px;
  align-self: center;
}
.col li {
  font-size: 16px;
}

@media (max-width: 850px) {
  .form {
    grid-template-columns: 1fr;
    margin-top: 5rem;
  }

  .contact-info:before {
    bottom: initial;
    top: -75px;
    right: 65px;
    transform: scale(0.95);
  }

  .contact-form:before {
    top: -13px;
    left: initial;
    right: 70px;
  }

  .square {
    transform: translate(140%, 43%);
    height: 350px;
  }

  .big-circle {
    bottom: 75%;
    transform: scale(0.9) translate(-40%, 30%);
    right: 50%;
  }

  .text {
    margin: 1rem 0 1.5rem 0;
  }

  .social-media {
    padding: 1.5rem 0 0 0;
  }
}

@media (max-width: 480px) {
  .containerr {
    padding: 1.5rem;
  }

  .contact-info:before {
    display: none;
  }

  .square,
  .big-circle {
    display: none;
  }

  form,
  .contact-info {
    padding: 1.7rem 1.6rem;
  }

  .text,
  .information,
  .social-media p {
    font-size: 0.8rem;
  }

  .title {
    font-size: 1.15rem;
  }

  .social-icons a {
    width: 30px;
    height: 30px;
    line-height: 30px;
  }

  .icon {
    width: 23px;
  }

  .input {
    padding: 0.45rem 1.2rem;
  }

  .btn {
    padding: 0.45rem 1.2rem;
  }
}

/*media query for nav*/
@media screen and (max-width: 970px) {
  .wrapper .btn {
    display: block;
    color: var(--primaryButton);
  }
  .wrapper .nav-links {
    position: fixed;
    height: 100vh;
    width: 100%;
    max-width: 350px;
    top: 0;
    left: -100%;
    background: #242526;
    color: #f8b06e;
    display: block;
    padding: 50px 10px;
    line-height: 50px;
    overflow-y: auto;
    box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.18);
    transition: all 0.3s ease;
  }
  /* custom scroll bar */
  ::-webkit-scrollbar {
    width: 10px;
  }
  ::-webkit-scrollbar-track {
    background: #242526;
  }
  ::-webkit-scrollbar-thumb {
    background: #3a3b3c;
  }
  #menu-btn:checked ~ .nav-links {
    left: 0%;
  }
  #menu-btn:checked ~ .btn.menu-btn {
    display: none;
  }
  #close-btn:checked ~ .btn.menu-btn {
    display: block;
  }
  .nav-links li {
    margin: 15px 10px;
  }
  .nav-links li a {
    padding: 0 20px;
    display: block;
    font-size: 20px;
    color: #f8b06e !important;
  }
  .nav-links .drop-menu {
    position: static;
    opacity: 1;
    top: 65px;
    visibility: visible;
    padding-left: 20px;
    width: 100%;
    max-height: 0px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
  }
  #showDrop:checked ~ .drop-menu,
  #showMega:checked ~ .mega-box {
    max-height: 100%;
  }
  .nav-links .desktop-item {
    display: none;
  }
  .nav-links .mobile-item {
    display: block;
    color: #f8b06e;
    font-size: 20px;
    font-weight: 500;
    padding-left: 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
  }
  .nav-links .mobile-item:hover {
    background: #3a3b3c;
  }
  .drop-menu li {
    margin: 0;
  }
  .drop-menu li a {
    border-radius: 5px;
    font-size: 18px;
  }
  .mega-box {
    position: static;
    top: 65px;
    opacity: 1;
    visibility: visible;
    padding: 0 20px;
    max-height: 0px;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  .mega-box .content {
    box-shadow: none;
    flex-direction: column;
    padding: 20px 20px 0 20px;
  }
  .mega-box .content .row {
    width: 100%;
    margin-bottom: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .mega-box .content .row:nth-child(1),
  .mega-box .content .row:nth-child(2) {
    border-top: 0px;
  }
  .content .row .mega-links {
    border-left: 0px;
    padding-left: 15px;
  }
  .row .mega-links li {
    margin: 0;
  }
  .content .row header {
    font-size: 19px;
  }
  .social .rating .first ul {
    display: inline-table;

    margin: 2rem;
  }
  .social .rating .first li {
    margin: 1rem;
  }
  .section2 {
    display: block;
    height: auto;
  }
  .section2 .baner {
    text-align: left;
    /* max-width: 100vw; */
    padding: 1rem;
    align-items: center;
    align-self: center;
    margin-left: 0rem;
  }
  .section2 .para {
    margin-right: 0rem;
  }
}

nav input {
  display: none;
}

.container {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding: 50px 0px 50px 0px;
}

ul {
  list-style: none;
  padding: 0;
}

.title {
  margin-bottom: 30px;
  font-family: var(--Primaryfont);
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  text-align: center;
}

.wrapper {
  border-radius: 5px;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
  padding: 27.5px;
}

#contactForm {
  display: grid;
  grid-gap: 20px;
  grid-template-areas:
    "name"
    "email"
    "company"
    "phone"
    "message";
}

.required-field {
  grid-column: 1 / 2;
}

.submit-button {
  grid-column: 2 / 3;
}

.name-field {
  grid-area: name;
  grid-column: 1 / 3;
}

.email-field {
  grid-area: email;
  grid-column: 1 / 3;
}

.company-field {
  grid-area: company;
  grid-column: 1 / 3;
}

.phone-field {
  grid-area: phone;
  grid-column: 1 / 3;
}

.message-field {
  grid-area: message;
  grid-column: 1 / 3;
}

/* FORM STYLES */

.contact-us {
  margin: 0 0 30px;
  font-family: var(--Primaryfont);
  font-weight: 600;
  font-size: 18px;
  color: var(--primaryButton);
}

.contact form {
  border: 0;
}

.contact form label {
  display: block;
}

.contact form p {
  margin: 0;
  font-family: var(--Primaryfont);
  font-weight: 600;
  font-size: 16px;
  color: rgba(74, 86, 96, 1);
}

.contact form input,
.contact form textarea {
  font-family: var(--Primaryfont);
  font-weight: 600;
  font-size: 16px;
  width: 100%;
  padding: 0.4em 0.8em;
  background: rgba(249, 250, 250, 0.5);
  border: 1px solid rgba(74, 86, 96, 0.1);
  border-radius: 2.5px;
  outline-color: var(--primaryButton);
}

.contact form button {
  font-family: var(--Primaryfont);
  font-weight: 600;
  font-size: 12px;
  color: #fff;
  background: var(--primaryButton);
  width: 90px;
  height: 30px;
  border: 0;
  border-radius: 15px;
}

.submit-button {
  align-self: center;
  justify-self: end;
}

.contact form button:hover,
.contact form button:focus {
  background: var(--primaryButton);
  color: #fff;
  outline: 0;
  transition: background-color 0.3s ease-out;
}

.required-field {
  font-family: var(--Primaryfont);
  font-weight: 200;
  font-size: 10px;
  color: rgba(74, 86, 96, 0.75);
  align-self: center;
  justify-self: start;
}

span {
  color: var(--primaryButton);
}

.alert {
  margin-bottom: 1em;
  padding: 10px;
  background: var(--primaryButton);
  font-family: var(--Primaryfont);
  font-size: 14px;
  text-align: center;
  color: #fff;
  border-radius: 2.5px;
  display: none;
}

/* LARGE SCREENS */

@media (min-width: 500px) {
  #contactForm {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "name company"
      "email phone"
      "message message";
  }

  .name-field {
    grid-area: name;
    grid-column: 1 / 2;
  }

  .email-field {
    grid-area: email;
    grid-column: 1 / 2;
  }

  .company-field {
    grid-area: company;
    grid-column: 2 / 3;
  }

  .phone-field {
    grid-area: phone;
    grid-column: 2 / 3;
  }

  .message-field {
    grid-area: message;
    grid-column: 1 / 3;
  }
}
