/*===== GOOGLE FONTS =====*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

/*===== VARIABLES CSS =====*/
:root {
  --header-height: 3rem;

  /*========== Colors ==========*/
  --primary-color: #ff6a24;
  --primary-color-alt: #f76421;

  /* --second-color: #dfb15b; */
  --home-color: #f4f5f9;
  --title-color: #303044;
  --text-color: #707070;
  --text-color-light: #a6a6a6;
  --text-color-nav: #fff;
  --body-color: #fff;

  /*========== Font and typography ==========*/
  --body-font: "Poppins", sans-serif;
  --biggest-font-size: 2.3rem;
  --h1-font-size: 2.25rem;
  --h2-font-size: 1.5rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.813rem;

  /*========== Font weight ==========*/
  --font-medium: 400;
  --font-semi-bold: 600;

  /*========== Padding ==========*/
  --section-padding: 10rem 5rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

@media screen and (max-width: 960px) {
  :root {
    --biggest-font-size: 2rem;
    --h1-font-size: 2rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: 0.95rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
}

/*========== BASE ==========*/
*,
::before,
::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: var(--home-color);
  color: var(--text-color);
}

/*========== NAV ==========*/

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
}

@media screen and (max-width: 796px) {
  .nav__menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    padding: 3% 5%;
    /* text-align: center; */
    background-color: var(--body-color);
    transition: 0.4s;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 1rem 1rem;
    z-index: var(--z-fixed);
  }

   

}

.nav__item {
  /* margin: 0 1rem; */
  margin-bottom: 1rem;
}

.nav__link,
.nav__toggle {
  color: inherit;
}

.nav__list {
  /* display: flex;
  align-items: center; */
  /* font-size: var(--small-font-size); */
}

.nav__toggle {
  display: none;
}

.nav__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  padding: 0 3px;
  width: 6rem;
}

.nav__link {
  transition: 0.3s;
  position: relative;
}

.nav-link-last {
  background-color: var(--primary-color);
  color: white;
  border-radius: 9px;
  padding: 0.4rem 3rem;
}

.nav-link-last:hover {
  background-color: var(--primary-color-alt);
  color: white !important;
}

.nav__link:hover {
  color: rgb(199, 199, 199);
}

.nav__toggle {
  font-size: 1.3rem;
  cursor: pointer;
}

/* Show menu */
.show-menu {
  top: var(--header-height);
}

/* Change background header */
.scroll-header {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  /* height: 2rem; */
}

/*========== HOME ==========*/

.home {
  background-color: var(--home-color);
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--header-height));
  align-items: center;
}

.home-disc {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: center;
  margin-top: 3rem;
  padding: 0 3%;
  text-align: center;
}

.home-disc h1 {
  font-size: var(--biggest-font-size);
  color: var(--title-color);
  margin-bottom: 0.5rem;
}

.home-disc h2 {
  font-size: var(--normal-font-size);
  color: var(--text-color-light);
}

.home-img {
  width: 100%;
  display: flex;
  position: relative;
  justify-content: center;
}

.orange-group {
  position: absolute;
  left: 10%;
  bottom: 10%;
  width: 7rem;
  transform: rotate(5deg);
  -webkit-transform: rotate(5deg);
}

.management-gif-con {
  background-color: white;
  transform: rotate(-5deg);
  -webkit-transform: rotate(-5deg);
  height: 8rem;
  position: absolute;
  right: 10%;
  top: 10%;
  width: 10rem;
  border-radius: 10%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.management-gif-con1 {
  height: 85%;
  width: 85%;
  border-radius: 10%;
  overflow: hidden;
}

.management-gif {
  height: 100%;
  width: 100%;
}

.home-disc-anim {
  width: 100%;
  float: left;
  -webkit-clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 80%);
  clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 80%);
  transform: translateY(-50px);
  opacity: 0;
  animation-name: titleAnimation;
  animation-timing-function: ease;
  animation-duration: 3s;
}

.home-disc-anim {
  animation-delay: 0.6s;
  animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards;
}

@keyframes titleAnimation {
  0% {
    transform: translateY(-50px);
    opacity: 0;
    -webkit-clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 100%);
    clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 100%);
  }

  100% {
    transform: translateY(0);
    opacity: 1;
    -webkit-clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 20%);
    clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 0%);
  }
}

