* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    
  }


  /* NAVBAR */  

body {
  font-family: 'Lato', sans-serif;
  
}

header {
  background-color: #308106;
}


.logo {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
}

.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgb(0,0,0);
  background-color: rgba(0, 0, 0, 0.945);
  overflow-x: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #ffffff;
  display: block;
  transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
  color: #f1f1f1;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}


  .logo img {
    width:300px ;
  }
  

  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 44px;
    padding-top: 20px;
    margin-left: 50px;
    margin-right: 50px;
  }
  
  .hamburger img {
    width: 50px;
  }

  /* NAVBAR END */

  /* HERO SECTION */

  .section-one {
    background-color: #308106;
  }
  
  .container {
    height: 600px;
    padding: 20px;
    padding-top: 80px;
    margin-left: 40px;
    margin-right: 40px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
  }
  
  .container img {
    width: 70%;
    padding-bottom: 30px;
  }
  
  .hero-text {
    width: 80%;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
    font-weight: bolder;
    margin-bottom: 12px;
    color: #ffffff;
  }
  
  .hero-text p {
    font-size: 1rem;
    margin-bottom: 12px;
    color: white;
  }

  /* HERO SECTION END */

  /* agritechmoz solutions */

.agritechmoz-solutions {
  background-image: url('../images/zimi_cta.png');
  background-size: cover;       /* Scales the image to cover the entire container */
  background-position: center;  /* Centers the image */
  background-repeat: no-repeat; /* Prevents tiling */
  min-height: 650px;
}

.solutions-info {
  margin-left: 50px;
}

.solutions-heading {
    
    color:#308206;
    padding-top: 110px;
    margin-bottom: 20px;
    font-size: 36px;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    position: relative; 
  }

.solutions-text {
  color:#308106;
  margin-bottom: 20px;
  font-size: 19px;
}

.solutions-btn {
  background-color:#7baf60;
  color: white;
  font-weight: bold;
  font-size: 17px;
  border-radius: 15px;
  border-color: #7baf60;
  padding: 12px 12px;
  padding-left: 15px;
  padding-right: 15px;
}


  /* agritechmoz solutions end */


  /* SERVICES */

 
  .main-heading {
    text-align: center;
    color:#308206;
    margin-top: 40px;
    margin-bottom: 60px;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    position: relative; 
  }

  .main-heading::after {
    content: '';
    background: #308206;
    display: block;
    width: 200px;
    height: 2.5px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 45px;
  }

  .grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    grid-gap: 20px;
    padding: 16px;
}

p {
    color: rgb(0, 0, 0);
    margin-top: 0%;
    margin-bottom: 0%;
}

.grid-item {
    background-color: #a6c995;
    margin: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 40px;
    border-radius: 30px;
    border-width: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    align-items: center;
}

.grid-item p {
    font-size: 20px;
    margin: 20px;
    text-align: justify;
}

h2.title {
    font-size: 25px;
}

.title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0%;
}

.card-title {
    flex: 1;
}


.card-icon img {
    width: 50px;
}
.card-icon {
    display: flex;
    flex-direction: row;
    margin-left: 20px;
    margin-right: 30px;
    margin-top: 10px;
         
}

.card-details {
    display: flex;
    margin-top: 30px;
    margin-right: 20px;
    margin-bottom: 20px;
}

