/**********/
/* HEADER */
/**********/

.header-index {
  height: 100vh;
  background-image: linear-gradient(
      rgba(34, 34, 34, 0.8),
      rgba(34, 34, 34, 0.8)
    ),
    url(../img/hero.jpg);
  background-size: cover;
  color: #fff;
  position: relative;
}

.header-pages {
  background: none;
  height: 9.6rem;
}

.logo-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;

  /* To make it sticky */
  height: 9.6rem;
  padding: 0 3.2rem;
  position: relative;
}

.logo {
  height: 6.4rem;
}

.logo-alt {
  display: none;
}

.logo-pages {
  height: 6.4rem;
}

/**************/
/* NAVIGATION */
/**************/

.main-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.main-nav-link:link,
.main-nav-link:visited,
.main-nav-link-color:link,
.main-nav-link-color:visited {
  display: inline-block;
  text-decoration: none;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  text-transform: uppercase;
  transition: all 0.3s;
}

.main-nav-link:link,
.main-nav-link:visited {
  color: #fff;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: #999;
}

.main-nav-link-color:link,
.main-nav-link-color:visited {
  color: #099268;
}

.main-nav-link-color:hover,
.main-nav-link-color:active {
  color: #077553;
}

.main-nav-link.nav-cta:link,
.main-nav-link.nav-cta:visited,
.main-nav-link-color.nav-cta:link,
.main-nav-link-color.nav-cta:visited {
  padding: 1.2rem 2.4rem;
  border-radius: 9px;
  background-color: #099268;
  color: #fff !important;
}

.main-nav-link.nav-cta:hover,
.main-nav-link.nav-cta:active,
.main-nav-link-color.nav-cta:hover,
.main-nav-link-color.nav-cta:active {
  background-color: #077553;
}

.btn-mobile-nav {
  border: none;
  background-color: #099268;
  border-radius: 11px;
  cursor: pointer;
  display: none;
}

.icon-mobile-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: #fff;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

/* STICKY NAVIGATION */
.sticky .logo-nav {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 9.6rem;
  padding-top: 0;
  padding-bottom: 0;
  background-color: rgba(255, 255, 255, 0.97);
  z-index: 1001;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.03);
}

.sticky .logo {
  display: none;
}

.sticky .logo-alt {
  display: block;
}

.sticky .main-nav-link:link,
.sticky .main-nav-link:visited {
  color: #099268;
}

.sticky .main-nav-link:hover,
.sticky .main-nav-link:active {
  color: #077553;
}

/****************/
/* HERO SECTION */
/****************/

.section-hero {
  width: 130rem;
  padding: 0 3.2rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-text-box {
  width: 50%;
}

.hero-text-box .heading-primary {
  color: #fff;
  margin-bottom: 2.4rem;
}

.hero-description {
  font-size: 2.4rem;
  line-height: 1.6;
  margin-bottom: 2.4rem;
}

/**********************/
/* CONFERENCE SECTION */
/**********************/

.section-conf {
  width: 130rem;
  padding: 0 3.2rem;
  position: absolute;
  bottom: 3%;
  left: 50%;
  transform: translateX(-50%);
}

.conf-banner {
  width: 100%;
  background-color: #fff;
}

/*****************/
/* PHOTO SECTION */
/*****************/

.photo-section {
  padding: 9.6rem 0;
  width: 100%;
}

.photo-img {
  width: 40rem;
}

.marquee {
  --gap: 1rem;
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: var(--gap);
  margin-bottom: 1.2rem;
}

.marquee-content {
  list-style: none;
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  min-width: 100%;
  gap: var(--gap);
  animation: scroll 20s linear infinite;
}

.marquee:hover .marquee-content {
  animation-play-state: paused;
}

.marquee-content li {
  overflow: hidden;
}

.marquee-content img:hover {
  overflow: hidden;
  transform: scale(1.1);
  transition: 0.3s all;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - var(--gap)));
  }
}

.photo-text {
  font-size: 2rem;
  line-height: 1.6;
}

/*****************/
/* ABOUT SECTION */
/*****************/

.section-about {
  padding: 9.6rem 0;
}

.about-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 6.4rem;
  row-gap: 9.6rem;
  align-items: center;
}

.about-text-box {
  grid-column: span 3;
}

.about-text {
  font-size: 2rem;
  line-height: 1.6;
}

.about-text:not(:last-child) {
  margin-bottom: 2.4rem;
}

.about-img {
  width: 100%;
  border-radius: 9px;
}

.about-link {
  font-size: 2rem;
}

