@import url("https://fonts.googleapis.com/css2?family=Athiti:wght@200;300;400;500;600;700&family=Manrope:wght@200;300;400;500;600;700;800&display=swap");

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  font-size: 10px;

  --color-primary: rgb(255, 255, 255);
  --color-primary-2: rgba(255, 255, 255, 0.7);

  --color-secondary-1: rgb(46, 46, 46);
  --color-secondary-2: rgba(46, 46, 46, 0.7);

  --color-tertiary-1: #fe7a7b;
  --color-tertiary-2: #fe7e71;
  --color-tertiary-3: #fe8464;

  --color-quaternary: rgb(54, 28, 193);

  --gradient-primary: linear-gradient(
    to right,
    rgb(254, 132, 100) 0%,
    rgb(254, 110, 154) 50%,
    rgb(254, 132, 100) 100%
  );

  --gradient-secondary: linear-gradient(
    to right,
    #3155da 0%,
    #3155da 50%,
    #3155da 100%
  );

  --gradient-tertiary: linear-gradient(
    rgb(255, 255, 255) 0%,
    rgb(255, 255, 255) 100%
  );

  --gradient-quaternary: linear-gradient(
    rgb(254, 132, 100) 0%,
    rgb(254, 110, 154) 100%
  );

  --gradient-quinary: linear-gradient(
    rgb(54, 28, 193) 0%,
    rgb(46, 130, 239) 100%
  );

  --padding-xl-h: calc(2rem + 10vw);
  --padding-xl-v: calc(2rem + 5vh);

  --padding-l-h: calc(2rem + 2vw);
  --padding-l-v: calc(2rem + 2vh);

  --padding-m-h: calc(1rem + 2vw);
  --padding-m-v: calc(1rem + 2vh);

  --padding-s-h: calc(1rem + 1vw);
  --padding-s-v: calc(1rem + 1vh);

  --padding-xs-h: 2rem;
  --padding-xs-v: 1rem;

  --font-size-d-xl: calc(3rem + 3vw);
  --font-size-d-l: calc(2rem + 2vw);
  --font-size-d-m: calc(1rem + 2vw);
  --font-size-d-s: calc(1rem + 1vw);
  --font-size-d-xs: calc(0.5rem + 1vw);

  --font-size-st-xl: 4rem;
  --font-size-st-lc: 3.5rem;
  --font-size-st-l: 3rem;
  --font-size-st-mc: 2.5rem;
  --font-size-st-m: 2rem;
  --font-size-st-s: 1.5rem;
  --font-size-st-xs: 1rem;

  --font-family-main: "Manrope", sans-serif;
  --font-family-sub: "Athiti", sans-serif;
}

body {
  background-color: var(--color-primary);
  font-family: var(--font-family-main);
  line-height: 1.6;
}

.container {
  display: grid;
  grid-template-columns:
    [container-start] repeat(
      8,
      [col-start] minmax(min-content, 18.75rem) [col-end]
    )
    [container-end];

  grid-template-rows: repeat(9, min-content);
  justify-content: center;
}

a {
  text-decoration: none;
  border-radius: 1rem;
}

li {
  list-style: none;
}

.section__padding {
  padding: var(--padding-xl-v) var(--padding-xl-h);
}

.section__title {
  font-size: var(--font-size-d-m);
  font-family: var(--font-family-sub);
  font-weight: 400;
  text-align: center;
  line-height: 1.25;
  position: relative;
}

.section__title::before {
  content: "";
  position: absolute;
  top: -1.5rem;

  height: 0.4rem;
  width: 20rem;
  background-image: var(--gradient-primary);
  /* background-color: white; */
}

.section__title span {
  font-weight: 800;
}

.section__para {
  font-size: var(--font-size-st-s);
  color: var(--color-secondary-2);
}

.section__sub-link {
  font-size: var(--font-size-st-s);
  padding: 1rem 2rem;
  color: var(--color-tertiary-1);
  transition: all 0.25s cubic-bezier(0.39, 0.575, 0.565, 1);
}

.section__sub-link span {
  position: relative;
  z-index: -1;
}

.section__sub-link i {
  position: absolute;
  top: 20%;
  right: -1.2rem;
  color: var(--color-secondary-1);
  color: black;
  transition: all 0.25s cubic-bezier(0.39, 0.575, 0.565, 1);
  z-index: -1;
}

.section__sub-link:hover {
  color: var(--color-secondary-1);
}

.section__sub-link:hover i {
  right: -2rem;
  color: var(--color-tertiary-1);
}

