/*
COLORS:
*/
:root {
    --white-colour: #fff;
    --grey-colour: #404040;
    --black-colour: #000;
    --light-red-colour: #EE3927;
    --red-colour: #FE0000;
    --overlay-colour: rgba(64, 64, 64, 0.75);
    --background-colour: #f2f2f2;
    --menu-speed: 0.75s;
    --box-width: 140rem;
    --btn-background-light: #fff;
    --btn-backround-dark: #FE0000;
    --btn-text-light: #fff;
    --btn-text-dark: #777,
  }

*,
*::after,
*::before {
margin: 0;
padding: 0;
box-sizing: border-box;

}

html {
    font-size: 62.5%;
    /* default browser font size 16px - Need to change above to % so users can
    increase or decrease default font size : 10/16 = 0.625*/
    box-sizing: inherit;
}

body {
font-family: "lato", sans-serif;
font-weight: 400;
/*font-size: 16px;*/
line-height: 1.2;
color: #777;
padding: 3rem;

box-sizing: border-box;
}

/*--Fonts--*/

h1 {
  font-size: 4.6rem;
}

h2 {
  font-size: 3.8rem;
}

h3 {
  font-size: 3.8rem;
}

h4 {
  font-size: 2rem;
  font-weight: 500;
}


p {
  font-size: 2rem;
  font-weight: 400;
}

.sml-text {
  font-size: 1.4rem;
}

.list-style {
  font-size: 1.8rem;
  font-weight: 300;
}

.top-bottom {
  padding: 3rem 0rem 3rem 0rem;
}

.top-bottom-sml {
  padding: 1.5rem 0rem 1.5rem 0rem;
}

.auto {
  text-align: center;
}

.white-text {
  color: var(--white-colour);
}

.grey-text {
  color: var(--grey-colour);
}

.pad-left {
  padding-left: 2.5rem;
}

.underline {
  padding: 0.5rem;
  border-bottom: solid var(--grey-colour) 0.1rem;
}

.small-pad {
  padding: 0.5rem;
}

.mrg-space {
  margin: 3rem 0rem;
}
    /*--Button Types--*/
  .btn-dark {
      background-color: var(--btn-backround-dark);
      color: var(--btn-text-light);
      width: 30rem;
      height: 7rem;
  }
  /*--Button Types--*/
      /* Button and Behaviour CSS______________________________________________________*/
.btn,
.btn:link,
.btn:visited {
    text-transform: uppercase;
    text-decoration: none;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .2s;
    font-size: 1.6rem;
}
.btn:hover {
    transform: translateY(-.3rem);
    box-shadow: 0 1rem 2rem var(--box-shadow-medium);
}
.btn:active {
    transform: translate(-.1rem);
    box-shadow: 0 .5rem 1rem var(--box-shadow-medium);
}
/* Button and Behaviour CSS______________________________________________________*/
/* Button Animation CSS______________________________________________________*/
@keyframes moveinbutton {
  0% {
      opacity: 0%;
      transform: translateY(3rem);
  }
  100%{
      opacity: 1;
      transform: translate(0);
  }
  }
  .btn-animated {
      animation: moveinbutton .5s ease-out .75s;
      animation-fill-mode: backwards;
  }
  /* Button Animation CSS______________________________________________________*/
/* Page CSS______________________________________________________*/

/*--Navigation--*/

.nav {
background-color: var(--white-colour);
height: 12rem;
display: flex;
justify-content: space-between;
align-items: start;
}
.agri-link {
  padding-top: 5rem;
  display: flex;
}
.agri-link_text {
  text-decoration: none;
  color: var(--black-colour);
}
.agri-link_text :hover {
  text-decoration: underline;
  color: var(--btn-backround-dark);
}
.agri-link__icon {
  padding-left: 1rem;
}
.nav_logo {
  width: 25rem;
  height: 10rem;
}

.hero {
  width: 100%;
  background-image:
  linear-gradient(
    to right,
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0.2)  
  ),
  url(../img/ocean-view.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 80vh;
}

.hero-box {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  min-height: 80vh;
}

.hero_text-box {
  max-width: 80rem;
}


/*--testimonial--*/

.clients {
  margin: 5rem 0rem 5rem 0rem;
  padding: 5rem 0rem;
  background-color: var(--background-colour);
}


/*--feature Image--*/

