/* Section Hero */

.hero {
  background-image: url(../img/home-hero-bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  /* height: 746px; */
  height: 1227px;
}

.hero .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 50px;
  grid-row-gap: 0px;
  padding-top: 157px;
}

.hero-wrapper {
  position: relative;
}

img.right-img {
  position: absolute;
  right: 0;
  bottom: -35px;
  height: 415px;
}

.left-img {
  height: 463px;
  z-index: 1;
  pointer-events: none;
}

.right-img {
  height: 277px;
  pointer-events: none;
}

.hero-text-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero h2 {
  background: linear-gradient(276.49deg, #ecb903 0.2%, #dc9d0d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  margin-top: 0;
  margin-bottom: 12px;
}

.hero h1 {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 700;
  font-size: 60px;
  line-height: 70px;
  color: #ffffff;
  width: 680px;
  margin-top: 0;
  margin-bottom: 24px;
}

.hero p {
  width: 454px;
  font-family: "Raleway";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #ffffff;
  margin: 0;
}

.map-africa {
  position: absolute;
  width: 441px;
  height: 471px;
  left: 391px;
  top: 108px;
  z-index: 0;
  pointer-events: none;
}

/* cta get started */

.get-started {
  display: grid;
  justify-content: center;
  align-content: center;
  width: 118px;
  height: 120px;
}

.get-started > * {
  grid-column: 1;
  grid-row: 1;
}

.arrow-down {
  align-self: center;
  justify-self: center;
  width: 50px;
  height: 50px;
}

.rotating-text {
  animation: spinAround 6s linear infinite;
}

@keyframes spinAround {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.cta-getstarted {
  position: absolute;
  bottom: -35px;
  right: 70px;
}

/* Hero / Second row */

.hero .row-2 {
  padding-top: 153px;
  display: flex;
  justify-content: center;
  position: relative;
}

.hero .center {
  width: 640px;
}

.hero .center p {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: auto;
  text-align: center;
}

.hero .center .ul-wrapper {
  display: flex;
  justify-content: center;
}

.hero .center ul {
  list-style-type: none;
  padding-left: 32px;
  width: 335px;
}

.hero .center ul li {
  padding-bottom: 16px;
  position: relative;
  color: #ffffff;
}

.hero .center ul li::before {
  content: url(../img/list-item.svg);
  width: 14px;
  height: 14px;
  object-fit: contain;
  object-position: center;
  position: absolute;
  top: -8px;
  left: -40px;
}

.home-hero-map-left {
  position: absolute;
  left: 0;
  pointer-events: none;
  height: 324px;
  width: auto;
  bottom: 192px;
}

.home-hero-map-right {
  position: absolute;
  right: 0;
  pointer-events: none;
  height: 456px;
  bottom: -100px;
  z-index: 2;
}

/* Section Africa */

.africa {
  background-image: url(../img/left-bottom.svg), url(../img/right-center.svg);
  background-position: -1% 117%, 100% 50%;
  background-repeat: no-repeat, no-repeat;
  background-size: auto, auto;
  pointer-events: none;
}

.africa .container.row-1 {
  padding-top: 80px;
  padding-bottom: 64px;
  display: flex;
  gap: 80px;
}

.africa .row-1 .left img {
  /* width: 350px;
  height: 200px; */
  border: solid 1px var(--color-accent);
  background: linear-gradient(276.49deg, #ecb903 0.2%, #dc9d0d 100%);
  box-shadow: -10px 10px 0 rgba(236, 185, 3, 0.6);
  -moz-box-shadow: -10px 10px 0 rgba(236, 185, 3, 0.6);
  -webkit-box-shadow: -10px 10px 0 rgba(236, 185, 3, 0.6);
  -o-box-shadow: -10px 10px 0 rgba(236, 185, 3, 0.6);
  border-radius: 30px;
}

.africa .right ul {
  list-style-type: none;
  padding-left: 32px;
}

.africa .right ul li {
  padding-bottom: 16px;
  position: relative;
}

.africa .right ul li::before {
  content: url(../img/list-item.svg);
  width: 14px;
  height: 14px;
  object-fit: contain;
  object-position: center;
  position: absolute;
  top: -8px;
  left: -40px;
}

.africa .row-2 {
  display: flex;
  padding-top: 64px;
  padding-bottom: 104px;
}

.africa .row-2 h2 {
  font-style: normal;
  font-weight: 700;
  font-size: 64px;
  line-height: 68px;
  color: #333333;
  margin-bottom: 32px;
}

.yellow-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 24px 48px;
  gap: 8px;
  background: linear-gradient(276.49deg, #ecb903 0.2%, #dc9d0d 100%);
  border-radius: 20px;
  width: 298px;
  margin-top: 72px;
}

.yellow-card h3 {
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  color: #ffffff;
  flex: none;
  order: 0;
  flex-grow: 0;
  margin: 0;
}

.yellow-card p {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  color: #ffffff;
  flex: none;
  order: 1;
  flex-grow: 0;
  margin: 0;
}

.africa .row-2 .left {
  position: relative;
}

.africa .row-2 .right {
  position: relative;
}

.africa .row-2 .right .map-africa-bg {
  position: absolute;
  top: -46px;
  left: -224px;
  z-index: -1;
}

/* cta get started */

.read-more {
  display: grid;
  justify-content: center;
  align-content: center;
  width: 118px;
  height: 120px;
}

.read-more > * {
  grid-column: 1;
  grid-row: 1;
}

.arrow-down {
  align-self: center;
  justify-self: center;
  width: 50px;
  height: 50px;
}

@keyframes spinAround {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.cta-readmore {
  position: absolute;
  bottom: -35px;
  right: 70px;
}

/* Section Our solutions */

.solutions {
  background: #242424;
  height: 628px;
  position: relative;
  overflow: visible;
}

.solutions .container {
  display: flex;
}

.solutions .left img {
  height: 605px;
  margin-top: 40px;
}

.solutions .right h2 {
  font-style: normal;
  font-weight: 700;
  font-size: 64px;
  line-height: 68px;
  color: #ffffff;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.grid-solutions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 32px;
  grid-row-gap: 32px;
}

.solution-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 26px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.solution-card h3 {
  margin-top: 16px;
  margin-bottom: 0;
}

.solution-card p {
  margin-top: 8px;
  text-align: center;
}

/* Section Marquee */

section.marquee {
  height: 128px;
  background: linear-gradient(276.49deg, #ecb903 0.2%, #dc9d0d 100%);
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  flex-direction: row;
  gap: 122px;
}

.marquee-wrap {
  display: flex;
  gap: 122px;
  animation: marquee 10s linear 0s infinite;
  position: absolute;
  overflow: hidden;
}

.marquee-wrap img {
  align-self: center;
}

@keyframes marquee {
  0% {
    left: 100%;
  }
  100% {
    left: -100%;
  }
}

.wave {
  height: 64px;
  width: auto;
}

.visa {
  height: 42px;
  width: auto;
}

img.double-circles {
  height: 46px;
}

/* Section Why */

.why {
  padding-bottom: 236px;
}

.why h2 {
  font-style: normal;
  font-weight: 700;
  font-size: 64px;
  line-height: 68px;
  color: #333333;
  margin-bottom: 56px;
}

.why .row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 182px;
  grid-row-gap: 0px;
}

.why .row-2 .right img {
  /* width: 350px;
    height: 200px; */
  border: solid 1px var(--color-accent);
  background: linear-gradient(276.49deg, #ecb903 0.2%, #dc9d0d 100%);
  box-shadow: -10px 10px 0 rgba(236, 185, 3, 0.6);
  -moz-box-shadow: -10px 10px 0 rgba(236, 185, 3, 0.6);
  -webkit-box-shadow: -10px 10px 0 rgba(236, 185, 3, 0.6);
  -o-box-shadow: -10px 10px 0 rgba(236, 185, 3, 0.6);
  border-radius: 30px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 48px;
  /* grid-row-gap: 40px; */
  position: relative;
}

.why-grid .one {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  /* gap: 16px; */
  max-width: 254px;
  max-height: 266px;
  background: linear-gradient(276.49deg, #ecb903 0.2%, #dc9d0d 100%);
  border-radius: 20px;
  position: relative;
  top: 48px;
}

.why-grid .two {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  /* gap: 16px; */
  width: 254px;
  max-height: 260px;
  background: #ffffff;
  border: 2px solid #333333;
  border-radius: 20px;
}

.why-grid .three {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  /* gap: 16px; */
  width: 254px;
  max-height: 242px;
  background: #ffffff;
  border: 2px solid #333333;
  border-radius: 20px;
  position: relative;
  top: 96px;
}

.why-grid .four {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  /* gap: 16px; */
  max-width: 254px;
  max-height: 236px;
  background: #333333;
  border-radius: 20px;
  position: relative;
  top: 48px;
}

.why .one h3 {
  width: 206px;
  height: 72px;
  font-family: "Raleway";
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  color: #ffffff;
  flex: none;
  order: 0;
  flex-grow: 0;
  margin-bottom: 0;
  margin-top: 16px;
}

.why .divider {
  width: 80px;
  height: 2px;
  background: #333333;
  border-radius: 2px;
  flex: none;
  order: 1;
  flex-grow: 0;
  margin: 12px 0;
}

.why .one p {
  width: 206px;
  height: 36px;
  font-family: "Raleway";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  text-align: center;
  color: #ffffff;
  flex: none;
  order: 2;
  flex-grow: 0;
  margin: 0;
}

.why .two img {
  margin-top: 24px;
  width: 132px;
}

.why .two h3 {
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  color: #333333;
  flex: none;
  order: 0;
  flex-grow: 0;
  margin-bottom: 0;
  margin-top: 16px;
}

.why .two .divider {
  width: 80px;
  height: 2px;

  background: linear-gradient(276.49deg, #ecb903 0.2%, #dc9d0d 100%);
  border-radius: 2px;

  flex: none;
  order: 1;
  flex-grow: 0;
  margin: 12px 0;
}

.why .two p {
  width: 206px;
  height: 54px;

  font-family: "Raleway";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;

  text-align: center;
  color: #333333;
  flex: none;
  order: 2;
  flex-grow: 0;
  margin: 0;
}

.why .three img {
  width: 98px;
}

.why .three h3 {
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  color: #333333;
  flex: none;
  order: 0;
  flex-grow: 0;
  margin-bottom: 0;
  margin-top: 16px;
}

.why .three .divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(276.49deg, #ecb903 0.2%, #dc9d0d 100%);
  border-radius: 2px;
  flex: none;
  order: 1;
  flex-grow: 0;
  margin: 12px 0;
}

.why .three p {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  text-align: center;
  color: #333333;
  flex: none;
  order: 2;
  flex-grow: 0;
  margin: 0;
}

.why .four h3 {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  color: #ffffff;
  flex: none;
  order: 0;
  flex-grow: 0;
  margin-bottom: 0;
  margin-top: 16px;
}

.why .four .divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(276.49deg, #ecb903 0.2%, #dc9d0d 100%);
  border-radius: 2px;
  flex: none;
  order: 1;
  flex-grow: 0;
  margin: 12px 0;
}

.why .four p {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  text-align: center;
  color: #ffffff;
  flex: none;
  order: 2;
  flex-grow: 0;
  margin: 0;
}

.solution-card {
  transition: all 0.3s ease-in-out;
  color: #000000;
  position: relative;
}

.solution-card:hover {
  cursor: pointer;
  background-color: var(--color-accent);
  color: #ffffff;
}

.solution-card:hover::after {
  content: url(../img/read-more-hover.svg);
  width: 56px;
  height: 56px;
  object-fit: contain;
  object-position: center;
  position: absolute;
  bottom: -23px;
  right: -23px;
}

.solution-card img {
  transition: all 0.3s ease-in-out;
}

/* https://angel-rs.github.io/css-color-filter-generator/ */
.solution-card:hover img {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%)
    hue-rotate(93deg) brightness(103%) contrast(103%);
}

/* Section Support */

.support {
  background-image: url(../img/support-bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  max-height: 482px;
  padding: 64px 136px 80px;
}

.support .container {
  display: flex;
  gap: 120px;
  justify-content: space-between;
}

.support h2 {
  font-style: normal;
  font-weight: 700;
  font-size: 64px;
  line-height: 68px;
  color: #ffffff;
  margin: 0;
}

.support p {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #ffffff;
  flex: none;
  order: 0;
  flex-grow: 0;
  width: 328px;
  margin-bottom: 32px;
  padding-top: 30px;
  border-top: 1px solid var(--color-accent);
  margin-top: 30px;
}