.header {
  grid-column: container-start / container-end;
  padding: var(--padding-m-v) var(--padding-xl-h);

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.35s ease-in-out;
}

.hidden {
  display: none;
}

.block {
  display: block;
}

.header.sticky {
  background-color: var(--color-primary);
  border-bottom-left-radius: 50% 30%;
  border-bottom-right-radius: 50% 30%;
  box-shadow: 0 5px 30px 0 rgba(167, 167, 167, 0.16);
  z-index: 10;
}

.header.sticky .header__nav--links a {
  color: var(--color-secondary-1);
}

.header.sticky .header__nav--links a:hover {
  color: var(--color-tertiary-3);
}
.header.sticky .header__nav--links a:active {
  color: var(--color-tertiary-3);
}

.header__nav {
  width: 70%;
}

.header__nav--links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2vw;
}

.header__nav--links a {
  font-size: var(--font-size-st-s);
  color: var(--color-primary);
  font-weight: 500;
  transition: all 0.15s ease-in;
  z-index: 10;
}
.logo-dark {
  width: 180px;
}

.logo-light {
  width: 180px;
}

.header__nav--links a:hover {
  color: var(--color-tertiary-1);
}

.hero {
  grid-column: container-start / container-end;
  background-image: url("images/showcase/hero-bg.svg");
  background-size: cover;
  padding: var(--padding-l-v) var(--padding-m-h);
  padding-top: 15rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem 0;
}

.hero__title {
  font-family: var(--font-family-sub);
  font-size: var(--font-size-d-l);
  font-weight: 300;
  color: var(--color-primary);
  text-align: center;
}

.hero__title div {
  font-weight: 700;
  margin-top: -1.5rem;
}

.hero__para {
  font-size: var(--font-size-st-m);
  color: var(--color-primary);
  text-align: center;
}

.hero__link {
  display: inline-block;
  margin: 2rem 0;
  font-size: var(--font-size-st-s);
  color: var(--color-primary);
  font-weight: 500;
  padding: 1.2rem 2.2rem;
  background-image: var(--gradient-quaternary);
  background-size: 200%;
  transition: all 0.25s ease-in-out;
}

.hero__link:hover {
  background-position: right center;
}

.hero__img {
  width: 50%;
  margin-bottom: -4rem;
}

.hero__img img {
  width: 100%;
}

.features {
  grid-column: container-start / container-end;

  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.features__title::before {
  left: 50%;
  transform: translateX(-50%);
}

.features__cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
  gap: calc(1rem + 2vw);
}

.features__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;

  padding: 6rem 3rem;
  box-shadow: 0 5px 30px 0 rgba(167, 167, 167, 0.16);
  border-radius: 1rem;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.39, 0.575, 0.565, 1);
}

.features__card:hover {
  border: 1px solid var(--color-tertiary-3);
}

.features__card:hover .features__card--icons img:first-child {
  transform: rotate(25deg);
}

.features__card--icons {
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
}

.features__card--icons img,
.features__card--icons i {
  grid-column: 1/ -1;
  grid-row: 1/ -1;
}

.features__card--icons img:first-child {
  transition: all 0.25s cubic-bezier(0.39, 0.575, 0.565, 1);
  z-index: -1;
}

.features__card--icons i {
  font-size: var(--font-size-st-l);
  color: var(--color-primary);
}

.features__card--title {
  font-size: var(--font-size-st-mc);
  font-weight: 900;
}

.features__card--para {
  text-align: center;
}

#myVideo {
  display: block;
  margin: auto;
  width: 60%;
}

.about {
  grid-column: container-start / container-end;

  display: flex;
  flex-direction: column;
  gap: calc(4rem + 4vw) 0;
}

.about__pt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
}

.about__pt--img {
  flex-basis: 50%;
}

.about__pt--img img {
  width: 100%;
}