.img-break {
  width: 100%;
  height: 60rem;
  background-image:  
  url(../img/Factory-floor-with-machinery.jpeg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.img-break-footer {
  width: 100%;
  height: 60rem;
  background-image:
  url(../img/two-chairs.jpg);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

/*--Lifecycle--*/

.lifecycle {
  margin: 5rem 0rem 5rem 0rem;
  border-top: solid var(--grey-colour) 0.1rem;
  border-bottom: solid var(--grey-colour) 0.1rem;
  padding: 5rem 0rem;
}

.lifecycle-img {
  width: 100%;
}


/*--Services Section--*/

.services {
  padding-bottom: 5rem;
}

.services__wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.services-container {
   width: 55rem;
   padding: 2rem;
}

.services-text_adj {
  padding: 2rem;
  text-align: right;
  width: 40rem;
  font-size: 4rem;
}

/*--About--*/

.about {
  padding: 5rem;
  background-image: 
  linear-gradient(
    rgba(64, 64, 64, 0.75),
    rgba(64, 64, 64, 0.75)),  
  url(../img/Blurred\ business\ people.jpeg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.about_box {
  padding-right: 6rem;
  min-height: 80rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border-top: solid var(--white-colour) 0.1rem;
  border-bottom: solid var(--white-colour) 0.1rem;
}

.about_container {
display: flex;
flex-direction: column;
flex-wrap: wrap;
justify-content: center;
}

.about_text-container {
  max-width: 74rem;
}

/*--The Team--*/

.team {
  background-color: var(--background-colour);
}

/*--Footer--*/

.footer {
  padding: 5rem;
  min-height: 39rem;
  background-color: var(--grey-colour);
}

.footer_box {
  min-height: 30rem;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.footer_img {
  width: 17rem;
}

.email {
  color: var(--red-colour);
  font-size: 1.8rem;
}
.email:link {
  text-decoration: none;
  color: var(--red-colour);
  font-size: 1.8rem;
}
.footer_link {
  text-decoration: none;
  color: var(--white-colour);
  font-size: 1.4rem;
}

.footer_credit {
  background-color: var(--grey-colour);
  min-height: 7rem;
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  border-top: solid white 0.1rem;
}

.link {
  text-decoration: none;
  color: var(--white-colour);
}


/*--Web Term and Conditions--*/

.background {
  background-color: #f2f2f2;
}

.page-link_link {
  display: flex;
  flex: none;
  justify-content: right;
  align-items: center;
  text-decoration: none;
  padding: 3rem;
}

.page-link_link-text {
  text-decoration: none;
  color: var(--red-colour);
}

.red-arrow {
  margin: 0rem 3rem;
  height: 2rem;
}

.terms {
  background-color: var(--white-colour);
  margin: auto;
  max-width: 120rem;
  padding: 5rem;
  
}

/* Testimonial Slider CSS */

.testimonials{
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--background-colour);
}
.slide-container{
  max-width: 1400px;
  width: 100%;
  padding: 40px 0;
}
.slide-content{
  margin: 0 40px;
  overflow: hidden;
  border-radius: 25px;
}
.card{
  border-radius: 25px;
  background-color: var(--white-colour);
}
.image-content,
.card-content{
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 14px;
}
.image-content{
  position: relative;
  row-gap: 5px;
  padding: 25px 0;
}
.overlay{
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: var(--red-colour);
  border-radius: 25px 25px 0 25px;
}
.overlay::before,
.overlay::after{
  content: '';
  position: absolute;
  right: 0;
  bottom: -40px;
  height: 40px;
  width: 40px;
  background-color: var(--red-colour);
}
.overlay::after{
  border-radius: 0 25px 0 0;
  background-color: #FFF;
}
.card-image{
  position: relative;
  height: 75px;
  width: 75px;
  border-radius: 50%;
  background: #FFF;
  padding: 3px;
}
.card-image .card-img{
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--grey-colour);
}
.name{
  margin-top: 15px;
  font-size: 18px;
  font-weight: 500;
  color: #333;
  text-align: center;
  z-index: 100;
}
.description{
  padding: 7px 15px;
  font-size: 14px;
  color: #707070;
  text-align: left;
}
.button{
  border: none;
  font-size: 16px;
  color: #FFF;
  padding: 8px 16px;
  background-color: var(--red-colour);
  border-radius: 6px;
  margin: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.button:hover{
  background: var(--light-red-colour);
}

/*--Arrow Colour--*/
.swiper-navBtn{
  color: var(--red-colour);
  transition: color 0.3s ease;
}
.swiper-navBtn:hover{
  color: var(--grey-colour);
}
.swiper-navBtn::before,
.swiper-navBtn::after{
  font-size: 35px;
}
.swiper-button-next{
  right: 0;
}
.swiper-button-prev{
  left: 0;
}


/*--Dot Colours--*/

.swiper-pagination-bullet{
  background-color: var(--red-colour);
  opacity: 1;
}
.swiper-pagination-bullet-active{
  background-color: var(--light-red-colour);
}


/*--Team Slider--*/

.team-slider{
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #EFEFEF;}

  .sub-name{
    padding: 0rem 1rem 1rem 1rem;
    font-size: 16px;
    font-weight: 300;
    color: #333;
    text-align: center;
  }

.swiper-pagination1-bullet{
  background-color: var(--red-colour);
  opacity: 1;
}
.swiper-pagination1-bullet-active{
  background-color: var(--light-red-colour);
}

.card-content1{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 200px;
  padding: 10px 14px;
}

/* Popup CSS______________________________________________________*/
.trigger__wrapper{
  padding: 5rem;
  margin: auto;
  background-color: #fff;
  border: none;
}
.trigger {
  padding: 2rem 4rem;
  background-color: #000;
  border-radius: 3px;
  text-decoration: none;
  color: #fff;
}


.popup{
  height:100vh;
  width:100%;
  position:fixed;
  top:0;
  left:0;
  background-color:rgba(0,0,0,0.8);
  z-index:9999;
  opacity:0;
  visibility:hidden;
  -webkit-transition:all .3s;
  transition:all .3s}
  
  @supports (-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px)){
      .popup{-webkit-backdrop-filter:blur(10px);
          backdrop-filter:blur(10px);
          background-color:rgba(0,0,0,0.3)}
      }

  .popup__content{
      position:absolute;
      top:50%;
      left:50%;
      -webkit-transform:translate(-50%, -50%);
      transform:translate(-50%, -50%);
      width:50%;
      background-color:#fff;
      -webkit-box-shadow:0 2rem 4rem rgba(0,0,0,0.2);
      box-shadow:0 2rem 4rem rgba(0,0,0,0.2);
      border-radius:3px;
      display:table;
      overflow:hidden;
      opacity:0;
      -webkit-transform:translate(-50%, -50%) scale(0.25);
      transform:translate(-50%, -50%) scale(0.25);
      -webkit-transition:all .5s .2s;
      transition:all .5s .2s}
      
  .popup__wrapper{
      width: 100%;
      height: 60rem;
      background-image: 
      linear-gradient(105deg, rgba(255, 255, 255, 0.9) 50%,transparent 50%),
      url(../img/Blurred\ business\ people.jpeg);
      background-position: center center;
      background-size: cover;
      padding: 2rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
  }    
.popup__bio{
  width: 50%;
  padding: .7rem 2rem;
  color: rgb(50, 50, 50);
}
.popup__bio-para{
  width: 45%;
  font-size: 1.6rem;
  padding: 2rem 2rem;
  color: rgb(50, 50, 50);
}
  .popup__left{
      width:33.333333%;
      display:table-cell}
  
      .popup__right{
          width:66.6666667%;
          display:table-cell;
          vertical-align:middle;
          padding:3rem 5rem}
          
  .popup__img{
      display:block;
      width:100%}


  .popup__text{
          font-size:1.4rem;
          margin-bottom:4rem;
          -moz-column-count:2;
          -moz-column-gap:4rem;
          -moz-column-rule:1px solid #eee;
          -webkit-column-count:2;
          column-count:2;
          -webkit-column-gap:4rem;
          column-gap:4rem;
          -webkit-column-rule:1px solid #eee;
          column-rule:1px solid #eee;
          -ms-hyphens:auto;
          -webkit-hyphens:auto;
          hyphens:auto}
          
  .popup:target{
      opacity:1;
      visibility:visible
  }
  
  .popup:target .popup__content{
      opacity:1;
      -webkit-transform:translate(-50%, -50%) scale(1);
      transform:translate(-50%, -50%) scale(1)
  }
  
  .popup__close:link,.popup__close:visited {
      color: #777;
      position:absolute;
      top:2.5rem;
      right:2.5rem;
      font-size:3rem;
      text-decoration:none;
      display:inline-block;
      -webkit-transition:all .2s;
      transition:all .2s;
      line-height: 1;
      padding: 1.5rem 2rem;
      background-color: #fff;
      border-radius: 100px;
  }
      
  .popup__close:hover{
    color: var(--red-colour)}


/* Media Queries______________________________________________________*/

@media (max-width: 1600px) {
  .popup__content{
    width:75%;
}
}


@media (max-width: 1200px) {
  html {
    font-size: 58.5%;
}
}


@media (max-width: 900px) {
  html {
      font-size: 50%;
  }
body {
  padding: 0rem;
}
.lifecycle-img {
  padding: 0rem 1.5rem;
}

.team-slider {
  padding: 2rem;
}
}

@media (max-width: 700px) {
.popup__wrapper{
background-image: 
linear-gradient(105deg, rgba(255, 255, 255, 0.9) 100%,transparent 0%),
url(../img/Blurred\ business\ people.jpeg);
align-items: center;}
.popup__bio{
width: 100%;}
.popup__bio-para{
width: 95%;}   
}

@media (max-width: 670px) {
  .services_box-left {
    visibility: hidden;
    line-height: 0rem;
    width: 0rem;
    height: 0rem;
    padding: 0rem;
  }

  .services-text_adj {
    visibility: collapse;
    line-height: 0rem;
  }

  .services_box-right {
    margin-top: 0rem;
  }
  .top-bottom-sml {
    padding: 0rem;
  }
}


@media (max-width: 600px) {
  html {
      font-size: 50.5%;}

  body {
        padding: 0rem;}

  .lifecycle-img {
        padding: 0rem 1.5rem;
}
    
.team-slider {
  padding: 2rem;
}
.services-text_adj {
  font-size: 3rem;
}
.services_box-left {
  padding: 2.5rem;
  width: 100%;
  text-align: left;
  line-height: 16px;
}
.services-container_lsit{
  padding: 2rem;
}

}

/*slide media queries */
@media screen and (max-width: 768px) {
  .slide-content{
    margin: 0 10px;
  }
  .slide-content1 {
    margin: 0 10px;
  }
  .swiper-navBtn{
    display: none;
  }
}