/*========== SERVICE ==========*/

.service {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-row-gap: 2rem;
  grid-column-gap: 30px;
  padding: var(--section-padding);
}

.service-header {
  color: var(--title-color);
  margin-top: 1rem;
}

.service-disc {
  /* margin: 0.5rem; */
}

/*========== AUTOMATED ==========*/

.about__title {
  font-size: var(--h1-font-size);
  color: var(--title-color);
  margin-bottom: 1rem;
  text-align: center;
  padding-top: 50px;
}

.automated {
  margin-bottom: 7rem;
  background: url(./svg/hexagonbackground.svg);
  background-position: center;
  background-size: cover;
  display: flex;
}

.automated-disc {
  padding: 0 5%;
  width: 40%;
}

.automated-disc h2 {
  font-size: var(--h1-font-size);
  color: var(--title-color);
  margin-bottom: 1rem;
}
.automated-disc p #more {
  display: none;
}

.button-lm {
  display: inline-block;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 9px;
  padding: 0.7rem 0rem;
  margin-top: 3rem;
  transition: 0.3s;
  width: 50%;
  display: flex;
  justify-content: center;
}

.button-lm:hover {
  background-color: var(--primary-color);
  color: white;
}

.automated-img {
  position: relative;
  width: 60%;
}

.automated-icon {
  position: absolute;
  width: 5rem;
  left: 8%;
  top: 8%;
  -webkit-animation: rotating 30s linear infinite;
  -moz-animation: rotating 30s linear infinite;
  -ms-animation: rotating 30s linear infinite;
  -o-animation: rotating 30s linear infinite;
  animation: rotating 30s linear infinite;
}

@-webkit-keyframes rotating {
  from {
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/*========== DATE ENTRY ==========*/
.date-entry {
  margin-bottom: 7rem;
  background: url(./svg/hexagonbackground2.svg);
  background-position: center;
  background-size: cover;
  display: flex;
}

.date-entry-disc {
  padding: 0 5%;
  width: 40%;
}

.date-entry-disc h2 {
  font-size: var(--h1-font-size);
  color: var(--title-color);
  margin-bottom: 1rem;
}

.date-entry-disc p #more2 {
  display: none;
}

.date-entry-img {
  width: 60%;
}

/*========== TIME TRACKING ==========*/
.time-tracking {
  /* margin-bottom: 7rem; */
  background: url(./svg/hexagonbackground3.svg);
  background-position: center;
  background-size: cover;
  display: flex;
}

.time-tracking-disc {
  padding: 4% 5%;
  width: 45%;
}

.time-tracking-disc h2 {
  font-size: var(--h1-font-size);
  color: var(--title-color);
  margin-bottom: 1rem;
}

.time-tracking-disc p #more2 {
  display: none;
}

.time-tracking-img {
  width: 60%;
}




/*========== ABOUT US ==========*/
.about-us {
  background-image: url(./svg/footer-bg.svg);
  background-position: center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  /* text-align: center; */
  /* padding: var(--section-padding); */
  position: relative;
}

.about-us-disc {
  padding: 4% 5%;
  /* width: 45%; */
  /* text-align: center; */

  max-width: 1000px;
}

.about-us-disc h2 {
  font-size: var(--h1-font-size);
  color: white;
  margin-bottom: 1.5rem;
  text-align: center;
}

.about-us p {
  opacity: 0.74;
  /* text-align: center; */
}

