/* section-one */

.section-one {
  height: 500px;
  width: 100%;
  margin:0;
  background: linear-gradient(to right, rgb(225, 225, 225), rgba(0,0,0,0)),url('../icons/background-image-2.png');
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
}

.section-one-width{
  width: 90%;
}

.section-one-title{
  font-size: 2.1rem;
  font-weight: bold;
  margin-top: 11rem;
  margin-bottom: 5rem;
}

.section-one-body{
  max-width: 40rem;
  margin-bottom: 1rem;
}

@media (min-width: 700px) {
  .section-one-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
  }
  .section-one-body{
    font-size: 1.1rem;
    margin-bottom: 1.8rem;
  }
}

/* section-two */
.section-two{
  background-color: rgb(44, 47, 59);
  display: flex;
  justify-content: center;
  padding-bottom: 1.5rem;
}

.section-two-width{
  width: 90%;
}

.section-two-title{
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
  margin-top: 1.3rem;
  margin-bottom: 1.5rem;
}

.products-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1rem;
  row-gap: 1.2rem;
}

.products-card{
  background-color: white;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.products-card:hover {
  margin-top: -5px;
  margin-bottom: 5px;
  cursor: pointer;
}

.products-card:hover .explore-more{
  text-decoration: underline;
}

.products-card:hover .product-image {
  transform: scale(1.2);
}

.products-card:hover .gradient{
  position: absolute;
  top:0;
  bottom:0;
  height: 100%;
  width: 100%;
  background-color: rgba(40, 145, 215, 0.497);
  opacity: 0.7;
  z-index: 100;
}

.product-image{
  width: 100%;
  transition: all 0.3s;
}


.product-image-container{
  overflow: hidden;
  position: relative;
}

.products-card-title{
  padding-top: 0.5rem;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.products-card-body{
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  font-size: 0.95rem;
  height: 15.5rem;
}

.explore-more{
  margin-bottom: 1rem;
  border-top-color: rgb(236, 236, 236);
  font-weight: bold;
  position: absolute;
  bottom: 0px;
  left: 0;
  right: 0;
}

.section-two-end{
  color: white;
  margin-top: 1.5rem;
  font-weight: bold;
  text-align: center;
  text-decoration: underline;
}

@media (min-width: 800px) {
  .products-card-grid {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr 1fr;
      column-gap: 1rem;
      row-gap: 1.2rem;
    }
    .section-two-end{
      font-size: 1.8rem;
      margin-top: 1.5rem;
    }
}

/* section-three */

.section-three{
  background-color: rgb(44, 47, 59);
  color: white;
  display: flex;
  justify-content: center;
  text-align: center;
  padding-bottom: 1.3rem;
}

.section-three-width{
  width: 90%;
}

.section-three-title{
  margin-top: 1.5rem;
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 1.3rem;
}

.section-three-body-one,
.section-three-body-two,
.section-three-body-three {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 800px) {
  .section-three-title{
    font-size: 1.55rem;
    margin-top: 2.5rem;
    margin-bottom: 3.5rem;
  }
  .section-three-body-one,
  .section-three-body-two,
  .section-three-body-three {
    font-size: 1.1rem;
    margin-bottom: 2.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* section-four */

.section-four{
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.section-four-width{
  width: 90%;
  background-image: url('../icons/section-three-background-image.webp');
  background-color: rgb(44, 47, 59);
  background-blend-mode: multiply;
  background-repeat: no-repeat;
  background-size: cover;
  background-position-y: -155px;
  filter: opacity(1);
  color: white;
  text-align: center;
  padding-bottom: 2.5rem;
}

.section-four-title{
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  font-size: 1.2rem;
}

.section-four-body{
  margin-bottom: 2.5rem;
  font-size: 1.7rem;
  font-weight: bold;
}

/* section-five */

.section-five{
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  background-color: rgb(215, 215, 215);
  padding-bottom: 2.5rem;
}

.section-five-top-section{
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
}

.section-five-top-section-title{
  font-weight: bold;
  font-size: 1.5rem;
}

.section-five-bottom-section{
  width: 90%;
  display: grid;
  grid-template-columns: 1fr;
}

.news-card{
  margin-top: 2rem;
  background-color: white;
  max-width: 390px;
  margin-left: auto;
  margin-right: auto;
}

.news-card-image{
  width: 100%;
}
.section-five-bottom-title,
.section-five-bottom-body {
  margin-left: 0.8rem;
  margin-right: 0.8rem;
}

.section-five-bottom-title{
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: underline;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.section-five-bottom-body{
  margin-bottom: 2.5rem;
}

.read-more-section{
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  padding-left: 1rem;
  border-top: 0.5px solid rgb(195, 195, 195);
}

@media (min-width:490px) (max-width: 799px) {
  .news-card{
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 800px) {
  .section-five-bottom-section{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 15px;
  }

  .news-card{
    position: relative;
    padding-bottom: 10px;
  }
  
  .read-more-section{
    position: absolute;
    bottom: 0;
    width: 100%;
  }
}

/* section-six */

.section-six{
  display: flex;
  justify-content: center;
  text-align: center;
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}

.section-six-width{
  width: 90%;
}

.section-six-title{
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.section-six-body{
  font-size: 0.95rem;
  margin-bottom: 1rem;
  max-width: 786px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 786px) {
 .section-six-title{
  font-size: 1.6rem;
  margin-bottom: 2rem;
 }
 .section-six-body{
  margin-bottom: 2rem;
  font-size: 1.1rem;
 }
 .section-six-button{
  margin-bottom: 1rem;
 }
}

/* section-seven */

.section-seven{
  display: flex;
  justify-content: center;
  background-color: grey;
  background-repeat: no-repeat;
  background-image: url('../icons/scientists-collaborating-v3.png');
  background-size: cover;
  scale: (0.5);
  background-position: center;
  color: white;
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.section-seven-width{
  width: 90%;
}

.section-seven-body{
 margin-top: 2rem;
 font-size: 2rem;
 font-weight: bold;
 margin-bottom: 2rem;
}

.meet-us-link{
  margin-bottom: 1rem;
  font-weight: bold;
  text-decoration: underline;
}

.section-seven-button{
  margin-left: 2.7rem;
}

@media (min-width: 786px) {
  .section-seven-title{
    font-size: 1.2rem;
  }
  .meet-us-link{
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }
  .section-seven-button{
    margin-bottom: 3rem;
  }
}