.info-button {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.services-section button {
  background-color: #308106;
  color: white;
  border-style: solid;
  border-color: #308106;
  border-radius: 20px;
  padding: 12px 12px;
  padding-left: 15px;
  padding-right: 15px;
}

.services-section button p {
  color: white;
  font-size: 20px;
}
  
  /* SERVICES END */

  /* METHODOLOGY */

  .methodology-section .grid-item {
    background-color: #7baf60;
    padding-bottom: 100px;

  }

  .methodology-section h2 {
    margin-top: 20px; 
  }
  
  
  .methodology-section button, .about-section button {
    background-color: #308106;
    color: white;
    border-style: solid;
    border-color: #308106;
    border-radius: 20px;
    padding: 12px 12px;
    padding-left: 15px;
    padding-right: 15px;
    cursor: pointer;
  }

  .methodology-section button p, .about-section button p {
    color: white;
    font-size: 20px;
  }


  .methodology-image {
    margin-left: 50px;
  }
  
  .methodology-image img {
  width: 95%;
}

  /* METHODOLOGY END */

/* ABOUT */

.about-section {
  display: flex;
  margin-top: 60px;
  background-color: rgb(238, 238, 238);
}

.about-text {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 40px;
  
}

.about-text h2 {
  margin: 30px;
  text-align: center;
}

.about-section p {
  text-align: justify;
  font-size: 18px;
  max-width: 350px;
  
}

.about-section img {
  width: 100%;
  margin-right: 10px;
  margin-left: 70px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.about-section button {
  margin-top: 50px;
}

/* ABOUT END */


/* MORE INFO */
 .more-info .grid-item .card-details {
display: flex;
align-items: center;
 }


/* MORE INFO END */
  

/* CONTACT */

.contact-us {
  background-color: #d9edcc;
  padding-top: 20px;
  margin-top: 40px;
}

.contact {
  display: flex;
}

.illustration {
  width: 70%;
  height: 500px;
  margin-right: 80px;
}

.illustration img {
  width: 100%;
  margin-left: 50px;
  margin-right: 50px;
}

.contact-form {
  padding: 20px;
}

.contact-form h2 {
 color: #333;
}

.contact-form input, .contact-form textarea {
 width: calc(100% - 40px);
 height: 30px;
 padding: 10px;
 margin-bottom: 10px;
 background-color: #97c082;
 color: rgb(250, 250, 250);
 font-size: 20px;
 border-style: solid;
 border-color: #97c082;
 border-radius: 20px;
}

.contact-form textarea {
  height: 80px;

}
::placeholder {
  color: rgb(255,255,255);
  font-family: sans-serif;
}


.contact-form button {
padding: 10px 20px;
background-color: #308106;
color: white;
font-weight: bold;
border-style: solid;
border-color: #308106;
border-radius: 20px;
padding: 12px 12px;
padding-left: 15px;
padding-right: 15px;
width: calc(100% - 20px);
cursor: pointer;
}

.contact-form button p {
  color: rgb(255,255,255);
  font-size: 17px;
}



/* CONTACT END */

/* FOOTER */

footer {
  background-color: #308206;
  display: flex;
  padding-top: 25px;
  padding-bottom: 25px;
}

.footer-logo {
  width: 25%;
}

.footer-logo img {
  width: 80%;
}

.footer-description {
  position: absolute;
  right: 0;
  margin-right: 50px;
  padding-top: 13px;
}

.footer-description p {
  color: white;
  font-size: 25px;
}

/* translate */

.goog-logo-link {
  display: none !important;
}
.goog-te-gadget {
  color: transparent !important;
}


/* google translate */

/* FOOTER END */


  /* Media queries */
  
  
  @media (max-width: 884px) {
    
    .container {
      height: auto;
      padding: 20px;
      padding-top: 80px;
      margin-left: 40px;
      margin-right: 40px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
    }
    
    .container img {
      padding-bottom: 0px;
    }

    .container {
      flex-direction: row-reverse;
    }
    .hero-text {
      width: 100%;
      text-align: center;
    }
    .hero-text h1 {
      font-size: 3rem;
    }

    .grid-container {
      grid-template-columns: 1fr;
  }
  
  .grid-container-methodology {
    grid-template-columns: 1fr;
  }

  .description {
      font-size: 1.5rem;
  }

 /* agritechmoz solutions */

.agritechmoz-solutions {
display: none;
  }


  /* agritechmoz solutions mobile */

.agritechmoz-solutions-mobile {
  background-image: url('../images/mobile_solutions_tab.png');
  background-size:contain;       /* Scales the image to cover the entire container */
  background-position: center;  /* Centers the image */
  background-repeat: no-repeat; /* Prevents tiling */
  min-height: 550px;
  align-items: center;
  text-align: center;
  margin-bottom: -100px;
}

.solutions-info-mobile {
  margin-left: 10px;
  margin-right: 10px;
}

.solutions-heading-mobile {
    
    color:#308206;
    padding-top: 25px;
    margin-bottom: 20px;
    font-size: 30px;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    position: relative; 
  }

.solutions-text-mobile {
  color:#308106;
  margin-bottom: 20px;
  font-size: 17px;
}

.solutions-btn-mobile {
  background-color:#7baf60;
  color: white;
  font-weight: bold;
  font-size: 14px;
  border-radius: 12px;
  border-color: #7baf60;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 8px;
  padding-right: 8px;

}
  /* agritechmoz solutions end */
}
  @media (max-width: 430px) {
    .hero-text h1 {
      font-size: 1.5rem;
    }
    .container {
      flex-direction: column;
      padding-bottom: 150px;
      margin-left: 10px;
      margin-right: 10px;
    
      
    }


    header .logo img {
      width: 250px;
      position: absolute;
      left: 0;
    }
    
    /* NAVBAR */
    nav {
      display: flex;
      height: 5px;
      padding-top: 5px;
      margin-right: 5px;
      padding-bottom: 20px;
    }
    
    .hamburger img {
      width: 50px;
      position: absolute;
      right: 0;
      margin-right: 10px;
    }

    .methodology-section .b-analysis {
      margin-top: 10px;
    }
    
    .methodology-section .s-design {
      margin-top: 20px;
    }
    
    .methodology-section .s-dev {
      margin-top: 10px;
    }
    
    .methodology-section .s-dep {
      margin-top: 20px;
    }
   
    h2.title {
      font-size: 2px;
      font-weight: bolder;
      margin-top: 8px;
  }

  .grid-item .software-development {
    margin-top: 15px;
  }
  

    .container {
      margin-left: 10px;
      margin-right: 10px;
      padding-bottom: 50px;

    }

    .container img {
      padding-bottom: 5px;
    }

    header .logo img {
      width:250px;
      position: absolute;
      left: 0;
    }
    
    /* NAVBAR */
    nav {
      display: flex;
      height: 5px;
      padding-top: 5px;
      margin-right: 5px;
      padding-bottom: 20px;
    }
    
    .hamburger img {
      width: 50px;
      position: absolute;
      right: 0;
      margin-right: 10px;
    }

    .agritechmoz-solutions {
display: none;
  }
  
  }

    
@media only screen and (max-width: 768px) {
    

  h2.title {
    font-size: 23px;
    font-weight: bolder;
    margin-top: 8px;
}

.methodology-section .b-analysis {
  margin-top: 5px;
}

.methodology-section .s-design {
  margin-top: 18px;
}

.methodology-section .s-dev {
  margin-top: 5px;
}
 
.methodology-section .s-dep {
  margin-top: 10px;
}

  .logo img {
    width:300px;
    position: absolute;
    left: 0;
  }
  
  .container {
    padding-bottom: 0px;
  }
  .container img {
    width: 100%;
  }

  .container {
    height: auto;
    padding: 20px;
    padding-top: 80px;
    margin-left: 40px;
    margin-right: 40px;
    display: flex;
    flex-direction: column; 
    align-items: center;
    gap: 10px;
  }
  
  


  .services-section .main-heading::after {
    content: '';
    display: block;
    width: 200px;
    height: 2.5px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 45px;
    margin-top: 40px;
  }

  .more-info .main-heading::after {
    content: '';
    display: block;
    width: 200px;
    height: 2.5px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 45px;
    margin-top: 40px;
  }
  
  /* NAVBAR */
  nav {
    display: flex;
    height: 5px;
    padding-top: 5px;
    margin-right: 5px;
    padding-bottom: 20px;
  }
  
  .hamburger img {
    width: 50px;
    position: absolute;
    right: 0;
    margin-right: 10px;
  }
  .grid-container {
        grid-template-columns: 1fr;
    }
    
    .grid-container-methodology {
      grid-template-columns: 1fr;
    }

    .description {
        font-size: 1.5rem;
    }

    .about-section {
      display: flex;
      flex-direction: column;
    }

    .about-section img {
      display: none;

    }

    .contact {
      display: flex;
      flex-direction: column;
    }


    .contact img, .illustration {
      display: none;
    }

    .card-icon img {
      width: 50px;
      height: 50px;
  }
  
  .methodology-section h2 {
    margin-top: 10px; 
  }


    footer {
      display: flex;
      flex-direction: column;
    }

    .footer-logo {
      margin-bottom: 60px;
    }

    .footer-logo img {
      width: 200px;
    }

    .footer-description {
      margin-top: 30px;
      margin-left: 12px;
    }

    .footer-description p {
      font-size: 15px;
    }

    
}

.partners-section {
  padding: 60px 20px;
  background-color: #f8f9fa;
  position: relative;
  text-align: center;
}

.partners-splide {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 60px;
  position: relative;
  padding-bottom: 30px;
}

.partners-splide .splide__track {
  padding-bottom: 30px;
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  background: #eeeeee;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: 100%;
  max-width: 180px;
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.partner-item img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 80px;
}

/* Splide Navigation */
.splide__arrow {
  background: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  opacity: 1;
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 10;
}

.splide__arrow svg {
  fill: #308106;
  width: 12px;
  height: 12px;
}

.splide__arrow--prev {
  left: -20px;
}

.splide__arrow--next {
  right: -20px;
}

.splide__arrow:hover {
  background: #f0f0f0;
}

.splide__arrow:hover:not(:disabled) {
  opacity: 1;
}

.splide__arrow:disabled {
  opacity: 0.3;
}

/* Splide Pagination */
.splide__pagination {
  bottom: -30px;
  display: none;
}


.splide__pagination__page {
  background: #308106;
  opacity: 0.5;
  width: 8px;
  height: 8px;
  margin: 0 4px;
  display: none;
}

.splide__pagination__page.is-active {
  opacity: 1;
  transform: scale(1);
  display: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .partners-splide {
    padding: 0 40px;
  }
  
  .splide__arrow {
    width: 28px;
    height: 28px;
  }
  
  .splide__arrow svg {
    width: 10px;
    height: 10px;
  }

  .splide__arrow--prev {
    left: -15px;
  }

  .splide__arrow--next {
    right: -15px;
  }

  .partner-item {
    max-width: 150px;
  }

  .partner-item img {
    max-height: 60px;
  }
}

/* Language Switcher */
.language-switcher {
  position: absolute;
  top: 20px;
  right: 80px;
  z-index: 2;

    .language-btn {
    background-color: rgba(255, 228, 196, 0);
    border-color: white;
    border-width: 1px;
    color: white;
    padding: 5px;
    margin-top: 7px;
    border-radius: 10px;
  }
}

/* Google Translate Styles */
.goog-te-gadget {
    font-family: inherit !important;
    font-size: 0px !important;
}

.goog-te-gadget .goog-te-combo {
    font-family: inherit;
    font-size: 14px;
    padding: 8px 16px;
    border: 2px solid white;
    border-radius: 20px;
    background-color: transparent;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 16px top 50%;
    background-size: 12px auto;
    padding-right: 40px;
}

.goog-te-gadget .goog-te-combo:hover {
    background-color: white;
    color: #308106;
}

/* Override Google Translate dropdown styles */
.goog-te-menu-frame {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    border: 2px solid #308106 !important;
    border-radius: 8px !important;
    margin-top: 5px !important;
}

.goog-te-menu2 {
    background-color: white !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 8px 0 !important;
}

.goog-te-menu2-item {
    color: #333 !important;
    font-family: inherit !important;
    font-size: 14px !important;
    padding: 8px 16px !important;
    text-align: left !important;
}

.goog-te-menu2-item:hover {
    background-color: #f5f5f5 !important;
    color: #308106 !important;
}

.goog-te-menu2-item:focus {
    background-color: #f5f5f5 !important;
    color: #308106 !important;
}

.goog-te-menu2-item-selected {
    background-color: #f5f5f5 !important;
    color: #308106 !important;
}

.goog-te-banner-frame {
    display: none !important;
}

.goog-te-menu-value {
    display: none !important;
}

.goog-te-menu-value span {
    display: none !important;
}

.goog-te-menu-value:after {
    display: none !important;
}

/* Hide Google Translate attribution */
.goog-logo-link {
    display: none !important;
}

.goog-te-gadget {
    color: transparent !important;
}

@media (max-width: 768px) {
  .language-switcher {
    top: 15px;
    right: 70px;
  }
  
  .goog-te-gadget .goog-te-combo {
    padding: 6px 12px;
    font-size: 12px;
    background-size: 10px auto;
    padding-right: 35px;
  }
}

.goog-te-gadget-simple {
    background-color: transparent !important;
    border: 2px solid white !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    font-size: 14px !important;
    display: inline-block !important;
    cursor: pointer !important;
    zoom: 1 !important;
    color: white !important;
    transition: all 0.3s ease !important;
}

.goog-te-gadget-simple:hover {
    background-color: white !important;
    color: #308106 !important;
}

.goog-te-gadget-simple .goog-te-menu-value {
    color: white !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
}

.goog-te-gadget-simple .goog-te-menu-value span {
    border: none !important;
    color: white !important;
    font-size: 14px !important;
    display: inline !important;
}

.goog-te-gadget-simple .goog-te-menu-value span:first-child {
    display: none !important;
}

.goog-te-gadget-simple .goog-te-menu-value span:nth-child(2) {
    display: none !important;
}

.goog-te-gadget-simple .goog-te-menu-value span:last-child {
    display: inline !important;
    color: white !important;
}

.goog-te-gadget-simple .goog-te-menu-value:after {
    content: '▼' !important;
    font-size: 12px !important;
    margin-left: 8px !important;
    color: white !important;
}

.goog-te-gadget-simple:hover .goog-te-menu-value:after {
    color: #308106 !important;
}

/* Hide Google Translate attribution and logo */
.goog-te-gadget-simple .goog-te-menu-value img {
    display: none !important;
}

.goog-te-gadget-simple .goog-te-menu-value span:first-child {
    display: none !important;
}

.goog-te-gadget-simple .goog-te-menu-value span:nth-child(2) {
    display: none !important;
}

.goog-te-gadget-simple .goog-te-menu-value span:last-child {
    display: inline !important;
    color: white !important;
}

/* Override Google Translate dropdown styles */
.goog-te-menu-frame {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    border: 2px solid #308106 !important;
    border-radius: 8px !important;
    margin-top: 5px !important;
}

.goog-te-menu2 {
    background-color: white !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 8px 0 !important;
}

.goog-te-menu2-item {
    color: #333 !important;
    font-family: inherit !important;
    font-size: 14px !important;
    padding: 8px 16px !important;
    text-align: left !important;
}

.goog-te-menu2-item:hover {
    background-color: #f5f5f5 !important;
    color: #308106 !important;
}

.goog-te-menu2-item:focus {
    background-color: #f5f5f5 !important;
    color: #308106 !important;
}

.goog-te-menu2-item-selected {
    background-color: #f5f5f5 !important;
    color: #308106 !important;
}

/* Hide Google Translate attribution */
.goog-logo-link {
    display: none !important;
}

.goog-te-gadget {
    color: transparent !important;
}

.goog-te-gadget-icon {
  display: none !important;
}


@media (max-width: 768px) {
    .goog-te-gadget-simple {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }
}

@media (min-width: 769px) {
    /* agritechmoz solutions mobile */


.agritechmoz-solutions-mobile {
  display: none;
}

/* agritechmoz solutions mobile */
}

/* Override Google Translate dropdown text */
.goog-te-menu2-item div {
    display: none !important;
}

.goog-te-menu2-item div:before {
    content: attr(data-value) !important;
    display: block !important;
}

.goog-te-menu2-item[data-value="en"] div:before {
    content: "EN" !important;
}

.goog-te-menu2-item[data-value="pt-PT"] div:before {
    content: "PT" !important;
}

.goog-te-gadget-simple .goog-te-menu-value span:last-child:before {
    content: "EN|PT" !important;
}
 