/*========== WHY US ==========*/
.why-us {
  /* padding-top: 7rem; */
  /* margin-bottom: 7rem; */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.why-us-disc {
  /* padding: 4% 5%; */
  /* width: 45%; */
  /* text-align: center; */
  padding-top: 4%;
  padding-bottom: 2%;

  /* max-width: 800px; */
}

.why-us-disc2 {
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  padding: 1rem;
  grid-template-columns: repeat(4, 1fr);
  /* padding: 20px; */
}

.why-su-head {
  font-size: var(--h2-font-size);
  color: var(--title-color);
}

.why-us-disc h2 {
  font-size: var(--h1-font-size);
  color: var(--title-color);
  margin-bottom: 1.5rem;
  text-align: center;
}



.why-us-disc_3 h2 {
  font-size: var(--h1-font-size);
  color: var(--title-color);
  margin-bottom: 1.5rem;
  text-align: center;
}
/*========== FOOTER ==========*/
.footer-info {
  background-image: url(./svg/footer-bg.svg);
  background-position: center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  text-align: center;
  padding: var(--section-padding);
  position: relative;
}

.footer-info h4 {
  text-transform: capitalize;
  font-size: var(--h3-font-size);
  margin-bottom: 1.2rem;
  opacity: 0.84;
}

.footer-info h2 {
  font-size: var(--h1-font-size);
  margin-bottom: 1.5rem;
}

.footer-info p {
  opacity: 0.74;
}

.footer__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.signup-btn {
  display: inline-block;
  color: var(--text-color);
  background-color: white;
  border-radius: 9px;
  padding: 0.7rem 0rem;
  width: 250px;
  transition: 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-btn {
  display: inline-block;
  color: var(--text-color);
  border: 1px solid #fff;
  background-color: transparent;
  border-radius: 9px;
  padding: 0.7rem 0rem;
  transition: 0.3s;
  width: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.signup-btn:hover {
  text-decoration: underline;
  color: #2a45b7;
}

.google-logo {
  margin-right: 0.5rem;
}

.footer-link {
  display: flex;
  padding: 2.2rem;
  background-color: var(--home-color);
  justify-content: space-between;
  align-items: center;
}

.footer-link-list {
  display: flex;
}

.footer-link-list li:not(:last-child) {
  margin-right: 6vw;
}

.footer-link-list li a {
  color: var(--text-color);
  transition: 0.3s;
}

.footer-link-list li a:hover {
  color: #2a45b7;
}

.contact-icon {
  color: #2a45b7;
  font-size: 2rem;
}

.gs-gif-con {
  position: absolute;
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  overflow: hidden;
  right: 5%;
  top: 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fdfefd;
}

/*========== MEDIA QUERIES ==========*/
@media screen and (max-width: 1030px) {
  .home-disc {
    margin-top: 2rem;
  }
}

@media screen and (max-width: 960px) {
  .management-gif-con {
    width: 8rem;
    height: 6.5rem;
  }

  .automated-icon {
    width: 3.5rem;
  }

  .gs-gif-con {
    width: 10rem;
    height: 10rem;
  }

  .orange-group {
    display: none;
  }

  .footer-link-list {
    flex-direction: column;
  }

  .why-us-disc2 {
    margin: 0 auto;
    display: grid;
    gap: 1rem;
    padding: 1rem;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 796px) {
  .nav__list {
    display: flex;
  }

  .nav__item {
    margin: 0 1rem;
  }
}

@media screen and (max-width: 796px) {
  .nav__toggle {
    display: inline-block;
  }

  .automated-icon {
    width: 3rem;
  }

  :root {
    --biggest-font-size: 2rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: 0.938rem;
    --small-font-size: 0.813rem;
    --smaller-font-size: 0.75rem;
  }
}

@media screen and (max-width: 630px) {

  .automated,
  .date-entry,
  .time-tracking {
    flex-direction: column;
  }

  .management-gif-con {
    width: 6rem;
    height: 5.5rem;
    right: 40%;
  }

  .automated-disc,
  .automated-img,
  .date-entry-disc,
  .date-entry-img,
  .time-tracking-disc,
  .time-tracking-img {
    width: 100%;
  }

  .button-lm {
    margin-left: auto;
    margin-right: auto;
  }

  .gs-gif-con {
    display: none;
  }

  .date-entry {
    flex-direction: column-reverse;
  }

  .footer-info {
    padding: 5rem 5%;
  }

  .signup-btn {
    padding: 0.7rem 2rem;
  }

  .footer-link-contact {
    display: flex;
    flex-direction: column;
  }

  .why-us-disc2 {
    margin: 0 auto;
    display: grid;
    gap: 1rem;
    padding: 1rem;
    grid-template-columns: repeat(1, 1fr);
  }

  
}

@media screen and (max-width: 500px) {
  .service {
    padding: 5rem 5%;
  }
}

/* For tall screens on mobiles y desktop*/
@media screen and (min-height: 721px) {
  .home {
    height: 685px;
  }
}

/* for short phone */
@media screen and (max-height: 568px) {
  .home-img svg {
    display: none;
  }

  .home-img {
    height: 30%;
  }

  .management-gif-con {
    top: 30%;
  }
}