.about__pt--content {
  flex-basis: 50rem;

  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about__pt--content__title {
  text-align: left;
}

.about__pt--content__link {
  align-self: flex-start;

  background-image: var(--gradient-primary);
  padding: 1rem 2rem;
  background-size: 150%;
  color: var(--color-primary);
  font-size: var(--font-size-st-s);
  transition: all 0.35s cubic-bezier(1, 0, 0, 1);
}

.about__pt--content__link:hover {
  background-position: right center;
}

.why {
  grid-column: container-start / container-end;

  display: flex;
  justify-content: space-between;
  gap: calc(2rem + 2vw);
}

.why__img {
  flex-basis: 50%;

  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: repeat(10, min-content);
}

.why__img img {
  width: 100%;
}

.why__img img:first-of-type {
  grid-column: 2 / -1;
  grid-row: 1 / span 4;

  z-index: 1;
  border-radius: 2rem;
  box-shadow: 2px 2px 50px 5px lightgray;
}

.why__img img:last-of-type {
  grid-column: 1 / span 6;
  grid-row: 3 / -1;
}

.why__content {
  flex-basis: 50%;

  display: flex;
  flex-direction: column;
  gap: calc(2rem + 1vw);
}

.why__content--title {
  text-align: left;
}

.why__content--facts {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.why__content--facts__fact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 10rem;
  width: 10rem;
  padding: 2rem;
  border-radius: 87% 13% 87% 13% / 45% 52% 48% 55%;
}

.why__content--facts__fact:first-child {
  background-image: var(--gradient-tertiary);
}

.why__content--facts__fact:nth-child(2) {
  background-image: var(--gradient-quaternary);
}

.why__content--facts__fact:last-child {
  background-image: var(--gradient-quinary);
}

.why__content--facts__fact p {
  font-size: var(--font-size-st-s);
  font-weight: 900;
  color: var(--color-primary);
}

.folks {
  grid-column: container-start / container-end;

  display: flex;
  flex-direction: column;
  gap: 6rem 0;
}

.folks__title {
  text-align: left;
}

.folks__content {
  display: grid;
  background: var(--gradient-quaternary);
  grid-template-columns: repeat(4, 1fr);
  padding: 80px;
  gap: 6rem 2rem;
  border-radius: 20px;
}

.logo-class {
  width: 200px;
}

.footer {
  grid-column: container-start / container-end;
  background-image: url("images/footer/footer-bg.svg");
  background-size: cover;

  display: flex;
  flex-direction: column;
  gap: 8rem;
}

.footer__newsletter {
  align-self: center;
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background-color: var(--color-primary-2);
  border-radius: 1rem;
  padding: var(--padding-xl-v) var(--padding-l-h);
  box-shadow: 1px 1px 10px var(--color-secondary-2);
}

.footer__newsletter--title {
  flex-basis: 50%;
  line-height: 1.2;
  text-align: left;
}

.footer__newsletter--form {
  flex-basis: 50%;

  display: flex;
}

.footer__newsletter--form input {
  border: none;
  outline: none;
  background: none;
  font-size: var(--font-size-st-s);
  padding: 1.5rem 2rem;
  border-radius: 0.5rem;
}

.footer__newsletter--form input[type="email"] {
  flex-basis: 100%;

  border: 1px solid lightgrey;
  border-right: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.footer__newsletter--form input[type="submit"] {
  background-image: var(--gradient-quaternary);
  color: var(--color-primary);
  margin-left: -1rem;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border: 1px solid var(--color-tertiary-1);
  cursor: pointer;
}

.footer__main-info {
  width: 100%;

  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6rem;
}

.footer__main-info--description {
  flex-basis: 35%;
}

.footer__main-info--description,
.footer__main-info--resources,
.footer__main-info--contact {
  display: flex;
  flex-direction: column;
  gap: 2rem 0;
}

.footer__main-info--description__img {
  width: 22rem;
}

.footer__main-info--description__para {
  color: var(--color-primary);
}

.footer__main-info--resources__title,
.footer__main-info--contact__title {
  font-size: var(--font-size-st-mc);
  color: var(--color-primary);
  font-weight: bold;
}

.footer__main-info--resources__links,
.footer__main-info--contact__links {
  display: flex;
  flex-direction: column;
  gap: 2rem 0;
}

.footer__main-info--resources__links a,
.footer__main-info--contact__links li {
  color: var(--color-primary);
  font-size: var(--font-size-st-s);
  transition: all 0.2s;
}

.footer__main-info--resources__links a:hover,
.footer__main-info--contact__links li:hover {
  color: var(--color-tertiary-3);
}

.footer__main-info--contact__links li:last-child span {
  display: block;
}

.footer__author {
  border-top: solid var(--color-primary-2) 1px;
  padding: var(--padding-l-v) 0;
}

.footer__author p {
  font-size: var(--font-size-st-s);
  color: var(--color-primary);
}

.footer__author p a {
  color: var(--color-tertiary-3);
}

@media screen and (max-width: 1200px) {
  .footer__newsletter {
    flex-direction: column;
    gap: 2rem;
  }

  .footer__newsletter--title {
    text-align: center;
  }

  .footer__newsletter--title::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer__newsletter--title,
  .footer__newsletter--form {
    width: 100%;
  }

  .footer__newsletter--form input[type="email"] {
    border: 1px solid hsl(0, 0%, 33%);
  }
}

@media screen and (max-width: 1000px) {
  .header {
    padding: var(--padding-m-v) 2rem;
    justify-content: center;
  }

  .header__nav {
    width: 100%;
  }

  .about__pt:nth-child(2n + 1) {
    flex-direction: column;
    justify-content: center;
  }

  .about__pt:nth-child(2n) {
    flex-direction: column-reverse;
    justify-content: center;
  }

  .about__pt--content {
    flex-basis: auto;
  }
}

@media screen and (max-width: 850px) {
  .header {
    flex-direction: column;
    gap: 1rem 0;
  }

  .header.sticky {
    padding: var(--padding-s-v) var(--padding-l-h);
    border-bottom-left-radius: 50% 15%;
    border-bottom-right-radius: 50% 15%;
  }

  .hero__para {
    font-size: var(--font-size-st-s);
  }

  .hero__img {
    width: 80%;
  }

  .why {
    flex-direction: column-reverse;
  }

  .why__content--facts {
    justify-content: space-evenly;
  }

  .section__padding {
    padding: var(--padding-xl-v) var(--padding-l-h);
  }

  .section__title {
    font-size: 2.8rem;
  }

  .folks__content {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px;
  }

  .logo-class {
    width: 100px;
  }
}

@media screen and (max-width: 650px) {
  .header {
    flex-direction: row-reverse;
  }

  .header.sticky {
    background-image: var(--gradient-tertiary);
    padding: 1rem 6rem;
    border-bottom: #3155da solid 2px;
    border-bottom-left-radius: 50% 40%;
    border-bottom-right-radius: 50% 40%;
  }

  .header__logo {
    z-index: 12;
  }

  .header.sticky > a {
    margin-top: 1rem;
    z-index: 12;
  }

  .header__nav {
    z-index: 10;
  }

  .header__nav--links {
    gap: 3rem;
    flex-direction: column;

    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;

    background-image: var(--gradient-secondary);
    padding: 3rem 5rem;
    border-top-left-radius: 50% 10%;
    border-top-right-radius: 50% 10%;
    z-index: 10;

    transform: translateY(100rem);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  .header.sticky .header__nav--links a {
    color: var(--color-primary);
    font-size: 18px;
  }

  .hamburger {
    height: 2.5rem;
    width: 6rem;
    position: fixed;
    top: 1.5rem;
    left: 4rem;
    cursor: pointer;
    z-index: 11;
  }

  .hamburger-line {
    position: absolute;
    background-color: #f2a61f;
    height: 3px;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  .hamburger-line:first-child {
    top: 0;
    left: 0;
    width: 50%;
  }

  .hamburger-line:nth-child(2) {
    top: 50%;
    left: 0;
    width: 100%;
  }

  .hamburger-line:last-child {
    bottom: 0;
    right: 0;
    width: 50%;
  }

  .line-1 {
    transform: rotate(765deg) translate(1.25rem, 0.4rem);
    width: 70% !important;
  }

  .line-2 {
    visibility: hidden;
  }

  .line-3 {
    transform: rotate(-405deg) translate(-0.1rem, -1.7rem);
    width: 70% !important;
  }

  .block.visible {
    transform: translateY(0);
  }

  .hero {
    padding-top: 13rem;
  }

  .hero__title {
    font-size: 4.5rem;
    line-height: 1.1;
  }

  .hero__title div {
    margin-top: 0;
  }

  .hero__para {
    font-size: var(--font-size-st-m);
  }

  .hero__img {
    width: 100%;
  }

  #myVideo{
    width: 100%;
  }
}

@media screen and (max-width: 500px) {
  .features__cards {
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 2rem 0;
  }

  .features__card {
    padding: 3rem 1.5rem;
  }

  .why__content--facts__fact {
    height: 8rem;
    width: 8rem;
  }

  .why__content--facts__fact p {
    font-size: calc(var(--font-size-st-xs) + 0.1rem);
  }

  .footer__newsletter--form {
    flex-direction: column;
    gap: 2rem;
  }

  .footer__newsletter--form input[type="email"] {
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
  }

  .footer__newsletter--form input[type="submit"] {
    margin-left: 0;
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
  }

  .footer__main-info--description {
    flex-basis: 100%;
  }
}