/*******************/
/* WHAT IS SECTION */
/*******************/

.section-what {
  padding: 9.6rem 0;
  background-color: #e6f4f0;
}

.process-img {
  width: 100%;
  margin-bottom: 2.4rem;
}

.process-legend {
  font-size: 1.4rem;
  text-align: right;
}

.process-text-box {
  grid-column: span 2;
}

.benefit-icon {
  color: #099268;
  height: 3.2rem;
  width: 3.2rem;
  background-color: #fff;
  margin-bottom: 3.2rem;
  padding: 1.6rem;
  border-radius: 50%;
}

.benefit-text {
  font-size: 2rem;
  line-height: 1.6;
}

/*****************/
/* LINKS SECTION */
/*****************/

.section-links {
  padding: 9.6rem 0;
}

.links-map {
  width: 100%;
  margin-bottom: 2.4rem;
}

.link-text-icon {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 1.2rem;
}

.link-link:link,
.link-link:visited,
.link-link:hover,
.link-link:active {
  text-decoration: none;
  z-index: 999;
}

.link-map-icon {
  width: 2.4rem;
  height: 2.4rem;
  padding: 0.4rem;
  border-radius: 50%;
  color: #099268;
  background-color: rgb(195, 250, 232, 0.5);
}

.link-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  background-color: #099268;
  padding: 0.6rem 1.2rem;
  border-radius: 2.4rem;
  white-space: nowrap;
}

.link-text::after {
  content: "";
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-top-color: #099268;
  border-bottom: 0;
}

.link-text,
.link-text::after {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: all 0.3s;
}

.link-link:hover ~ .link-text,
.link-link:hover ~ .link-text::after {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  z-index: 1000;
}

.link-amps {
  left: 14%;
  top: 20%;
}

.link-asiapacific {
  left: 75%;
  top: 42%;
}

.link-australia {
  left: 87.5%;
  top: 67%;
}

.link-canada {
  left: 14%;
  top: 8%;
}

.link-cultivate {
  left: 41%;
  top: 13%;
}

.link-france {
  left: 44%;
  top: 15.5%;
}

.link-germany {
  left: 46%;
  top: 12%;
}

.link-gfi {
  left: 16%;
  top: 17%;
}

.link-greece {
  left: 51%;
  top: 21%;
}

.link-italy {
  left: 48%;
  top: 17.5%;
}

.link-japan {
  left: 87%;
  top: 22%;
}

.link-netherlands {
  left: 42.5%;
  top: 11.5%;
}

.link-newharvest {
  left: 6%;
  top: 22%;
}

.link-newzealand {
  left: 90%;
  top: 78%;
}

.link-portugal {
  left: 40.5%;
  top: 19.5%;
}

.link-society {
  left: -1.5%;
  top: 18%;
}

.link-uk {
  left: 38.5%;
  top: 14.5%;
}

.link-list-item {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  justify-content: flex-start;
}

.link-list-icon {
  width: 2.4rem;
  height: 2.4rem;
  color: #099268;
}

/******************/
/* FOOTER SECTION */
/******************/

.footer {
  padding: 4.8rem 0;
  background-color: #099268;
}

.footer-icon {
  color: #fff;
  height: 3.2rem;
  width: 3.2rem;
  margin-bottom: 2.4rem;
}

.footer-text {
  font-size: 1.8rem;
  line-height: 1.6;
  color: #fff;
}

.footer-link:link,
.footer-link:visited {
  color: #fff;
}

.footer-link:hover,
.footer-link:active {
  color: #ccc;
}

/***************/
/* OTHER PAGES */
/***************/

.section-pages {
  padding: 9.6rem 0;
}

.pages-container {
  display: flex;
  flex-direction: column;
  gap: 6.4rem;
}

.pages-text {
  font-size: 2rem;
  line-height: 1.6;
}

.page-list-item {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  justify-content: flex-start;
}

.page-list-icon {
  width: 2.4rem;
  height: 2.4rem;
  color: #099268;
}

.news-grid {
  display: grid;
  gap: 3.2rem;
  grid-template-columns: 1fr 3fr;
  align-items: center;
}

.news-img-md {
  justify-self: center;
  width: 75%;
}

.news-img-lg {
  justify-self: start;
  width: 100%;
}

.news-grid a {
  align-self: start;
}

.events-grid {
  display: grid;
  gap: 3.2rem;
  grid-template-columns: 2fr 3fr;
  align-items: center;
}

.events-img-md {
  justify-self: center;
  width: 75%;
}

.events-img-lg {
  justify-self: center;
  width: 100%;
}
